Resolving dependencies... Configuring base-orphans-0.5.4... Configuring base-compat-0.9.1... Building base-compat-0.9.1... Building base-orphans-0.5.4... Installed base-orphans-0.5.4 Configuring dlist-0.8.0.2... Building dlist-0.8.0.2... Configuring data-default-class-0.1.2.0... Installed base-compat-0.9.1 Building data-default-class-0.1.2.0... Configuring fmlist-0.9... Installed dlist-0.8.0.2 Building fmlist-0.9... Configuring fgl-5.5.3.0... Installed data-default-class-0.1.2.0 Building fgl-5.5.3.0... Configuring ghc-paths-0.1.0.9... Installed fmlist-0.9 Building ghc-paths-0.1.0.9... Configuring mtl-2.2.1... Installed ghc-paths-0.1.0.9 Building mtl-2.2.1... Configuring old-locale-1.0.0.7... Installed fgl-5.5.3.0 Building old-locale-1.0.0.7... Configuring prelude-extras-0.4.0.3... Installed mtl-2.2.1 Configuring primitive-0.6.1.0... Installed old-locale-1.0.0.7 Building prelude-extras-0.4.0.3... Building primitive-0.6.1.0... Configuring parallel-3.2.1.0... Installed prelude-extras-0.4.0.3 Building parallel-3.2.1.0... Configuring safe-0.3.10... Installed primitive-0.6.1.0 Building safe-0.3.10... Configuring semigroups-0.18.2... Installed parallel-3.2.1.0 Building semigroups-0.18.2... Configuring reflection-2.1.2... Installed safe-0.3.10 Building reflection-2.1.2... Configuring stm-2.4.4.1... Installed semigroups-0.18.2 Building stm-2.4.4.1... Configuring time-locale-compat-0.1.1.3... Installed stm-2.4.4.1 Building time-locale-compat-0.1.1.3... Configuring th-lift-0.7.6... Installed reflection-2.1.2 Building th-lift-0.7.6... Configuring text-1.2.2.1... Installed time-locale-compat-0.1.1.3 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 unexceptionalio-0.3.0... Installed transformers-compat-0.5.1.4 Building unexceptionalio-0.3.0... Configuring utf8-string-1.0.1.1... Installed unexceptionalio-0.3.0 Building utf8-string-1.0.1.1... Configuring uu-interleaved-0.2.0.0... Installed utf8-string-1.0.1.1 Building uu-interleaved-0.2.0.0... Installed uu-interleaved-0.2.0.0 Configuring data-default-instances-containers-0.0.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... Configuring RepLib-0.5.4... Installed text-1.2.2.1 Building RepLib-0.5.4... 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 vector-0.11.0.0... Installed data-default-instances-old-locale-0.0.1 Building vector-0.11.0.0... Configuring StateVar-1.1.0.4... Installed RepLib-0.5.4 Building StateVar-1.1.0.4... Configuring exceptions-0.8.3... Installed StateVar-1.1.0.4 Building exceptions-0.8.3... Configuring tagged-0.8.5... Installed exceptions-0.8.3 Building tagged-0.8.5... Configuring errors-2.1.3... Installed tagged-0.8.5 Building errors-2.1.3... Installed errors-2.1.3 Configuring wl-pprint-text-1.1.0.4... Building wl-pprint-text-1.1.0.4... Configuring data-default-0.7.1.1... Installed vector-0.11.0.0 Building data-default-0.7.1.1... Configuring hashable-1.2.4.0... Installed wl-pprint-text-1.1.0.4 Building hashable-1.2.4.0... Configuring distributive-0.5.0.2... Installed data-default-0.7.1.1 Configuring unbound-0.5.1... Installed hashable-1.2.4.0 Building unbound-0.5.1... Building distributive-0.5.0.2... Installed distributive-0.5.0.2 Configuring ListLike-4.5... Building ListLike-4.5... Configuring concurrent-supply-0.1.8... Installed ListLike-4.5 Building concurrent-supply-0.1.8... Configuring scientific-0.3.4.9... Installed concurrent-supply-0.1.8 Building scientific-0.3.4.9... Configuring clash-prelude-0.6.0.1... Installed unbound-0.5.1 Building clash-prelude-0.6.0.1... Configuring void-0.7.1... Installed scientific-0.3.4.9 Building void-0.7.1... Configuring unordered-containers-0.2.7.1... Installed void-0.7.1 Building unordered-containers-0.2.7.1... Failed to install clash-prelude-0.6.0.1 Build log ( /home/builder/.cabal/logs/clash-prelude-0.6.0.1.log ): cabal: Entering directory '/tmp/cabal-tmp-27859/clash-prelude-0.6.0.1' Configuring clash-prelude-0.6.0.1... Building clash-prelude-0.6.0.1... Preprocessing library clash-prelude-0.6.0.1... [ 1 of 32] Compiling CLaSH.Sized.Internal.Index ( src/CLaSH/Sized/Internal/Index.hs, dist/build/CLaSH/Sized/Internal/Index.o ) [ 2 of 32] Compiling CLaSH.Sized.Index ( src/CLaSH/Sized/Index.hs, dist/build/CLaSH/Sized/Index.o ) [ 3 of 32] Compiling CLaSH.Promoted.Symbol ( src/CLaSH/Promoted/Symbol.hs, dist/build/CLaSH/Promoted/Symbol.o ) [ 4 of 32] Compiling CLaSH.Promoted.Ord ( src/CLaSH/Promoted/Ord.hs, dist/build/CLaSH/Promoted/Ord.o ) [ 5 of 32] Compiling CLaSH.Promoted.Nat ( src/CLaSH/Promoted/Nat.hs, dist/build/CLaSH/Promoted/Nat.o ) [ 6 of 32] Compiling CLaSH.Promoted.Nat.TH ( src/CLaSH/Promoted/Nat/TH.hs, dist/build/CLaSH/Promoted/Nat/TH.o ) [ 7 of 32] Compiling CLaSH.Promoted.Nat.Literals ( src/CLaSH/Promoted/Nat/Literals.hs, dist/build/CLaSH/Promoted/Nat/Literals.o ) [ 8 of 32] Compiling CLaSH.Class.Resize ( src/CLaSH/Class/Resize.hs, dist/build/CLaSH/Class/Resize.o ) [ 9 of 32] Compiling CLaSH.Class.Num ( src/CLaSH/Class/Num.hs, dist/build/CLaSH/Class/Num.o ) [10 of 32] Compiling CLaSH.Signal.Internal ( src/CLaSH/Signal/Internal.hs, dist/build/CLaSH/Signal/Internal.o ) src/CLaSH/Signal/Internal.hs:74:54: warning: [-Wunticked-promoted-constructors] Unticked promoted constructor: ‘Clk’. Use ‘'Clk’ instead of ‘Clk’. src/CLaSH/Signal/Internal.hs:296:22: warning: [-Wdeprecations] In the use of ‘bitSize’ (imported from Data.Bits): Deprecated: "Use 'bitSizeMaybe' or 'finiteBitSize' instead" [11 of 32] Compiling CLaSH.Sized.Internal.BitVector ( src/CLaSH/Sized/Internal/BitVector.hs, dist/build/CLaSH/Sized/Internal/BitVector.o ) [12 of 32] Compiling CLaSH.Sized.BitVector ( src/CLaSH/Sized/BitVector.hs, dist/build/CLaSH/Sized/BitVector.o ) [13 of 32] Compiling CLaSH.Sized.Vector ( src/CLaSH/Sized/Vector.hs, dist/build/CLaSH/Sized/Vector.o ) src/CLaSH/Sized/Vector.hs:766:37: warning: [-Wunticked-promoted-constructors] Unticked promoted constructor: ‘GT’. Use ‘'GT’ instead of ‘GT’. src/CLaSH/Sized/Vector.hs:784:38: warning: [-Wunticked-promoted-constructors] Unticked promoted constructor: ‘GT’. Use ‘'GT’ instead of ‘GT’. [14 of 32] Compiling CLaSH.Class.BitPack ( src/CLaSH/Class/BitPack.hs, dist/build/CLaSH/Class/BitPack.o ) [15 of 32] Compiling CLaSH.Prelude.BitIndex ( src/CLaSH/Prelude/BitIndex.hs, dist/build/CLaSH/Prelude/BitIndex.o ) [16 of 32] Compiling CLaSH.Prelude.BitReduction ( src/CLaSH/Prelude/BitReduction.hs, dist/build/CLaSH/Prelude/BitReduction.o ) [17 of 32] Compiling CLaSH.Sized.Internal.Signed ( src/CLaSH/Sized/Internal/Signed.hs, dist/build/CLaSH/Sized/Internal/Signed.o ) [18 of 32] Compiling CLaSH.Sized.Signed ( src/CLaSH/Sized/Signed.hs, dist/build/CLaSH/Sized/Signed.o ) [19 of 32] Compiling CLaSH.Sized.Internal.Unsigned ( src/CLaSH/Sized/Internal/Unsigned.hs, dist/build/CLaSH/Sized/Internal/Unsigned.o ) [20 of 32] Compiling CLaSH.Sized.Unsigned ( src/CLaSH/Sized/Unsigned.hs, dist/build/CLaSH/Sized/Unsigned.o ) [21 of 32] Compiling CLaSH.Sized.Fixed ( src/CLaSH/Sized/Fixed.hs, dist/build/CLaSH/Sized/Fixed.o ) [22 of 32] Compiling CLaSH.Signal.Bundle ( src/CLaSH/Signal/Bundle.hs, dist/build/CLaSH/Signal/Bundle.o ) [23 of 32] Compiling CLaSH.Signal.Explicit ( src/CLaSH/Signal/Explicit.hs, dist/build/CLaSH/Signal/Explicit.o ) src/CLaSH/Signal/Explicit.hs:99:19: warning: [-Wunticked-promoted-constructors] Unticked promoted constructor: ‘Clk’. Use ‘'Clk’ instead of ‘Clk’. src/CLaSH/Signal/Explicit.hs:104:24: warning: [-Wunticked-promoted-constructors] Unticked promoted constructor: ‘Clk’. Use ‘'Clk’ instead of ‘Clk’. src/CLaSH/Signal/Explicit.hs:109:20: warning: [-Wunticked-promoted-constructors] Unticked promoted constructor: ‘Clk’. Use ‘'Clk’ instead of ‘Clk’. [24 of 32] Compiling CLaSH.Signal ( src/CLaSH/Signal.hs, dist/build/CLaSH/Signal.o ) [25 of 32] Compiling CLaSH.Prelude.DataFlow ( src/CLaSH/Prelude/DataFlow.hs, dist/build/CLaSH/Prelude/DataFlow.o ) src/CLaSH/Prelude/DataFlow.hs:145:22: warning: [-Wunticked-promoted-constructors] Unticked promoted constructor: ‘Clk’. Use ‘'Clk’ instead of ‘Clk’. src/CLaSH/Prelude/DataFlow.hs:146:22: warning: [-Wunticked-promoted-constructors] Unticked promoted constructor: ‘Clk’. Use ‘'Clk’ instead of ‘Clk’. src/CLaSH/Prelude/DataFlow.hs:162:21: warning: [-Wunticked-promoted-constructors] Unticked promoted constructor: ‘Clk’. Use ‘'Clk’ instead of ‘Clk’. src/CLaSH/Prelude/DataFlow.hs:172:23: warning: [-Wunticked-promoted-constructors] Unticked promoted constructor: ‘Clk’. Use ‘'Clk’ instead of ‘Clk’. src/CLaSH/Prelude/DataFlow.hs:173:23: warning: [-Wunticked-promoted-constructors] Unticked promoted constructor: ‘Clk’. Use ‘'Clk’ instead of ‘Clk’. src/CLaSH/Prelude/DataFlow.hs:180:20: warning: [-Wunticked-promoted-constructors] Unticked promoted constructor: ‘Clk’. Use ‘'Clk’ instead of ‘Clk’. src/CLaSH/Prelude/DataFlow.hs:181:20: warning: [-Wunticked-promoted-constructors] Unticked promoted constructor: ‘Clk’. Use ‘'Clk’ instead of ‘Clk’. src/CLaSH/Prelude/DataFlow.hs:182:20: warning: [-Wunticked-promoted-constructors] Unticked promoted constructor: ‘Clk’. Use ‘'Clk’ instead of ‘Clk’. src/CLaSH/Prelude/DataFlow.hs:199:21: warning: [-Wunticked-promoted-constructors] Unticked promoted constructor: ‘Clk’. Use ‘'Clk’ instead of ‘Clk’. src/CLaSH/Prelude/DataFlow.hs:200:21: warning: [-Wunticked-promoted-constructors] Unticked promoted constructor: ‘Clk’. Use ‘'Clk’ instead of ‘Clk’. src/CLaSH/Prelude/DataFlow.hs:203:20: warning: [-Wunticked-promoted-constructors] Unticked promoted constructor: ‘Clk’. Use ‘'Clk’ instead of ‘Clk’. src/CLaSH/Prelude/DataFlow.hs:206:26: warning: [-Wunticked-promoted-constructors] Unticked promoted constructor: ‘Clk’. Use ‘'Clk’ instead of ‘Clk’. src/CLaSH/Prelude/DataFlow.hs:207:26: warning: [-Wunticked-promoted-constructors] Unticked promoted constructor: ‘Clk’. Use ‘'Clk’ instead of ‘Clk’. src/CLaSH/Prelude/DataFlow.hs:266:25: warning: [-Wunticked-promoted-constructors] Unticked promoted constructor: ‘Clk’. Use ‘'Clk’ instead of ‘Clk’. src/CLaSH/Prelude/DataFlow.hs:313:25: warning: [-Wunticked-promoted-constructors] Unticked promoted constructor: ‘Clk’. Use ‘'Clk’ instead of ‘Clk’. [26 of 32] Compiling CLaSH.Prelude.Mealy ( src/CLaSH/Prelude/Mealy.hs, dist/build/CLaSH/Prelude/Mealy.o ) [27 of 32] Compiling CLaSH.Prelude.BlockRam ( src/CLaSH/Prelude/BlockRam.hs, dist/build/CLaSH/Prelude/BlockRam.o ) [28 of 32] Compiling CLaSH.Prelude.Testbench ( src/CLaSH/Prelude/Testbench.hs, dist/build/CLaSH/Prelude/Testbench.o ) [29 of 32] Compiling CLaSH.Prelude.Explicit ( src/CLaSH/Prelude/Explicit.hs, dist/build/CLaSH/Prelude/Explicit.o ) [30 of 32] Compiling CLaSH.Signal.Delayed ( src/CLaSH/Signal/Delayed.hs, dist/build/CLaSH/Signal/Delayed.o ) src/CLaSH/Signal/Delayed.hs:47:26: error: • Can't make a derived instance of ‘Lift (DSignal delay a)’ (even with cunning GeneralizedNewtypeDeriving): You need DeriveLift to derive an instance for this class • In the newtype declaration for ‘DSignal’ cabal: Leaving directory '/tmp/cabal-tmp-27859/clash-prelude-0.6.0.1' Configuring uu-parsinglib-2.9.1.1... Building uu-parsinglib-2.9.1.1... Configuring contravariant-1.4... Installed unordered-containers-0.2.7.1 Configuring attoparsec-0.13.1.0... Installed uu-parsinglib-2.9.1.1 Building contravariant-1.4... Building attoparsec-0.13.1.0... Installed contravariant-1.4 Configuring comonad-5... Building comonad-5... Installed attoparsec-0.13.1.0 Configuring aeson-1.0.2.1... Building aeson-1.0.2.1... Installed comonad-5 Configuring bifunctors-5.4.1... Building bifunctors-5.4.1... Installed bifunctors-5.4.1 Configuring semigroupoids-5.1... Building semigroupoids-5.1... Configuring profunctors-5.2... Installed aeson-1.0.2.1 Building profunctors-5.2... Installed semigroupoids-5.1 Installed profunctors-5.2 Configuring free-4.12.4... Building free-4.12.4... Installed free-4.12.4 Configuring adjunctions-4.3... Building adjunctions-4.3... Installed adjunctions-4.3 Configuring kan-extensions-5.0.1... Building kan-extensions-5.0.1... Installed kan-extensions-5.0.1 Configuring lens-4.15.1... Building lens-4.15.1... Installed lens-4.15.1 Configuring clash-lib-0.4.1... Building clash-lib-0.4.1... Failed to install clash-lib-0.4.1 Build log ( /home/builder/.cabal/logs/clash-lib-0.4.1.log ): cabal: Entering directory '/tmp/cabal-tmp-27858/clash-lib-0.4.1' Configuring clash-lib-0.4.1... Building clash-lib-0.4.1... Preprocessing library clash-lib-0.4.1... src/CLaSH/Core/Type.hs:10:16: warning: -fno-warn-duplicate-constraints is deprecated: it is subsumed by -Wredundant-constraints src/CLaSH/Core/Util.hs:3:16: warning: -fcontext-stack=21 is deprecated: use -freduction-depth=21 instead src/CLaSH/Core/Var.hs:11:16: warning: -fno-warn-duplicate-constraints is deprecated: it is subsumed by -Wredundant-constraints src/CLaSH/Driver/TestbenchGen.hs:4:16: warning: -fcontext-stack=21 is deprecated: use -freduction-depth=21 instead src/CLaSH/Netlist/Util.hs:5:16: warning: -fcontext-stack=21 is deprecated: use -freduction-depth=21 instead src/CLaSH/Normalize/Transformations.hs:5:16: warning: -fcontext-stack=21 is deprecated: use -freduction-depth=21 instead src/CLaSH/Normalize/Util.hs:4:16: warning: -fcontext-stack=21 is deprecated: use -freduction-depth=21 instead src/CLaSH/Rewrite/Util.hs:10:16: warning: -fcontext-stack=21 is deprecated: use -freduction-depth=21 instead [ 1 of 40] Compiling Paths_clash_lib ( dist/build/autogen/Paths_clash_lib.hs, dist/build/Paths_clash_lib.o ) [ 2 of 40] Compiling CLaSH.Util ( src/CLaSH/Util.hs, dist/build/CLaSH/Util.o ) [ 3 of 40] Compiling CLaSH.Primitives.Types ( src/CLaSH/Primitives/Types.hs, dist/build/CLaSH/Primitives/Types.o ) [ 4 of 40] Compiling CLaSH.Primitives.Util ( src/CLaSH/Primitives/Util.hs, dist/build/CLaSH/Primitives/Util.o ) [ 5 of 40] Compiling CLaSH.Netlist.Id ( src/CLaSH/Netlist/Id.hs, dist/build/CLaSH/Netlist/Id.o ) src/CLaSH/Netlist/Id.hs:41:5: warning: [-Wname-shadowing] This binding for ‘takeWhileEnd’ shadows the existing binding imported from ‘Data.Text.Lazy’ at src/CLaSH/Netlist/Id.hs:12:1-29 [ 6 of 40] Compiling CLaSH.Core.TyCon[boot] ( src/CLaSH/Core/TyCon.hs-boot, dist/build/CLaSH/Core/TyCon.o-boot ) [ 7 of 40] Compiling CLaSH.Core.Term[boot] ( src/CLaSH/Core/Term.hs-boot, dist/build/CLaSH/Core/Term.o-boot ) [ 8 of 40] Compiling CLaSH.Core.Type[boot] ( src/CLaSH/Core/Type.hs-boot, dist/build/CLaSH/Core/Type.o-boot ) [ 9 of 40] Compiling CLaSH.Core.Var ( src/CLaSH/Core/Var.hs, dist/build/CLaSH/Core/Var.o ) [10 of 40] Compiling CLaSH.Core.DataCon[boot] ( src/CLaSH/Core/DataCon.hs-boot, dist/build/CLaSH/Core/DataCon.o-boot ) [11 of 40] Compiling CLaSH.Core.DataCon ( src/CLaSH/Core/DataCon.hs, dist/build/CLaSH/Core/DataCon.o ) [12 of 40] Compiling CLaSH.Core.TyCon ( src/CLaSH/Core/TyCon.hs, dist/build/CLaSH/Core/TyCon.o ) [13 of 40] Compiling CLaSH.Core.TysPrim ( src/CLaSH/Core/TysPrim.hs, dist/build/CLaSH/Core/TysPrim.o ) [14 of 40] Compiling CLaSH.Core.Literal ( src/CLaSH/Core/Literal.hs, dist/build/CLaSH/Core/Literal.o ) [15 of 40] Compiling CLaSH.Core.Term ( src/CLaSH/Core/Term.hs, dist/build/CLaSH/Core/Term.o ) [16 of 40] Compiling CLaSH.Core.Subst ( src/CLaSH/Core/Subst.hs, dist/build/CLaSH/Core/Subst.o ) [17 of 40] Compiling CLaSH.Core.Type ( src/CLaSH/Core/Type.hs, dist/build/CLaSH/Core/Type.o ) [18 of 40] Compiling CLaSH.Core.FreeVars ( src/CLaSH/Core/FreeVars.hs, dist/build/CLaSH/Core/FreeVars.o ) [19 of 40] Compiling CLaSH.Core.Pretty ( src/CLaSH/Core/Pretty.hs, dist/build/CLaSH/Core/Pretty.o ) [20 of 40] Compiling CLaSH.Driver.Types ( src/CLaSH/Driver/Types.hs, dist/build/CLaSH/Driver/Types.o ) [21 of 40] Compiling CLaSH.Core.Util ( src/CLaSH/Core/Util.hs, dist/build/CLaSH/Core/Util.o ) [22 of 40] Compiling CLaSH.Netlist.Types ( src/CLaSH/Netlist/Types.hs, dist/build/CLaSH/Netlist/Types.o ) [23 of 40] Compiling CLaSH.Netlist[boot] ( src/CLaSH/Netlist.hs-boot, dist/build/CLaSH/Netlist.o-boot ) [24 of 40] Compiling CLaSH.Netlist.BlackBox.Types ( src/CLaSH/Netlist/BlackBox/Types.hs, dist/build/CLaSH/Netlist/BlackBox/Types.o ) [25 of 40] Compiling CLaSH.Netlist.BlackBox.Parser ( src/CLaSH/Netlist/BlackBox/Parser.hs, dist/build/CLaSH/Netlist/BlackBox/Parser.o ) [26 of 40] Compiling CLaSH.Netlist.Util ( src/CLaSH/Netlist/Util.hs, dist/build/CLaSH/Netlist/Util.o ) src/CLaSH/Netlist/Util.hs:83:11: error: • Ambiguous type variable ‘t0’ arising from a use of ‘null’ 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 Lens.Identity -- Defined in ‘Data.Functor.Identity’ instance Foldable (HashMap k) -- Defined in ‘unordered-containers-0.2.7.1:Data.HashMap.Base’ ...plus three others ...plus 75 instances involving out-of-scope types (use -fprint-potential-instances to see them all) • In the first argument of ‘(.)’, namely ‘null’ In the second argument of ‘(.)’, namely ‘null . typeFreeVars’ In the expression: not . null . typeFreeVars src/CLaSH/Netlist/Util.hs:83:18: error: • Ambiguous type variable ‘t0’ arising from a use of ‘typeFreeVars’ prevents the constraint ‘(Unbound.Util.Collection t0)’ from being solved. Probable fix: use a type annotation to specify what ‘t0’ should be. These potential instances exist: instance [safe] Unbound.Util.Collection [] -- Defined in ‘Unbound.Util’ ...plus two instances involving out-of-scope types (use -fprint-potential-instances to see them all) • In the second argument of ‘(.)’, namely ‘typeFreeVars’ In the second argument of ‘(.)’, namely ‘null . typeFreeVars’ In the expression: not . null . typeFreeVars cabal: Leaving directory '/tmp/cabal-tmp-27858/clash-lib-0.4.1' cabal: Error: some packages failed to install: clash-ghc-0.4.1 depends on clash-prelude-0.6.0.1 which failed to install. clash-lib-0.4.1 failed during the building phase. The exception was: ExitFailure 1 clash-prelude-0.6.0.1 failed during the building phase. The exception was: ExitFailure 1