Resolving dependencies... Configuring ghc-boot-th-8.2.1... Configuring mtl-2.2.1... Building ghc-boot-th-8.2.1... Building mtl-2.2.1... Installed ghc-boot-th-8.2.1 Configuring old-locale-1.0.0.7... Building old-locale-1.0.0.7... Configuring primitive-0.6.2.0... Installed mtl-2.2.1 Configuring random-1.1... Installed old-locale-1.0.0.7 Building primitive-0.6.2.0... Building random-1.1... Configuring safe-0.3.15... Installed random-1.1 Building safe-0.3.15... Configuring syb-0.7... Installed primitive-0.6.2.0 Configuring text-1.2.2.2... Installed safe-0.3.15 Building syb-0.7... Building text-1.2.2.2... Configuring template-haskell-2.12.0.0... Installed syb-0.7 Building template-haskell-2.12.0.0... Installed text-1.2.2.2 Configuring old-time-1.1.0.3... Building old-time-1.1.0.3... Installed old-time-1.1.0.3 Configuring vector-0.12.0.1... Building vector-0.12.0.1... Configuring tf-random-0.5... Installed template-haskell-2.12.0.0 Building tf-random-0.5... Configuring polyparse-1.12... Installed tf-random-0.5 Building polyparse-1.12... Installed polyparse-1.12 Configuring th-expand-syns-0.4.3.0... Building th-expand-syns-0.4.3.0... Installed th-expand-syns-0.4.3.0 Configuring th-lift-0.7.7... Building th-lift-0.7.7... Configuring QuickCheck-2.10.1... Installed th-lift-0.7.7 Building QuickCheck-2.10.1... Configuring cpphs-1.20.8... Installed vector-0.12.0.1 Building cpphs-1.20.8... Configuring th-reify-many-0.1.8... Installed cpphs-1.20.8 Building th-reify-many-0.1.8... Installed th-reify-many-0.1.8 Configuring th-lift-instances-0.1.11... Building th-lift-instances-0.1.11... Configuring haskell-src-exts-1.19.1... Failed to install th-lift-instances-0.1.11 Build log ( /home/builder/.cabal/logs/th-lift-instances-0.1.11.log ): cabal: Entering directory '/tmp/cabal-tmp-2138/th-lift-instances-0.1.11' Configuring th-lift-instances-0.1.11... Building th-lift-instances-0.1.11... Preprocessing library th-lift-instances-0.1.11... [1 of 1] Compiling Instances.TH.Lift ( src/Instances/TH/Lift.hs, dist/build/Instances/TH/Lift.o ) src/Instances/TH/Lift.hs:137:1: error: • No instance for (Lift a) arising from a use of ‘lift’ Possible fix: add (Lift a) to the context of the instance declaration • In the second argument of ‘Language.Haskell.TH.Lib.appE’, namely ‘lift x0_a8Yj’ In the first argument of ‘Language.Haskell.TH.Lib.appE’, namely ‘Language.Haskell.TH.Lib.appE (Language.Haskell.TH.Lib.conE (Language.Haskell.TH.Syntax.Name (Language.Haskell.TH.Syntax.mkOccName "Node") (Language.Haskell.TH.Syntax.NameG Language.Haskell.TH.Syntax.DataName (Language.Haskell.TH.Syntax.mkPkgName "containers-0.5.7.1") (Language.Haskell.TH.Syntax.mkModName "Data.Tree")))) (lift x0_a8Yj)’ In the expression: Language.Haskell.TH.Lib.appE (Language.Haskell.TH.Lib.appE (Language.Haskell.TH.Lib.conE (Language.Haskell.TH.Syntax.Name (Language.Haskell.TH.Syntax.mkOccName "Node") (Language.Haskell.TH.Syntax.NameG Language.Haskell.TH.Syntax.DataName (Language.Haskell.TH.Syntax.mkPkgName "containers-0.5.7.1") (Language.Haskell.TH.Syntax.mkModName "Data.Tree")))) (lift x0_a8Yj)) (lift x1_a8Yk) cabal: Leaving directory '/tmp/cabal-tmp-2138/th-lift-instances-0.1.11' Building haskell-src-exts-1.19.1... Installed QuickCheck-2.10.1 Installed haskell-src-exts-1.19.1 cabal: Error: some packages failed to install: BNFC-meta-0.6 depends on th-lift-instances-0.1.11 which failed to install. alex-meta-0.3.0.9 depends on th-lift-instances-0.1.11 which failed to install. happy-meta-0.2.0.9 depends on th-lift-instances-0.1.11 which failed to install. haskell-src-meta-0.8.0.1 depends on th-lift-instances-0.1.11 which failed to install. th-lift-instances-0.1.11 failed during the building phase. The exception was: ExitFailure 1 th-orphans-0.13.4 depends on th-lift-instances-0.1.11 which failed to install.