[all reports]
Package |
http-api-data-0.6 |
Install |
InstallOk |
Docs |
Ok |
Tests |
Ok |
Time submitted |
2023-08-25 01:25:43.841251992 UTC
|
Compiler |
ghc-9.2.4 |
OS |
linux |
Arch |
x86_64 |
Dependencies |
base-4.16.3.0, bytestring-0.11.5.2, containers-0.6.5.1, cookie-0.4.6, hashable-1.4.3.0, http-types-0.12.3, tagged-0.8.8, text-2.0.2, text-iso8601-0.1, time-compat-1.9.6.1, transformers-0.5.6.2, unordered-containers-0.2.19.1, uuid-types-1.0.5 |
Flags |
-use-text-show
|
Code Coverage
expressions | 50% (606/1209) |
boolean | guards | 27% (3/11) |
conditions | 50% (1/2) |
qualifiers | 100% (0/0) |
alternatives | 66% (36/54) |
local declarations | 61% (11/18) |
top-level declarations | 43% (180/418) |
Build log
[view raw]
Resolving dependencies...
Starting data-array-byte-0.1.0.1
Starting data-default-class-0.1.2.0
Starting splitmix-0.1.0.4
Starting tagged-0.8.8
Starting base-orphans-0.9.0
Starting bytestring-0.11.5.2
Building data-default-class-0.1.2.0
Building data-array-byte-0.1.0.1
Building splitmix-0.1.0.4
Building base-orphans-0.9.0
Building bytestring-0.11.5.2
Building tagged-0.8.8
Completed data-default-class-0.1.2.0
Completed data-array-byte-0.1.0.1
Starting primitive-0.8.0.0
Completed splitmix-0.1.0.4
Completed base-orphans-0.9.0
Building primitive-0.8.0.0
Completed tagged-0.8.8
Completed primitive-0.8.0.0
Completed bytestring-0.11.5.2
Starting random-1.2.1.1
Starting binary-0.8.9.1
Building binary-0.8.9.1
Building random-1.2.1.1
Completed binary-0.8.9.1
Starting text-2.0.2
Building text-2.0.2
Completed random-1.2.1.1
Completed text-2.0.2
Starting integer-conversion-0.1
Starting cookie-0.4.6
Starting hashable-1.4.3.0
Building integer-conversion-0.1
Building cookie-0.4.6
Building hashable-1.4.3.0
Completed integer-conversion-0.1
Completed cookie-0.4.6
Completed hashable-1.4.3.0
Starting uuid-types-1.0.5
Starting unordered-containers-0.2.19.1
Starting case-insensitive-1.2.1.0
Starting time-compat-1.9.6.1
Building unordered-containers-0.2.19.1
Building uuid-types-1.0.5
Building case-insensitive-1.2.1.0
Building time-compat-1.9.6.1
Completed case-insensitive-1.2.1.0
Starting http-types-0.12.3
Building http-types-0.12.3
Completed uuid-types-1.0.5
Completed time-compat-1.9.6.1
Starting text-iso8601-0.1
Building text-iso8601-0.1
Completed http-types-0.12.3
Completed text-iso8601-0.1
Completed unordered-containers-0.2.19.1
Downloading http-api-data-0.6
Downloaded http-api-data-0.6
Starting http-api-data-0.6
Building http-api-data-0.6
Completed http-api-data-0.6
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):
- case-insensitive-1.2.1.0 (lib:case-insensitive) (requires build)
- cookie-0.4.6 (lib:cookie) (requires build)
- hspec-discover-2.10.10 (lib:hspec-discover, exe:hspec-discover) (requires build)
- quickcheck-io-0.2.0 (lib:quickcheck-io) (requires build)
- setenv-0.1.1.3 (lib:setenv) (requires build)
- tf-random-0.5 (lib:tf-random) (requires build)
- quickcheck-instances-0.3.29.1 (lib:quickcheck-instances) (requires build)
- http-types-0.12.3 (lib:http-types) (requires build)
- hspec-core-2.10.10 (lib:hspec-core) (requires build)
- hspec-2.10.10 (lib:hspec) (requires build)
- http-api-data-0.6 (first run)
Starting cookie-0.4.6 (all, legacy fallback)
Starting case-insensitive-1.2.1.0 (all, legacy fallback)
Starting quickcheck-io-0.2.0 (all, legacy fallback)
Starting setenv-0.1.1.3 (all, legacy fallback)
Starting hspec-discover-2.10.10 (all, legacy fallback)
Starting tf-random-0.5 (all, legacy fallback)
Building tf-random-0.5 (all, legacy fallback)
Building setenv-0.1.1.3 (all, legacy fallback)
Building case-insensitive-1.2.1.0 (all, legacy fallback)
Building quickcheck-io-0.2.0 (all, legacy fallback)
Building cookie-0.4.6 (all, legacy fallback)
Building hspec-discover-2.10.10 (all, legacy fallback)
Installing setenv-0.1.1.3 (all, legacy fallback)
Installing quickcheck-io-0.2.0 (all, legacy fallback)
Installing cookie-0.4.6 (all, legacy fallback)
Installing case-insensitive-1.2.1.0 (all, legacy fallback)
Completed setenv-0.1.1.3 (all, legacy fallback)
Installing hspec-discover-2.10.10 (all, legacy fallback)
Installing tf-random-0.5 (all, legacy fallback)
Completed quickcheck-io-0.2.0 (all, legacy fallback)
Completed cookie-0.4.6 (all, legacy fallback)
Completed case-insensitive-1.2.1.0 (all, legacy fallback)
Starting http-types-0.12.3 (all, legacy fallback)
Starting quickcheck-instances-0.3.29.1 (all, legacy fallback)
Completed hspec-discover-2.10.10 (all, legacy fallback)
Completed tf-random-0.5 (all, legacy fallback)
Starting hspec-core-2.10.10 (all, legacy fallback)
Building quickcheck-instances-0.3.29.1 (all, legacy fallback)
Building http-types-0.12.3 (all, legacy fallback)
Building hspec-core-2.10.10 (all, legacy fallback)
Installing http-types-0.12.3 (all, legacy fallback)
Installing quickcheck-instances-0.3.29.1 (all, legacy fallback)
Completed http-types-0.12.3 (all, legacy fallback)
Completed quickcheck-instances-0.3.29.1 (all, legacy fallback)
Installing hspec-core-2.10.10 (all, legacy fallback)
Completed hspec-core-2.10.10 (all, legacy fallback)
Starting hspec-2.10.10 (all, legacy fallback)
Building hspec-2.10.10 (all, legacy fallback)
Installing hspec-2.10.10 (all, legacy fallback)
Completed hspec-2.10.10 (all, legacy fallback)
Configuring http-api-data-0.6...
Preprocessing library for http-api-data-0.6..
Building library for http-api-data-0.6..
[1 of 4] Compiling Web.Internal.HttpApiData ( src/Web/Internal/HttpApiData.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/http-api-data-0.6/noopt/build/Web/Internal/HttpApiData.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/http-api-data-0.6/noopt/build/Web/Internal/HttpApiData.dyn_o )
src/Web/Internal/HttpApiData.hs:35:1: warning: [-Wunused-imports]
The import of Data.Semigroup is redundant
except perhaps to import instances from Data.Semigroup
To import instances alone, use: import Data.Semigroup()
|
35 | import Data.Semigroup (Semigroup (..))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[2 of 4] Compiling Web.Internal.FormUrlEncoded ( src/Web/Internal/FormUrlEncoded.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/http-api-data-0.6/noopt/build/Web/Internal/FormUrlEncoded.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/http-api-data-0.6/noopt/build/Web/Internal/FormUrlEncoded.dyn_o )
src/Web/Internal/FormUrlEncoded.hs:40:1: warning: [-Wunused-imports]
The import of Data.Semigroup is redundant
except perhaps to import instances from Data.Semigroup
To import instances alone, use: import Data.Semigroup()
|
40 | import Data.Semigroup (Semigroup (..))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/Web/Internal/FormUrlEncoded.hs:58:1: warning: [-Wunused-imports]
The import of Numeric.Natural is redundant
except perhaps to import instances from Numeric.Natural
To import instances alone, use: import Numeric.Natural()
|
58 | import Numeric.Natural (Natural)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/Web/Internal/FormUrlEncoded.hs:336:23: warning: [-Wstar-is-type]
Using * (or its Unicode variant) to mean Data.Kind.Type
relies on the StarIsType extension, which will become
deprecated in the future.
Suggested fix: use Type from Data.Kind instead.
|
336 | class GToForm t (f :: * -> *) where
| ^
src/Web/Internal/FormUrlEncoded.hs:336:28: warning: [-Wstar-is-type]
Using * (or its Unicode variant) to mean Data.Kind.Type
relies on the StarIsType extension, which will become
deprecated in the future.
Suggested fix: use Type from Data.Kind instead.
|
336 | class GToForm t (f :: * -> *) where
| ^
src/Web/Internal/FormUrlEncoded.hs:484:25: warning: [-Wstar-is-type]
Using * (or its Unicode variant) to mean Data.Kind.Type
relies on the StarIsType extension, which will become
deprecated in the future.
Suggested fix: use Type from Data.Kind instead.
|
484 | class GFromForm t (f :: * -> *) where
| ^
src/Web/Internal/FormUrlEncoded.hs:484:30: warning: [-Wstar-is-type]
Using * (or its Unicode variant) to mean Data.Kind.Type
relies on the StarIsType extension, which will become
deprecated in the future.
Suggested fix: use Type from Data.Kind instead.
|
484 | class GFromForm t (f :: * -> *) where
| ^
[3 of 4] Compiling Web.FormUrlEncoded ( src/Web/FormUrlEncoded.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/http-api-data-0.6/noopt/build/Web/FormUrlEncoded.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/http-api-data-0.6/noopt/build/Web/FormUrlEncoded.dyn_o )
[4 of 4] Compiling Web.HttpApiData ( src/Web/HttpApiData.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/http-api-data-0.6/noopt/build/Web/HttpApiData.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/http-api-data-0.6/noopt/build/Web/HttpApiData.dyn_o )
Preprocessing test suite 'spec' for http-api-data-0.6..
Building test suite 'spec' for http-api-data-0.6..
[1 of 4] Compiling Web.Internal.TestInstances ( test/Web/Internal/TestInstances.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/http-api-data-0.6/noopt/build/spec/spec-tmp/Web/Internal/TestInstances.o )
[2 of 4] Compiling Web.Internal.HttpApiDataSpec ( test/Web/Internal/HttpApiDataSpec.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/http-api-data-0.6/noopt/build/spec/spec-tmp/Web/Internal/HttpApiDataSpec.o )
[3 of 4] Compiling Web.Internal.FormUrlEncodedSpec ( test/Web/Internal/FormUrlEncodedSpec.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/http-api-data-0.6/noopt/build/spec/spec-tmp/Web/Internal/FormUrlEncodedSpec.o )
test/Web/Internal/FormUrlEncodedSpec.hs:42:11: warning: [-Wincomplete-uni-patterns]
Pattern match(es) are non-exhaustive
In a pattern binding:
Patterns of type Either Text SimpleRec not matched: Left _
|
42 | Right r1 = fromForm f1 :: Either Text SimpleRec
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
test/Web/Internal/FormUrlEncodedSpec.hs:47:11: warning: [-Wincomplete-uni-patterns]
Pattern match(es) are non-exhaustive
In a pattern binding:
Patterns of type Either Text SimpleRec not matched: Right _
|
47 | Left e = fromForm f :: Either Text SimpleRec
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[4 of 4] Compiling Main ( test/Spec.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/http-api-data-0.6/noopt/build/spec/spec-tmp/Main.o )
Linking /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/http-api-data-0.6/noopt/build/spec/spec ...
Running 1 test suites...
Test suite spec: RUNNING...
Test suite spec: PASS
Test suite logged to:
/home/builder/builder-dir/build-cache/tmp-install/reports/http-api-data-0.6.test
Writing: http-api-data-0.6-inplace/Web.Internal.HttpApiData.hs.html
Writing: http-api-data-0.6-inplace/Web.Internal.FormUrlEncoded.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/http-api-data-0.6/noopt/hpc/vanilla/html/spec/hpc_index.html
1 of 1 test suites (1 of 1 test cases) passed.
Writing: http-api-data-0.6-inplace/Web.Internal.HttpApiData.hs.html
Writing: http-api-data-0.6-inplace/Web.Internal.FormUrlEncoded.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/http-api-data-0.6/noopt/hpc/vanilla/html/http-api-data-0.6/hpc_index.html