[all reports]
Package |
asn1-ber-syntax-0.1.0.0 |
Install |
InstallOk |
Docs |
Ok |
Tests |
Ok |
Time submitted |
2023-01-11 16:22:31.003535471 UTC
|
Compiler |
ghc-9.2.4 |
OS |
linux |
Arch |
x86_64 |
Dependencies |
array-chunks-0.1.3.0, base-4.16.3.0, bytebuild-0.3.12.0, byteslice-0.2.9.0, bytesmith-0.3.9.1, bytestring-0.11.3.1, contiguous-0.6.3.0, natural-arithmetic-0.1.3.0, primitive-0.7.4.0, text-short-0.1.5, vector-0.13.0.0 |
Flags |
none
|
Code Coverage
expressions | 49% (826/1671) |
boolean | guards | 25% (9/35) |
conditions | 33% (4/12) |
qualifiers | 100% (0/0) |
alternatives | 40% (89/219) |
local declarations | 67% (35/52) |
top-level declarations | 35% (52/148) |
Build log
[view raw]
Resolving dependencies...
Starting data-array-byte-0.1.0.1
Starting integer-logarithms-1.0.3.1
Downloading natural-arithmetic-0.1.3.0
Starting primitive-0.7.4.0
Starting safe-0.3.19
Starting th-abstraction-0.4.5.0
Starting th-compat-0.1.4
Starting vector-stream-0.1.0.0
Downloading zigzag-0.0.1.0
Starting syb-0.7.2.2
Downloaded zigzag-0.0.1.0
Starting zigzag-0.0.1.0
Downloaded natural-arithmetic-0.1.3.0
Starting natural-arithmetic-0.1.3.0
Building vector-stream-0.1.0.0
Building integer-logarithms-1.0.3.1
Building data-array-byte-0.1.0.1
Starting haskell-src-exts-1.23.1
Building primitive-0.7.4.0
Building safe-0.3.19
Building th-abstraction-0.4.5.0
Building th-compat-0.1.4
Building syb-0.7.2.2
Building zigzag-0.0.1.0
Building natural-arithmetic-0.1.3.0
Building haskell-src-exts-1.23.1
Completed zigzag-0.0.1.0
Completed integer-logarithms-1.0.3.1
Completed natural-arithmetic-0.1.3.0
Completed th-compat-0.1.4
Completed safe-0.3.19
Completed data-array-byte-0.1.0.1
Starting hashable-1.4.2.0
Building hashable-1.4.2.0
Completed syb-0.7.2.2
Completed vector-stream-0.1.0.0
Completed th-abstraction-0.4.5.0
Starting th-expand-syns-0.4.10.0
Starting th-lift-0.8.2
Building th-expand-syns-0.4.10.0
Building th-lift-0.8.2
Completed hashable-1.4.2.0
Starting text-short-0.1.5
Completed th-expand-syns-0.4.10.0
Starting th-reify-many-0.1.10
Completed th-lift-0.8.2
Building text-short-0.1.5
Building th-reify-many-0.1.10
Completed primitive-0.7.4.0
Starting wide-word-0.1.4.0
Downloading tuples-0.1.0.0
Downloading primitive-offset-0.2.0.0
Downloaded tuples-0.1.0.0
Starting tuples-0.1.0.0
Downloading primitive-addr-0.1.0.2
Starting vector-0.13.0.0
Downloaded primitive-offset-0.2.0.0
Starting primitive-offset-0.2.0.0
Downloaded primitive-addr-0.1.0.2
Starting primitive-addr-0.1.0.2
Building wide-word-0.1.4.0
Building tuples-0.1.0.0
Building vector-0.13.0.0
Building primitive-offset-0.2.0.0
Building primitive-addr-0.1.0.2
Completed th-reify-many-0.1.10
Starting th-orphans-0.13.14
Completed primitive-offset-0.2.0.0
Building th-orphans-0.13.14
Completed primitive-addr-0.1.0.2
Completed tuples-0.1.0.0
Completed text-short-0.1.5
Downloading primitive-unlifted-0.1.3.1
Downloaded primitive-unlifted-0.1.3.1
Starting primitive-unlifted-0.1.3.1
Building primitive-unlifted-0.1.3.1
Completed wide-word-0.1.4.0
Completed primitive-unlifted-0.1.3.1
Downloading run-st-0.1.1.0
Downloaded run-st-0.1.1.0
Starting run-st-0.1.1.0
Building run-st-0.1.1.0
Completed th-orphans-0.13.14
Completed run-st-0.1.1.0
Downloading contiguous-0.6.3.0
Downloading array-chunks-0.1.3.0
Downloaded array-chunks-0.1.3.0
Downloaded contiguous-0.6.3.0
Starting array-chunks-0.1.3.0
Starting contiguous-0.6.3.0
Building array-chunks-0.1.3.0
Building contiguous-0.6.3.0
Completed array-chunks-0.1.3.0
Completed contiguous-0.6.3.0
Completed vector-0.13.0.0
Downloading byteslice-0.2.9.0
Downloaded byteslice-0.2.9.0
Starting byteslice-0.2.9.0
Building byteslice-0.2.9.0
Completed byteslice-0.2.9.0
Downloading bytesmith-0.3.9.1
Downloaded bytesmith-0.3.9.1
Starting bytesmith-0.3.9.1
Building bytesmith-0.3.9.1
Completed bytesmith-0.3.9.1
Completed haskell-src-exts-1.23.1
Starting haskell-src-meta-0.8.11
Building haskell-src-meta-0.8.11
Completed haskell-src-meta-0.8.11
Downloading bytebuild-0.3.12.0
Downloaded bytebuild-0.3.12.0
Starting bytebuild-0.3.12.0
Building bytebuild-0.3.12.0
Completed bytebuild-0.3.12.0
Downloading asn1-ber-syntax-0.1.0.0
Downloaded asn1-ber-syntax-0.1.0.0
Starting asn1-ber-syntax-0.1.0.0
Building asn1-ber-syntax-0.1.0.0
Completed asn1-ber-syntax-0.1.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):
- base16-0.3.2.1 (lib:base16) (requires download & build)
- pretty-simple-3.3.0.0 (lib:pretty-simple) (requires download & build)
- primitive-unlifted-0.1.3.1 (lib:primitive-unlifted) (requires build)
- typed-process-0.2.10.1 (lib:typed-process) (requires build)
- run-st-0.1.1.0 (lib:run-st) (requires build)
- tasty-golden-2.3.5 (lib:tasty-golden) (requires download & build)
- contiguous-0.6.3.0 (lib:contiguous) (requires build)
- byteslice-0.2.9.0 (lib:byteslice) (requires build)
- array-chunks-0.1.3.0 (lib:array-chunks) (requires build)
- bytesmith-0.3.9.1 (lib:bytesmith) (requires build)
- bytebuild-0.3.12.0 (lib:bytebuild) (requires build)
- asn1-ber-syntax-0.1.0.0 (first run)
Downloading base16-0.3.2.1
Starting primitive-unlifted-0.1.3.1 (all, legacy fallback)
Starting typed-process-0.2.10.1 (all, legacy fallback)
Downloaded base16-0.3.2.1
Downloading tasty-golden-2.3.5
Starting base16-0.3.2.1 (all, legacy fallback)
Downloaded tasty-golden-2.3.5
Downloading pretty-simple-3.3.0.0
Downloaded pretty-simple-3.3.0.0
Starting pretty-simple-3.3.0.0 (all, legacy fallback)
Building primitive-unlifted-0.1.3.1 (all, legacy fallback)
Building base16-0.3.2.1 (all, legacy fallback)
Building typed-process-0.2.10.1 (all, legacy fallback)
Installing primitive-unlifted-0.1.3.1 (all, legacy fallback)
Installing typed-process-0.2.10.1 (all, legacy fallback)
Completed primitive-unlifted-0.1.3.1 (all, legacy fallback)
Starting run-st-0.1.1.0 (all, legacy fallback)
Installing base16-0.3.2.1 (all, legacy fallback)
Completed typed-process-0.2.10.1 (all, legacy fallback)
Starting tasty-golden-2.3.5 (all, legacy fallback)
Building pretty-simple-3.3.0.0 (all, legacy fallback)
Completed base16-0.3.2.1 (all, legacy fallback)
Building run-st-0.1.1.0 (all, legacy fallback)
Installing run-st-0.1.1.0 (all, legacy fallback)
Building tasty-golden-2.3.5 (all, legacy fallback)
Completed run-st-0.1.1.0 (all, legacy fallback)
Starting contiguous-0.6.3.0 (all, legacy fallback)
Starting array-chunks-0.1.3.0 (all, legacy fallback)
Starting byteslice-0.2.9.0 (all, legacy fallback)
Installing tasty-golden-2.3.5 (all, legacy fallback)
Building contiguous-0.6.3.0 (all, legacy fallback)
Building array-chunks-0.1.3.0 (all, legacy fallback)
Building byteslice-0.2.9.0 (all, legacy fallback)
Completed tasty-golden-2.3.5 (all, legacy fallback)
Installing array-chunks-0.1.3.0 (all, legacy fallback)
Completed array-chunks-0.1.3.0 (all, legacy fallback)
Installing byteslice-0.2.9.0 (all, legacy fallback)
Installing pretty-simple-3.3.0.0 (all, legacy fallback)
Completed byteslice-0.2.9.0 (all, legacy fallback)
Starting bytebuild-0.3.12.0 (all, legacy fallback)
Building bytebuild-0.3.12.0 (all, legacy fallback)
Installing contiguous-0.6.3.0 (all, legacy fallback)
Completed contiguous-0.6.3.0 (all, legacy fallback)
Starting bytesmith-0.3.9.1 (all, legacy fallback)
Completed pretty-simple-3.3.0.0 (all, legacy fallback)
Building bytesmith-0.3.9.1 (all, legacy fallback)
Installing bytebuild-0.3.12.0 (all, legacy fallback)
Completed bytebuild-0.3.12.0 (all, legacy fallback)
Installing bytesmith-0.3.9.1 (all, legacy fallback)
Completed bytesmith-0.3.9.1 (all, legacy fallback)
Configuring asn1-ber-syntax-0.1.0.0...
Preprocessing library for asn1-ber-syntax-0.1.0.0..
Building library for asn1-ber-syntax-0.1.0.0..
[1 of 5] Compiling Asn.Oid ( src/Asn/Oid.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/asn1-ber-syntax-0.1.0.0/noopt/build/Asn/Oid.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/asn1-ber-syntax-0.1.0.0/noopt/build/Asn/Oid.dyn_o )
[2 of 5] Compiling Asn.Ber ( src/Asn/Ber.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/asn1-ber-syntax-0.1.0.0/noopt/build/Asn/Ber.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/asn1-ber-syntax-0.1.0.0/noopt/build/Asn/Ber.dyn_o )
[3 of 5] Compiling Asn.Ber.Encode ( src/Asn/Ber/Encode.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/asn1-ber-syntax-0.1.0.0/noopt/build/Asn/Ber/Encode.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/asn1-ber-syntax-0.1.0.0/noopt/build/Asn/Ber/Encode.dyn_o )
src/Asn/Ber/Encode.hs:120:18: warning: [-Wincomplete-patterns]
Pattern match(es) are non-exhaustive
In a case alternative:
Patterns of type Contents not matched: UtcTime
|
120 | encodeContents = \case
| ^^^^^...
[4 of 5] Compiling Asn.Resolve ( src/Asn/Resolve.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/asn1-ber-syntax-0.1.0.0/noopt/build/Asn/Resolve.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/asn1-ber-syntax-0.1.0.0/noopt/build/Asn/Resolve.dyn_o )
[5 of 5] Compiling Asn.Resolve.Category ( src/Asn/Resolve/Category.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/asn1-ber-syntax-0.1.0.0/noopt/build/Asn/Resolve/Category.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/asn1-ber-syntax-0.1.0.0/noopt/build/Asn/Resolve/Category.dyn_o )
Preprocessing test suite 'asn1-ber-syntax-golden' for asn1-ber-syntax-0.1.0.0..
Building test suite 'asn1-ber-syntax-golden' for asn1-ber-syntax-0.1.0.0..
[1 of 3] Compiling Message ( test/Message.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/asn1-ber-syntax-0.1.0.0/noopt/build/asn1-ber-syntax-golden/asn1-ber-syntax-golden-tmp/Message.o )
[2 of 3] Compiling Message.Category ( test/Message/Category.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/asn1-ber-syntax-0.1.0.0/noopt/build/asn1-ber-syntax-golden/asn1-ber-syntax-golden-tmp/Message/Category.o )
[3 of 3] Compiling Main ( test/Golden.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/asn1-ber-syntax-0.1.0.0/noopt/build/asn1-ber-syntax-golden/asn1-ber-syntax-golden-tmp/Main.o )
Linking /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/asn1-ber-syntax-0.1.0.0/noopt/build/asn1-ber-syntax-golden/asn1-ber-syntax-golden ...
Preprocessing test suite 'test' for asn1-ber-syntax-0.1.0.0..
Building test suite 'test' for asn1-ber-syntax-0.1.0.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.2.4/asn1-ber-syntax-0.1.0.0/noopt/build/test/test-tmp/Main.o )
test/Main.hs:84:1: warning: [-Worphans]
Orphan instance: instance QC.Arbitrary Oid
To avoid this
move the instance declaration to the module of the class or of the type, or
wrap the type with a newtype and declare the instance on the new type.
|
84 | instance QC.Arbitrary Oid where
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...
Linking /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/asn1-ber-syntax-0.1.0.0/noopt/build/test/test ...
Preprocessing test suite 'test-properties' for asn1-ber-syntax-0.1.0.0..
Building test suite 'test-properties' for asn1-ber-syntax-0.1.0.0..
[1 of 1] Compiling Main ( test/Properties.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/asn1-ber-syntax-0.1.0.0/noopt/build/test-properties/test-properties-tmp/Main.o )
test/Properties.hs:16:1: warning: [-Wunused-imports]
The qualified import of Data.Primitive is redundant
except perhaps to import instances from Data.Primitive
To import instances alone, use: import Data.Primitive()
|
16 | import qualified Data.Primitive as Prim
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
test/Properties.hs:34:1: warning: [-Worphans]
Orphan instance: instance Arbitrary Value
To avoid this
move the instance declaration to the module of the class or of the type, or
wrap the type with a newtype and declare the instance on the new type.
|
34 | instance Arbitrary Value where
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...
test/Properties.hs:85:5: warning: [-Wunused-local-binds]
Defined but not used: aConstructed
|
85 | aConstructed = do
| ^^^^^^^^^^^^
test/Properties.hs:95:1: warning: [-Worphans]
Orphan instance: instance Arbitrary Class
To avoid this
move the instance declaration to the module of the class or of the type, or
wrap the type with a newtype and declare the instance on the new type.
|
95 | instance Arbitrary Class where
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...
test/Properties.hs:103:1: warning: [-Worphans]
Orphan instance: instance Arbitrary Bytes.Bytes
To avoid this
move the instance declaration to the module of the class or of the type, or
wrap the type with a newtype and declare the instance on the new type.
|
103 | instance Arbitrary Bytes.Bytes where
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...
test/Properties.hs:104:15: warning: [-Wdeprecations]
In the use of fromLatinString (imported from Data.Bytes):
Deprecated: "use Data.Bytes.Text.Latin1.fromString instead"
|
104 | arbitrary = Bytes.fromLatinString <$> arbitrary
| ^^^^^^^^^^^^^^^^^^^^^
test/Properties.hs:106:1: warning: [-Worphans]
Orphan instance: instance Arbitrary TS.ShortText
To avoid this
move the instance declaration to the module of the class or of the type, or
wrap the type with a newtype and declare the instance on the new type.
|
106 | instance Arbitrary TS.ShortText where
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...
Linking /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/asn1-ber-syntax-0.1.0.0/noopt/build/test-properties/test-properties ...
Running 3 test suites...
Test suite asn1-ber-syntax-golden: RUNNING...
Test suite asn1-ber-syntax-golden: FAIL
Test suite logged to:
/home/builder/builder-dir/build-cache/tmp-install/reports/asn1-ber-syntax-0.1.0.0.test
Writing: asn1-ber-syntax-0.1.0.0-inplace/Asn.Resolve.Category.hs.html
Writing: asn1-ber-syntax-0.1.0.0-inplace/Asn.Resolve.hs.html
Writing: asn1-ber-syntax-0.1.0.0-inplace/Asn.Oid.hs.html
Writing: asn1-ber-syntax-0.1.0.0-inplace/Asn.Ber.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/asn1-ber-syntax-0.1.0.0/noopt/hpc/vanilla/html/asn1-ber-syntax-golden/hpc_index.html
Test suite test: RUNNING...
Test suite test: PASS
Test suite logged to:
/home/builder/builder-dir/build-cache/tmp-install/reports/asn1-ber-syntax-0.1.0.0.test
Writing: asn1-ber-syntax-0.1.0.0-inplace/Asn.Oid.hs.html
Writing: asn1-ber-syntax-0.1.0.0-inplace/Asn.Ber.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/asn1-ber-syntax-0.1.0.0/noopt/hpc/vanilla/html/test/hpc_index.html
Test suite test-properties: RUNNING...
Test suite test-properties: PASS
Test suite logged to:
/home/builder/builder-dir/build-cache/tmp-install/reports/asn1-ber-syntax-0.1.0.0.test
Writing: asn1-ber-syntax-0.1.0.0-inplace/Asn.Oid.hs.html
Writing: asn1-ber-syntax-0.1.0.0-inplace/Asn.Ber.Encode.hs.html
Writing: asn1-ber-syntax-0.1.0.0-inplace/Asn.Ber.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/asn1-ber-syntax-0.1.0.0/noopt/hpc/vanilla/html/test-properties/hpc_index.html
2 of 3 test suites (2 of 3 test cases) passed.
Writing: asn1-ber-syntax-0.1.0.0-inplace/Asn.Ber.hs.html
Writing: asn1-ber-syntax-0.1.0.0-inplace/Asn.Ber.Encode.hs.html
Writing: asn1-ber-syntax-0.1.0.0-inplace/Asn.Oid.hs.html
Writing: asn1-ber-syntax-0.1.0.0-inplace/Asn.Resolve.hs.html
Writing: asn1-ber-syntax-0.1.0.0-inplace/Asn.Resolve.Category.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/asn1-ber-syntax-0.1.0.0/noopt/hpc/vanilla/html/asn1-ber-syntax-0.1.0.0/hpc_index.html
Error: cabal: Tests failed for asn1-ber-syntax-0.1.0.0.