Build #1 for bluefin-internal-0.0.10.0

[all reports]

Package bluefin-internal-0.0.10.0
Install InstallOk
Docs Ok
Tests Ok
Time submitted 2024-10-28 09:24:33.315864794 UTC
Compiler ghc-9.6.3
OS linux
Arch x86_64
Dependencies async-2.2.5, base-4.18.1.0, monad-control-1.0.3.1, transformers-0.6.1.0, transformers-base-0.4.6, unliftio-core-0.2.1.0
Flags none

Code Coverage

expressions33% (195/589)
booleanguards100% (0/0)
conditions 100% (1/1)
qualifiers100% (0/0)
alternatives33% (4/12)
local declarations0% (0/2)
top-level declarations35% (47/134)

Build log

[view raw]

Resolving dependencies...
Starting     base-orphans-0.9.2
Starting     unliftio-core-0.2.1.0
Starting     transformers-compat-0.7.2
Starting     bytestring-0.12.1.0
Building     unliftio-core-0.2.1.0
Building     base-orphans-0.9.2
Building     transformers-compat-0.7.2
Building     bytestring-0.12.1.0
Completed    unliftio-core-0.2.1.0
Completed    transformers-compat-0.7.2
Completed    base-orphans-0.9.2
Starting     transformers-base-0.4.6
Building     transformers-base-0.4.6
Completed    transformers-base-0.4.6
Starting     monad-control-1.0.3.1
Building     monad-control-1.0.3.1
Completed    monad-control-1.0.3.1
Completed    bytestring-0.12.1.0
Starting     binary-0.8.9.2
Starting     os-string-2.0.6
Building     binary-0.8.9.2
Building     os-string-2.0.6
Completed    os-string-2.0.6
Starting     filepath-1.5.3.0
Building     filepath-1.5.3.0
Completed    binary-0.8.9.2
Starting     text-2.1.2
Building     text-2.1.2
Completed    filepath-1.5.3.0
Completed    text-2.1.2
Starting     hashable-1.5.0.0
Building     hashable-1.5.0.0
Completed    hashable-1.5.0.0
Starting     async-2.2.5
Building     async-2.2.5
Completed    async-2.2.5
Starting     bluefin-internal-0.0.10.0
Building     bluefin-internal-0.0.10.0
Completed    bluefin-internal-0.0.10.0

Test log

[view raw]

Resolving dependencies...
Build profile: -w ghc-9.6.3 -O0
In order, the following will be built (use -v for more details):
 - async-2.2.5 (lib:async) (requires build)
 - bluefin-internal-0.0.10.0 (first run)
Starting     async-2.2.5 (all, legacy fallback)
Building     async-2.2.5 (all, legacy fallback)
Installing   async-2.2.5 (all, legacy fallback)
Completed    async-2.2.5 (all, legacy fallback)
Configuring bluefin-internal-0.0.10.0...
Preprocessing library for bluefin-internal-0.0.10.0..
Building library for bluefin-internal-0.0.10.0..
[1 of 4] Compiling Bluefin.Internal ( src/Bluefin/Internal.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/bluefin-internal-0.0.10.0/noopt/build/Bluefin/Internal.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/bluefin-internal-0.0.10.0/noopt/build/Bluefin/Internal.dyn_o )
[2 of 4] Compiling Bluefin.Internal.Pipes ( src/Bluefin/Internal/Pipes.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/bluefin-internal-0.0.10.0/noopt/build/Bluefin/Internal/Pipes.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/bluefin-internal-0.0.10.0/noopt/build/Bluefin/Internal/Pipes.dyn_o )
[3 of 4] Compiling Bluefin.Internal.Examples ( src/Bluefin/Internal/Examples.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/bluefin-internal-0.0.10.0/noopt/build/Bluefin/Internal/Examples.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/bluefin-internal-0.0.10.0/noopt/build/Bluefin/Internal/Examples.dyn_o )

src/Bluefin/Internal/Examples.hs:75:11: warning: [GHC-18042] [-Wtype-defaults]
    " Defaulting the type variable a0 to type Integer in the following constraint
        Num a0 arising from the literal 1
    " In the second argument of yield, namely 1
      In a stmt of a 'do' block: yield y 1
      In the expression:
        do yield y 1
           yield y 2
           yield y 100
           pure length
   |
75 |   yield y 1
   |           ^

src/Bluefin/Internal/Examples.hs:439:9: warning: [GHC-18042] [-Wtype-defaults]
    " Defaulting the type variable a0 to type Integer in the following constraints
        (Num a0)
          arising from the literal 1
          at src/Bluefin/Internal/Examples.hs:439:9
        (Enum a0)
          arising from the arithmetic sequence 1 .. 10
          at src/Bluefin/Internal/Examples.hs:439:8-16
    " In the expression: 1
      In the first argument of for_, namely [1 .. 10]
      In the first argument of ($), namely for_ [1 .. 10]
    |
439 |   for_ [1 .. 10] $ \_ -> tell w (Any True)
    |         ^

src/Bluefin/Internal/Examples.hs:835:28: warning: [-Wunused-matches]
    Defined but not used: b
    |
835 |     (\_ -> modify st (\(c, b) -> (c, True)))
    |                            ^

src/Bluefin/Internal/Examples.hs:835:28: warning: [GHC-63397] [-Wname-shadowing]
    This binding for b shadows the existing binding
      imported from Bluefin.Internal at src/Bluefin/Internal/Examples.hs:6:1-34
      (and originally defined at src/Bluefin/Internal.hs:400:1)
    |
835 |     (\_ -> modify st (\(c, b) -> (c, True)))
    |                            ^

src/Bluefin/Internal/Examples.hs:837:36: warning: [GHC-63397] [-Wname-shadowing]
    This binding for b shadows the existing binding
      imported from Bluefin.Internal at src/Bluefin/Internal/Examples.hs:6:1-34
      (and originally defined at src/Bluefin/Internal.hs:400:1)
    |
837 |     (\_ -> do act; modify st (\(c, b) -> ((c + 1), b)))
    |                                    ^

src/Bluefin/Internal/Examples.hs:850:91: warning: [GHC-18042] [-Wtype-defaults]
    " Defaulting the type variable exn0 to type Integer in the following constraint
        Num exn0 arising from the literal 42
    " In the second argument of throw, namely 42
      In the second argument of polymorphicBracket, namely
        (throw e 42)
      In the expression: polymorphicBracket st (throw e 42)
    |
850 |     (_res, st) <- runState (0, False) $ \st -> try $ \e -> polymorphicBracket st (throw e 42)
    |                                                                                           ^^
[4 of 4] Compiling Bluefin.Internal.System.IO ( src/Bluefin/Internal/System/IO.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/bluefin-internal-0.0.10.0/noopt/build/Bluefin/Internal/System/IO.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/bluefin-internal-0.0.10.0/noopt/build/Bluefin/Internal/System/IO.dyn_o )
Preprocessing test suite 'bluefin-test' for bluefin-internal-0.0.10.0..
Building test suite 'bluefin-test' for bluefin-internal-0.0.10.0..
[1 of 1] Compiling Main             ( test/Main.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/bluefin-internal-0.0.10.0/noopt/build/bluefin-test/bluefin-test-tmp/Main.o )

test/Main.hs:19:5: warning: [GHC-18042] [-Wtype-defaults]
    " Defaulting the type variable a0 to type Integer in the following constraints
        (Eq a0)
          arising from a use of assertEqual' at test/Main.hs:19:5-16
        (Show a0)
          arising from a use of assertEqual' at test/Main.hs:19:5-16
        (Num a0) arising from the literal 0 at test/Main.hs:19:30
    " In a stmt of a 'do' block:
        assertEqual' "index 1" ([0, 1, 2, 3] !? 2) (Just 2)
      In the expression:
        do let assertEqual' = assertEqual y
           assertEqual'
             "oddsUntilFirstGreaterThan5" oddsUntilFirstGreaterThan5
             [1, 3, ....]
           assertEqual' "index 1" ([0, 1, ....] !? 2) (Just 2)
           assertEqual' "index 2" ([0, 1, ....] !? 4) Nothing
           ....
      In the second argument of ($), namely
        \ y
           -> do let ...
                 assertEqual'
                   "oddsUntilFirstGreaterThan5" oddsUntilFirstGreaterThan5 [...]
                 ....
   |
19 |     assertEqual' "index 1" ([0, 1, 2, 3] !? 2) (Just 2)
   |     ^^^^^^^^^^^^

test/Main.hs:20:5: warning: [GHC-18042] [-Wtype-defaults]
    " Defaulting the type variable a0 to type Integer in the following constraints
        (Eq a0)
          arising from a use of assertEqual' at test/Main.hs:20:5-16
        (Show a0)
          arising from a use of assertEqual' at test/Main.hs:20:5-16
        (Num a0) arising from the literal 0 at test/Main.hs:20:30
    " In a stmt of a 'do' block:
        assertEqual' "index 2" ([0, 1, 2, 3] !? 4) Nothing
      In the expression:
        do let assertEqual' = assertEqual y
           assertEqual'
             "oddsUntilFirstGreaterThan5" oddsUntilFirstGreaterThan5
             [1, 3, ....]
           assertEqual' "index 1" ([0, 1, ....] !? 2) (Just 2)
           assertEqual' "index 2" ([0, 1, ....] !? 4) Nothing
           ....
      In the second argument of ($), namely
        \ y
           -> do let ...
                 assertEqual'
                   "oddsUntilFirstGreaterThan5" oddsUntilFirstGreaterThan5 [...]
                 ....
   |
20 |     assertEqual' "index 2" ([0, 1, 2, 3] !? 4) Nothing
   |     ^^^^^^^^^^^^

test/Main.hs:29:5: warning: [GHC-18042] [-Wtype-defaults]
    " Defaulting the type variable b0 to type Integer in the following constraints
        (Eq b0)
          arising from a use of assertEqual' at test/Main.hs:29:5-16
        (Show b0)
          arising from a use of assertEqual' at test/Main.hs:29:5-16
        (Num b0) arising from the literal 20 at test/Main.hs:32:14-15
        (Num b0) arising from the literal 10 at test/Main.hs:31:29-30
        (Show b0) arising from a use of show at test/Main.hs:31:50-53
        (Num b0) arising from a use of * at test/Main.hs:31:60
    " In a stmt of a 'do' block:
        assertEqual'
          "State"
          (runPureEff (runState 10 (stateEff (\ n -> (show n, n * 2)))))
          ("10", 20)
      In the expression:
        do let assertEqual' = assertEqual y
           assertEqual'
             "oddsUntilFirstGreaterThan5" oddsUntilFirstGreaterThan5
             [1, 3, ....]
           assertEqual' "index 1" ([0, 1, ....] !? 2) (Just 2)
           assertEqual' "index 2" ([0, 1, ....] !? 4) Nothing
           ....
      In the second argument of ($), namely
        \ y
           -> do let ...
                 assertEqual'
                   "oddsUntilFirstGreaterThan5" oddsUntilFirstGreaterThan5 [...]
                 ....
   |
29 |     assertEqual'
   |     ^^^^^^^^^^^^

test/Main.hs:33:5: warning: [GHC-18042] [-Wtype-defaults]
    " Defaulting the type variable a0 to type Integer in the following constraints
        (Eq a0)
          arising from a use of assertEqual' at test/Main.hs:33:5-16
        (Show a0)
          arising from a use of assertEqual' at test/Main.hs:33:5-16
        (Num a0) arising from the literal 20 at test/Main.hs:36:9-10
        (Num a0) arising from the literal 20 at test/Main.hs:35:43-44
    " In a stmt of a 'do' block:
        assertEqual'
          "List" (runPureEff (yieldToList (listEff ([20, 30, 40], "Hello"))))
          ([20, 30, 40], "Hello")
      In the expression:
        do let assertEqual' = assertEqual y
           assertEqual'
             "oddsUntilFirstGreaterThan5" oddsUntilFirstGreaterThan5
             [1, 3, ....]
           assertEqual' "index 1" ([0, 1, ....] !? 2) (Just 2)
           assertEqual' "index 2" ([0, 1, ....] !? 4) Nothing
           ....
      In the second argument of ($), namely
        \ y
           -> do let ...
                 assertEqual'
                   "oddsUntilFirstGreaterThan5" oddsUntilFirstGreaterThan5 [...]
                 ....
   |
33 |     assertEqual'
   |     ^^^^^^^^^^^^
[2 of 2] Linking /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/bluefin-internal-0.0.10.0/noopt/build/bluefin-test/bluefin-test
Running 1 test suites...
Test suite bluefin-test: RUNNING...
Test suite bluefin-test: PASS
Test suite logged to:
/home/builder/builder-dir/build-cache/tmp-install/reports/bluefin-internal-0.0.10.0.test
Writing: bluefin-internal-0.0.10.0-inplace/Bluefin.Internal.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.6.3/bluefin-internal-0.0.10.0/noopt/hpc/vanilla/html/bluefin-test/hpc_index.html
1 of 1 test suites (1 of 1 test cases) passed.
Writing: bluefin-internal-0.0.10.0-inplace/Bluefin.Internal.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.6.3/bluefin-internal-0.0.10.0/noopt/hpc/vanilla/html/bluefin-internal-0.0.10.0/hpc_index.html