Resolving dependencies... Build profile: -w ghc-9.8.4 -O0 In order, the following will be built (use -v for more details): - primes-0.2.1.0 (lib:primes) (requires build) - data-findcycle-0.1.1.0 (first run) Configuring primes-0.2.1.0... Preprocessing library for primes-0.2.1.0.. Building library for primes-0.2.1.0.. [1 of 1] Compiling Data.Numbers.Primes ( Data/Numbers/Primes.hs, dist/build/Data/Numbers/Primes.o, dist/build/Data/Numbers/Primes.dyn_o ) Data/Numbers/Primes.hs:48:34: warning: [GHC-63394] [-Wx-partial] In the use of head (imported from Prelude, but defined in GHC.List): "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty." | 48 | wheelSieve k = reverse ps ++ map head (sieve p (cycle ns)) | ^^^^ Data/Numbers/Primes.hs:49:8: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ([int], [int]) not matched: ([], _) | 49 | where (p:ps,ns) = wheel k | ^^^^^^^^^^^^^^^^^^^ Data/Numbers/Primes.hs:132:8: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ([int], Queue int) not matched: ([], _) | 132 | where (z:zs,queue') = dequeue queue | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Data/Numbers/Primes.hs:196:8: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type [int] not matched: [] | 196 | where (y:ys) = cycle xs | ^^^^^^^^^^^^^^^^^ Installing library in /home/bgamari/.local/state/cabal/store/ghc-9.8.4/incoming/new-2818900/home/bgamari/.local/state/cabal/store/ghc-9.8.4/primes-0.2.1.0-6d0079721144bffe79d92c540c2e9bd3be93e46295574b9813e3508b2986fe85/lib Configuring data-findcycle-0.1.1.0... Preprocessing library for data-findcycle-0.1.1.0.. Building library for data-findcycle-0.1.1.0.. [1 of 1] Compiling Data.FindCycle ( src/Data/FindCycle.hs, /home/bgamari/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/data-findcycle-0.1.1.0/noopt/build/Data/FindCycle.o, /home/bgamari/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/data-findcycle-0.1.1.0/noopt/build/Data/FindCycle.dyn_o ) Preprocessing test suite 'data-findcycle-test' for data-findcycle-0.1.1.0.. Building test suite 'data-findcycle-test' for data-findcycle-0.1.1.0.. [1 of 1] Compiling Main ( test/Main.hs, /home/bgamari/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/data-findcycle-0.1.1.0/noopt/build/data-findcycle-test/data-findcycle-test-tmp/Main.o ) [2 of 2] Linking /home/bgamari/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/data-findcycle-0.1.1.0/noopt/build/data-findcycle-test/data-findcycle-test Running 1 test suites... Test suite data-findcycle-test: RUNNING... Test suite data-findcycle-test: PASS Test suite logged to: /home/bgamari/build-cache/tmp-install/reports/data-findcycle-0.1.1.0.test Writing: data-findcycle-0.1.1.0-inplace/Data.FindCycle.hs.html Writing: hpc_index.html Writing: hpc_index_fun.html Writing: hpc_index_alt.html Writing: hpc_index_exp.html Test coverage report written to /home/bgamari/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/data-findcycle-0.1.1.0/noopt/hpc/vanilla/html/data-findcycle-test/hpc_index.html 1 of 1 test suites (1 of 1 test cases) passed. Writing: data-findcycle-0.1.1.0-inplace/Data.FindCycle.hs.html Writing: hpc_index.html Writing: hpc_index_fun.html Writing: hpc_index_alt.html Writing: hpc_index_exp.html Package coverage report written to /home/bgamari/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/data-findcycle-0.1.1.0/noopt/hpc/vanilla/html/data-findcycle-0.1.1.0/hpc_index.html