Resolving dependencies... Starting call-stack-0.4.0 Starting colour-2.3.6 Starting haskell-lexer-1.1 Starting hspec-discover-2.10.5 Building call-stack-0.4.0 Building colour-2.3.6 Building hspec-discover-2.10.5 Building haskell-lexer-1.1 Completed call-stack-0.4.0 Starting primitive-0.7.4.0 Building primitive-0.7.4.0 Completed hspec-discover-2.10.5 Starting setenv-0.1.1.3 Building setenv-0.1.1.3 Completed colour-2.3.6 Starting splitmix-0.1.0.4 Building splitmix-0.1.0.4 Completed setenv-0.1.1.3 Starting validity-0.12.0.1 Building validity-0.12.0.1 Completed splitmix-0.1.0.4 Starting HUnit-1.6.2.0 Building HUnit-1.6.2.0 Completed validity-0.12.0.1 Starting ansi-terminal-0.11.3 Building ansi-terminal-0.11.3 Completed HUnit-1.6.2.0 Starting random-1.2.1.1 Building random-1.2.1.1 Completed primitive-0.7.4.0 Starting hspec-expectations-0.8.2 Building hspec-expectations-0.8.2 Completed ansi-terminal-0.11.3 Completed hspec-expectations-0.8.2 Completed haskell-lexer-1.1 Starting pretty-show-1.10 Building pretty-show-1.10 Completed random-1.2.1.1 Starting tf-random-0.5 Starting QuickCheck-2.14.2 Building tf-random-0.5 Building QuickCheck-2.14.2 Completed pretty-show-1.10 Completed tf-random-0.5 Completed QuickCheck-2.14.2 Starting quickcheck-io-0.2.0 Starting genvalidity-1.1.0.0 Building quickcheck-io-0.2.0 Building genvalidity-1.1.0.0 Completed quickcheck-io-0.2.0 Starting hspec-core-2.10.5 Building hspec-core-2.10.5 Completed genvalidity-1.1.0.0 Completed hspec-core-2.10.5 Starting hspec-2.10.5 Building hspec-2.10.5 Completed hspec-2.10.5 Starting genvalidity-property-1.0.0.0 Building genvalidity-property-1.0.0.0 Completed genvalidity-property-1.0.0.0 Starting genvalidity-hspec-1.0.0.1 Building genvalidity-hspec-1.0.0.1 Failed to install genvalidity-hspec-1.0.0.1 Build log ( /home/builder/.cabal/logs/ghc-9.2.4/genvalidity-hspec-1.0.0.1-5aZNk9bYBFKBZYtkGuhkUC.log ): cabal: Entering directory '/tmp/cabal-tmp-20060/genvalidity-hspec-1.0.0.1' Configuring genvalidity-hspec-1.0.0.1... Preprocessing library for genvalidity-hspec-1.0.0.1.. Building library for genvalidity-hspec-1.0.0.1.. [ 1 of 13] Compiling Paths_genvalidity_hspec ( dist/build/autogen/Paths_genvalidity_hspec.hs, dist/build/Paths_genvalidity_hspec.o, dist/build/Paths_genvalidity_hspec.dyn_o ) [ 2 of 13] Compiling Test.Validity.Utils ( src/Test/Validity/Utils.hs, dist/build/Test/Validity/Utils.o, dist/build/Test/Validity/Utils.dyn_o ) src/Test/Validity/Utils.hs:71:65: error: " Couldn't match type: [SpecTree b] with: (base-4.16.3.0:Data.Semigroup.Internal.Endo Config, [SpecTree b]) Expected: (base-4.16.3.0:Data.Semigroup.Internal.Endo Config, [SpecTree a]) -> (base-4.16.3.0:Data.Semigroup.Internal.Endo Config, [SpecTree b]) Actual: [SpecTree a] -> [SpecTree b] " In the first argument of second, namely (map f) In the first argument of fmap, namely (second (map f)) In the first argument of mapWriterT, namely (fmap (second (map f))) " Relevant bindings include f :: SpecTree a -> SpecTree b (bound at src/Test/Validity/Utils.hs:71:14) mapSpecTree' :: (SpecTree a -> SpecTree b) -> SpecM a r -> SpecM b r (bound at src/Test/Validity/Utils.hs:71:1) | 71 | mapSpecTree' f (SpecM specs) = SpecM (mapWriterT (fmap (second (map f))) specs) | ^^^^^ cabal: Leaving directory '/tmp/cabal-tmp-20060/genvalidity-hspec-1.0.0.1' Warning: could not create symlinks in /home/builder/.cabal/bin for hspec-discover, ppsh because the files exist there already and are not managed by cabal. You can create symlinks for these executables manually if you wish. The executable files have been installed at /home/builder/hackage-server/build-cache/tmp-install/bin/hspec-discover, /home/builder/hackage-server/build-cache/tmp-install/bin/ppsh Error: cabal: Some packages failed to install: genvalidity-hspec-1.0.0.1-5aZNk9bYBFKBZYtkGuhkUC failed during the building phase. The exception was: ExitFailure 1