[all reports]
Install |
InstallOk |
Docs |
Ok |
Tests |
Ok |
Time submitted |
2024-07-28 11:18:10.234258069 UTC
|
Compiler |
ghc-9.6.3 |
OS |
linux |
Arch |
x86_64 |
Dependencies |
base-4.18.1.0, template-haskell-2.20.0.0, text-2.0.2 |
Flags |
none
|
Code Coverage
expressions | 85% (1293/1507) |
boolean | guards | 30% (4/13) |
conditions | 100% (3/3) |
qualifiers | 100% (0/0) |
alternatives | 55% (38/68) |
local declarations | 100% (11/11) |
top-level declarations | 88% (119/135) |
Build log
[view raw]
Resolving dependencies...
Downloading mockcat-0.2.0.0
Downloaded mockcat-0.2.0.0
Starting mockcat-0.2.0.0
Building mockcat-0.2.0.0
Completed mockcat-0.2.0.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):
- mockcat-0.2.0.0 (first run)
Configuring mockcat-0.2.0.0...
Preprocessing library for mockcat-0.2.0.0..
Building library for mockcat-0.2.0.0..
[1 of 8] Compiling Paths_mockcat ( /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/mockcat-0.2.0.0/noopt/build/autogen/Paths_mockcat.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/mockcat-0.2.0.0/noopt/build/Paths_mockcat.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/mockcat-0.2.0.0/noopt/build/Paths_mockcat.dyn_o )
[2 of 8] Compiling Test.MockCat.AssociationList ( src/Test/MockCat/AssociationList.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/mockcat-0.2.0.0/noopt/build/Test/MockCat/AssociationList.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/mockcat-0.2.0.0/noopt/build/Test/MockCat/AssociationList.dyn_o )
[3 of 8] Compiling Test.MockCat.Cons ( src/Test/MockCat/Cons.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/mockcat-0.2.0.0/noopt/build/Test/MockCat/Cons.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/mockcat-0.2.0.0/noopt/build/Test/MockCat/Cons.dyn_o )
[4 of 8] Compiling Test.MockCat.TH ( src/Test/MockCat/TH.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/mockcat-0.2.0.0/noopt/build/Test/MockCat/TH.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/mockcat-0.2.0.0/noopt/build/Test/MockCat/TH.dyn_o )
[5 of 8] Compiling Test.MockCat.Param ( src/Test/MockCat/Param.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/mockcat-0.2.0.0/noopt/build/Test/MockCat/Param.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/mockcat-0.2.0.0/noopt/build/Test/MockCat/Param.dyn_o )
[6 of 8] Compiling Test.MockCat.ParamDivider ( src/Test/MockCat/ParamDivider.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/mockcat-0.2.0.0/noopt/build/Test/MockCat/ParamDivider.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/mockcat-0.2.0.0/noopt/build/Test/MockCat/ParamDivider.dyn_o )
[7 of 8] Compiling Test.MockCat.Mock ( src/Test/MockCat/Mock.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/mockcat-0.2.0.0/noopt/build/Test/MockCat/Mock.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/mockcat-0.2.0.0/noopt/build/Test/MockCat/Mock.dyn_o )
[8 of 8] Compiling Test.MockCat ( src/Test/MockCat.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/mockcat-0.2.0.0/noopt/build/Test/MockCat.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/mockcat-0.2.0.0/noopt/build/Test/MockCat.dyn_o )
Preprocessing test suite 'mockcat-test' for mockcat-0.2.0.0..
Building test suite 'mockcat-test' for mockcat-0.2.0.0..
[1 of 7] Compiling Paths_mockcat ( /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/mockcat-0.2.0.0/noopt/build/mockcat-test/autogen/Paths_mockcat.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/mockcat-0.2.0.0/noopt/build/mockcat-test/mockcat-test-tmp/Paths_mockcat.o )
[2 of 7] Compiling Test.MockCat.AssociationListSpec ( test/Test/MockCat/AssociationListSpec.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/mockcat-0.2.0.0/noopt/build/mockcat-test/mockcat-test-tmp/Test/MockCat/AssociationListSpec.o )
[3 of 7] Compiling Test.MockCat.ConsSpec ( test/Test/MockCat/ConsSpec.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/mockcat-0.2.0.0/noopt/build/mockcat-test/mockcat-test-tmp/Test/MockCat/ConsSpec.o )
[4 of 7] Compiling Test.MockCat.ExampleSpec ( test/Test/MockCat/ExampleSpec.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/mockcat-0.2.0.0/noopt/build/mockcat-test/mockcat-test-tmp/Test/MockCat/ExampleSpec.o )
test/Test/MockCat/ExampleSpec.hs:71:10: warning: [GHC-18042] [-Wtype-defaults]
" Defaulting the type variable t0 to type Integer in the following constraints
(Show t0)
arising from a use of createStubFn
at test/Test/MockCat/ExampleSpec.hs:71:10-21
(Eq t0)
arising from a use of createStubFn
at test/Test/MockCat/ExampleSpec.hs:71:10-21
(Ord t0)
arising from a use of > at test/Test/MockCat/ExampleSpec.hs:71:33
(Num t0)
arising from the literal 5
at test/Test/MockCat/ExampleSpec.hs:71:35
" In the first argument of ($), namely createStubFn
In a stmt of a 'do' block:
f <- createStubFn $ expect (> 5) "> 5" |> "return value"
In the second argument of it, namely
do f <- createStubFn $ expect (> 5) "> 5" |> "return value"
f 6 `shouldBe` "return value"
|
71 | f <- createStubFn $ expect (> 5) "> 5" |> "return value"
| ^^^^^^^^^^^^
test/Test/MockCat/ExampleSpec.hs:75:10: warning: [GHC-18042] [-Wtype-defaults]
" Defaulting the type variable t0 to type Integer in the following constraints
(Show t0)
arising from a use of createStubFn
at test/Test/MockCat/ExampleSpec.hs:75:10-21
(Eq t0)
arising from a use of createStubFn
at test/Test/MockCat/ExampleSpec.hs:75:10-21
(Ord t0)
arising from a use of > at test/Test/MockCat/ExampleSpec.hs:75:34
(Num t0)
arising from the literal 5
at test/Test/MockCat/ExampleSpec.hs:75:36
" In the first argument of ($), namely createStubFn
In a stmt of a 'do' block:
f <- createStubFn $ expect_ (> 5) |> "return value"
In the second argument of it, namely
do f <- createStubFn $ expect_ (> 5) |> "return value"
f 6 `shouldBe` "return value"
|
75 | f <- createStubFn $ expect_ (> 5) |> "return value"
| ^^^^^^^^^^^^
test/Test/MockCat/ExampleSpec.hs:79:10: warning: [GHC-18042] [-Wtype-defaults]
" Defaulting the type variable t0 to type Integer in the following constraints
(Show t0)
arising from a use of createStubFn
at test/Test/MockCat/ExampleSpec.hs:79:10-21
(Eq t0)
arising from a use of createStubFn
at test/Test/MockCat/ExampleSpec.hs:79:10-21
(Ord t0)
arising from a use of >
at test/Test/MockCat/ExampleSpec.hs:79:26-49
(Num t0)
arising from the literal 5
at test/Test/MockCat/ExampleSpec.hs:79:26-49
" In the first argument of ($), namely createStubFn
In a stmt of a 'do' block:
f <- createStubFn
$ (Test.MockCat.Param.ExpectCondition (> 5) "(> 5)")
|> "return value"
In the second argument of it, namely
do f <- createStubFn
$ (Test.MockCat.Param.ExpectCondition (> 5) "(> 5)")
|> "return value"
f 6 `shouldBe` "return value"
|
79 | f <- createStubFn $ $(expectByExpr [|(> 5)|]) |> "return value"
| ^^^^^^^^^^^^
[5 of 7] Compiling Test.MockCat.MockSpec ( test/Test/MockCat/MockSpec.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/mockcat-0.2.0.0/noopt/build/mockcat-test/mockcat-test-tmp/Test/MockCat/MockSpec.o )
[6 of 7] Compiling Test.MockCat.ParamSpec ( test/Test/MockCat/ParamSpec.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/mockcat-0.2.0.0/noopt/build/mockcat-test/mockcat-test-tmp/Test/MockCat/ParamSpec.o )
[7 of 7] Compiling Main ( test/Spec.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/mockcat-0.2.0.0/noopt/build/mockcat-test/mockcat-test-tmp/Main.o )
[8 of 8] Linking /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/mockcat-0.2.0.0/noopt/build/mockcat-test/mockcat-test
Running 1 test suites...
Test suite mockcat-test: RUNNING...
Test suite mockcat-test: PASS
Test suite logged to:
/home/builder/builder-dir/build-cache/tmp-install/reports/mockcat-0.2.0.0.test
Writing: mockcat-0.2.0.0-inplace/Test.MockCat.TH.hs.html
Writing: mockcat-0.2.0.0-inplace/Test.MockCat.ParamDivider.hs.html
Writing: mockcat-0.2.0.0-inplace/Test.MockCat.Param.hs.html
Writing: mockcat-0.2.0.0-inplace/Test.MockCat.Mock.hs.html
Writing: mockcat-0.2.0.0-inplace/Test.MockCat.Cons.hs.html
Writing: mockcat-0.2.0.0-inplace/Test.MockCat.AssociationList.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/mockcat-0.2.0.0/noopt/hpc/vanilla/html/mockcat-test/hpc_index.html
1 of 1 test suites (1 of 1 test cases) passed.
Writing: mockcat-0.2.0.0-inplace/Test.MockCat.TH.hs.html
Writing: mockcat-0.2.0.0-inplace/Test.MockCat.ParamDivider.hs.html
Writing: mockcat-0.2.0.0-inplace/Test.MockCat.Param.hs.html
Writing: mockcat-0.2.0.0-inplace/Test.MockCat.Mock.hs.html
Writing: mockcat-0.2.0.0-inplace/Test.MockCat.Cons.hs.html
Writing: mockcat-0.2.0.0-inplace/Test.MockCat.AssociationList.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/mockcat-0.2.0.0/noopt/hpc/vanilla/html/mockcat-0.2.0.0/hpc_index.html