Resolving dependencies... Configuring base-orphans-0.5.4... Configuring data-binary-ieee754-0.4.4... Building base-orphans-0.5.4... Building data-binary-ieee754-0.4.4... Installed base-orphans-0.5.4 Configuring data-default-class-0.1.2.0... Configuring dlist-0.8.0.2... Installed data-binary-ieee754-0.4.4 Building data-default-class-0.1.2.0... Building dlist-0.8.0.2... Configuring mtl-2.2.1... Installed data-default-class-0.1.2.0 Building mtl-2.2.1... Configuring old-locale-1.0.0.7... Installed dlist-0.8.0.2 Building old-locale-1.0.0.7... Configuring network-2.6.3.1... Installed old-locale-1.0.0.7 Configuring prelude-extras-0.4.0.3... Installed mtl-2.2.1 Building prelude-extras-0.4.0.3... Building network-2.6.3.1... Configuring safe-0.3.10... Installed prelude-extras-0.4.0.3 Building safe-0.3.10... Configuring random-1.1... Installed safe-0.3.10 Building random-1.1... Configuring semigroups-0.18.2... Installed network-2.6.3.1 Building semigroups-0.18.2... Configuring primitive-0.6.1.0... Installed random-1.1 Configuring stm-2.4.4.1... Installed semigroups-0.18.2 Building primitive-0.6.1.0... Building stm-2.4.4.1... Configuring syb-0.6... Installed stm-2.4.4.1 Building syb-0.6... Configuring th-lift-0.7.6... Installed primitive-0.6.1.0 Building th-lift-0.7.6... Configuring text-1.2.2.1... Installed syb-0.6 Building text-1.2.2.1... Configuring transformers-compat-0.5.1.4... Installed th-lift-0.7.6 Building transformers-compat-0.5.1.4... Configuring zlib-0.6.1.2... Installed transformers-compat-0.5.1.4 Building zlib-0.6.1.2... Installed zlib-0.6.1.2 Configuring data-default-instances-containers-0.0.1... Building data-default-instances-containers-0.0.1... Configuring data-default-instances-old-locale-0.0.1... Installed data-default-instances-containers-0.0.1 Building data-default-instances-old-locale-0.0.1... Configuring data-default-instances-dlist-0.0.1... Installed data-default-instances-old-locale-0.0.1 Building data-default-instances-dlist-0.0.1... Configuring hslogger-1.2.10... Installed data-default-instances-dlist-0.0.1 Building hslogger-1.2.10... Configuring StateVar-1.1.0.4... Installed text-1.2.2.1 Building StateVar-1.1.0.4... Configuring async-2.1.1... Installed hslogger-1.2.10 Building async-2.1.1... Configuring vector-0.11.0.0... Installed StateVar-1.1.0.4 Building vector-0.11.0.0... Configuring th-expand-syns-0.4.1.0... Installed async-2.1.1 Building th-expand-syns-0.4.1.0... Configuring exceptions-0.8.3... Installed th-expand-syns-0.4.1.0 Building exceptions-0.8.3... Configuring mmorph-1.0.9... Installed exceptions-0.8.3 Building mmorph-1.0.9... Configuring tagged-0.8.5... Installed mmorph-1.0.9 Building tagged-0.8.5... Configuring transformers-base-0.4.4... Installed tagged-0.8.5 Building transformers-base-0.4.4... Installed transformers-base-0.4.4 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 xml-types-0.3.6... Installed vector-0.11.0.0 Building xml-types-0.3.6... Configuring th-reify-many-0.1.6... Installed blaze-builder-0.4.0.2 Building th-reify-many-0.1.6... Configuring distributive-0.5.0.2... Installed xml-types-0.3.6 Configuring monad-control-1.0.1.0... Installed th-reify-many-0.1.6 Building monad-control-1.0.1.0... Installed monad-control-1.0.1.0 Configuring void-0.7.1... Building distributive-0.5.0.2... Building void-0.7.1... Installed void-0.7.1 Configuring th-lift-instances-0.1.10... Building th-lift-instances-0.1.10... Configuring scientific-0.3.4.9... Installed distributive-0.5.0.2 Building scientific-0.3.4.9... Configuring blaze-markup-0.7.1.1... Installed th-lift-instances-0.1.10 Building blaze-markup-0.7.1.1... Configuring xml-picklers-0.3.6... Installed scientific-0.3.4.9 Building xml-picklers-0.3.6... Configuring streaming-commons-0.1.16... Installed blaze-markup-0.7.1.1 Building streaming-commons-0.1.16... Configuring lifted-base-0.2.3.8... Installed xml-picklers-0.3.6 Building lifted-base-0.2.3.8... Installed lifted-base-0.2.3.8 Configuring contravariant-1.4... Building contravariant-1.4... Configuring th-orphans-0.13.3... Installed streaming-commons-0.1.16 Building th-orphans-0.13.3... Installed contravariant-1.4 Configuring attoparsec-0.13.1.0... Building attoparsec-0.13.1.0... Configuring blaze-html-0.8.1.3... Installed th-orphans-0.13.3 Building blaze-html-0.8.1.3... Configuring resourcet-1.1.8.1... Installed attoparsec-0.13.1.0 Building resourcet-1.1.8.1... Installed resourcet-1.1.8.1 Configuring comonad-5... Building comonad-5... Configuring conduit-1.2.8... Installed blaze-html-0.8.1.3 Building conduit-1.2.8... Configuring th-desugar-1.6... Installed comonad-5 Building th-desugar-1.6... Installed conduit-1.2.8 Configuring bifunctors-5.4.1... Building bifunctors-5.4.1... Configuring conduit-extra-1.1.15... Installed bifunctors-5.4.1 Building conduit-extra-1.1.15... Installed th-desugar-1.6 Configuring semigroupoids-5.1... Building semigroupoids-5.1... Configuring profunctors-5.2... Installed conduit-extra-1.1.15 Building profunctors-5.2... Configuring singletons-2.2... Installed semigroupoids-5.1 Building singletons-2.2... Installed profunctors-5.2 Configuring xml-conduit-1.4.0.2... Building xml-conduit-1.4.0.2... Configuring free-4.12.4... Installed xml-conduit-1.4.0.2 Building free-4.12.4... Installed free-4.12.4 Installed singletons-2.2 Configuring d-bus-0.1.3... Building d-bus-0.1.3... Failed to install d-bus-0.1.3 Build log ( /home/builder/.cabal/logs/d-bus-0.1.3.log ): cabal: Entering directory '/tmp/cabal-tmp-1385/d-bus-0.1.3' Configuring d-bus-0.1.3... Building d-bus-0.1.3... Preprocessing library d-bus-0.1.3... src/DBus/Object.hs:5:14: warning: -XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS src/DBus/Representable.hs:11:16: warning: -fcontext-stack=21 is deprecated: use -freduction-depth=21 instead [ 1 of 18] Compiling DBus.Types ( src/DBus/Types.hs, dist/build/DBus/Types.o ) src/DBus/Types.hs:429:5: warning: [-Woverlapping-patterns] Pattern match is redundant In an equation for ‘==’: == _ _ = ... [ 2 of 18] Compiling DBus.TH ( src/DBus/TH.hs, dist/build/DBus/TH.o ) src/DBus/TH.hs:61:13: error: • The constructor ‘NewtypeD’ should have 6 arguments, but has been given 5 • In the pattern: NewtypeD _ _ tvs c _ In a case alternative: NewtypeD _ _ tvs c _ -> (length tvs, tyVarName <$> tvs, [c]) In the expression: case t of { NewtypeD _ _ tvs c _ -> (length tvs, tyVarName <$> tvs, [c]) DataD _ _ tvs cs _ -> (length tvs, tyVarName <$> tvs, cs) } src/DBus/TH.hs:66:21: error: • Ambiguous type variable ‘t0’ arising from a use of ‘foldl’ prevents the constraint ‘(Foldable t0)’ from being solved. Probable fix: use a type annotation to specify what ‘t0’ should be. These potential instances exist: instance Foldable (Either a) -- Defined in ‘Data.Foldable’ instance Foldable Maybe -- Defined in ‘Data.Foldable’ instance Foldable ((,) a) -- Defined in ‘Data.Foldable’ ...plus one other ...plus 51 instances involving out-of-scope types (use -fprint-potential-instances to see them all) • In the expression: (foldl appT (conT name) (varT <$> tyVarNames)) In an equation for ‘fullType’: fullType = (foldl appT (conT name) (varT <$> tyVarNames)) In the expression: do { TyConI t <- reify name; let (numTyParams, tyVarNames, cons) = ... ctx1 = mapM (classP ... . (: ...) . appT (conT ...)) (varT <$> (relevantTyVars cons)) ....; (repType, toClauses, fromClauses) <- case all (null . snd) cs of { True -> enumerate $ map fst cs False -> case map fromConstr cons of { [] -> ... cs | (all (null . snd) cs) -> ... [(conName, fields)] -> ... cs -> ... } }; inst <- instanceD ctx iHead [tySynInstD ''RepType $ tySynEqn [...] repType, funD 'toRep toClauses, ....]; .... } src/DBus/TH.hs:66:45: error: • Ambiguous type variable ‘t0’ arising from a use of ‘<$>’ prevents the constraint ‘(Functor t0)’ from being solved. Probable fix: use a type annotation to specify what ‘t0’ should be. These potential instances exist: instance Functor (Either a) -- Defined in ‘Data.Either’ instance Functor m => Functor (MethodHandlerT m) -- Defined at src/DBus/Types.hs:184:16 instance Functor IO -- Defined in ‘GHC.Base’ ...plus five others ...plus 74 instances involving out-of-scope types (use -fprint-potential-instances to see them all) • In the third argument of ‘foldl’, namely ‘(varT <$> tyVarNames)’ In the expression: (foldl appT (conT name) (varT <$> tyVarNames)) In an equation for ‘fullType’: fullType = (foldl appT (conT name) (varT <$> tyVarNames)) cabal: Leaving directory '/tmp/cabal-tmp-1385/d-bus-0.1.3' cabal: Error: some packages failed to install: d-bus-0.1.3 failed during the building phase. The exception was: ExitFailure 1