Resolving dependencies... Build profile: -w ghc-9.2.4 -O0 In order, the following will be built (use -v for more details): - nothunks-0.1.3 (lib:nothunks) (requires download & build) - rrb-vector-0.2.0.0 (first run) Downloading nothunks-0.1.3 Downloaded nothunks-0.1.3 Starting nothunks-0.1.3 (all, legacy fallback) Building nothunks-0.1.3 (all, legacy fallback) Installing nothunks-0.1.3 (all, legacy fallback) Completed nothunks-0.1.3 (all, legacy fallback) Configuring rrb-vector-0.2.0.0... Preprocessing library for rrb-vector-0.2.0.0.. Building library for rrb-vector-0.2.0.0.. [1 of 6] Compiling Data.RRBVector.Internal.Array ( src/Data/RRBVector/Internal/Array.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/rrb-vector-0.2.0.0/noopt/build/Data/RRBVector/Internal/Array.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/rrb-vector-0.2.0.0/noopt/build/Data/RRBVector/Internal/Array.dyn_o ) [2 of 6] Compiling Data.RRBVector.Internal.IntRef ( src/Data/RRBVector/Internal/IntRef.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/rrb-vector-0.2.0.0/noopt/build/Data/RRBVector/Internal/IntRef.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/rrb-vector-0.2.0.0/noopt/build/Data/RRBVector/Internal/IntRef.dyn_o ) [3 of 6] Compiling Data.RRBVector.Internal.Buffer ( src/Data/RRBVector/Internal/Buffer.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/rrb-vector-0.2.0.0/noopt/build/Data/RRBVector/Internal/Buffer.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/rrb-vector-0.2.0.0/noopt/build/Data/RRBVector/Internal/Buffer.dyn_o ) [4 of 6] Compiling Data.RRBVector.Internal ( src/Data/RRBVector/Internal.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/rrb-vector-0.2.0.0/noopt/build/Data/RRBVector/Internal.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/rrb-vector-0.2.0.0/noopt/build/Data/RRBVector/Internal.dyn_o ) src/Data/RRBVector/Internal.hs:707:47: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a lambda abstraction: Patterns of type Tree a not matched: Balanced _ Unbalanced _ _ | 707 | | sh == blockShift = mergeRebalance' (\(Leaf arr) -> arr) Leaf | ^^^^^^^^^^^^^^^^^^ [5 of 6] Compiling Data.RRBVector.Internal.Debug ( src/Data/RRBVector/Internal/Debug.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/rrb-vector-0.2.0.0/noopt/build/Data/RRBVector/Internal/Debug.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/rrb-vector-0.2.0.0/noopt/build/Data/RRBVector/Internal/Debug.dyn_o ) [6 of 6] Compiling Data.RRBVector ( src/Data/RRBVector.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/rrb-vector-0.2.0.0/noopt/build/Data/RRBVector.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/rrb-vector-0.2.0.0/noopt/build/Data/RRBVector.dyn_o ) Preprocessing test suite 'test' for rrb-vector-0.2.0.0.. Building test suite 'test' for rrb-vector-0.2.0.0.. [1 of 4] Compiling Arbitrary ( test/Arbitrary.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/rrb-vector-0.2.0.0/noopt/build/test/test-tmp/Arbitrary.o ) [2 of 4] Compiling Properties ( test/Properties.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/rrb-vector-0.2.0.0/noopt/build/test/test-tmp/Properties.o ) test/Properties.hs:31:27: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ([a], [a]) not matched: ([], []) ((_:_), []) | 31 | | i < length ls = let (left, _ : right) = splitAt i ls in left ++ (x : right) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test/Properties.hs:36:27: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ([a], [a]) not matched: ([], []) ((_:_), []) | 36 | | i < length ls = let (left, x : right) = splitAt i ls in left ++ (f x : right) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test/Properties.hs:44:27: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ([a], [a]) not matched: ([], []) ((_:_), []) | 44 | | i < length ls = let (left, _ : right) = splitAt i ls in left ++ right | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test/Properties.hs:94:61: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a lambda abstraction: Patterns of type V.Vector Int, NonNegative Int, Fun Int Int not matched: rrb-vector-0.2.0.0-inplace:Data.RRBVector.Internal.Empty (NonNegative _) (Fun _ _) (rrb-vector-0.2.0.0-inplace:Data.RRBVector.Internal.Root _ _ _) (NonNegative _) (Fun _ _) | 94 | [ testProperty "adjusts the element at the index" $ \v (NonNegative i) (Fn f) -> toList (V.adjust i f v) === adjustList i f (toList v) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test/Properties.hs:95:68: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a lambda abstraction: Patterns of type V.Vector Int, Negative Int, Fun Int Int not matched: rrb-vector-0.2.0.0-inplace:Data.RRBVector.Internal.Empty (Negative _) (Fun _ _) (rrb-vector-0.2.0.0-inplace:Data.RRBVector.Internal.Root _ _ _) (Negative _) (Fun _ _) | 95 | , testProperty "returns the vector for negative indices" $ \v (Negative i) (Fn f) -> V.adjust i f v === v | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test/Properties.hs:98:61: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a lambda abstraction: Patterns of type V.Vector Int, NonNegative Int, Fun Int Int not matched: rrb-vector-0.2.0.0-inplace:Data.RRBVector.Internal.Empty (NonNegative _) (Fun _ _) (rrb-vector-0.2.0.0-inplace:Data.RRBVector.Internal.Root _ _ _) (NonNegative _) (Fun _ _) | 98 | [ testProperty "adjusts the element at the index" $ \v (NonNegative i) (Fn f) -> toList (V.adjust' i f v) === adjustList i f (toList v) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test/Properties.hs:99:68: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a lambda abstraction: Patterns of type V.Vector Int, Negative Int, Fun Int Int not matched: rrb-vector-0.2.0.0-inplace:Data.RRBVector.Internal.Empty (Negative _) (Fun _ _) (rrb-vector-0.2.0.0-inplace:Data.RRBVector.Internal.Root _ _ _) (Negative _) (Fun _ _) | 99 | , testProperty "returns the vector for negative indices" $ \v (Negative i) (Fn f) -> V.adjust' i f v === v | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [3 of 4] Compiling Strictness ( test/Strictness.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/rrb-vector-0.2.0.0/noopt/build/test/test-tmp/Strictness.o ) [4 of 4] Compiling Main ( test/Main.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/rrb-vector-0.2.0.0/noopt/build/test/test-tmp/Main.o ) Linking /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/rrb-vector-0.2.0.0/noopt/build/test/test ... Running 1 test suites... Test suite test: RUNNING... Test suite test: FAIL Test suite logged to: /home/builder/builder-dir/build-cache/tmp-install/reports/rrb-vector-0.2.0.0.test Writing: rrb-vector-0.2.0.0-inplace/Data.RRBVector.Internal.Debug.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/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/rrb-vector-0.2.0.0/noopt/hpc/vanilla/html/test/hpc_index.html 0 of 1 test suites (0 of 1 test cases) passed. Writing: rrb-vector-0.2.0.0-inplace/Data.RRBVector.Internal.Debug.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/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/rrb-vector-0.2.0.0/noopt/hpc/vanilla/html/rrb-vector-0.2.0.0/hpc_index.html Error: cabal: Tests failed for rrb-vector-0.2.0.0.