Resolving dependencies... Configuring data-default-class-0.1.2.0... Configuring dlist-0.8.0.2... Building dlist-0.8.0.2... Building data-default-class-0.1.2.0... Installed data-default-class-0.1.2.0 Configuring mtl-2.2.1... Building mtl-2.2.1... Installed dlist-0.8.0.2 Configuring nats-1.1.1... Building nats-1.1.1... Installed nats-1.1.1 Configuring old-locale-1.0.0.7... Building old-locale-1.0.0.7... Configuring semigroups-0.18.2... Installed old-locale-1.0.0.7 Building semigroups-0.18.2... Configuring primitive-0.6.1.0... Installed mtl-2.2.1 Building primitive-0.6.1.0... Configuring syb-0.6... Installed semigroups-0.18.2 Building syb-0.6... Configuring text-1.2.2.1... Installed primitive-0.6.1.0 Configuring data-default-instances-containers-0.0.1... Installed syb-0.6 Building text-1.2.2.1... Building data-default-instances-containers-0.0.1... Configuring data-default-instances-dlist-0.0.1... Installed data-default-instances-containers-0.0.1 Building data-default-instances-dlist-0.0.1... Installed data-default-instances-dlist-0.0.1 Configuring data-default-instances-old-locale-0.0.1... Building data-default-instances-old-locale-0.0.1... Configuring prettify-1.0... Installed data-default-instances-old-locale-0.0.1 Building prettify-1.0... Configuring haskell-src-1.0.2.0... Installed prettify-1.0 Building haskell-src-1.0.2.0... Configuring vector-0.11.0.0... Installed text-1.2.2.1 Building vector-0.11.0.0... Configuring language-c-0.5.0... Installed haskell-src-1.0.2.0 Building language-c-0.5.0... Installed vector-0.11.0.0 Configuring data-default-0.7.1.1... Building data-default-0.7.1.1... Configuring hashable-1.2.4.0... Installed data-default-0.7.1.1 Building hashable-1.2.4.0... Configuring blaze-builder-0.4.0.2... Installed hashable-1.2.4.0 Building blaze-builder-0.4.0.2... Configuring parsec-3.1.11... Installed blaze-builder-0.4.0.2 Building parsec-3.1.11... Installed parsec-3.1.11 Configuring scientific-0.3.4.9... Building scientific-0.3.4.9... Configuring blaze-textual-0.2.1.0... Installed language-c-0.5.0 Building blaze-textual-0.2.1.0... Installed blaze-textual-0.2.1.0 Installed scientific-0.3.4.9 Configuring attoparsec-0.13.1.0... Building attoparsec-0.13.1.0... Installed attoparsec-0.13.1.0 Configuring atto-lisp-0.2.2.2... Building atto-lisp-0.2.2.2... Installed atto-lisp-0.2.2.2 Configuring modulo-1.2... Building modulo-1.2... Failed to install modulo-1.2 Build log ( /home/builder/.cabal/logs/modulo-1.2.log ): cabal: Entering directory '/tmp/cabal-tmp-2837/modulo-1.2' Configuring modulo-1.2... Building modulo-1.2... Preprocessing library modulo-1.2... [ 1 of 11] Compiling Language.Modulo.Util ( src/Language/Modulo/Util.hs, dist/build/Language/Modulo/Util.o ) [ 2 of 11] Compiling Language.Modulo.Util.Mangle ( src/Language/Modulo/Util/Mangle.hs, dist/build/Language/Modulo/Util/Mangle.o ) [ 3 of 11] Compiling Language.Modulo.Util.Unmangle ( src/Language/Modulo/Util/Unmangle.hs, dist/build/Language/Modulo/Util/Unmangle.o ) [ 4 of 11] Compiling Language.Modulo.JavaScript ( src/Language/Modulo/JavaScript.hs, dist/build/Language/Modulo/JavaScript.o ) [ 5 of 11] Compiling Language.Modulo.Haskell ( src/Language/Modulo/Haskell.hs, dist/build/Language/Modulo/Haskell.o ) [ 6 of 11] Compiling Language.Modulo ( src/Language/Modulo.hs, dist/build/Language/Modulo.o ) [ 7 of 11] Compiling Language.Modulo.C ( src/Language/Modulo/C.hs, dist/build/Language/Modulo/C.o ) src/Language/Modulo/C.hs:666:19: error: • Illegal instance declaration for ‘Show CTranslUnit’ (All instance types must be of the form (T t1 ... tn) where T is not a synonym. Use TypeSynonymInstances if you want to disable this.) • In the stand-alone deriving instance for ‘Show CTranslUnit’ src/Language/Modulo/C.hs:667:19: error: • Illegal instance declaration for ‘Show CExtDecl’ (All instance types must be of the form (T t1 ... tn) where T is not a synonym. Use TypeSynonymInstances if you want to disable this.) • In the stand-alone deriving instance for ‘Show CExtDecl’ src/Language/Modulo/C.hs:668:19: error: • Illegal instance declaration for ‘Show CStrLit’ (All instance types must be of the form (T t1 ... tn) where T is not a synonym. Use TypeSynonymInstances if you want to disable this.) • In the stand-alone deriving instance for ‘Show CStrLit’ src/Language/Modulo/C.hs:669:19: error: • Illegal instance declaration for ‘Show CFunDef’ (All instance types must be of the form (T t1 ... tn) where T is not a synonym. Use TypeSynonymInstances if you want to disable this.) • In the stand-alone deriving instance for ‘Show CFunDef’ src/Language/Modulo/C.hs:670:19: error: • Illegal instance declaration for ‘Show CDecl’ (All instance types must be of the form (T t1 ... tn) where T is not a synonym. Use TypeSynonymInstances if you want to disable this.) • In the stand-alone deriving instance for ‘Show CDecl’ src/Language/Modulo/C.hs:671:19: error: • Illegal instance declaration for ‘Show CStat’ (All instance types must be of the form (T t1 ... tn) where T is not a synonym. Use TypeSynonymInstances if you want to disable this.) • In the stand-alone deriving instance for ‘Show CStat’ src/Language/Modulo/C.hs:672:19: error: • Illegal instance declaration for ‘Show CDeclr’ (All instance types must be of the form (T t1 ... tn) where T is not a synonym. Use TypeSynonymInstances if you want to disable this.) • In the stand-alone deriving instance for ‘Show CDeclr’ src/Language/Modulo/C.hs:673:19: error: • Illegal instance declaration for ‘Show CInit’ (All instance types must be of the form (T t1 ... tn) where T is not a synonym. Use TypeSynonymInstances if you want to disable this.) • In the stand-alone deriving instance for ‘Show CInit’ src/Language/Modulo/C.hs:674:19: error: • Illegal instance declaration for ‘Show CDeclSpec’ (All instance types must be of the form (T t1 ... tn) where T is not a synonym. Use TypeSynonymInstances if you want to disable this.) • In the stand-alone deriving instance for ‘Show CDeclSpec’ src/Language/Modulo/C.hs:675:19: error: • Illegal instance declaration for ‘Show CAsmStmt’ (All instance types must be of the form (T t1 ... tn) where T is not a synonym. Use TypeSynonymInstances if you want to disable this.) • In the stand-alone deriving instance for ‘Show CAsmStmt’ src/Language/Modulo/C.hs:676:19: error: • Illegal instance declaration for ‘Show CBlockItem’ (All instance types must be of the form (T t1 ... tn) where T is not a synonym. Use TypeSynonymInstances if you want to disable this.) • In the stand-alone deriving instance for ‘Show CBlockItem’ src/Language/Modulo/C.hs:677:19: error: • Illegal instance declaration for ‘Show CAttr’ (All instance types must be of the form (T t1 ... tn) where T is not a synonym. Use TypeSynonymInstances if you want to disable this.) • In the stand-alone deriving instance for ‘Show CAttr’ src/Language/Modulo/C.hs:678:19: error: • Illegal instance declaration for ‘Show CDerivedDeclr’ (All instance types must be of the form (T t1 ... tn) where T is not a synonym. Use TypeSynonymInstances if you want to disable this.) • In the stand-alone deriving instance for ‘Show CDerivedDeclr’ src/Language/Modulo/C.hs:679:19: error: • Illegal instance declaration for ‘Show CDesignator’ (All instance types must be of the form (T t1 ... tn) where T is not a synonym. Use TypeSynonymInstances if you want to disable this.) • In the stand-alone deriving instance for ‘Show CDesignator’ src/Language/Modulo/C.hs:680:19: error: • Illegal instance declaration for ‘Show CExpr’ (All instance types must be of the form (T t1 ... tn) where T is not a synonym. Use TypeSynonymInstances if you want to disable this.) • In the stand-alone deriving instance for ‘Show CExpr’ src/Language/Modulo/C.hs:681:19: error: • Illegal instance declaration for ‘Show CTypeQual’ (All instance types must be of the form (T t1 ... tn) where T is not a synonym. Use TypeSynonymInstances if you want to disable this.) • In the stand-alone deriving instance for ‘Show CTypeQual’ src/Language/Modulo/C.hs:682:19: error: • Illegal instance declaration for ‘Show CTypeSpec’ (All instance types must be of the form (T t1 ... tn) where T is not a synonym. Use TypeSynonymInstances if you want to disable this.) • In the stand-alone deriving instance for ‘Show CTypeSpec’ src/Language/Modulo/C.hs:683:19: error: • Illegal instance declaration for ‘Show CAsmOperand’ (All instance types must be of the form (T t1 ... tn) where T is not a synonym. Use TypeSynonymInstances if you want to disable this.) • In the stand-alone deriving instance for ‘Show CAsmOperand’ src/Language/Modulo/C.hs:684:19: error: • Illegal instance declaration for ‘Show CArrSize’ (All instance types must be of the form (T t1 ... tn) where T is not a synonym. Use TypeSynonymInstances if you want to disable this.) • In the stand-alone deriving instance for ‘Show CArrSize’ src/Language/Modulo/C.hs:685:19: error: • Illegal instance declaration for ‘Show CBuiltin’ (All instance types must be of the form (T t1 ... tn) where T is not a synonym. Use TypeSynonymInstances if you want to disable this.) • In the stand-alone deriving instance for ‘Show CBuiltin’ src/Language/Modulo/C.hs:686:19: error: • Illegal instance declaration for ‘Show CConst’ (All instance types must be of the form (T t1 ... tn) where T is not a synonym. Use TypeSynonymInstances if you want to disable this.) • In the stand-alone deriving instance for ‘Show CConst’ src/Language/Modulo/C.hs:687:19: error: • Illegal instance declaration for ‘Show CEnum’ (All instance types must be of the form (T t1 ... tn) where T is not a synonym. Use TypeSynonymInstances if you want to disable this.) • In the stand-alone deriving instance for ‘Show CEnum’ src/Language/Modulo/C.hs:688:19: error: • Illegal instance declaration for ‘Show CStructUnion’ (All instance types must be of the form (T t1 ... tn) where T is not a synonym. Use TypeSynonymInstances if you want to disable this.) • In the stand-alone deriving instance for ‘Show CStructUnion’ src/Language/Modulo/C.hs:689:1: error: Duplicate instance declarations: instance Show CStructTag -- Defined at src/Language/Modulo/C.hs:689:1 instance Show CStructTag -- Defined in ‘Language.C.Syntax.AST’ cabal: Leaving directory '/tmp/cabal-tmp-2837/modulo-1.2' cabal: Error: some packages failed to install: modulo-1.2 failed during the building phase. The exception was: ExitFailure 1