Build #1 for rrb-vector-0.2.0.0

[all reports]

Package rrb-vector-0.2.0.0
Install InstallOk
Docs Ok
Tests Failed
Time submitted 2023-02-21 16:39:58.804647313 UTC
Compiler ghc-9.2.4
OS linux
Arch x86_64
Dependencies base-4.16.3.0, deepseq-1.4.6.1, indexed-traversable-0.1.2, primitive-0.8.0.0
Flags none

Code Coverage

expressions92% (2697/2918)
booleanguards61% (36/59)
conditions 75% (9/12)
qualifiers100% (0/0)
alternatives93% (249/267)
local declarations95% (129/135)
top-level declarations89% (131/147)

Build log

[view raw]

Resolving dependencies...
Starting     data-array-byte-0.1.0.1
Starting     indexed-traversable-0.1.2
Building     data-array-byte-0.1.0.1
Building     indexed-traversable-0.1.2
Completed    data-array-byte-0.1.0.1
Starting     primitive-0.8.0.0
Building     primitive-0.8.0.0
Completed    indexed-traversable-0.1.2
Completed    primitive-0.8.0.0
Downloading  rrb-vector-0.2.0.0
Downloaded   rrb-vector-0.2.0.0
Starting     rrb-vector-0.2.0.0
Building     rrb-vector-0.2.0.0
Completed    rrb-vector-0.2.0.0

Test log

[view raw]

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.