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.