Build #3 for g3p-hash-2.0.0.0
| Package | g3p-hash-2.0.0.0 |
|---|
| Install | BuildFailed |
|---|---|
| Docs | NotTried |
| Tests | NotTried |
| Time submitted | 2025-01-21 22:06:41.654626362 UTC |
|---|---|
| Compiler | ghc-9.6.3 |
| OS | linux |
| Arch | x86_64 |
| Dependencies | Stream-0.2.2, base-4.18.1.0, bytestring-0.11.5.2, network-byte-order-0.1.7, phkdf-0.1.0.0, tuplehash-utils-0.1.0.0, vector-0.13.2.0 |
| Flags | none |
Code Coverage
No Code Coverage was submitted for this report.
Build log
[view raw]
Resolving dependencies...
Starting Stream-0.2.2
Starting hash-string-0.1.0.0
Starting integer-logarithms-1.0.4
Starting network-byte-order-0.1.7
Starting primitive-0.9.0.0
Starting splitmix-0.1.1
Starting vector-stream-0.1.0.1
Starting transformers-compat-0.7.2
Starting tagged-0.8.9
Starting colour-2.3.6
Starting prettyprinter-1.7.1
Building network-byte-order-0.1.7
Building hash-string-0.1.0.0
Building integer-logarithms-1.0.4
Building splitmix-0.1.1
Building primitive-0.9.0.0
Building vector-stream-0.1.0.1
Building transformers-compat-0.7.2
Building tagged-0.8.9
Building colour-2.3.6
Building prettyprinter-1.7.1
Building Stream-0.2.2
Completed integer-logarithms-1.0.4
Starting tuplehash-utils-0.1.0.0
Building tuplehash-utils-0.1.0.0
Completed splitmix-0.1.1
Starting random-1.3.0
Building random-1.3.0
Completed hash-string-0.1.0.0
Completed network-byte-order-0.1.7
Starting sha256-0.1.0.2
Completed Stream-0.2.2
Completed tagged-0.8.9
Building sha256-0.1.0.2
Completed transformers-compat-0.7.2
Completed vector-stream-0.1.0.1
Completed colour-2.3.6
Starting ansi-terminal-types-1.1
Building ansi-terminal-types-1.1
Completed tuplehash-utils-0.1.0.0
Completed prettyprinter-1.7.1
Completed ansi-terminal-types-1.1
Starting ansi-terminal-1.1.2
Completed sha256-0.1.0.2
Building ansi-terminal-1.1.2
Completed primitive-0.9.0.0
Completed ansi-terminal-1.1.2
Starting prettyprinter-ansi-terminal-1.1.3
Building prettyprinter-ansi-terminal-1.1.3
Completed random-1.3.0
Completed prettyprinter-ansi-terminal-1.1.3
Starting optparse-applicative-0.18.1.0
Building optparse-applicative-0.18.1.0
Completed optparse-applicative-0.18.1.0
Starting tasty-1.5.3
Building tasty-1.5.3
Completed tasty-1.5.3
Starting vector-0.13.2.0
Building vector-0.13.2.0
Completed vector-0.13.2.0
Downloading phkdf-0.1.0.0
Downloaded phkdf-0.1.0.0
Starting phkdf-0.1.0.0
Building phkdf-0.1.0.0
Completed phkdf-0.1.0.0
Downloading g3p-hash-2.0.0.0
Downloaded g3p-hash-2.0.0.0
Starting g3p-hash-2.0.0.0
Building g3p-hash-2.0.0.0
Failed to install g3p-hash-2.0.0.0
Build log ( /home/builder/.cabal/logs/ghc-9.6.3/g3p-hash-2.0.0.0-6aPl8DTyEMRvg0DCUQhYD.log ):
cabal: Entering directory '/tmp/cabal-tmp-2040470/g3p-hash-2.0.0.0'
Configuring g3p-hash-2.0.0.0...
Preprocessing library for g3p-hash-2.0.0.0..
Building library for g3p-hash-2.0.0.0..
[1 of 7] Compiling Crypto.G3P.BCrypt.Subtle ( dist/build/Crypto/G3P/BCrypt/Subtle.hs, dist/build/Crypto/G3P/BCrypt/Subtle.o, dist/build/Crypto/G3P/BCrypt/Subtle.dyn_o )
[2 of 7] Compiling Crypto.G3P.BCrypt ( lib/Crypto/G3P/BCrypt.hs, dist/build/Crypto/G3P/BCrypt.o, dist/build/Crypto/G3P/BCrypt.dyn_o )
lib/Crypto/G3P/BCrypt.hs:96:1: warning: [GHC-94817] [-Wtabs]
Tab character found here.
Suggested fix: Please use spaces instead.
|
96 | Just n -> B.take n key
| ^^^^^^^^
lib/Crypto/G3P/BCrypt.hs:231:9: warning: [GHC-62161] [-Wincomplete-uni-patterns]
Pattern match(es) are non-exhaustive
In a pattern binding:
Patterns of type (ByteString, HmacKeyPrefixed) not matched:
(p, _) where p is not one of {""}
|
231 | ("", sha1) = hmacKeyPrefixed_feeds (ltA ++ ltZ) sha0
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
lib/Crypto/G3P/BCrypt.hs:273:9: warning: [GHC-62161] [-Wincomplete-uni-patterns]
Pattern match(es) are non-exhaustive
In a pattern binding:
Patterns of type (ByteString, HmacKeyPrefixed) not matched:
(p, _) where p is not one of {""}
|
273 | ("",sha1) = hmacKeyPrefixed_feeds [penBytes !! 1, key0] sha0
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
lib/Crypto/G3P/BCrypt.hs:313:13: warning: [GHC-62161] [-Wincomplete-uni-patterns]
Pattern match(es) are non-exhaustive
In a pattern binding:
Patterns of type (ByteString, HmacKeyPrefixed) not matched:
(p, _) where p is not one of {""}
|
313 | ("",nextSha) = hmacKeyPrefixed_feeds nextChunks sha0
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
lib/Crypto/G3P/BCrypt.hs:328:13: warning: [GHC-62161] [-Wincomplete-uni-patterns]
Pattern match(es) are non-exhaustive
In a pattern binding:
Patterns of type (ByteString, HmacKeyPrefixed) not matched:
(p, _) where p is not one of {""}
|
328 | ("",endSha) = hmacKeyPrefixed_feeds endChunks sha0
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[3 of 7] Compiling Crypto.G3P.V1 ( lib/Crypto/G3P/V1.hs, dist/build/Crypto/G3P/V1.o, dist/build/Crypto/G3P/V1.dyn_o )
[4 of 7] Compiling Crypto.G3P.V2.Foxtrot ( lib/Crypto/G3P/V2/Foxtrot.hs, dist/build/Crypto/G3P/V2/Foxtrot.o, dist/build/Crypto/G3P/V2/Foxtrot.dyn_o )
[5 of 7] Compiling Crypto.G3P.V2.Subtle ( lib/Crypto/G3P/V2/Subtle.hs, dist/build/Crypto/G3P/V2/Subtle.o, dist/build/Crypto/G3P/V2/Subtle.dyn_o )
[6 of 7] Compiling Crypto.G3P.V2 ( lib/Crypto/G3P/V2.hs, dist/build/Crypto/G3P/V2.o, dist/build/Crypto/G3P/V2.dyn_o )
lib/Crypto/G3P/V2.hs:986:25: error: [GHC-76037]
Not in scope: Stream.scan'
NB: the module Data.Stream does not export scan'.
Suggested fix:
Perhaps use one of these:
Stream.scanl (imported from Data.Stream),
Stream.span (imported from Data.Stream),
Stream.scanl1 (imported from Data.Stream)
|
986 | xorScan = Stream.tail . Stream.scan' f (PairBS blankChunk blankChunk)
| ^^^^^^^^^^^^
cabal: Leaving directory '/tmp/cabal-tmp-2040470/g3p-hash-2.0.0.0'
Error: cabal: Some packages failed to install:
g3p-hash-2.0.0.0-6aPl8DTyEMRvg0DCUQhYD failed during the building phase. The
exception was:
ExitFailure 1
Test log
No test log was submitted for this report.