Resolving dependencies... Configuring base-compat-0.9.3... Configuring base-orphans-0.6... Building base-compat-0.9.3... Building base-orphans-0.6... Installed base-orphans-0.6 Configuring cabal-doctest-1... Building cabal-doctest-1... Configuring data-binary-ieee754-0.4.4... Installed base-compat-0.9.3 Building data-binary-ieee754-0.4.4... Installed cabal-doctest-1 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... Installed data-default-class-0.1.2.0 Configuring fgl-5.5.3.1... Building fgl-5.5.3.1... Installed dlist-0.8.0.2 Configuring fmlist-0.9... Building fmlist-0.9... Configuring ghc-tcplugins-extra-0.2... Installed fmlist-0.9 Building ghc-tcplugins-extra-0.2... Configuring half-0.2.2.3... Installed ghc-tcplugins-extra-0.2 Building half-0.2.2.3... Configuring integer-logarithms-1.0.1... Installed half-0.2.2.3 Configuring mtl-2.2.1... Installed fgl-5.5.3.1 Building integer-logarithms-1.0.1... Building mtl-2.2.1... Configuring old-locale-1.0.0.7... Installed integer-logarithms-1.0.1 Building old-locale-1.0.0.7... Configuring parallel-3.2.1.1... Installed old-locale-1.0.0.7 Building parallel-3.2.1.1... Configuring prelude-extras-0.4.0.3... Installed mtl-2.2.1 Building prelude-extras-0.4.0.3... Configuring primitive-0.6.2.0... Installed parallel-3.2.1.1 Building primitive-0.6.2.0... Configuring random-1.1... Installed prelude-extras-0.4.0.3 Building random-1.1... Configuring reflection-2.1.2... Installed random-1.1 Building reflection-2.1.2... Configuring safe-0.3.14... Installed primitive-0.6.2.0 Building safe-0.3.14... Configuring semigroups-0.18.3... Installed safe-0.3.14 Building semigroups-0.18.3... Configuring stm-2.4.4.1... Installed reflection-2.1.2 Building stm-2.4.4.1... Configuring syb-0.7... Installed semigroups-0.18.3 Building syb-0.7... Configuring text-1.2.2.1... Installed stm-2.4.4.1 Building text-1.2.2.1... Configuring th-lift-0.7.7... Installed syb-0.7 Building th-lift-0.7.7... Configuring time-locale-compat-0.1.1.3... Installed th-lift-0.7.7 Building time-locale-compat-0.1.1.3... Configuring transformers-compat-0.5.1.4... Installed time-locale-compat-0.1.1.3 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... Configuring void-0.7.2... Installed text-1.2.2.1 Building void-0.7.2... Installed uu-interleaved-0.2.0.0 Configuring data-default-instances-containers-0.0.1... Installed void-0.7.2 Configuring data-default-instances-dlist-0.0.1... Building data-default-instances-containers-0.0.1... Building data-default-instances-dlist-0.0.1... Installed data-default-instances-containers-0.0.1 Configuring ghc-typelits-natnormalise-0.5.2... Configuring tf-random-0.5... Installed data-default-instances-dlist-0.0.1 Building ghc-typelits-natnormalise-0.5.2... Building tf-random-0.5... Configuring data-default-instances-old-locale-0.0.1... Installed tf-random-0.5 Building data-default-instances-old-locale-0.0.1... Configuring StateVar-1.1.0.4... Installed ghc-typelits-natnormalise-0.5.2 Configuring vector-0.12.0.1... Installed data-default-instances-old-locale-0.0.1 Building StateVar-1.1.0.4... Building vector-0.12.0.1... Configuring th-expand-syns-0.4.3.0... Installed StateVar-1.1.0.4 Building th-expand-syns-0.4.3.0... Configuring exceptions-0.8.3... Installed th-expand-syns-0.4.3.0 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... Configuring wl-pprint-text-1.1.1.0... Installed errors-2.1.3 Building wl-pprint-text-1.1.1.0... Configuring hashable-1.2.6.0... Installed wl-pprint-text-1.1.1.0 Building hashable-1.2.6.0... Installed hashable-1.2.6.0 Configuring QuickCheck-2.9.2... Building QuickCheck-2.9.2... Installed vector-0.12.0.1 Configuring data-default-0.7.1.1... Building data-default-0.7.1.1... Configuring contravariant-1.4... Installed data-default-0.7.1.1 Building contravariant-1.4... Configuring th-reify-many-0.1.6... Installed contravariant-1.4 Building th-reify-many-0.1.6... Configuring distributive-0.5.2... Installed th-reify-many-0.1.6 Building distributive-0.5.2... Configuring concurrent-supply-0.1.8... Installed distributive-0.5.2 Configuring constraints-0.9.1... Installed QuickCheck-2.9.2 Building concurrent-supply-0.1.8... Building constraints-0.9.1... Installed concurrent-supply-0.1.8 Configuring uuid-types-1.0.3... Building uuid-types-1.0.3... Configuring unordered-containers-0.2.8.0... Installed uuid-types-1.0.3 Building unordered-containers-0.2.8.0... Configuring scientific-0.3.4.12... Installed constraints-0.9.1 Building scientific-0.3.4.12... Configuring ListLike-4.5.1... Installed scientific-0.3.4.12 Building ListLike-4.5.1... Configuring th-lift-instances-0.1.11... Installed unordered-containers-0.2.8.0 Building th-lift-instances-0.1.11... Configuring comonad-5.0.1... Installed th-lift-instances-0.1.11 Building comonad-5.0.1... Installed ListLike-4.5.1 Configuring th-orphans-0.13.3... Building th-orphans-0.13.3... Configuring attoparsec-0.13.1.0... Installed comonad-5.0.1 Building attoparsec-0.13.1.0... Configuring uu-parsinglib-2.9.1.1... Installed th-orphans-0.13.3 Building uu-parsinglib-2.9.1.1... Installed attoparsec-0.13.1.0 Configuring bifunctors-5.4.2... Building bifunctors-5.4.2... Configuring th-desugar-1.6... Installed uu-parsinglib-2.9.1.1 Building th-desugar-1.6... Installed bifunctors-5.4.2 Configuring aeson-1.1.2.0... Building aeson-1.1.2.0... Configuring semigroupoids-5.2... Installed th-desugar-1.6 Building semigroupoids-5.2... Configuring profunctors-5.2... Installed aeson-1.1.2.0 Building profunctors-5.2... Installed semigroupoids-5.2 Configuring singletons-2.2... Building singletons-2.2... Installed profunctors-5.2 Configuring free-4.12.4... Building free-4.12.4... Configuring unbound-generics-0.3.1... Installed free-4.12.4 Building unbound-generics-0.3.1... Configuring adjunctions-4.3... Installed unbound-generics-0.3.1 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 Installed singletons-2.2 Configuring ghc-typelits-knownnat-0.2.4... Building ghc-typelits-knownnat-0.2.4... Installed ghc-typelits-knownnat-0.2.4 Configuring ghc-typelits-extra-0.2.2... Building ghc-typelits-extra-0.2.2... Installed ghc-typelits-extra-0.2.2 Configuring clash-prelude-0.11.2... Building clash-prelude-0.11.2... Installed clash-prelude-0.11.2 Configuring clash-lib-0.7.1... Building clash-lib-0.7.1... Failed to install clash-lib-0.7.1 Build log ( /home/builder/.cabal/logs/clash-lib-0.7.1.log ): cabal: Entering directory '/tmp/cabal-tmp-27237/clash-lib-0.7.1' Configuring clash-lib-0.7.1... Building clash-lib-0.7.1... Preprocessing library clash-lib-0.7.1... [ 1 of 45] Compiling Unbound.Generics.LocallyNameless.Extra ( src/Unbound/Generics/LocallyNameless/Extra.hs, dist/build/Unbound/Generics/LocallyNameless/Extra.o ) [ 2 of 45] Compiling Paths_clash_lib ( dist/build/autogen/Paths_clash_lib.hs, dist/build/Paths_clash_lib.o ) [ 3 of 45] Compiling GHC.Extra ( src/GHC/Extra.hs, dist/build/GHC/Extra.o ) src/GHC/Extra.hs:16:10: error: Duplicate instance declarations: instance NFData SrcSpan -- Defined at src/GHC/Extra.hs:16:10 instance NFData SrcSpan -- Defined in ‘SrcLoc’ cabal: Leaving directory '/tmp/cabal-tmp-27237/clash-lib-0.7.1' cabal: Error: some packages failed to install: clash-lib-0.7.1 failed during the building phase. The exception was: ExitFailure 1 clash-vhdl-0.7.2 depends on clash-lib-0.7.1 which failed to install.