Build #1 for numeric-optimization-ad-0.1.0.1

[all reports]

Package numeric-optimization-ad-0.1.0.1
Install InstallOk
Docs Ok
Tests Ok
Time submitted 2023-06-03 10:47:40.199378157 UTC
Compiler ghc-9.2.4
OS linux
Arch x86_64
Dependencies ad-4.5.4, base-4.16.3.0, data-default-class-0.1.2.0, hmatrix-0.20.2, numeric-optimization-0.1.0.1, primitive-0.8.0.0, reflection-2.1.7, vector-0.13.0.0
Flags -build-examples

Code Coverage

expressions41% (80/192)
booleanguards100% (0/0)
conditions 100% (0/0)
qualifiers100% (0/0)
alternatives100% (0/0)
local declarations42% (3/7)
top-level declarations42% (9/21)

Build log

[view raw]

Resolving dependencies...
Starting     StateVar-1.2.2
Starting     data-array-byte-0.1.0.1
Starting     data-default-class-0.1.2.0
Starting     base-orphans-0.9.0
Starting     erf-2.0.0.0
Starting     nats-1.1.2
Starting     reflection-2.1.7
Starting     semigroups-0.20
Starting     split-0.2.3.5
Starting     tagged-0.8.7
Starting     splitmix-0.1.0.4
Starting     th-abstraction-0.5.0.0
Starting     type-equality-1
Starting     vector-stream-0.1.0.0
Starting     indexed-traversable-0.1.2.1
Starting     void-0.7.3
Starting     transformers-compat-0.7.2
Building     split-0.2.3.5
Building     StateVar-1.2.2
Building     data-array-byte-0.1.0.1
Building     nats-1.1.2
Building     th-abstraction-0.5.0.0
Building     indexed-traversable-0.1.2.1
Building     splitmix-0.1.0.4
Building     tagged-0.8.7
Building     base-orphans-0.9.0
Building     erf-2.0.0.0
Building     void-0.7.3
Building     vector-stream-0.1.0.0
Building     data-default-class-0.1.2.0
Building     reflection-2.1.7
Building     transformers-compat-0.7.2
Building     type-equality-1
Building     semigroups-0.20
Completed    nats-1.1.2
Completed    split-0.2.3.5
Completed    void-0.7.3
Completed    data-default-class-0.1.2.0
Completed    type-equality-1
Completed    StateVar-1.2.2
Starting     contravariant-1.5.5
Completed    semigroups-0.20
Building     contravariant-1.5.5
Completed    erf-2.0.0.0
Completed    splitmix-0.1.0.4
Starting     random-1.2.1.1
Completed    base-orphans-0.9.0
Starting     storable-complex-0.2.3.0
Building     random-1.2.1.1
Building     storable-complex-0.2.3.0
Completed    data-array-byte-0.1.0.1
Starting     hashable-1.4.2.0
Starting     primitive-0.8.0.0
Building     hashable-1.4.2.0
Completed    vector-stream-0.1.0.0
Building     primitive-0.8.0.0
Completed    tagged-0.8.7
Starting     foldable1-classes-compat-0.1
Starting     distributive-0.6.2.1
Starting     assoc-1.1
Completed    transformers-compat-0.7.2
Starting     transformers-base-0.4.6
Building     assoc-1.1
Building     foldable1-classes-compat-0.1
Building     distributive-0.6.2.1
Building     transformers-base-0.4.6
Completed    indexed-traversable-0.1.2.1
Completed    reflection-2.1.7
Completed    th-abstraction-0.5.0.0
Completed    storable-complex-0.2.3.0
Completed    contravariant-1.5.5
Completed    transformers-base-0.4.6
Completed    assoc-1.1
Completed    distributive-0.6.2.1
Starting     comonad-5.0.8
Building     comonad-5.0.8
Completed    foldable1-classes-compat-0.1
Completed    hashable-1.4.2.0
Starting     constraints-0.13.4
Starting     unordered-containers-0.2.19.1
Building     unordered-containers-0.2.19.1
Building     constraints-0.13.4
Completed    random-1.2.1.1
Completed    comonad-5.0.8
Starting     bifunctors-5.6.1
Building     bifunctors-5.6.1
Completed    primitive-0.8.0.0
Starting     vector-0.13.0.0
Building     vector-0.13.0.0
Completed    constraints-0.13.4
Completed    unordered-containers-0.2.19.1
Starting     data-reify-0.6.3
Building     data-reify-0.6.3
Completed    bifunctors-5.6.1
Starting     profunctors-5.6.2
Starting     semigroupoids-6.0.0.1
Completed    data-reify-0.6.3
Building     semigroupoids-6.0.0.1
Building     profunctors-5.6.2
Completed    profunctors-5.6.2
Completed    semigroupoids-6.0.0.1
Starting     free-5.2
Building     free-5.2
Completed    vector-0.13.0.0
Starting     lbfgs-0.1
Starting     hmatrix-0.20.2
Building     hmatrix-0.20.2
Building     lbfgs-0.1
Completed    lbfgs-0.1
Completed    free-5.2
Starting     adjunctions-4.4.2
Building     adjunctions-4.4.2
Completed    adjunctions-4.4.2
Starting     ad-4.5.4
Building     ad-4.5.4
Completed    hmatrix-0.20.2
Downloading  numeric-optimization-0.1.0.1
Downloaded   numeric-optimization-0.1.0.1
Starting     numeric-optimization-0.1.0.1
Building     numeric-optimization-0.1.0.1
Completed    numeric-optimization-0.1.0.1
Completed    ad-4.5.4
Downloading  numeric-optimization-ad-0.1.0.1
Downloaded   numeric-optimization-ad-0.1.0.1
Starting     numeric-optimization-ad-0.1.0.1
Building     numeric-optimization-ad-0.1.0.1
Completed    numeric-optimization-ad-0.1.0.1

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):
 - numeric-optimization-0.1.0.1 (lib:numeric-optimization) (requires build)
 - numeric-optimization-ad-0.1.0.1 (first run)
Starting     numeric-optimization-0.1.0.1 (all, legacy fallback)
Building     numeric-optimization-0.1.0.1 (all, legacy fallback)
Installing   numeric-optimization-0.1.0.1 (all, legacy fallback)
Completed    numeric-optimization-0.1.0.1 (all, legacy fallback)
Configuring numeric-optimization-ad-0.1.0.1...
Preprocessing library for numeric-optimization-ad-0.1.0.1..
Building library for numeric-optimization-ad-0.1.0.1..
[1 of 2] Compiling Numeric.Optimization.AD ( src/Numeric/Optimization/AD.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/numeric-optimization-ad-0.1.0.1/noopt/build/Numeric/Optimization/AD.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/numeric-optimization-ad-0.1.0.1/noopt/build/Numeric/Optimization/AD.dyn_o )

src/Numeric/Optimization/AD.hs:27:5: warning: [-Wdodgy-exports]
    The export item Constraint(..) suggests that
    Constraint has (in-scope) constructors or class methods,
    but it has none
   |
27 |   , Constraint (..)
   |     ^^^^^^^^^^^^^^^
[2 of 2] Compiling Paths_numeric_optimization_ad ( /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/numeric-optimization-ad-0.1.0.1/noopt/build/autogen/Paths_numeric_optimization_ad.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/numeric-optimization-ad-0.1.0.1/noopt/build/Paths_numeric_optimization_ad.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/numeric-optimization-ad-0.1.0.1/noopt/build/Paths_numeric_optimization_ad.dyn_o )
Preprocessing test suite 'numeric-optimization-ad-test' for numeric-optimization-ad-0.1.0.1..
Building test suite 'numeric-optimization-ad-test' for numeric-optimization-ad-0.1.0.1..
[1 of 3] Compiling IsClose          ( test/IsClose.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/numeric-optimization-ad-0.1.0.1/noopt/build/numeric-optimization-ad-test/numeric-optimization-ad-test-tmp/IsClose.o )
[2 of 3] Compiling Main             ( test/Spec.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/numeric-optimization-ad-0.1.0.1/noopt/build/numeric-optimization-ad-test/numeric-optimization-ad-test-tmp/Main.o )

test/Spec.hs:18:1: warning: [-Wmissing-signatures]
    Top-level binding with no type signature:
      rosenbrock :: Floating a => [a] -> a
   |
18 | rosenbrock [x,y] = sq (1 - x) + 100 * sq (y - sq x)
   | ^^^^^^^^^^

test/Spec.hs:18:1: warning: [-Wincomplete-patterns]
    Pattern match(es) are non-exhaustive
    In an equation for rosenbrock:
        Patterns of type [a] not matched:
            []
            [_]
            (_:_:_:_)
   |
18 | rosenbrock [x,y] = sq (1 - x) + 100 * sq (y - sq x)
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...

test/Spec.hs:20:8: warning: [-Wname-shadowing]
    This binding for x shadows the existing binding
      bound at test/Spec.hs:18:13
   |
20 |     sq x = x ** 2
   |        ^
[3 of 3] Compiling Paths_numeric_optimization_ad ( /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/numeric-optimization-ad-0.1.0.1/noopt/build/numeric-optimization-ad-test/autogen/Paths_numeric_optimization_ad.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/numeric-optimization-ad-0.1.0.1/noopt/build/numeric-optimization-ad-test/numeric-optimization-ad-test-tmp/Paths_numeric_optimization_ad.o )
Linking /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/numeric-optimization-ad-0.1.0.1/noopt/build/numeric-optimization-ad-test/numeric-optimization-ad-test ...
Running 1 test suites...
Test suite numeric-optimization-ad-test: RUNNING...
Test suite numeric-optimization-ad-test: PASS
Test suite logged to:
/home/builder/builder-dir/build-cache/tmp-install/reports/numeric-optimization-ad-0.1.0.1.test
Writing: numeric-optimization-ad-0.1.0.1-inplace/Numeric.Optimization.AD.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/numeric-optimization-ad-0.1.0.1/noopt/hpc/vanilla/html/numeric-optimization-ad-test/hpc_index.html
1 of 1 test suites (1 of 1 test cases) passed.
Writing: numeric-optimization-ad-0.1.0.1-inplace/Numeric.Optimization.AD.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/numeric-optimization-ad-0.1.0.1/noopt/hpc/vanilla/html/numeric-optimization-ad-0.1.0.1/hpc_index.html