Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

haskey-btree 0.3.0.1 test suite compilation failure #7393

Open
alexeyzab opened this issue Apr 24, 2024 · 0 comments
Open

haskey-btree 0.3.0.1 test suite compilation failure #7393

alexeyzab opened this issue Apr 24, 2024 · 0 comments

Comments

@alexeyzab
Copy link
Contributor

       While building package haskey-btree-0.3.0.1 (scroll up to its section to see the error)                                                                                                                              using:                                                                                                                                                                                                               /home/curators/.stack/setup-exe-cache/x86_64-linux-tinfo6/Cabal-simple_6HauvNHV_3.10.2.0_ghc-9.8.2 --verbose=1 --builddir=.stack-work/dist/x86_64-linux-tinfo6/ghc-9.8.2 build lib:haskey-btree test:haskey-btree-integration test:haskey-btree-properties --ghc-options ""
       Process exited with code: ExitFailure 1
       Logs have been written                                                                                                                                                                                               to: /home/curators/work/unpack-dir/.stack-work/logs/haskey-btree-0.3.0.1.log

       Preprocessing library for haskey-btree-0.3.0.1..
       Building library for haskey-btree-0.3.0.1..                                                                                                                                                                          Preprocessing test suite 'haskey-btree-integration' for haskey-btree-0.3.0.1..
       Building test suite 'haskey-btree-integration' for haskey-btree-0.3.0.1..
       [1 of 3] Compiling Integration.WriteOpenRead.Transactions

       /home/curators/work/unpack-dir/unpacked/haskey-btree-0.3.0.1-2e226395d5e0e8cb97b7433e52e3c992efd8e793730cb2fb7f71706773f01939/tests/Integration/WriteOpenRead/Transactions.hs:59:33: error: [GHC-88464]
           Variable not in scope:
             replicateM
               :: Int
                  -> StateT (Map k0 v0, [TestAction k0 v0]) Gen ()
                  -> StateT (Map k v, [TestAction k v]) Gen a0
           Suggested fix: Perhaps use ‘replicate’ (imported from Prelude)
          |
       59 |     (m, actions) <- execStateT (replicateM k next) (db, [])
          |                                 ^^^^^^^^^^

       /home/curators/work/unpack-dir/unpacked/haskey-btree-0.3.0.1-2e226395d5e0e8cb97b7433e52e3c992efd8e793730cb2fb7f71706773f01939/tests/Integration/WriteOpenRead/Transactions.hs:92:29: error: [GHC-88464]
           Variable not in scope:
             replicateM
               :: Int
                  -> StateT (Map k1 v1, [TestTransaction k1 v1]) Gen ()
                  -> StateT (Map k2 a1, [TestTransaction k v]) Gen a2
           Suggested fix: Perhaps use ‘replicate’ (imported from Prelude)
          |
       92 |     (_, txs) <- execStateT (replicateM k next) (M.empty, [])
          |                             ^^^^^^^^^^
curator: Received ExitFailure 1 when running
Raw command: /usr/bin/stack --terminal build --test --test-suite-timeout=600 --no-rerun-tests --bench --no-run-benchmarks --haddock --no-interleaved-output --ghc-options -w --jobs=16

cc @hverr

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant