Resolving dependencies... Configuring old-locale-1.0.0.7... Configuring mtl-2.2.1... Building mtl-2.2.1... Building old-locale-1.0.0.7... Installed old-locale-1.0.0.7 Configuring text-1.2.2.1... Building text-1.2.2.1... Configuring old-time-1.1.0.3... Installed mtl-2.2.1 Building old-time-1.1.0.3... Configuring uulib-0.9.22... Installed old-time-1.1.0.3 Building uulib-0.9.22... Installed text-1.2.2.1 Configuring polyparse-1.12... Building polyparse-1.12... Installed uulib-0.9.22 Configuring uuagc-cabal-1.0.6.0... Building uuagc-cabal-1.0.6.0... Installed uuagc-cabal-1.0.6.0 Installed polyparse-1.12 Configuring cpphs-1.20.2... Building cpphs-1.20.2... Installed cpphs-1.20.2 Configuring haskell-src-exts-1.19.1... Building haskell-src-exts-1.19.1... Installed haskell-src-exts-1.19.1 Configuring uuagc-bootstrap-0.9.40.2... Building uuagc-bootstrap-0.9.40.2... Installed uuagc-bootstrap-0.9.40.2 Configuring uuagc-0.9.39.0... Building uuagc-0.9.39.0... Failed to install uuagc-0.9.39.0 Build log ( /home/builder/.cabal/logs/uuagc-0.9.39.0.log ): cabal: Entering directory '/tmp/cabal-tmp-17430/uuagc-0.9.39.0' [1 of 1] Compiling Main ( /tmp/cabal-tmp-17430/uuagc-0.9.39.0/dist/setup/setup.hs, /tmp/cabal-tmp-17430/uuagc-0.9.39.0/dist/setup/Main.o ) Linking /tmp/cabal-tmp-17430/uuagc-0.9.39.0/dist/setup/setup ... Configuring uuagc-0.9.39.0... Building uuagc-0.9.39.0... Preprocessing library uuagc-0.9.39.0... [1 of 2] Compiling Paths_uuagc ( dist/build/autogen/Paths_uuagc.hs, dist/build/Paths_uuagc.o ) [2 of 2] Compiling UU.UUAGC.Version ( src/UU/UUAGC/Version.hs, dist/build/UU/UUAGC/Version.o ) Preprocessing executable 'uuagc' for uuagc-0.9.39.0... [ 1 of 53] Compiling Pretty ( src/Pretty.hs, dist/build/uuagc/uuagc-tmp/Pretty.o ) src/Pretty.hs:35:8: warning: [-Wtabs] Tab character found here, and in 28 further locations. Please use spaces instead. [ 2 of 53] Compiling Paths_uuagc ( dist/build/autogen/Paths_uuagc.hs, dist/build/uuagc/uuagc-tmp/Paths_uuagc.o ) [ 3 of 53] Compiling UU.UUAGC.Version ( src/UU/UUAGC/Version.hs, dist/build/uuagc/uuagc-tmp/UU/UUAGC/Version.o ) [ 4 of 53] Compiling Version ( src-version/Version.hs, dist/build/uuagc/uuagc-tmp/Version.o ) [ 5 of 53] Compiling PPUtil ( src/PPUtil.hs, dist/build/uuagc/uuagc-tmp/PPUtil.o ) [ 6 of 53] Compiling CommonTypes ( src/CommonTypes.hs, dist/build/uuagc/uuagc-tmp/CommonTypes.o ) [ 7 of 53] Compiling DepTypes ( src/DepTypes.hs, dist/build/uuagc/uuagc-tmp/DepTypes.o ) src/DepTypes.hs:135:10: error: • Illegal instance declaration for ‘ContainsTrace Result’ (All instance types must be of the form (T a1 ... an) where a1 ... an are *distinct type variables*, and each type variable appears at most once in the instance head. Use FlexibleInstances if you want to disable this.) • In the instance declaration for ‘ContainsTrace Result’ src/DepTypes.hs:139:10: error: • Illegal instance declaration for ‘ContainsTrace Stream’ (All instance types must be of the form (T a1 ... an) where a1 ... an are *distinct type variables*, and each type variable appears at most once in the instance head. Use FlexibleInstances if you want to disable this.) • In the instance declaration for ‘ContainsTrace Stream’ cabal: Leaving directory '/tmp/cabal-tmp-17430/uuagc-0.9.39.0' cabal: Error: some packages failed to install: uuagc-0.9.39.0 failed during the building phase. The exception was: ExitFailure 1