Build #1 for cryptostore-0.3.0.0

[all reports]

Package cryptostore-0.3.0.0
Install InstallOk
Docs Ok
Tests Ok
Time submitted 2023-01-14 09:43:39.975750294 UTC
Compiler ghc-9.2.4
OS linux
Arch x86_64
Dependencies asn1-encoding-0.9.6, asn1-types-0.3.4, base-4.16.3.0, basement-0.0.15, bytestring-0.11.3.1, cryptonite-0.30, hourglass-0.2.12, memory-0.18.0, pem-0.2.4, x509-1.7.7, x509-validation-1.6.12
Flags none

Code Coverage

expressions86% (11401/13115)
booleanguards23% (40/168)
conditions 75% (15/20)
qualifiers100% (1/1)
alternatives79% (971/1216)
local declarations94% (666/705)
top-level declarations75% (744/982)

Build log

[view raw]

Resolving dependencies...
Starting     data-default-class-0.1.2.0
Starting     hourglass-0.2.12
Starting     basement-0.0.15
Building     data-default-class-0.1.2.0
Building     hourglass-0.2.12
Building     basement-0.0.15
Completed    data-default-class-0.1.2.0
Completed    hourglass-0.2.12
Completed    basement-0.0.15
Starting     memory-0.18.0
Building     memory-0.18.0
Completed    memory-0.18.0
Starting     pem-0.2.4
Starting     asn1-types-0.3.4
Starting     cryptonite-0.30
Building     asn1-types-0.3.4
Building     pem-0.2.4
Building     cryptonite-0.30
Completed    pem-0.2.4
Completed    asn1-types-0.3.4
Starting     asn1-encoding-0.9.6
Building     asn1-encoding-0.9.6
Completed    asn1-encoding-0.9.6
Starting     asn1-parse-0.9.5
Building     asn1-parse-0.9.5
Completed    asn1-parse-0.9.5
Completed    cryptonite-0.30
Starting     x509-1.7.7
Building     x509-1.7.7
Completed    x509-1.7.7
Starting     x509-store-1.6.9
Building     x509-store-1.6.9
Completed    x509-store-1.6.9
Starting     x509-validation-1.6.12
Building     x509-validation-1.6.12
Completed    x509-validation-1.6.12
Downloading  cryptostore-0.3.0.0
Downloaded   cryptostore-0.3.0.0
Starting     cryptostore-0.3.0.0
Building     cryptostore-0.3.0.0
Completed    cryptostore-0.3.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):
 - cryptostore-0.3.0.0 (first run)
Configuring cryptostore-0.3.0.0...
Preprocessing library for cryptostore-0.3.0.0..
Building library for cryptostore-0.3.0.0..
[ 1 of 30] Compiling Crypto.Store.ASN1.Generate ( src/Crypto/Store/ASN1/Generate.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/cryptostore-0.3.0.0/noopt/build/Crypto/Store/ASN1/Generate.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/cryptostore-0.3.0.0/noopt/build/Crypto/Store/ASN1/Generate.dyn_o )
[ 2 of 30] Compiling Crypto.Store.ASN1.Parse ( src/Crypto/Store/ASN1/Parse.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/cryptostore-0.3.0.0/noopt/build/Crypto/Store/ASN1/Parse.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/cryptostore-0.3.0.0/noopt/build/Crypto/Store/ASN1/Parse.dyn_o )

src/Crypto/Store/ASN1/Parse.hs:43:1: warning: [-Wunused-imports]
    The import of Data.Monoid is redundant
      except perhaps to import instances from Data.Monoid
    To import instances alone, use: import Data.Monoid()
   |
43 | import Data.Monoid
   | ^^^^^^^^^^^^^^^^^^
[ 3 of 30] Compiling Crypto.Store.Cipher.RC2.Primitive ( src/Crypto/Store/Cipher/RC2/Primitive.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/cryptostore-0.3.0.0/noopt/build/Crypto/Store/Cipher/RC2/Primitive.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/cryptostore-0.3.0.0/noopt/build/Crypto/Store/Cipher/RC2/Primitive.dyn_o )
[ 4 of 30] Compiling Crypto.Store.Error ( src/Crypto/Store/Error.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/cryptostore-0.3.0.0/noopt/build/Crypto/Store/Error.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/cryptostore-0.3.0.0/noopt/build/Crypto/Store/Error.dyn_o )
[ 5 of 30] Compiling Crypto.Store.CMS.Util ( src/Crypto/Store/CMS/Util.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/cryptostore-0.3.0.0/noopt/build/Crypto/Store/CMS/Util.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/cryptostore-0.3.0.0/noopt/build/Crypto/Store/CMS/Util.dyn_o )
[ 6 of 30] Compiling Crypto.Store.CMS.Type ( src/Crypto/Store/CMS/Type.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/cryptostore-0.3.0.0/noopt/build/Crypto/Store/CMS/Type.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/cryptostore-0.3.0.0/noopt/build/Crypto/Store/CMS/Type.dyn_o )
[ 7 of 30] Compiling Crypto.Store.CMS.OriginatorInfo ( src/Crypto/Store/CMS/OriginatorInfo.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/cryptostore-0.3.0.0/noopt/build/Crypto/Store/CMS/OriginatorInfo.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/cryptostore-0.3.0.0/noopt/build/Crypto/Store/CMS/OriginatorInfo.dyn_o )

src/Crypto/Store/CMS/OriginatorInfo.hs:27: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()
   |
27 | import Data.Semigroup
   | ^^^^^^^^^^^^^^^^^^^^^
[ 8 of 30] Compiling Crypto.Store.CMS.Attribute ( src/Crypto/Store/CMS/Attribute.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/cryptostore-0.3.0.0/noopt/build/Crypto/Store/CMS/Attribute.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/cryptostore-0.3.0.0/noopt/build/Crypto/Store/CMS/Attribute.dyn_o )
[ 9 of 30] Compiling Crypto.Store.PEM ( src/Crypto/Store/PEM.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/cryptostore-0.3.0.0/noopt/build/Crypto/Store/PEM.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/cryptostore-0.3.0.0/noopt/build/Crypto/Store/PEM.dyn_o )
[10 of 30] Compiling Crypto.Store.PKCS8.EC ( src/Crypto/Store/PKCS8/EC.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/cryptostore-0.3.0.0/noopt/build/Crypto/Store/PKCS8/EC.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/cryptostore-0.3.0.0/noopt/build/Crypto/Store/PKCS8/EC.dyn_o )
[11 of 30] Compiling Crypto.Store.Util ( src/Crypto/Store/Util.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/cryptostore-0.3.0.0/noopt/build/Crypto/Store/Util.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/cryptostore-0.3.0.0/noopt/build/Crypto/Store/Util.dyn_o )
[12 of 30] Compiling Crypto.Store.KeyWrap.TripleDES ( src/Crypto/Store/KeyWrap/TripleDES.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/cryptostore-0.3.0.0/noopt/build/Crypto/Store/KeyWrap/TripleDES.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/cryptostore-0.3.0.0/noopt/build/Crypto/Store/KeyWrap/TripleDES.dyn_o )

src/Crypto/Store/KeyWrap/TripleDES.hs:43:5: warning: [-Wincomplete-uni-patterns]
    Pattern match(es) are non-exhaustive
    In a pattern binding:
        Patterns of type Maybe (IV cipher) not matched: Nothing
   |
43 |     Just iv' = makeIV iv4adda22c79e82105
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/Crypto/Store/KeyWrap/TripleDES.hs:59:5: warning: [-Wincomplete-uni-patterns]
    Pattern match(es) are non-exhaustive
    In a pattern binding:
        Patterns of type Maybe (IV cipher) not matched: Nothing
   |
59 |     Just iv'      = makeIV iv4adda22c79e82105
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/Crypto/Store/KeyWrap/TripleDES.hs:63:5: warning: [-Wincomplete-uni-patterns]
    Pattern match(es) are non-exhaustive
    In a pattern binding:
        Patterns of type Maybe (IV cipher) not matched: Nothing
   |
63 |     Just iv       = makeIV ivBs
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[13 of 30] Compiling Crypto.Store.KeyWrap.RC2 ( src/Crypto/Store/KeyWrap/RC2.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/cryptostore-0.3.0.0/noopt/build/Crypto/Store/KeyWrap/RC2.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/cryptostore-0.3.0.0/noopt/build/Crypto/Store/KeyWrap/RC2.dyn_o )

src/Crypto/Store/KeyWrap/RC2.hs:65:13: warning: [-Wincomplete-uni-patterns]
    Pattern match(es) are non-exhaustive
    In a pattern binding:
        Patterns of type Maybe (IV cipher) not matched: Nothing
   |
65 |             Just iv'   = makeIV iv4adda22c79e82105
   |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/Crypto/Store/KeyWrap/RC2.hs:78:5: warning: [-Wincomplete-uni-patterns]
    Pattern match(es) are non-exhaustive
    In a pattern binding:
        Patterns of type Maybe (IV cipher) not matched: Nothing
   |
78 |     Just iv'         = makeIV iv4adda22c79e82105
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/Crypto/Store/KeyWrap/RC2.hs:82:5: warning: [-Wincomplete-uni-patterns]
    Pattern match(es) are non-exhaustive
    In a pattern binding:
        Patterns of type Maybe (IV cipher) not matched: Nothing
   |
82 |     Just iv          = makeIV ivBs
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/Crypto/Store/KeyWrap/RC2.hs:85:5: warning: [-Wincomplete-uni-patterns]
    Pattern match(es) are non-exhaustive
    In a pattern binding:
        Patterns of type Maybe (GHC.Word.Word8, ba) not matched: Nothing
   |
85 |     Just (l, cekpad) = B.uncons lcekpad
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[14 of 30] Compiling Crypto.Store.KeyWrap.AES ( src/Crypto/Store/KeyWrap/AES.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/cryptostore-0.3.0.0/noopt/build/Crypto/Store/KeyWrap/AES.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/cryptostore-0.3.0.0/noopt/build/Crypto/Store/KeyWrap/AES.dyn_o )
[15 of 30] Compiling Crypto.Store.Cipher.RC2 ( src/Crypto/Store/Cipher/RC2.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/cryptostore-0.3.0.0/noopt/build/Crypto/Store/Cipher/RC2.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/cryptostore-0.3.0.0/noopt/build/Crypto/Store/Cipher/RC2.dyn_o )
[16 of 30] Compiling Crypto.Store.CMS.Algorithms ( src/Crypto/Store/CMS/Algorithms.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/cryptostore-0.3.0.0/noopt/build/Crypto/Store/CMS/Algorithms.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/cryptostore-0.3.0.0/noopt/build/Crypto/Store/CMS/Algorithms.dyn_o )

src/Crypto/Store/CMS/Algorithms.hs:510:21: warning: [-Wincomplete-uni-patterns]
    Pattern match(es) are non-exhaustive
    In a lambda abstraction:
        Patterns of type ASN1 not matched:
            Boolean _
            IntVal _
            BitString _
            Null
            ...
    |
510 |         getNext >>= \(OctetString str) -> return (fn p str)
    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/Crypto/Store/CMS/Algorithms.hs:1017:9: warning: [-Wincomplete-uni-patterns]
    Pattern match(es) are non-exhaustive
    In a pattern binding:
        Patterns of type Maybe CCM_L not matched: Nothing
     |
1017 |     let Just l = fromL (15 - ivlen)
     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/Crypto/Store/CMS/Algorithms.hs:1519:13: warning: [-Wincomplete-uni-patterns]
    Pattern match(es) are non-exhaustive
    In a pattern binding:
        Patterns of type Maybe (IV cipher) not matched: Nothing
     |
1519 |             Just iv'  = makeIV lastBlock
     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/Crypto/Store/CMS/Algorithms.hs:1530:5: warning: [-Wincomplete-uni-patterns]
    Pattern match(es) are non-exhaustive
    In a pattern binding:
        Patterns of type Maybe (IV cipher) not matched: Nothing
     |
1530 |     Just iv'  = makeIV (B.dropView beg (B.length beg - sz))
     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/Crypto/Store/CMS/Algorithms.hs:1531:5: warning: [-Wincomplete-uni-patterns]
    Pattern match(es) are non-exhaustive
    In a pattern binding:
        Patterns of type Maybe (IV cipher) not matched: Nothing
     |
1531 |     Just iv'' = makeIV lastBlock
     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/Crypto/Store/CMS/Algorithms.hs:1893:9: warning: [-Wincomplete-uni-patterns]
    Pattern match(es) are non-exhaustive
    In a pattern binding:
        Patterns of type Maybe (IV cipher) not matched: Nothing
     |
1893 |     let Just iv = makeIV (bs :: ByteString)
     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[17 of 30] Compiling Crypto.Store.PKCS5.PBES1 ( src/Crypto/Store/PKCS5/PBES1.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/cryptostore-0.3.0.0/noopt/build/Crypto/Store/PKCS5/PBES1.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/cryptostore-0.3.0.0/noopt/build/Crypto/Store/PKCS5/PBES1.dyn_o )
[18 of 30] Compiling Crypto.Store.CMS.Encrypted ( src/Crypto/Store/CMS/Encrypted.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/cryptostore-0.3.0.0/noopt/build/Crypto/Store/CMS/Encrypted.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/cryptostore-0.3.0.0/noopt/build/Crypto/Store/CMS/Encrypted.dyn_o )
[19 of 30] Compiling Crypto.Store.PKCS5 ( src/Crypto/Store/PKCS5.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/cryptostore-0.3.0.0/noopt/build/Crypto/Store/PKCS5.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/cryptostore-0.3.0.0/noopt/build/Crypto/Store/PKCS5.dyn_o )
[20 of 30] Compiling Crypto.Store.PKCS8 ( src/Crypto/Store/PKCS8.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/cryptostore-0.3.0.0/noopt/build/Crypto/Store/PKCS8.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/cryptostore-0.3.0.0/noopt/build/Crypto/Store/PKCS8.dyn_o )
[21 of 30] Compiling Crypto.Store.CMS.Enveloped ( src/Crypto/Store/CMS/Enveloped.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/cryptostore-0.3.0.0/noopt/build/Crypto/Store/CMS/Enveloped.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/cryptostore-0.3.0.0/noopt/build/Crypto/Store/CMS/Enveloped.dyn_o )
[22 of 30] Compiling Crypto.Store.CMS.AuthEnveloped ( src/Crypto/Store/CMS/AuthEnveloped.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/cryptostore-0.3.0.0/noopt/build/Crypto/Store/CMS/AuthEnveloped.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/cryptostore-0.3.0.0/noopt/build/Crypto/Store/CMS/AuthEnveloped.dyn_o )
[23 of 30] Compiling Crypto.Store.CMS.Signed ( src/Crypto/Store/CMS/Signed.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/cryptostore-0.3.0.0/noopt/build/Crypto/Store/CMS/Signed.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/cryptostore-0.3.0.0/noopt/build/Crypto/Store/CMS/Signed.dyn_o )
[24 of 30] Compiling Crypto.Store.CMS.Digested ( src/Crypto/Store/CMS/Digested.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/cryptostore-0.3.0.0/noopt/build/Crypto/Store/CMS/Digested.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/cryptostore-0.3.0.0/noopt/build/Crypto/Store/CMS/Digested.dyn_o )
[25 of 30] Compiling Crypto.Store.CMS.Authenticated ( src/Crypto/Store/CMS/Authenticated.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/cryptostore-0.3.0.0/noopt/build/Crypto/Store/CMS/Authenticated.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/cryptostore-0.3.0.0/noopt/build/Crypto/Store/CMS/Authenticated.dyn_o )
[26 of 30] Compiling Crypto.Store.CMS.Info ( src/Crypto/Store/CMS/Info.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/cryptostore-0.3.0.0/noopt/build/Crypto/Store/CMS/Info.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/cryptostore-0.3.0.0/noopt/build/Crypto/Store/CMS/Info.dyn_o )

src/Crypto/Store/CMS/Info.hs:24:1: warning: [-Wunused-imports]
    The import of Control.Monad.Fail is redundant
      except perhaps to import instances from Control.Monad.Fail
    To import instances alone, use: import Control.Monad.Fail()
   |
24 | import Control.Monad.Fail (MonadFail)
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[27 of 30] Compiling Crypto.Store.CMS.PEM ( src/Crypto/Store/CMS/PEM.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/cryptostore-0.3.0.0/noopt/build/Crypto/Store/CMS/PEM.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/cryptostore-0.3.0.0/noopt/build/Crypto/Store/CMS/PEM.dyn_o )
[28 of 30] Compiling Crypto.Store.CMS ( src/Crypto/Store/CMS.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/cryptostore-0.3.0.0/noopt/build/Crypto/Store/CMS.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/cryptostore-0.3.0.0/noopt/build/Crypto/Store/CMS.dyn_o )
[29 of 30] Compiling Crypto.Store.PKCS12 ( src/Crypto/Store/PKCS12.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/cryptostore-0.3.0.0/noopt/build/Crypto/Store/PKCS12.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/cryptostore-0.3.0.0/noopt/build/Crypto/Store/PKCS12.dyn_o )

src/Crypto/Store/PKCS12.hs:80: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()
   |
80 | import           Data.Semigroup
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[30 of 30] Compiling Crypto.Store.X509 ( src/Crypto/Store/X509.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/cryptostore-0.3.0.0/noopt/build/Crypto/Store/X509.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/cryptostore-0.3.0.0/noopt/build/Crypto/Store/X509.dyn_o )
Preprocessing test suite 'test-cryptostore' for cryptostore-0.3.0.0..
Building test suite 'test-cryptostore' for cryptostore-0.3.0.0..
[ 1 of 14] Compiling Util             ( tests/Util.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/cryptostore-0.3.0.0/noopt/build/test-cryptostore/test-cryptostore-tmp/Util.o )

tests/Util.hs:38:9: warning: [-Wincomplete-uni-patterns]
    Pattern match(es) are non-exhaustive
    In a pattern binding:
        Patterns of type Maybe (struct a) not matched: Nothing
   |
38 |     let Just r = m in return r
   |         ^^^^^^^^^^

tests/Util.hs:45:9: warning: [-Wincomplete-uni-patterns]
    Pattern match(es) are non-exhaustive
    In a pattern binding:
        Patterns of type Maybe (struct a) not matched: Nothing
   |
45 |     let Just r = m in return r
   |         ^^^^^^^^^^
[ 2 of 14] Compiling KeyWrap.TripleDES ( tests/KeyWrap/TripleDES.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/cryptostore-0.3.0.0/noopt/build/test-cryptostore/test-cryptostore-tmp/KeyWrap/TripleDES.o )

tests/KeyWrap/TripleDES.hs:68:13: warning: [-Wincomplete-uni-patterns]
    Pattern match(es) are non-exhaustive
    In a pattern binding:
        Patterns of type Maybe (IV cipher) not matched: Nothing
   |
68 |             Just iv = makeIV ivBs
   |             ^^^^^^^^^^^^^^^^^^^^^

tests/KeyWrap/TripleDES.hs:77:13: warning: [-Wincomplete-uni-patterns]
    Pattern match(es) are non-exhaustive
    In a pattern binding:
        Patterns of type Maybe (IV cipher) not matched: Nothing
   |
77 |             Just iv = makeIV vecIV
   |             ^^^^^^^^^^^^^^^^^^^^^^
[ 3 of 14] Compiling KeyWrap.AES      ( tests/KeyWrap/AES.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/cryptostore-0.3.0.0/noopt/build/test-cryptostore/test-cryptostore-tmp/KeyWrap/AES.o )
[ 4 of 14] Compiling Cipher.RC2       ( tests/Cipher/RC2.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/cryptostore-0.3.0.0/noopt/build/test-cryptostore/test-cryptostore-tmp/Cipher/RC2.o )
[ 5 of 14] Compiling X509.Instances   ( tests/X509/Instances.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/cryptostore-0.3.0.0/noopt/build/test-cryptostore/test-cryptostore-tmp/X509/Instances.o )
[ 6 of 14] Compiling KeyWrap.RC2      ( tests/KeyWrap/RC2.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/cryptostore-0.3.0.0/noopt/build/test-cryptostore/test-cryptostore-tmp/KeyWrap/RC2.o )

tests/KeyWrap/RC2.hs:76:13: warning: [-Wincomplete-uni-patterns]
    Pattern match(es) are non-exhaustive
    In a pattern binding:
        Patterns of type Maybe (IV RC2) not matched: Nothing
   |
76 |       where Just iv = makeIV ivBs
   |             ^^^^^^^^^^^^^^^^^^^^^

tests/KeyWrap/RC2.hs:85:13: warning: [-Wincomplete-uni-patterns]
    Pattern match(es) are non-exhaustive
    In a pattern binding:
        Patterns of type Maybe (IV RC2) not matched: Nothing
   |
85 |             Just iv = makeIV vecIV
   |             ^^^^^^^^^^^^^^^^^^^^^^
[ 7 of 14] Compiling CMS.Instances    ( tests/CMS/Instances.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/cryptostore-0.3.0.0/noopt/build/test-cryptostore/test-cryptostore-tmp/CMS/Instances.o )

tests/CMS/Instances.hs:129:35: warning: [-Wincomplete-uni-patterns]
    Pattern match(es) are non-exhaustive
    In a pattern binding:
        Patterns of type Maybe SomeNat not matched: Nothing
    |
129 |   where unwrap (Positive i) = let Just n = someNatVal (127 + i) in n
    |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ 8 of 14] Compiling PKCS8.Instances  ( tests/PKCS8/Instances.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/cryptostore-0.3.0.0/noopt/build/test-cryptostore/test-cryptostore-tmp/PKCS8/Instances.o )
[ 9 of 14] Compiling PKCS8.Tests      ( tests/PKCS8/Tests.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/cryptostore-0.3.0.0/noopt/build/test-cryptostore/test-cryptostore-tmp/PKCS8/Tests.o )

tests/PKCS8/Tests.hs:29:23: warning: [-Wincomplete-uni-patterns]
    Pattern match(es) are non-exhaustive
    In a pattern binding:
        Patterns of type [OptProtected
                             x509-1.7.7-5e4f7cbe4848a86f1b44faf6a91432e948e879d9b6c3deb490a8f4e68772fb14:Data.X509.PrivateKey.PrivKey] not matched:
            []
            [(Protected _)]
            ((Protected _):_:_)
            ((Unprotected
              (x509-1.7.7-5e4f7cbe4848a86f1b44faf6a91432e948e879d9b6c3deb490a8f4e68772fb14:Data.X509.PrivateKey.PrivKeyRSA
               _)):
             _:_)
            ...
   |
29 |                   let [Unprotected kI] = kInner
   |                       ^^^^^^^^^^^^^^^^^^^^^^^^^

tests/PKCS8/Tests.hs:30:23: warning: [-Wincomplete-uni-patterns]
    Pattern match(es) are non-exhaustive
    In a pattern binding:
        Patterns of type [OptProtected
                             x509-1.7.7-5e4f7cbe4848a86f1b44faf6a91432e948e879d9b6c3deb490a8f4e68772fb14:Data.X509.PrivateKey.PrivKey] not matched:
            []
            [(Protected _)]
            ((Protected _):_:_)
            ((Unprotected
              (x509-1.7.7-5e4f7cbe4848a86f1b44faf6a91432e948e879d9b6c3deb490a8f4e68772fb14:Data.X509.PrivateKey.PrivKeyRSA
               _)):
             _:_)
            ...
   |
30 |                       [Unprotected kO] = kOuter
   |                       ^^^^^^^^^^^^^^^^^^^^^^^^^

tests/PKCS8/Tests.hs:35:19: warning: [-Wincomplete-uni-patterns]
    Pattern match(es) are non-exhaustive
    In a pattern binding:
        Patterns of type [OptProtected
                             x509-1.7.7-5e4f7cbe4848a86f1b44faf6a91432e948e879d9b6c3deb490a8f4e68772fb14:Data.X509.PrivateKey.PrivKey] not matched:
            []
            [(Protected _)]
            ((Protected _):_:_)
            ((Unprotected
              (x509-1.7.7-5e4f7cbe4848a86f1b44faf6a91432e948e879d9b6c3deb490a8f4e68772fb14:Data.X509.PrivateKey.PrivKeyRSA
               _)):
             _:_)
            ...
   |
35 |                   [Unprotected kO] = kOuter
   |                   ^^^^^^^^^^^^^^^^^^^^^^^^^

tests/PKCS8/Tests.hs:40:19: warning: [-Wincomplete-uni-patterns]
    Pattern match(es) are non-exhaustive
    In a pattern binding:
        Patterns of type [OptProtected
                             x509-1.7.7-5e4f7cbe4848a86f1b44faf6a91432e948e879d9b6c3deb490a8f4e68772fb14:Data.X509.PrivateKey.PrivKey] not matched:
            []
            [(Protected _)]
            ((Protected _):_:_)
            ((Unprotected
              (x509-1.7.7-5e4f7cbe4848a86f1b44faf6a91432e948e879d9b6c3deb490a8f4e68772fb14:Data.X509.PrivateKey.PrivKeyRSA
               _)):
             _:_)
            ...
   |
40 |                   [Unprotected kI] = kInner
   |                   ^^^^^^^^^^^^^^^^^^^^^^^^^

tests/PKCS8/Tests.hs:71:31: warning: [-Wincomplete-uni-patterns]
    Pattern match(es) are non-exhaustive
    In a pattern binding:
        Patterns of type [OptProtected
                             x509-1.7.7-5e4f7cbe4848a86f1b44faf6a91432e948e879d9b6c3deb490a8f4e68772fb14:Data.X509.PrivateKey.PrivKey] not matched:
            []
            [(Protected _)]
            ((Protected _):_:_)
            ((Unprotected
              (x509-1.7.7-5e4f7cbe4848a86f1b44faf6a91432e948e879d9b6c3deb490a8f4e68772fb14:Data.X509.PrivateKey.PrivKeyRSA
               _)):
             _:_)
            ...
   |
71 |                           let [Unprotected key] = kU
   |                               ^^^^^^^^^^^^^^^^^^^^^^

tests/PKCS8/Tests.hs:72:36: warning: [-Wincomplete-uni-patterns]
    Pattern match(es) are non-exhaustive
    In a lambda abstraction:
        Patterns of type OptProtected
                            x509-1.7.7-5e4f7cbe4848a86f1b44faf6a91432e948e879d9b6c3deb490a8f4e68772fb14:Data.X509.PrivateKey.PrivKey not matched:
            Unprotected _
   |
72 |                            in all (\(Protected getKey) -> getKey pwd == Right key) kE
   |                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[10 of 14] Compiling PKCS12.Instances ( tests/PKCS12/Instances.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/cryptostore-0.3.0.0/noopt/build/test-cryptostore/test-cryptostore-tmp/PKCS12/Instances.o )

tests/PKCS12/Instances.hs:12: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()
   |
12 | import           Data.Semigroup
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[11 of 14] Compiling PKCS12.Tests     ( tests/PKCS12/Tests.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/cryptostore-0.3.0.0/noopt/build/test-cryptostore/test-cryptostore-tmp/PKCS12/Tests.o )
[12 of 14] Compiling CMS.Tests        ( tests/CMS/Tests.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/cryptostore-0.3.0.0/noopt/build/test-cryptostore/test-cryptostore-tmp/CMS/Tests.o )

tests/CMS/Tests.hs:33:9: warning: [-Wincomplete-uni-patterns]
    Pattern match(es) are non-exhaustive
    In a pattern binding:
        Patterns of type ContentInfo not matched:
            SignedDataCI _
            EnvelopedDataCI _
            DigestedDataCI _
            EncryptedDataCI _
            ...
   |
33 |     let DataCI bs = ci
   |         ^^^^^^^^^^^^^^

tests/CMS/Tests.hs:71:17: warning: [-Wincomplete-uni-patterns]
    Pattern match(es) are non-exhaustive
    In a pattern binding:
        Patterns of type ContentInfo not matched:
            DataCI _
            EnvelopedDataCI _
            DigestedDataCI _
            EncryptedDataCI _
            ...
   |
71 |             let SignedDataCI sdEncap = ci
   |                 ^^^^^^^^^^^^^^^^^^^^^^^^^

tests/CMS/Tests.hs:131:17: warning: [-Wincomplete-uni-patterns]
    Pattern match(es) are non-exhaustive
    In a pattern binding:
        Patterns of type ContentInfo not matched:
            DataCI _
            SignedDataCI _
            DigestedDataCI _
            EncryptedDataCI _
            ...
    |
131 |             let EnvelopedDataCI evEncap = ci
    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/CMS/Tests.hs:173:17: warning: [-Wincomplete-uni-patterns]
    Pattern match(es) are non-exhaustive
    In a pattern binding:
        Patterns of type ContentInfo not matched:
            DataCI _
            SignedDataCI _
            EnvelopedDataCI _
            EncryptedDataCI _
            ...
    |
173 |             let DigestedDataCI ddEncap = ci
    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/CMS/Tests.hs:202:17: warning: [-Wincomplete-uni-patterns]
    Pattern match(es) are non-exhaustive
    In a pattern binding:
        Patterns of type ContentInfo not matched:
            DataCI _
            SignedDataCI _
            EnvelopedDataCI _
            DigestedDataCI _
            ...
    |
202 |             let EncryptedDataCI edEncap = ci
    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/CMS/Tests.hs:240:17: warning: [-Wincomplete-uni-patterns]
    Pattern match(es) are non-exhaustive
    In a pattern binding:
        Patterns of type ContentInfo not matched:
            DataCI _
            SignedDataCI _
            EnvelopedDataCI _
            DigestedDataCI _
            ...
    |
240 |             let AuthEnvelopedDataCI aeEncap = ci
    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/CMS/Tests.hs:246:17: warning: [-Wincomplete-uni-patterns]
    Pattern match(es) are non-exhaustive
    In a pattern binding:
        Patterns of type [Maybe ContentInfo] not matched:
            []
            [Nothing]
            (Nothing:_:_)
            ((Just (DataCI _)):_:_)
            ...
    |
246 |             let [Just ci'] = pemToContentInfo [] (contentInfoToPEM ci)
    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/CMS/Tests.hs:247:17: warning: [-Wincomplete-uni-patterns]
    Pattern match(es) are non-exhaustive
    In a pattern binding:
        Patterns of type ContentInfo not matched:
            DataCI _
            SignedDataCI _
            EnvelopedDataCI _
            DigestedDataCI _
            ...
    |
247 |                 AuthEnvelopedDataCI aeEncap' = ci'
    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/CMS/Tests.hs:265:17: warning: [-Wincomplete-uni-patterns]
    Pattern match(es) are non-exhaustive
    In a pattern binding:
        Patterns of type Either
                            Crypto.Store.Error.StoreError
                            (SignedData EncapsulatedContent) not matched:
            Left _
    |
265 |             let Right sd = r
    |                 ^^^^^^^^^^^^

tests/CMS/Tests.hs:272:17: warning: [-Wincomplete-uni-patterns]
    Pattern match(es) are non-exhaustive
    In a pattern binding:
        Patterns of type Either
                            Crypto.Store.Error.StoreError
                            (EnvelopedData EncryptedContent) not matched:
            Left _
    |
272 |             let Right ev = r
    |                 ^^^^^^^^^^^^

tests/CMS/Tests.hs:283:17: warning: [-Wincomplete-uni-patterns]
    Pattern match(es) are non-exhaustive
    In a pattern binding:
        Patterns of type Either
                            Crypto.Store.Error.StoreError
                            (EncryptedData EncryptedContent) not matched:
            Left _
    |
283 |             let Right ed = encryptData key alg attrs ci
    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/CMS/Tests.hs:290:17: warning: [-Wincomplete-uni-patterns]
    Pattern match(es) are non-exhaustive
    In a pattern binding:
        Patterns of type Either
                            Crypto.Store.Error.StoreError
                            (AuthenticatedData EncapsulatedContent) not matched:
            Left _
    |
290 |             let Right ad = r
    |                 ^^^^^^^^^^^^

tests/CMS/Tests.hs:298:17: warning: [-Wincomplete-uni-patterns]
    Pattern match(es) are non-exhaustive
    In a pattern binding:
        Patterns of type Either
                            Crypto.Store.Error.StoreError
                            (AuthEnvelopedData EncryptedContent) not matched:
            Left _
    |
298 |             let Right ae = r
    |                 ^^^^^^^^^^^^
[13 of 14] Compiling X509.Tests       ( tests/X509/Tests.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/cryptostore-0.3.0.0/noopt/build/test-cryptostore/test-cryptostore-tmp/X509/Tests.o )

tests/X509/Tests.hs:29:23: warning: [-Wincomplete-uni-patterns]
    Pattern match(es) are non-exhaustive
    In a pattern binding:
        Patterns of type [SignedCertificate] not matched:
            []
            ((x509-1.7.7-5e4f7cbe4848a86f1b44faf6a91432e948e879d9b6c3deb490a8f4e68772fb14:Data.X509.Signed.SignedExact
              _ _ _):
             _:_)
   |
29 |                   let [c] = cert
   |                       ^^^^^^^^^^
[14 of 14] Compiling Main             ( tests/Main.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/cryptostore-0.3.0.0/noopt/build/test-cryptostore/test-cryptostore-tmp/Main.o )
Linking /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/cryptostore-0.3.0.0/noopt/build/test-cryptostore/test-cryptostore ...
Running 1 test suites...
Test suite test-cryptostore: RUNNING...
Test suite test-cryptostore: PASS
Test suite logged to:
/home/builder/builder-dir/build-cache/tmp-install/reports/cryptostore-0.3.0.0.test
Writing: cryptostore-0.3.0.0-inplace/Crypto.Store.X509.hs.html
Writing: cryptostore-0.3.0.0-inplace/Crypto.Store.PKCS8.hs.html
Writing: cryptostore-0.3.0.0-inplace/Crypto.Store.PKCS12.hs.html
Writing: cryptostore-0.3.0.0-inplace/Crypto.Store.KeyWrap.RC2.hs.html
Writing: cryptostore-0.3.0.0-inplace/Crypto.Store.KeyWrap.TripleDES.hs.html
Writing: cryptostore-0.3.0.0-inplace/Crypto.Store.KeyWrap.AES.hs.html
Writing: cryptostore-0.3.0.0-inplace/Crypto.Store.PKCS5.hs.html
Writing: cryptostore-0.3.0.0-inplace/Crypto.Store.Error.hs.html
Writing: cryptostore-0.3.0.0-inplace/Crypto.Store.Cipher.RC2.hs.html
Writing: cryptostore-0.3.0.0-inplace/Crypto.Store.CMS.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/cryptostore-0.3.0.0/noopt/hpc/vanilla/html/test-cryptostore/hpc_index.html
1 of 1 test suites (1 of 1 test cases) passed.
Writing: cryptostore-0.3.0.0-inplace/Crypto.Store.X509.hs.html
Writing: cryptostore-0.3.0.0-inplace/Crypto.Store.PKCS8.hs.html
Writing: cryptostore-0.3.0.0-inplace/Crypto.Store.PKCS12.hs.html
Writing: cryptostore-0.3.0.0-inplace/Crypto.Store.KeyWrap.RC2.hs.html
Writing: cryptostore-0.3.0.0-inplace/Crypto.Store.KeyWrap.TripleDES.hs.html
Writing: cryptostore-0.3.0.0-inplace/Crypto.Store.KeyWrap.AES.hs.html
Writing: cryptostore-0.3.0.0-inplace/Crypto.Store.PKCS5.hs.html
Writing: cryptostore-0.3.0.0-inplace/Crypto.Store.Error.hs.html
Writing: cryptostore-0.3.0.0-inplace/Crypto.Store.Cipher.RC2.hs.html
Writing: cryptostore-0.3.0.0-inplace/Crypto.Store.CMS.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/cryptostore-0.3.0.0/noopt/hpc/vanilla/html/cryptostore-0.3.0.0/hpc_index.html