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 network-2.6.3.1... Installed dlist-0.8.0.2 Building network-2.6.3.1... Configuring old-locale-1.0.0.7... Installed mtl-2.2.1 Building old-locale-1.0.0.7... Configuring prelude-extras-0.4.0.3... Installed old-locale-1.0.0.7 Building prelude-extras-0.4.0.3... Configuring primitive-0.6.1.0... Installed prelude-extras-0.4.0.3 Building primitive-0.6.1.0... Configuring random-1.1... Installed network-2.6.3.1 Building random-1.1... Configuring safe-0.3.10... Installed random-1.1 Configuring semigroups-0.18.2... Installed primitive-0.6.1.0 Building safe-0.3.10... Building semigroups-0.18.2... Configuring stm-2.4.4.1... Installed semigroups-0.18.2 Configuring syb-0.6... Installed safe-0.3.10 Building stm-2.4.4.1... Building syb-0.6... Configuring text-1.2.2.1... Installed stm-2.4.4.1 Building text-1.2.2.1... Configuring th-lift-0.7.6... Installed syb-0.6 Building th-lift-0.7.6... 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-dlist-0.0.1... Building data-default-instances-dlist-0.0.1... Configuring data-default-instances-old-locale-0.0.1... Installed data-default-instances-dlist-0.0.1 Building data-default-instances-old-locale-0.0.1... Configuring data-default-instances-containers-0.0.1... Installed data-default-instances-old-locale-0.0.1 Building data-default-instances-containers-0.0.1... Configuring hslogger-1.2.10... Installed text-1.2.2.1 Building hslogger-1.2.10... Configuring StateVar-1.1.0.4... Installed data-default-instances-containers-0.0.1 Building StateVar-1.1.0.4... 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 hslogger-1.2.10 Building th-expand-syns-0.4.1.0... Configuring async-2.1.1... Installed th-expand-syns-0.4.1.0 Building async-2.1.1... Configuring mmorph-1.0.9... Installed async-2.1.1 Building mmorph-1.0.9... Configuring transformers-base-0.4.4... Installed mmorph-1.0.9 Building transformers-base-0.4.4... Configuring exceptions-0.8.3... Installed transformers-base-0.4.4 Building exceptions-0.8.3... Configuring tagged-0.8.5... Installed exceptions-0.8.3 Building tagged-0.8.5... Installed tagged-0.8.5 Configuring blaze-builder-0.4.0.2... Building blaze-builder-0.4.0.2... Installed blaze-builder-0.4.0.2 Configuring xml-types-0.3.6... Configuring data-default-0.7.1.1... Installed vector-0.11.0.0 Building xml-types-0.3.6... Building data-default-0.7.1.1... Configuring th-reify-many-0.1.6... Installed data-default-0.7.1.1 Building th-reify-many-0.1.6... Configuring hashable-1.2.4.0... Installed xml-types-0.3.6 Configuring monad-control-1.0.1.0... Installed th-reify-many-0.1.6 Building hashable-1.2.4.0... Building monad-control-1.0.1.0... Configuring distributive-0.5.0.2... Installed monad-control-1.0.1.0 Installed hashable-1.2.4.0 Configuring blaze-markup-0.7.1.0... Building blaze-markup-0.7.1.0... Building distributive-0.5.0.2... Configuring th-lift-instances-0.1.10... Installed blaze-markup-0.7.1.0 Building th-lift-instances-0.1.10... Configuring streaming-commons-0.1.16... Installed distributive-0.5.0.2 Building streaming-commons-0.1.16... Configuring xml-picklers-0.3.6... Installed th-lift-instances-0.1.10 Building xml-picklers-0.3.6... Configuring lifted-base-0.2.3.8... Installed xml-picklers-0.3.6 Building lifted-base-0.2.3.8... Configuring void-0.7.1... Installed streaming-commons-0.1.16 Building void-0.7.1... Configuring scientific-0.3.4.9... Installed lifted-base-0.2.3.8 Building scientific-0.3.4.9... Installed void-0.7.1 Configuring th-orphans-0.13.3... Building th-orphans-0.13.3... Configuring resourcet-1.1.8.1... Installed scientific-0.3.4.9 Building resourcet-1.1.8.1... Configuring contravariant-1.4... Installed th-orphans-0.13.3 Building contravariant-1.4... Configuring blaze-html-0.8.1.2... Installed resourcet-1.1.8.1 Building blaze-html-0.8.1.2... Installed contravariant-1.4 Configuring th-desugar-1.6... Building th-desugar-1.6... Configuring attoparsec-0.13.1.0... Installed blaze-html-0.8.1.2 Building attoparsec-0.13.1.0... Configuring conduit-1.2.8... Installed th-desugar-1.6 Building conduit-1.2.8... Configuring comonad-5... Installed attoparsec-0.13.1.0 Building comonad-5... Installed conduit-1.2.8 Configuring singletons-2.2... Configuring conduit-extra-1.1.15... Installed comonad-5 Building singletons-2.2... Building conduit-extra-1.1.15... Installed conduit-extra-1.1.15 Configuring xml-conduit-1.4.0.2... Building xml-conduit-1.4.0.2... Configuring bifunctors-5.4.1... Installed xml-conduit-1.4.0.2 Building bifunctors-5.4.1... Installed bifunctors-5.4.1 Configuring profunctors-5.2... Building profunctors-5.2... Configuring semigroupoids-5.1... Installed profunctors-5.2 Building semigroupoids-5.1... Installed semigroupoids-5.1 Configuring free-4.12.4... Building free-4.12.4... Installed free-4.12.4 Installed singletons-2.2 Downloading d-bus-0.1.3.4... Configuring d-bus-0.1.3.4... Building d-bus-0.1.3.4... Failed to install d-bus-0.1.3.4 Build log ( /home/builder/.cabal/logs/d-bus-0.1.3.4.log ): cabal: Entering directory '/tmp/cabal-tmp-23527/d-bus-0.1.3.4' Configuring d-bus-0.1.3.4... Building d-bus-0.1.3.4... Preprocessing library d-bus-0.1.3.4... 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:438: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:88: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:93: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:93: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:191:16 instance Functor IO -- Defined in ‘GHC.Base’ ...plus five others ...plus 76 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-23527/d-bus-0.1.3.4' cabal: Error: some packages failed to install: d-bus-0.1.3.4 failed during the building phase. The exception was: ExitFailure 1