Build #1 for phkdf-0.0.0.0

[all reports]

Package phkdf-0.0.0.0
Install InstallOk
Docs Ok
Tests NotTried
Time submitted 2024-03-21 21:50:08.471820675 UTC
Compiler ghc-9.6.3
OS linux
Arch x86_64
Dependencies Stream-0.4.7.2, base-4.18.1.0, bytestring-0.11.5.2, cryptohash-sha256-0.11.102.1, network-byte-order-0.1.7, tuplehash-utils-0.0.0.0, vector-0.13.1.0
Flags none

Code Coverage

No Code Coverage was submitted for this report.

Build log

[view raw]

Resolving dependencies...
Starting     cryptohash-sha256-0.11.102.1
Starting     integer-logarithms-1.0.3.1
Starting     network-byte-order-0.1.7
Starting     lazysmallcheck-0.6
Starting     primitive-0.9.0.0
Starting     vector-stream-0.1.0.1
Starting     splitmix-0.1.0.5
Building     cryptohash-sha256-0.11.102.1
Building     network-byte-order-0.1.7
Building     lazysmallcheck-0.6
Building     integer-logarithms-1.0.3.1
Building     vector-stream-0.1.0.1
Building     primitive-0.9.0.0
Building     splitmix-0.1.0.5
Completed    lazysmallcheck-0.6
Completed    integer-logarithms-1.0.3.1
Starting     tuplehash-utils-0.0.0.0
Building     tuplehash-utils-0.0.0.0
Completed    splitmix-0.1.0.5
Starting     random-1.2.1.2
Building     random-1.2.1.2
Completed    cryptohash-sha256-0.11.102.1
Completed    network-byte-order-0.1.7
Completed    vector-stream-0.1.0.1
Completed    tuplehash-utils-0.0.0.0
Completed    primitive-0.9.0.0
Starting     vector-0.13.1.0
Building     vector-0.13.1.0
Completed    random-1.2.1.2
Starting     QuickCheck-2.14.3
Building     QuickCheck-2.14.3
Completed    QuickCheck-2.14.3
Starting     Stream-0.4.7.2
Building     Stream-0.4.7.2
Completed    Stream-0.4.7.2
Completed    vector-0.13.1.0
Downloading  phkdf-0.0.0.0
Downloaded   phkdf-0.0.0.0
Starting     phkdf-0.0.0.0
Building     phkdf-0.0.0.0
Completed    phkdf-0.0.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):
 - base16-1.0 (lib:base16) (requires build)
 - bifunctors-5.6.2 (lib:bifunctors) (requires build)
 - lazysmallcheck-0.6 (lib:lazysmallcheck) (requires build)
 - tuplehash-utils-0.0.0.0 (lib:tuplehash-utils) (requires build)
 - semigroupoids-6.0.0.1 (lib:semigroupoids) (requires build)
 - Stream-0.4.7.2 (lib:Stream) (requires build)
 - semialign-1.3 (lib:semialign) (requires build)
 - aeson-2.2.1.0 (lib:aeson) (requires build)
 - phkdf-0.0.0.0 (first run)
Starting     base16-1.0 (all, legacy fallback)
Starting     tuplehash-utils-0.0.0.0 (all, legacy fallback)
Starting     lazysmallcheck-0.6 (all, legacy fallback)
Starting     bifunctors-5.6.2 (all, legacy fallback)
Building     base16-1.0 (all, legacy fallback)
Building     tuplehash-utils-0.0.0.0 (all, legacy fallback)
Building     bifunctors-5.6.2 (all, legacy fallback)
Building     lazysmallcheck-0.6 (all, legacy fallback)
Installing   tuplehash-utils-0.0.0.0 (all, legacy fallback)
Installing   lazysmallcheck-0.6 (all, legacy fallback)
Completed    tuplehash-utils-0.0.0.0 (all, legacy fallback)
Installing   base16-1.0 (all, legacy fallback)
Completed    lazysmallcheck-0.6 (all, legacy fallback)
Starting     Stream-0.4.7.2 (all, legacy fallback)
Completed    base16-1.0 (all, legacy fallback)
Building     Stream-0.4.7.2 (all, legacy fallback)
Installing   Stream-0.4.7.2 (all, legacy fallback)
Completed    Stream-0.4.7.2 (all, legacy fallback)
Installing   bifunctors-5.6.2 (all, legacy fallback)
Completed    bifunctors-5.6.2 (all, legacy fallback)
Starting     semigroupoids-6.0.0.1 (all, legacy fallback)
Building     semigroupoids-6.0.0.1 (all, legacy fallback)
Installing   semigroupoids-6.0.0.1 (all, legacy fallback)
Completed    semigroupoids-6.0.0.1 (all, legacy fallback)
Starting     semialign-1.3 (all, legacy fallback)
Building     semialign-1.3 (all, legacy fallback)
Installing   semialign-1.3 (all, legacy fallback)
Completed    semialign-1.3 (all, legacy fallback)
Starting     aeson-2.2.1.0 (all, legacy fallback)
Building     aeson-2.2.1.0 (all, legacy fallback)
Installing   aeson-2.2.1.0 (all, legacy fallback)
Completed    aeson-2.2.1.0 (all, legacy fallback)
Configuring phkdf-0.0.0.0...
Preprocessing library for phkdf-0.0.0.0..
Building library for phkdf-0.0.0.0..
[1 of 7] Compiling Crypto.Encoding.PHKDF ( lib/Crypto/Encoding/PHKDF.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/phkdf-0.0.0.0/noopt/build/Crypto/Encoding/PHKDF.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/phkdf-0.0.0.0/noopt/build/Crypto/Encoding/PHKDF.dyn_o )

lib/Crypto/Encoding/PHKDF.hs:5: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()
  |
5 | import Data.Monoid((<>))
  | ^^^^^^^^^^^^^^^^^^^^^^^^

lib/Crypto/Encoding/PHKDF.hs:8:1: warning: [-Wunused-imports]
    The import of Data.Foldable is redundant
      except perhaps to import instances from Data.Foldable
    To import instances alone, use: import Data.Foldable()
  |
8 | import Data.Foldable(Foldable)
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[2 of 7] Compiling Crypto.PHKDF.HMAC.Subtle ( lib/Crypto/PHKDF/HMAC/Subtle.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/phkdf-0.0.0.0/noopt/build/Crypto/PHKDF/HMAC/Subtle.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/phkdf-0.0.0.0/noopt/build/Crypto/PHKDF/HMAC/Subtle.dyn_o )
[3 of 7] Compiling Crypto.PHKDF.HMAC ( lib/Crypto/PHKDF/HMAC.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/phkdf-0.0.0.0/noopt/build/Crypto/PHKDF/HMAC.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/phkdf-0.0.0.0/noopt/build/Crypto/PHKDF/HMAC.dyn_o )
[4 of 7] Compiling Crypto.PHKDF.Primitives.Subtle ( lib/Crypto/PHKDF/Primitives/Subtle.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/phkdf-0.0.0.0/noopt/build/Crypto/PHKDF/Primitives/Subtle.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/phkdf-0.0.0.0/noopt/build/Crypto/PHKDF/Primitives/Subtle.dyn_o )
[5 of 7] Compiling Crypto.PHKDF.Primitives.Assert ( lib/Crypto/PHKDF/Primitives/Assert.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/phkdf-0.0.0.0/noopt/build/Crypto/PHKDF/Primitives/Assert.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/phkdf-0.0.0.0/noopt/build/Crypto/PHKDF/Primitives/Assert.dyn_o )
[6 of 7] Compiling Crypto.PHKDF.Primitives ( lib/Crypto/PHKDF/Primitives.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/phkdf-0.0.0.0/noopt/build/Crypto/PHKDF/Primitives.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/phkdf-0.0.0.0/noopt/build/Crypto/PHKDF/Primitives.dyn_o )

lib/Crypto/PHKDF/Primitives.hs:236:32: warning: [-Wunused-imports]
    The import of Foldable from module Data.Foldable is redundant
    |
236 | import           Data.Foldable(Foldable, foldl')
    |                                ^^^^^^^^
[7 of 7] Compiling Crypto.PHKDF     ( lib/Crypto/PHKDF.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/phkdf-0.0.0.0/noopt/build/Crypto/PHKDF.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/phkdf-0.0.0.0/noopt/build/Crypto/PHKDF.dyn_o )
Preprocessing test suite 'test' for phkdf-0.0.0.0..
Building test suite 'test' for phkdf-0.0.0.0..
[1 of 3] Compiling HMAC             ( test/HMAC.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/phkdf-0.0.0.0/noopt/build/test/test-tmp/HMAC.o )
[2 of 3] Compiling PHKDF            ( test/PHKDF.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/phkdf-0.0.0.0/noopt/build/test/test-tmp/PHKDF.o )

test/PHKDF.hs:196:30: error: [GHC-83865]
    " Couldn't match expected type base16-1.0:Data.Base16.Types.Internal.Base16
                                      ByteString
                  with actual type ByteString
    " In the first argument of B.decodeBase16, namely
        (T.encodeUtf8 txt)
      In the expression: B.decodeBase16 (T.encodeUtf8 txt)
      In a stmt of a 'do' block:
        case B.decodeBase16 (T.encodeUtf8 txt) of
          Left _ -> empty
          Right x -> pure x
    |
196 |         case B.decodeBase16 (T.encodeUtf8 txt) of
    |                              ^^^^^^^^^^^^^^^^

test/PHKDF.hs:197:11: error: [GHC-83865]
    " Couldn't match expected type ByteString
                  with actual type Either a2 b1
    " In the pattern: Left _
      In a case alternative: Left _ -> empty
      In a stmt of a 'do' block:
        case B.decodeBase16 (T.encodeUtf8 txt) of
          Left _ -> empty
          Right x -> pure x
    |
197 |           Left _ -> empty
    |           ^^^^^^

test/PHKDF.hs:198:11: error: [GHC-83865]
    " Couldn't match expected type ByteString
                  with actual type Either a3 ByteString
    " In the pattern: Right x
      In a case alternative: Right x -> pure x
      In a stmt of a 'do' block:
        case B.decodeBase16 (T.encodeUtf8 txt) of
          Left _ -> empty
          Right x -> pure x
    |
198 |           Right x -> pure x
    |           ^^^^^^^

test/PHKDF.hs:211:30: error: [GHC-83865]
    " Couldn't match expected type base16-1.0:Data.Base16.Types.Internal.Base16
                                      ByteString
                  with actual type ByteString
    " In the first argument of B.decodeBase16, namely
        (T.encodeUtf8 txt)
      In the expression: B.decodeBase16 (T.encodeUtf8 txt)
      In the expression:
        case B.decodeBase16 (T.encodeUtf8 txt) of
          Left _ -> empty
          Right x -> pure x
    |
211 |         case B.decodeBase16 (T.encodeUtf8 txt) of
    |                              ^^^^^^^^^^^^^^^^

test/PHKDF.hs:212:13: error: [GHC-83865]
    " Couldn't match expected type ByteString
                  with actual type Either a0 b0
    " In the pattern: Left _
      In a case alternative: Left _ -> empty
      In the expression:
        case B.decodeBase16 (T.encodeUtf8 txt) of
          Left _ -> empty
          Right x -> pure x
    |
212 |             Left _ -> empty
    |             ^^^^^^

test/PHKDF.hs:213:13: error: [GHC-83865]
    " Couldn't match expected type ByteString
                  with actual type Either a1 ByteString
    " In the pattern: Right x
      In a case alternative: Right x -> pure x
      In the expression:
        case B.decodeBase16 (T.encodeUtf8 txt) of
          Left _ -> empty
          Right x -> pure x
    |
213 |             Right x -> pure x
    |             ^^^^^^^

test/PHKDF.hs:258:24: error: [GHC-83865]
    " Couldn't match type base16-1.0:Data.Base16.Types.Internal.Base16
                             Text
                     with Text
      Expected: ByteString -> Text
        Actual: ByteString
                -> base16-1.0:Data.Base16.Types.Internal.Base16 Text
    " In the second argument of (.), namely B.encodeBase16
      In the expression: T.unpack . B.encodeBase16
      In an equation for toHex: toHex = T.unpack . B.encodeBase16
    |
258 |     toHex = T.unpack . B.encodeBase16
    |                        ^^^^^^^^^^^^^^