Skip to content

Instantly share code, notes, and snippets.

@Jayman2000
Last active January 8, 2025 14:09
Show Gist options
  • Save Jayman2000/c1ba96dede71c8ff14c3ebd9f0261f1f to your computer and use it in GitHub Desktop.
Save Jayman2000/c1ba96dede71c8ff14c3ebd9f0261f1f to your computer and use it in GitHub Desktop.
A log that will help me report a bug with Nixpkgs: <https://github.com/NixOS/nixpkgs/issues/372146>
Running phase: setupCompilerEnvironmentPhase
@nix { "action": "setPhase", "phase": "setupCompilerEnvironmentPhase" }
Build with /nix/store/ixmx1kpj59zxgrkc57sigv0zdxlfa64z-ghc-9.6.6.
Running phase: unpackPhase
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking source archive /nix/store/458sgznahs5igw2ajjmaj8kdzgjkl6qn-hackage-security-0.6.2.4.tar.gz
source root is hackage-security-0.6.2.4
setting SOURCE_DATE_EPOCH to timestamp 1000000000 of file hackage-security-0.6.2.4/tests/TestSuite/Util/StrictMVar.hs
Running phase: patchPhase
@nix { "action": "setPhase", "phase": "patchPhase" }
Replace Cabal file with edited version from mirror://hackage/hackage-security-0.6.2.4/revision/3.cabal.
Running phase: compileBuildDriverPhase
@nix { "action": "setPhase", "phase": "compileBuildDriverPhase" }
setupCompileFlags: -package-db=/build/tmp.6mm53DYIUS/setup-package.conf.d -threaded
[1 of 2] Compiling Main ( Setup.hs, /build/tmp.6mm53DYIUS/Main.o )
[2 of 2] Linking Setup
Running phase: updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
Running phase: configurePhase
@nix { "action": "setPhase", "phase": "configurePhase" }
configureFlags: --verbose --prefix=/nix/store/3gcz1acs3wb197428l6cxa54n95fcwxh-hackage-security-0.6.2.4 --libdir=$prefix/lib/$compiler/lib --libsubdir=$abi/$libname --docdir=/nix/store/jk5k34p52qx7099qycwp2chw3hiwvfnk-hackage-security-0.6.2.4-doc/share/doc/hackage-security-0.6.2.4 --with-gcc=gcc --package-db=/build/tmp.6mm53DYIUS/package.conf.d --ghc-option=-j12 --ghc-option=+RTS --ghc-option=-A64M --ghc-option=-RTS --enable-library-profiling --profiling-detail=exported-functions --disable-profiling --enable-shared --disable-coverage --enable-static --disable-executable-dynamic --enable-tests --disable-benchmarks --enable-library-vanilla --disable-library-for-ghci --enable-split-sections --enable-library-stripping --enable-executable-stripping --ghc-option=-haddock --extra-lib-dirs=/nix/store/c5g3g0j1nzca02ff147xvgd0d7vk6njk-ncurses-6.4.20221231/lib --extra-lib-dirs=/nix/store/shhb91b4y6c4xd6xsmkk32wmkcj6drsd-libffi-3.4.6/lib --extra-lib-dirs=/nix/store/nmmcl5hay19rvhrdardvh65fqs0l8kfj-elfutils-0.192/lib --extra-lib-dirs=/nix/store/svy5rvi35blqwssk4hd189dvk4xlcdm7-gmp-with-cxx-6.3.0/lib
Using Parsec parser
Configuring hackage-security-0.6.2.4...
Flags chosen: cabal-syntax=True, lukko=True, use-network-uri=True
Dependency Cabal-syntax >=3.7 && <3.12: using Cabal-syntax-3.10.3.0
Dependency base >=4.8 && <4.20: using base-4.18.2.1
Dependency base16-bytestring >=0.1.1 && <1.1: using base16-bytestring-1.0.2.0
Dependency base64-bytestring >=1.0 && <1.3: using base64-bytestring-1.2.1.0
Dependency bytestring >=0.9 && <0.13: using bytestring-0.11.5.3
Dependency containers >=0.4 && <0.8: using containers-0.6.7
Dependency cryptohash-sha256 >=0.11 && <0.12: using
cryptohash-sha256-0.11.102.1
Dependency directory >=1.2 && <1.4: using directory-1.3.8.5
Dependency ed25519 >=0.0 && <0.1: using ed25519-0.0.5.0
Dependency filepath >=1.2 && <1.5: using filepath-1.4.300.1
Dependency ghc-prim: using ghc-prim-0.10.0
Dependency lukko >=0.1 && <0.2: using lukko-0.1.1.3
Dependency mtl >=2.2 && <2.4: using mtl-2.3.1
Dependency network >=2.6 && <2.9 || >=3.0 && <3.2: using network-3.1.4.0
Dependency network-uri >=2.6 && <2.7: using network-uri-2.6.4.2
Dependency parsec >=3.1 && <3.2: using parsec-3.1.16.1
Dependency pretty >=1.0 && <1.2: using pretty-1.1.3.6
Dependency tar >=0.5 && <0.7: using tar-0.5.1.1
Dependency template-haskell >=2.7 && <2.22: using template-haskell-2.20.0.0
Dependency time >=1.2 && <1.13: using time-1.12.2
Dependency transformers >=0.3 && <0.7: using transformers-0.6.1.0
Dependency zlib >=0.5 && <0.8: using zlib-0.6.3.0
Dependency Cabal >=3.7 && <3.12: using Cabal-3.10.3.0
Dependency Cabal-syntax >=3.7 && <3.12: using Cabal-syntax-3.10.3.0
Dependency QuickCheck >=2.11 && <2.15: using QuickCheck-2.14.3
Dependency aeson >=1.4 && <1.6 || >=2.0 && <2.3: using aeson-2.1.2.1
Dependency base: using base-4.18.2.1
Dependency bytestring: using bytestring-0.11.5.3
Dependency containers: using containers-0.6.7
Dependency hackage-security: using hackage-security-0.6.2.4
Dependency network-uri: using network-uri-2.6.4.2
Dependency tar >=0.5: using tar-0.5.1.1
Dependency tasty >=1.2 && <1.6: using tasty-1.4.3
Dependency tasty-hunit >=0.10 && <0.11: using tasty-hunit-0.10.2
Dependency tasty-quickcheck >=0.10 && <0.11: using tasty-quickcheck-0.10.2
Dependency temporary >=1.2 && <1.4: using temporary-1.3
Dependency text: using text-2.0.2
Dependency time: using time-1.12.2
Dependency unordered-containers >=0.2.8.0 && <0.3: using
unordered-containers-0.2.20
Dependency vector >=0.12 && <0.14: using vector-0.13.1.0
Dependency zlib: using zlib-0.6.3.0
Source component graph:
component lib
component test:TestSuite dependency lib
Configured component graph:
component hackage-security-0.6.2.4-4ntkg1cOt9eIN9ptkbbqH6
include Cabal-syntax-3.10.3.0
include base-4.18.2.1
include base16-bytestring-1.0.2.0-3vHpgnjDqivJfLJnsT8Vw6
include base64-bytestring-1.2.1.0-K4jkzJKezlZAD9xpQOE9aq
include bytestring-0.11.5.3
include containers-0.6.7
include cryptohash-sha256-0.11.102.1-HNl1aj7jPuCBrEFcous0JK
include directory-1.3.8.5
include ed25519-0.0.5.0-GltYKjMe8vO71pmiQ6B9Dv
include filepath-1.4.300.1
include ghc-prim-0.10.0
include lukko-0.1.1.3-EssmjT5qADiBmwQtH4TmWL
include mtl-2.3.1
include network-3.1.4.0-I6jFfdQwj0Q5FZzAobit5e
include network-uri-2.6.4.2-DDHIWrhjvFZHQR6jZMb7ki
include parsec-3.1.16.1
include pretty-1.1.3.6
include tar-0.5.1.1-ITFXZf9UAMeBxCqvaQGbT7
include template-haskell-2.20.0.0
include time-1.12.2
include transformers-0.6.1.0
include zlib-0.6.3.0-DISIkXyQU1jGXhCiqE3Pa5
component hackage-security-0.6.2.4-3zo3AScvkYIEsAOE2Cm1pF-TestSuite
include Cabal-3.10.3.0
include Cabal-syntax-3.10.3.0
include QuickCheck-2.14.3-2ib5howz5bF8WgkuPDgHew
include aeson-2.1.2.1-753FhiTUbV50U7y2xD460
include base-4.18.2.1
include bytestring-0.11.5.3
include containers-0.6.7
include hackage-security-0.6.2.4-4ntkg1cOt9eIN9ptkbbqH6
include network-uri-2.6.4.2-DDHIWrhjvFZHQR6jZMb7ki
include tar-0.5.1.1-ITFXZf9UAMeBxCqvaQGbT7
include tasty-1.4.3-HkKHEL8vye5ClEHKX0XsPq
include tasty-hunit-0.10.2-Ad5ueg84ystD0x1sF59SJg
include tasty-quickcheck-0.10.2-1mIQJaSHh8C3JObn4fl35Z
include temporary-1.3-KYuD3KyCm1RBNiwQf3stQ9
include text-2.0.2
include time-1.12.2
include unordered-containers-0.2.20-LSmcxzF4qm7HJsN9ASir0v
include vector-0.13.1.0-KY238Z1sJAu4vNE6mci65w
include zlib-0.6.3.0-DISIkXyQU1jGXhCiqE3Pa5
Linked component graph:
unit hackage-security-0.6.2.4-4ntkg1cOt9eIN9ptkbbqH6
include Cabal-syntax-3.10.3.0
include base-4.18.2.1
include base16-bytestring-1.0.2.0-3vHpgnjDqivJfLJnsT8Vw6
include base64-bytestring-1.2.1.0-K4jkzJKezlZAD9xpQOE9aq
include bytestring-0.11.5.3
include containers-0.6.7
include cryptohash-sha256-0.11.102.1-HNl1aj7jPuCBrEFcous0JK
include directory-1.3.8.5
include ed25519-0.0.5.0-GltYKjMe8vO71pmiQ6B9Dv
include filepath-1.4.300.1
include ghc-prim-0.10.0
include lukko-0.1.1.3-EssmjT5qADiBmwQtH4TmWL
include mtl-2.3.1
include network-3.1.4.0-I6jFfdQwj0Q5FZzAobit5e
include network-uri-2.6.4.2-DDHIWrhjvFZHQR6jZMb7ki
include parsec-3.1.16.1
include pretty-1.1.3.6
include tar-0.5.1.1-ITFXZf9UAMeBxCqvaQGbT7
include template-haskell-2.20.0.0
include time-1.12.2
include transformers-0.6.1.0
include zlib-0.6.3.0-DISIkXyQU1jGXhCiqE3Pa5
Hackage.Security.Client=hackage-security-0.6.2.4-4ntkg1cOt9eIN9ptkbbqH6:Hackage.Security.Client,Hackage.Security.Client.Formats=hackage-security-0.6.2.4-4ntkg1cOt9eIN9ptkbbqH6:Hackage.Security.Client.Formats,Hackage.Security.Client.Repository=hackage-security-0.6.2.4-4ntkg1cOt9eIN9ptkbbqH6:Hackage.Security.Client.Repository,Hackage.Security.Client.Repository.Cache=hackage-security-0.6.2.4-4ntkg1cOt9eIN9ptkbbqH6:Hackage.Security.Client.Repository.Cache,Hackage.Security.Client.Repository.HttpLib=hackage-security-0.6.2.4-4ntkg1cOt9eIN9ptkbbqH6:Hackage.Security.Client.Repository.HttpLib,Hackage.Security.Client.Repository.Local=hackage-security-0.6.2.4-4ntkg1cOt9eIN9ptkbbqH6:Hackage.Security.Client.Repository.Local,Hackage.Security.Client.Repository.Remote=hackage-security-0.6.2.4-4ntkg1cOt9eIN9ptkbbqH6:Hackage.Security.Client.Repository.Remote,Hackage.Security.Client.Verify=hackage-security-0.6.2.4-4ntkg1cOt9eIN9ptkbbqH6:Hackage.Security.Client.Verify,Hackage.Security.JSON=hackage-security-0.6.2.4-4ntkg1cOt9eIN9ptkbbqH6:Hackage.Security.JSON,Hackage.Security.Key.Env=hackage-security-0.6.2.4-4ntkg1cOt9eIN9ptkbbqH6:Hackage.Security.Key.Env,Hackage.Security.Server=hackage-security-0.6.2.4-4ntkg1cOt9eIN9ptkbbqH6:Hackage.Security.Server,Hackage.Security.TUF.FileMap=hackage-security-0.6.2.4-4ntkg1cOt9eIN9ptkbbqH6:Hackage.Security.TUF.FileMap,Hackage.Security.Trusted=hackage-security-0.6.2.4-4ntkg1cOt9eIN9ptkbbqH6:Hackage.Security.Trusted,Hackage.Security.Util.Checked=hackage-security-0.6.2.4-4ntkg1cOt9eIN9ptkbbqH6:Hackage.Security.Util.Checked,Hackage.Security.Util.Path=hackage-security-0.6.2.4-4ntkg1cOt9eIN9ptkbbqH6:Hackage.Security.Util.Path,Hackage.Security.Util.Pretty=hackage-security-0.6.2.4-4ntkg1cOt9eIN9ptkbbqH6:Hackage.Security.Util.Pretty,Hackage.Security.Util.Some=hackage-security-0.6.2.4-4ntkg1cOt9eIN9ptkbbqH6:Hackage.Security.Util.Some,Text.JSON.Canonical=hackage-security-0.6.2.4-4ntkg1cOt9eIN9ptkbbqH6:Text.JSON.Canonical
unit hackage-security-0.6.2.4-3zo3AScvkYIEsAOE2Cm1pF-TestSuite
include Cabal-3.10.3.0
include Cabal-syntax-3.10.3.0
include QuickCheck-2.14.3-2ib5howz5bF8WgkuPDgHew
include aeson-2.1.2.1-753FhiTUbV50U7y2xD460
include base-4.18.2.1
include bytestring-0.11.5.3
include containers-0.6.7
include hackage-security-0.6.2.4-4ntkg1cOt9eIN9ptkbbqH6
include network-uri-2.6.4.2-DDHIWrhjvFZHQR6jZMb7ki
include tar-0.5.1.1-ITFXZf9UAMeBxCqvaQGbT7
include tasty-1.4.3-HkKHEL8vye5ClEHKX0XsPq
include tasty-hunit-0.10.2-Ad5ueg84ystD0x1sF59SJg
include tasty-quickcheck-0.10.2-1mIQJaSHh8C3JObn4fl35Z
include temporary-1.3-KYuD3KyCm1RBNiwQf3stQ9
include text-2.0.2
include time-1.12.2
include unordered-containers-0.2.20-LSmcxzF4qm7HJsN9ASir0v
include vector-0.13.1.0-KY238Z1sJAu4vNE6mci65w
include zlib-0.6.3.0-DISIkXyQU1jGXhCiqE3Pa5
Ready component graph:
definite hackage-security-0.6.2.4-4ntkg1cOt9eIN9ptkbbqH6
depends Cabal-syntax-3.10.3.0
depends base-4.18.2.1
depends base16-bytestring-1.0.2.0-3vHpgnjDqivJfLJnsT8Vw6
depends base64-bytestring-1.2.1.0-K4jkzJKezlZAD9xpQOE9aq
depends bytestring-0.11.5.3
depends containers-0.6.7
depends cryptohash-sha256-0.11.102.1-HNl1aj7jPuCBrEFcous0JK
depends directory-1.3.8.5
depends ed25519-0.0.5.0-GltYKjMe8vO71pmiQ6B9Dv
depends filepath-1.4.300.1
depends ghc-prim-0.10.0
depends lukko-0.1.1.3-EssmjT5qADiBmwQtH4TmWL
depends mtl-2.3.1
depends network-3.1.4.0-I6jFfdQwj0Q5FZzAobit5e
depends network-uri-2.6.4.2-DDHIWrhjvFZHQR6jZMb7ki
depends parsec-3.1.16.1
depends pretty-1.1.3.6
depends tar-0.5.1.1-ITFXZf9UAMeBxCqvaQGbT7
depends template-haskell-2.20.0.0
depends time-1.12.2
depends transformers-0.6.1.0
depends zlib-0.6.3.0-DISIkXyQU1jGXhCiqE3Pa5
definite hackage-security-0.6.2.4-3zo3AScvkYIEsAOE2Cm1pF-TestSuite
depends Cabal-3.10.3.0
depends Cabal-syntax-3.10.3.0
depends QuickCheck-2.14.3-2ib5howz5bF8WgkuPDgHew
depends aeson-2.1.2.1-753FhiTUbV50U7y2xD460
depends base-4.18.2.1
depends bytestring-0.11.5.3
depends containers-0.6.7
depends hackage-security-0.6.2.4-4ntkg1cOt9eIN9ptkbbqH6
depends network-uri-2.6.4.2-DDHIWrhjvFZHQR6jZMb7ki
depends tar-0.5.1.1-ITFXZf9UAMeBxCqvaQGbT7
depends tasty-1.4.3-HkKHEL8vye5ClEHKX0XsPq
depends tasty-hunit-0.10.2-Ad5ueg84ystD0x1sF59SJg
depends tasty-quickcheck-0.10.2-1mIQJaSHh8C3JObn4fl35Z
depends temporary-1.3-KYuD3KyCm1RBNiwQf3stQ9
depends text-2.0.2
depends time-1.12.2
depends unordered-containers-0.2.20-LSmcxzF4qm7HJsN9ASir0v
depends vector-0.13.1.0-KY238Z1sJAu4vNE6mci65w
depends zlib-0.6.3.0-DISIkXyQU1jGXhCiqE3Pa5
Using Cabal-3.10.3.0 compiled by ghc-9.6
Using compiler: ghc-9.6.6
Using install prefix:
/nix/store/3gcz1acs3wb197428l6cxa54n95fcwxh-hackage-security-0.6.2.4
Executables installed in:
/nix/store/3gcz1acs3wb197428l6cxa54n95fcwxh-hackage-security-0.6.2.4/bin
Libraries installed in:
/nix/store/3gcz1acs3wb197428l6cxa54n95fcwxh-hackage-security-0.6.2.4/lib/ghc-9.6.6/lib/i386-linux-ghc-9.6.6/hackage-security-0.6.2.4-4ntkg1cOt9eIN9ptkbbqH6
Dynamic Libraries installed in:
/nix/store/3gcz1acs3wb197428l6cxa54n95fcwxh-hackage-security-0.6.2.4/lib/ghc-9.6.6/lib/i386-linux-ghc-9.6.6
Private executables installed in:
/nix/store/3gcz1acs3wb197428l6cxa54n95fcwxh-hackage-security-0.6.2.4/libexec/i386-linux-ghc-9.6.6/hackage-security-0.6.2.4
Data files installed in:
/nix/store/3gcz1acs3wb197428l6cxa54n95fcwxh-hackage-security-0.6.2.4/share/i386-linux-ghc-9.6.6/hackage-security-0.6.2.4
Documentation installed in:
/nix/store/jk5k34p52qx7099qycwp2chw3hiwvfnk-hackage-security-0.6.2.4-doc/share/doc/hackage-security-0.6.2.4
Configuration files installed in:
/nix/store/3gcz1acs3wb197428l6cxa54n95fcwxh-hackage-security-0.6.2.4/etc
No alex found
Using ar found on system at:
/nix/store/0mpg001lvcghg4ms4q26jhvx32sdsgcc-binutils-wrapper-2.43.1/bin/ar
No c2hs found
No cpphs found
No doctest found
Using gcc version 14.2.1 given by user at:
/nix/store/n2n56bm9ci14xrqxrgnig6qpdmd1p44w-gcc-wrapper-14-20241116/bin/gcc
Using ghc version 9.6.6 found on system at:
/nix/store/ixmx1kpj59zxgrkc57sigv0zdxlfa64z-ghc-9.6.6/bin/ghc
Using ghc-pkg version 9.6.6 found on system at:
/nix/store/ixmx1kpj59zxgrkc57sigv0zdxlfa64z-ghc-9.6.6/bin/ghc-pkg-9.6.6
No ghcjs found
No ghcjs-pkg found
No greencard found
Using haddock version 2.29.2 found on system at:
/nix/store/ixmx1kpj59zxgrkc57sigv0zdxlfa64z-ghc-9.6.6/bin/haddock-ghc-9.6.6
No happy found
Using haskell-suite found on system at: haskell-suite-dummy-location
Using haskell-suite-pkg found on system at: haskell-suite-pkg-dummy-location
No hmake found
Using hpc version 0.68 found on system at:
/nix/store/ixmx1kpj59zxgrkc57sigv0zdxlfa64z-ghc-9.6.6/bin/hpc-ghc-9.6.6
Using hsc2hs version 0.68.9 found on system at:
/nix/store/ixmx1kpj59zxgrkc57sigv0zdxlfa64z-ghc-9.6.6/bin/hsc2hs-ghc-9.6.6
Using hscolour version 1.25 found on system at:
/nix/store/cxdhy98b9rb11l4s24s23gm7lxis2gpj-hscolour-1.25/bin/HsColour
No jhc found
Using ld found on system at:
/nix/store/0mpg001lvcghg4ms4q26jhvx32sdsgcc-binutils-wrapper-2.43.1/bin/ld.gold
No pkg-config found
Using runghc version 9.6.6 found on system at:
/nix/store/ixmx1kpj59zxgrkc57sigv0zdxlfa64z-ghc-9.6.6/bin/runghc-9.6.6
Using strip version 2.43 found on system at:
/nix/store/n2n56bm9ci14xrqxrgnig6qpdmd1p44w-gcc-wrapper-14-20241116/bin/strip
Using tar found on system at:
/nix/store/mglygij6m86b32yrbvxkqgmkr7z6fjww-gnutar-1.35/bin/tar
No uhc found
Running phase: buildPhase
@nix { "action": "setPhase", "phase": "buildPhase" }
Preprocessing library for hackage-security-0.6.2.4..
Building library for hackage-security-0.6.2.4..
[ 1 of 43] Compiling MyPrelude ( src/MyPrelude.hs, dist/build/MyPrelude.o, dist/build/MyPrelude.dyn_o )
[ 2 of 43] Compiling Hackage.Security.Util.TypedEmbedded ( src/Hackage/Security/Util/TypedEmbedded.hs, dist/build/Hackage/Security/Util/TypedEmbedded.o, dist/build/Hackage/Security/Util/TypedEmbedded.dyn_o )
src/Hackage/Security/Util/TypedEmbedded.hs:19:26: warning: [GHC-39567] [-Wstar-is-type]
Using ‘*’ (or its Unicode variant) to mean ‘Data.Kind.Type’
relies on the StarIsType extension, which will become
deprecated in the future.
Suggested fix: Use ‘Type’ from ‘Data.Kind’ instead.
 |
19 | type family TypeOf (f :: * -> *) :: * -> *
 | ^
src/Hackage/Security/Util/TypedEmbedded.hs:19:31: warning: [GHC-39567] [-Wstar-is-type]
Using ‘*’ (or its Unicode variant) to mean ‘Data.Kind.Type’
relies on the StarIsType extension, which will become
deprecated in the future.
Suggested fix: Use ‘Type’ from ‘Data.Kind’ instead.
 |
19 | type family TypeOf (f :: * -> *) :: * -> *
 | ^
src/Hackage/Security/Util/TypedEmbedded.hs:19:37: warning: [GHC-39567] [-Wstar-is-type]
Using ‘*’ (or its Unicode variant) to mean ‘Data.Kind.Type’
relies on the StarIsType extension, which will become
deprecated in the future.
Suggested fix: Use ‘Type’ from ‘Data.Kind’ instead.
 |
19 | type family TypeOf (f :: * -> *) :: * -> *
 | ^
src/Hackage/Security/Util/TypedEmbedded.hs:19:42: warning: [GHC-39567] [-Wstar-is-type]
Using ‘*’ (or its Unicode variant) to mean ‘Data.Kind.Type’
relies on the StarIsType extension, which will become
deprecated in the future.
Suggested fix: Use ‘Type’ from ‘Data.Kind’ instead.
 |
19 | type family TypeOf (f :: * -> *) :: * -> *
 | ^
[ 3 of 43] Compiling Hackage.Security.Util.Stack ( src/Hackage/Security/Util/Stack.hs, dist/build/Hackage/Security/Util/Stack.o, dist/build/Hackage/Security/Util/Stack.dyn_o )
[ 4 of 43] Compiling Hackage.Security.Util.Pretty ( src/Hackage/Security/Util/Pretty.hs, dist/build/Hackage/Security/Util/Pretty.o, dist/build/Hackage/Security/Util/Pretty.dyn_o )
[ 5 of 43] Compiling Hackage.Security.Util.Some ( src/Hackage/Security/Util/Some.hs, dist/build/Hackage/Security/Util/Some.o, dist/build/Hackage/Security/Util/Some.dyn_o )
[ 6 of 43] Compiling Hackage.Security.Util.Path ( src/Hackage/Security/Util/Path.hs, dist/build/Hackage/Security/Util/Path.o, dist/build/Hackage/Security/Util/Path.dyn_o )
[ 7 of 43] Compiling Hackage.Security.Util.Lens ( src/Hackage/Security/Util/Lens.hs, dist/build/Hackage/Security/Util/Lens.o, dist/build/Hackage/Security/Util/Lens.dyn_o )
[ 8 of 43] Compiling Hackage.Security.Util.IO ( src/Hackage/Security/Util/IO.hs, dist/build/Hackage/Security/Util/IO.o, dist/build/Hackage/Security/Util/IO.dyn_o )
[ 9 of 43] Compiling Hackage.Security.Util.Exit ( src/Hackage/Security/Util/Exit.hs, dist/build/Hackage/Security/Util/Exit.o, dist/build/Hackage/Security/Util/Exit.dyn_o )
[10 of 43] Compiling Hackage.Security.Util.Checked ( src/Hackage/Security/Util/Checked.hs, dist/build/Hackage/Security/Util/Checked.o, dist/build/Hackage/Security/Util/Checked.dyn_o )
[11 of 43] Compiling Hackage.Security.TUF.Paths ( src/Hackage/Security/TUF/Paths.hs, dist/build/Hackage/Security/TUF/Paths.o, dist/build/Hackage/Security/TUF/Paths.dyn_o )
[12 of 43] Compiling Hackage.Security.TUF.Layout.Repo ( src/Hackage/Security/TUF/Layout/Repo.hs, dist/build/Hackage/Security/TUF/Layout/Repo.o, dist/build/Hackage/Security/TUF/Layout/Repo.dyn_o )
[13 of 43] Compiling Hackage.Security.TUF.Layout.Cache ( src/Hackage/Security/TUF/Layout/Cache.hs, dist/build/Hackage/Security/TUF/Layout/Cache.o, dist/build/Hackage/Security/TUF/Layout/Cache.dyn_o )
[14 of 43] Compiling Hackage.Security.Client.Verify ( src/Hackage/Security/Client/Verify.hs, dist/build/Hackage/Security/Client/Verify.o, dist/build/Hackage/Security/Client/Verify.dyn_o )
[15 of 43] Compiling Hackage.Security.Client.Formats ( src/Hackage/Security/Client/Formats.hs, dist/build/Hackage/Security/Client/Formats.o, dist/build/Hackage/Security/Client/Formats.dyn_o )
src/Hackage/Security/Client/Formats.hs:34:16: warning: [GHC-39567] [-Wstar-is-type]
Using ‘*’ (or its Unicode variant) to mean ‘Data.Kind.Type’
relies on the StarIsType extension, which will become
deprecated in the future.
Suggested fix: Use ‘Type’ from ‘Data.Kind’ instead.
 |
34 | data Format :: * -> * where
 | ^
src/Hackage/Security/Client/Formats.hs:34:21: warning: [GHC-39567] [-Wstar-is-type]
Using ‘*’ (or its Unicode variant) to mean ‘Data.Kind.Type’
relies on the StarIsType extension, which will become
deprecated in the future.
Suggested fix: Use ‘Type’ from ‘Data.Kind’ instead.
 |
34 | data Format :: * -> * where
 | ^
src/Hackage/Security/Client/Formats.hs:58:17: warning: [GHC-39567] [-Wstar-is-type]
Using ‘*’ (or its Unicode variant) to mean ‘Data.Kind.Type’
relies on the StarIsType extension, which will become
deprecated in the future.
Suggested fix: Use ‘Type’ from ‘Data.Kind’ instead.
 |
58 | data Formats :: * -> * -> * where
 | ^
src/Hackage/Security/Client/Formats.hs:58:22: warning: [GHC-39567] [-Wstar-is-type]
Using ‘*’ (or its Unicode variant) to mean ‘Data.Kind.Type’
relies on the StarIsType extension, which will become
deprecated in the future.
Suggested fix: Use ‘Type’ from ‘Data.Kind’ instead.
 |
58 | data Formats :: * -> * -> * where
 | ^
src/Hackage/Security/Client/Formats.hs:58:27: warning: [GHC-39567] [-Wstar-is-type]
Using ‘*’ (or its Unicode variant) to mean ‘Data.Kind.Type’
relies on the StarIsType extension, which will become
deprecated in the future.
Suggested fix: Use ‘Type’ from ‘Data.Kind’ instead.
 |
58 | data Formats :: * -> * -> * where
 | ^
src/Hackage/Security/Client/Formats.hs:77:19: warning: [GHC-39567] [-Wstar-is-type]
Using ‘*’ (or its Unicode variant) to mean ‘Data.Kind.Type’
relies on the StarIsType extension, which will become
deprecated in the future.
Suggested fix: Use ‘Type’ from ‘Data.Kind’ instead.
 |
77 | data HasFormat :: * -> * -> * where
 | ^
src/Hackage/Security/Client/Formats.hs:77:24: warning: [GHC-39567] [-Wstar-is-type]
Using ‘*’ (or its Unicode variant) to mean ‘Data.Kind.Type’
relies on the StarIsType extension, which will become
deprecated in the future.
Suggested fix: Use ‘Type’ from ‘Data.Kind’ instead.
 |
77 | data HasFormat :: * -> * -> * where
 | ^
src/Hackage/Security/Client/Formats.hs:77:29: warning: [GHC-39567] [-Wstar-is-type]
Using ‘*’ (or its Unicode variant) to mean ‘Data.Kind.Type’
relies on the StarIsType extension, which will become
deprecated in the future.
Suggested fix: Use ‘Type’ from ‘Data.Kind’ instead.
 |
77 | data HasFormat :: * -> * -> * where
 | ^
[16 of 43] Compiling Text.JSON.Canonical ( src/Text/JSON/Canonical.hs, dist/build/Text/JSON/Canonical.o, dist/build/Text/JSON/Canonical.dyn_o )
[17 of 43] Compiling Hackage.Security.Util.JSON ( src/Hackage/Security/Util/JSON.hs, dist/build/Hackage/Security/Util/JSON.o, dist/build/Hackage/Security/Util/JSON.dyn_o )
[18 of 43] Compiling Hackage.Security.Util.Base64 ( src/Hackage/Security/Util/Base64.hs, dist/build/Hackage/Security/Util/Base64.o, dist/build/Hackage/Security/Util/Base64.dyn_o )
[19 of 43] Compiling Hackage.Security.Key ( src/Hackage/Security/Key.hs, dist/build/Hackage/Security/Key.o, dist/build/Hackage/Security/Key.dyn_o )
[20 of 43] Compiling Hackage.Security.Key.Env ( src/Hackage/Security/Key/Env.hs, dist/build/Hackage/Security/Key/Env.o, dist/build/Hackage/Security/Key/Env.dyn_o )
[21 of 43] Compiling Hackage.Security.JSON ( src/Hackage/Security/JSON.hs, dist/build/Hackage/Security/JSON.o, dist/build/Hackage/Security/JSON.dyn_o )
[22 of 43] Compiling Hackage.Security.TUF.Signed ( src/Hackage/Security/TUF/Signed.hs, dist/build/Hackage/Security/TUF/Signed.o, dist/build/Hackage/Security/TUF/Signed.dyn_o )
[23 of 43] Compiling Hackage.Security.TUF.Patterns ( src/Hackage/Security/TUF/Patterns.hs, dist/build/Hackage/Security/TUF/Patterns.o, dist/build/Hackage/Security/TUF/Patterns.dyn_o )
src/Hackage/Security/TUF/Patterns.hs:133:44: warning: [GHC-62161] [-Wincomplete-uni-patterns]
Pattern match(es) are non-exhaustive
In a pattern binding:
Patterns of type ‘(String, String)’ not matched: (_, [])
 |
133 | go [f] (PatFileExt e') = do let (bn, _:e) = splitExtension f
 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/Hackage/Security/TUF/Patterns.hs:351:5: warning: [GHC-62161] [-Wincomplete-uni-patterns]
Pattern match(es) are non-exhaustive
In a pattern binding:
Patterns of type ‘Either String Delegation’ not matched: Left _
 |
351 | Right del = parseDelegation "A/*/*/*.foo" "B/*/C/*/*.bar"
 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[24 of 43] Compiling Hackage.Security.TUF.Header ( src/Hackage/Security/TUF/Header.hs, dist/build/Hackage/Security/TUF/Header.o, dist/build/Hackage/Security/TUF/Header.dyn_o )
[25 of 43] Compiling Hackage.Security.TUF.Mirrors ( src/Hackage/Security/TUF/Mirrors.hs, dist/build/Hackage/Security/TUF/Mirrors.o, dist/build/Hackage/Security/TUF/Mirrors.dyn_o )
[26 of 43] Compiling Hackage.Security.TUF.Common ( src/Hackage/Security/TUF/Common.hs, dist/build/Hackage/Security/TUF/Common.o, dist/build/Hackage/Security/TUF/Common.dyn_o )
[27 of 43] Compiling Hackage.Security.TUF.FileInfo ( src/Hackage/Security/TUF/FileInfo.hs, dist/build/Hackage/Security/TUF/FileInfo.o, dist/build/Hackage/Security/TUF/FileInfo.dyn_o )
[28 of 43] Compiling Hackage.Security.TUF.FileMap ( src/Hackage/Security/TUF/FileMap.hs, dist/build/Hackage/Security/TUF/FileMap.o, dist/build/Hackage/Security/TUF/FileMap.dyn_o )
[29 of 43] Compiling Hackage.Security.TUF.Timestamp ( src/Hackage/Security/TUF/Timestamp.hs, dist/build/Hackage/Security/TUF/Timestamp.o, dist/build/Hackage/Security/TUF/Timestamp.dyn_o )
[30 of 43] Compiling Hackage.Security.TUF.Targets ( src/Hackage/Security/TUF/Targets.hs, dist/build/Hackage/Security/TUF/Targets.o, dist/build/Hackage/Security/TUF/Targets.dyn_o )
[31 of 43] Compiling Hackage.Security.TUF.Layout.Index ( src/Hackage/Security/TUF/Layout/Index.hs, dist/build/Hackage/Security/TUF/Layout/Index.o, dist/build/Hackage/Security/TUF/Layout/Index.dyn_o )
src/Hackage/Security/TUF/Layout/Index.hs:46:19: warning: [GHC-39567] [-Wstar-is-type]
Using ‘*’ (or its Unicode variant) to mean ‘Data.Kind.Type’
relies on the StarIsType extension, which will become
deprecated in the future.
Suggested fix: Use ‘Type’ from ‘Data.Kind’ instead.
 |
46 | data IndexFile :: * -> * where
 | ^
src/Hackage/Security/TUF/Layout/Index.hs:46:24: warning: [GHC-39567] [-Wstar-is-type]
Using ‘*’ (or its Unicode variant) to mean ‘Data.Kind.Type’
relies on the StarIsType extension, which will become
deprecated in the future.
Suggested fix: Use ‘Type’ from ‘Data.Kind’ instead.
 |
46 | data IndexFile :: * -> * where
 | ^
[32 of 43] Compiling Hackage.Security.TUF.Snapshot ( src/Hackage/Security/TUF/Snapshot.hs, dist/build/Hackage/Security/TUF/Snapshot.o, dist/build/Hackage/Security/TUF/Snapshot.dyn_o )
[33 of 43] Compiling Hackage.Security.TUF.Root ( src/Hackage/Security/TUF/Root.hs, dist/build/Hackage/Security/TUF/Root.o, dist/build/Hackage/Security/TUF/Root.dyn_o )
[34 of 43] Compiling Hackage.Security.TUF ( src/Hackage/Security/TUF.hs, dist/build/Hackage/Security/TUF.o, dist/build/Hackage/Security/TUF.dyn_o )
[35 of 43] Compiling Hackage.Security.Trusted.TCB ( src/Hackage/Security/Trusted/TCB.hs, dist/build/Hackage/Security/Trusted/TCB.o, dist/build/Hackage/Security/Trusted/TCB.dyn_o )
[36 of 43] Compiling Hackage.Security.Trusted ( src/Hackage/Security/Trusted.hs, dist/build/Hackage/Security/Trusted.o, dist/build/Hackage/Security/Trusted.dyn_o )
[37 of 43] Compiling Hackage.Security.Client.Repository ( src/Hackage/Security/Client/Repository.hs, dist/build/Hackage/Security/Client/Repository.o, dist/build/Hackage/Security/Client/Repository.dyn_o )
src/Hackage/Security/Client/Repository.hs:66:20: warning: [GHC-39567] [-Wstar-is-type]
Using ‘*’ (or its Unicode variant) to mean ‘Data.Kind.Type’
relies on the StarIsType extension, which will become
deprecated in the future.
Suggested fix: Use ‘Type’ from ‘Data.Kind’ instead.
 |
66 | data RemoteFile :: * -> * -> * where
 | ^
src/Hackage/Security/Client/Repository.hs:66:25: warning: [GHC-39567] [-Wstar-is-type]
Using ‘*’ (or its Unicode variant) to mean ‘Data.Kind.Type’
relies on the StarIsType extension, which will become
deprecated in the future.
Suggested fix: Use ‘Type’ from ‘Data.Kind’ instead.
 |
66 | data RemoteFile :: * -> * -> * where
 | ^
src/Hackage/Security/Client/Repository.hs:66:30: warning: [GHC-39567] [-Wstar-is-type]
Using ‘*’ (or its Unicode variant) to mean ‘Data.Kind.Type’
relies on the StarIsType extension, which will become
deprecated in the future.
Suggested fix: Use ‘Type’ from ‘Data.Kind’ instead.
 |
66 | data RemoteFile :: * -> * -> * where
 | ^
src/Hackage/Security/Client/Repository.hs:364:31: warning: [GHC-39567] [-Wstar-is-type]
Using ‘*’ (or its Unicode variant) to mean ‘Data.Kind.Type’
relies on the StarIsType extension, which will become
deprecated in the future.
Suggested fix: Use ‘Type’ from ‘Data.Kind’ instead.
 |
364 | class DownloadedFile (down :: * -> *) where
 | ^
src/Hackage/Security/Client/Repository.hs:364:36: warning: [GHC-39567] [-Wstar-is-type]
Using ‘*’ (or its Unicode variant) to mean ‘Data.Kind.Type’
relies on the StarIsType extension, which will become
deprecated in the future.
Suggested fix: Use ‘Type’ from ‘Data.Kind’ instead.
 |
364 | class DownloadedFile (down :: * -> *) where
 | ^
src/Hackage/Security/Client/Repository.hs:384:25: warning: [GHC-39567] [-Wstar-is-type]
Using ‘*’ (or its Unicode variant) to mean ‘Data.Kind.Type’
relies on the StarIsType extension, which will become
deprecated in the future.
Suggested fix: Use ‘Type’ from ‘Data.Kind’ instead.
 |
384 | data SomeRemoteError :: * where
 | ^
src/Hackage/Security/Client/Repository.hs:427:18: warning: [GHC-39567] [-Wstar-is-type]
Using ‘*’ (or its Unicode variant) to mean ‘Data.Kind.Type’
relies on the StarIsType extension, which will become
deprecated in the future.
Suggested fix: Use ‘Type’ from ‘Data.Kind’ instead.
 |
427 | data IsCached :: * -> * where
 | ^
src/Hackage/Security/Client/Repository.hs:427:23: warning: [GHC-39567] [-Wstar-is-type]
Using ‘*’ (or its Unicode variant) to mean ‘Data.Kind.Type’
relies on the StarIsType extension, which will become
deprecated in the future.
Suggested fix: Use ‘Type’ from ‘Data.Kind’ instead.
 |
427 | data IsCached :: * -> * where
 | ^
[38 of 43] Compiling Hackage.Security.Client.Repository.HttpLib ( src/Hackage/Security/Client/Repository/HttpLib.hs, dist/build/Hackage/Security/Client/Repository/HttpLib.o, dist/build/Hackage/Security/Client/Repository/HttpLib.dyn_o )
[39 of 43] Compiling Hackage.Security.Client.Repository.Cache ( src/Hackage/Security/Client/Repository/Cache.hs, dist/build/Hackage/Security/Client/Repository/Cache.o, dist/build/Hackage/Security/Client/Repository/Cache.dyn_o )
[40 of 43] Compiling Hackage.Security.Client.Repository.Remote ( src/Hackage/Security/Client/Repository/Remote.hs, dist/build/Hackage/Security/Client/Repository/Remote.o, dist/build/Hackage/Security/Client/Repository/Remote.dyn_o )
src/Hackage/Security/Client/Repository/Remote.hs:241:33: warning: [-Wunused-record-wildcards]
No variables bound in the record wildcard match are used
Possible fix: omit the ‘..’
 |
241 | httpRequestHeaders RemoteConfig{..} attemptNr =
 | ^^
src/Hackage/Security/Client/Repository/Remote.hs:259:20: warning: [-Wunused-record-wildcards]
No variables bound in the record wildcard match are used
Possible fix: omit the ‘..’
 |
259 | withMirror HttpLib{..}
 | ^^
src/Hackage/Security/Client/Repository/Remote.hs:303:24: warning: [GHC-39567] [-Wstar-is-type]
Using ‘*’ (or its Unicode variant) to mean ‘Data.Kind.Type’
relies on the StarIsType extension, which will become
deprecated in the future.
Suggested fix: Use ‘Type’ from ‘Data.Kind’ instead.
 |
303 | data DownloadMethod :: * -> * -> * where
 | ^
src/Hackage/Security/Client/Repository/Remote.hs:303:29: warning: [GHC-39567] [-Wstar-is-type]
Using ‘*’ (or its Unicode variant) to mean ‘Data.Kind.Type’
relies on the StarIsType extension, which will become
deprecated in the future.
Suggested fix: Use ‘Type’ from ‘Data.Kind’ instead.
 |
303 | data DownloadMethod :: * -> * -> * where
 | ^
src/Hackage/Security/Client/Repository/Remote.hs:303:34: warning: [GHC-39567] [-Wstar-is-type]
Using ‘*’ (or its Unicode variant) to mean ‘Data.Kind.Type’
relies on the StarIsType extension, which will become
deprecated in the future.
Suggested fix: Use ‘Type’ from ‘Data.Kind’ instead.
 |
303 | data DownloadMethod :: * -> * -> * where
 | ^
src/Hackage/Security/Client/Repository/Remote.hs:603:20: warning: [GHC-39567] [-Wstar-is-type]
Using ‘*’ (or its Unicode variant) to mean ‘Data.Kind.Type’
relies on the StarIsType extension, which will become
deprecated in the future.
Suggested fix: Use ‘Type’ from ‘Data.Kind’ instead.
 |
603 | data RemoteTemp :: * -> * where
 | ^
src/Hackage/Security/Client/Repository/Remote.hs:603:25: warning: [GHC-39567] [-Wstar-is-type]
Using ‘*’ (or its Unicode variant) to mean ‘Data.Kind.Type’
relies on the StarIsType extension, which will become
deprecated in the future.
Suggested fix: Use ‘Type’ from ‘Data.Kind’ instead.
 |
603 | data RemoteTemp :: * -> * where
 | ^
[41 of 43] Compiling Hackage.Security.Client.Repository.Local ( src/Hackage/Security/Client/Repository/Local.hs, dist/build/Hackage/Security/Client/Repository/Local.o, dist/build/Hackage/Security/Client/Repository/Local.dyn_o )
[42 of 43] Compiling Hackage.Security.Server ( src/Hackage/Security/Server.hs, dist/build/Hackage/Security/Server.o, dist/build/Hackage/Security/Server.dyn_o )
[43 of 43] Compiling Hackage.Security.Client ( src/Hackage/Security/Client.hs, dist/build/Hackage/Security/Client.o, dist/build/Hackage/Security/Client.dyn_o )
src/Hackage/Security/Client.hs:386:30: warning: [-Wunused-record-wildcards]
No variables bound in the record wildcard match are used
Possible fix: omit the ‘..’
 |
386 | getRemoteFile rep@Repository{..} cachedInfo@CachedInfo{..} isRetry mNow file = do
 | ^^
[ 1 of 43] Compiling MyPrelude ( src/MyPrelude.hs, dist/build/MyPrelude.p_o )
[ 2 of 43] Compiling Hackage.Security.Util.TypedEmbedded ( src/Hackage/Security/Util/TypedEmbedded.hs, dist/build/Hackage/Security/Util/TypedEmbedded.p_o )
src/Hackage/Security/Util/TypedEmbedded.hs:19:26: warning: [GHC-39567] [-Wstar-is-type]
Using ‘*’ (or its Unicode variant) to mean ‘Data.Kind.Type’
relies on the StarIsType extension, which will become
deprecated in the future.
Suggested fix: Use ‘Type’ from ‘Data.Kind’ instead.
 |
19 | type family TypeOf (f :: * -> *) :: * -> *
 | ^
src/Hackage/Security/Util/TypedEmbedded.hs:19:31: warning: [GHC-39567] [-Wstar-is-type]
Using ‘*’ (or its Unicode variant) to mean ‘Data.Kind.Type’
relies on the StarIsType extension, which will become
deprecated in the future.
Suggested fix: Use ‘Type’ from ‘Data.Kind’ instead.
 |
19 | type family TypeOf (f :: * -> *) :: * -> *
 | ^
src/Hackage/Security/Util/TypedEmbedded.hs:19:37: warning: [GHC-39567] [-Wstar-is-type]
Using ‘*’ (or its Unicode variant) to mean ‘Data.Kind.Type’
relies on the StarIsType extension, which will become
deprecated in the future.
Suggested fix: Use ‘Type’ from ‘Data.Kind’ instead.
 |
19 | type family TypeOf (f :: * -> *) :: * -> *
 | ^
src/Hackage/Security/Util/TypedEmbedded.hs:19:42: warning: [GHC-39567] [-Wstar-is-type]
Using ‘*’ (or its Unicode variant) to mean ‘Data.Kind.Type’
relies on the StarIsType extension, which will become
deprecated in the future.
Suggested fix: Use ‘Type’ from ‘Data.Kind’ instead.
 |
19 | type family TypeOf (f :: * -> *) :: * -> *
 | ^
[ 3 of 43] Compiling Hackage.Security.Util.Stack ( src/Hackage/Security/Util/Stack.hs, dist/build/Hackage/Security/Util/Stack.p_o )
[ 4 of 43] Compiling Hackage.Security.Util.Pretty ( src/Hackage/Security/Util/Pretty.hs, dist/build/Hackage/Security/Util/Pretty.p_o )
[ 5 of 43] Compiling Hackage.Security.Util.Some ( src/Hackage/Security/Util/Some.hs, dist/build/Hackage/Security/Util/Some.p_o )
[ 6 of 43] Compiling Hackage.Security.Util.Path ( src/Hackage/Security/Util/Path.hs, dist/build/Hackage/Security/Util/Path.p_o )
[ 7 of 43] Compiling Hackage.Security.Util.Lens ( src/Hackage/Security/Util/Lens.hs, dist/build/Hackage/Security/Util/Lens.p_o )
[ 8 of 43] Compiling Hackage.Security.Util.IO ( src/Hackage/Security/Util/IO.hs, dist/build/Hackage/Security/Util/IO.p_o )
[ 9 of 43] Compiling Hackage.Security.Util.Exit ( src/Hackage/Security/Util/Exit.hs, dist/build/Hackage/Security/Util/Exit.p_o )
[10 of 43] Compiling Hackage.Security.Util.Checked ( src/Hackage/Security/Util/Checked.hs, dist/build/Hackage/Security/Util/Checked.p_o )
[11 of 43] Compiling Hackage.Security.TUF.Paths ( src/Hackage/Security/TUF/Paths.hs, dist/build/Hackage/Security/TUF/Paths.p_o )
[12 of 43] Compiling Hackage.Security.TUF.Layout.Repo ( src/Hackage/Security/TUF/Layout/Repo.hs, dist/build/Hackage/Security/TUF/Layout/Repo.p_o )
[13 of 43] Compiling Hackage.Security.TUF.Layout.Cache ( src/Hackage/Security/TUF/Layout/Cache.hs, dist/build/Hackage/Security/TUF/Layout/Cache.p_o )
[14 of 43] Compiling Hackage.Security.Client.Verify ( src/Hackage/Security/Client/Verify.hs, dist/build/Hackage/Security/Client/Verify.p_o )
[15 of 43] Compiling Hackage.Security.Client.Formats ( src/Hackage/Security/Client/Formats.hs, dist/build/Hackage/Security/Client/Formats.p_o )
src/Hackage/Security/Client/Formats.hs:34:16: warning: [GHC-39567] [-Wstar-is-type]
Using ‘*’ (or its Unicode variant) to mean ‘Data.Kind.Type’
relies on the StarIsType extension, which will become
deprecated in the future.
Suggested fix: Use ‘Type’ from ‘Data.Kind’ instead.
 |
34 | data Format :: * -> * where
 | ^
src/Hackage/Security/Client/Formats.hs:34:21: warning: [GHC-39567] [-Wstar-is-type]
Using ‘*’ (or its Unicode variant) to mean ‘Data.Kind.Type’
relies on the StarIsType extension, which will become
deprecated in the future.
Suggested fix: Use ‘Type’ from ‘Data.Kind’ instead.
 |
34 | data Format :: * -> * where
 | ^
src/Hackage/Security/Client/Formats.hs:58:17: warning: [GHC-39567] [-Wstar-is-type]
Using ‘*’ (or its Unicode variant) to mean ‘Data.Kind.Type’
relies on the StarIsType extension, which will become
deprecated in the future.
Suggested fix: Use ‘Type’ from ‘Data.Kind’ instead.
 |
58 | data Formats :: * -> * -> * where
 | ^
src/Hackage/Security/Client/Formats.hs:58:22: warning: [GHC-39567] [-Wstar-is-type]
Using ‘*’ (or its Unicode variant) to mean ‘Data.Kind.Type’
relies on the StarIsType extension, which will become
deprecated in the future.
Suggested fix: Use ‘Type’ from ‘Data.Kind’ instead.
 |
58 | data Formats :: * -> * -> * where
 | ^
src/Hackage/Security/Client/Formats.hs:58:27: warning: [GHC-39567] [-Wstar-is-type]
Using ‘*’ (or its Unicode variant) to mean ‘Data.Kind.Type’
relies on the StarIsType extension, which will become
deprecated in the future.
Suggested fix: Use ‘Type’ from ‘Data.Kind’ instead.
 |
58 | data Formats :: * -> * -> * where
 | ^
src/Hackage/Security/Client/Formats.hs:77:19: warning: [GHC-39567] [-Wstar-is-type]
Using ‘*’ (or its Unicode variant) to mean ‘Data.Kind.Type’
relies on the StarIsType extension, which will become
deprecated in the future.
Suggested fix: Use ‘Type’ from ‘Data.Kind’ instead.
 |
77 | data HasFormat :: * -> * -> * where
 | ^
src/Hackage/Security/Client/Formats.hs:77:24: warning: [GHC-39567] [-Wstar-is-type]
Using ‘*’ (or its Unicode variant) to mean ‘Data.Kind.Type’
relies on the StarIsType extension, which will become
deprecated in the future.
Suggested fix: Use ‘Type’ from ‘Data.Kind’ instead.
 |
77 | data HasFormat :: * -> * -> * where
 | ^
src/Hackage/Security/Client/Formats.hs:77:29: warning: [GHC-39567] [-Wstar-is-type]
Using ‘*’ (or its Unicode variant) to mean ‘Data.Kind.Type’
relies on the StarIsType extension, which will become
deprecated in the future.
Suggested fix: Use ‘Type’ from ‘Data.Kind’ instead.
 |
77 | data HasFormat :: * -> * -> * where
 | ^
[16 of 43] Compiling Text.JSON.Canonical ( src/Text/JSON/Canonical.hs, dist/build/Text/JSON/Canonical.p_o )
[17 of 43] Compiling Hackage.Security.Util.JSON ( src/Hackage/Security/Util/JSON.hs, dist/build/Hackage/Security/Util/JSON.p_o )
[18 of 43] Compiling Hackage.Security.Util.Base64 ( src/Hackage/Security/Util/Base64.hs, dist/build/Hackage/Security/Util/Base64.p_o )
[19 of 43] Compiling Hackage.Security.Key ( src/Hackage/Security/Key.hs, dist/build/Hackage/Security/Key.p_o )
[20 of 43] Compiling Hackage.Security.Key.Env ( src/Hackage/Security/Key/Env.hs, dist/build/Hackage/Security/Key/Env.p_o )
[21 of 43] Compiling Hackage.Security.JSON ( src/Hackage/Security/JSON.hs, dist/build/Hackage/Security/JSON.p_o )
[22 of 43] Compiling Hackage.Security.TUF.Signed ( src/Hackage/Security/TUF/Signed.hs, dist/build/Hackage/Security/TUF/Signed.p_o )
[23 of 43] Compiling Hackage.Security.TUF.Patterns ( src/Hackage/Security/TUF/Patterns.hs, dist/build/Hackage/Security/TUF/Patterns.p_o )
src/Hackage/Security/TUF/Patterns.hs:133:44: warning: [GHC-62161] [-Wincomplete-uni-patterns]
Pattern match(es) are non-exhaustive
In a pattern binding:
Patterns of type ‘(String, String)’ not matched: (_, [])
 |
133 | go [f] (PatFileExt e') = do let (bn, _:e) = splitExtension f
 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/Hackage/Security/TUF/Patterns.hs:351:5: warning: [GHC-62161] [-Wincomplete-uni-patterns]
Pattern match(es) are non-exhaustive
In a pattern binding:
Patterns of type ‘Either String Delegation’ not matched: Left _
 |
351 | Right del = parseDelegation "A/*/*/*.foo" "B/*/C/*/*.bar"
 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[24 of 43] Compiling Hackage.Security.TUF.Header ( src/Hackage/Security/TUF/Header.hs, dist/build/Hackage/Security/TUF/Header.p_o )
[25 of 43] Compiling Hackage.Security.TUF.Mirrors ( src/Hackage/Security/TUF/Mirrors.hs, dist/build/Hackage/Security/TUF/Mirrors.p_o )
[26 of 43] Compiling Hackage.Security.TUF.Common ( src/Hackage/Security/TUF/Common.hs, dist/build/Hackage/Security/TUF/Common.p_o )
[27 of 43] Compiling Hackage.Security.TUF.FileInfo ( src/Hackage/Security/TUF/FileInfo.hs, dist/build/Hackage/Security/TUF/FileInfo.p_o )
[28 of 43] Compiling Hackage.Security.TUF.FileMap ( src/Hackage/Security/TUF/FileMap.hs, dist/build/Hackage/Security/TUF/FileMap.p_o )
[29 of 43] Compiling Hackage.Security.TUF.Timestamp ( src/Hackage/Security/TUF/Timestamp.hs, dist/build/Hackage/Security/TUF/Timestamp.p_o )
[30 of 43] Compiling Hackage.Security.TUF.Targets ( src/Hackage/Security/TUF/Targets.hs, dist/build/Hackage/Security/TUF/Targets.p_o )
[31 of 43] Compiling Hackage.Security.TUF.Layout.Index ( src/Hackage/Security/TUF/Layout/Index.hs, dist/build/Hackage/Security/TUF/Layout/Index.p_o )
src/Hackage/Security/TUF/Layout/Index.hs:46:19: warning: [GHC-39567] [-Wstar-is-type]
Using ‘*’ (or its Unicode variant) to mean ‘Data.Kind.Type’
relies on the StarIsType extension, which will become
deprecated in the future.
Suggested fix: Use ‘Type’ from ‘Data.Kind’ instead.
 |
46 | data IndexFile :: * -> * where
 | ^
src/Hackage/Security/TUF/Layout/Index.hs:46:24: warning: [GHC-39567] [-Wstar-is-type]
Using ‘*’ (or its Unicode variant) to mean ‘Data.Kind.Type’
relies on the StarIsType extension, which will become
deprecated in the future.
Suggested fix: Use ‘Type’ from ‘Data.Kind’ instead.
 |
46 | data IndexFile :: * -> * where
 | ^
[32 of 43] Compiling Hackage.Security.TUF.Snapshot ( src/Hackage/Security/TUF/Snapshot.hs, dist/build/Hackage/Security/TUF/Snapshot.p_o )
[33 of 43] Compiling Hackage.Security.TUF.Root ( src/Hackage/Security/TUF/Root.hs, dist/build/Hackage/Security/TUF/Root.p_o )
[34 of 43] Compiling Hackage.Security.TUF ( src/Hackage/Security/TUF.hs, dist/build/Hackage/Security/TUF.p_o )
[35 of 43] Compiling Hackage.Security.Trusted.TCB ( src/Hackage/Security/Trusted/TCB.hs, dist/build/Hackage/Security/Trusted/TCB.p_o )
[36 of 43] Compiling Hackage.Security.Trusted ( src/Hackage/Security/Trusted.hs, dist/build/Hackage/Security/Trusted.p_o )
[37 of 43] Compiling Hackage.Security.Client.Repository ( src/Hackage/Security/Client/Repository.hs, dist/build/Hackage/Security/Client/Repository.p_o )
src/Hackage/Security/Client/Repository.hs:66:20: warning: [GHC-39567] [-Wstar-is-type]
Using ‘*’ (or its Unicode variant) to mean ‘Data.Kind.Type’
relies on the StarIsType extension, which will become
deprecated in the future.
Suggested fix: Use ‘Type’ from ‘Data.Kind’ instead.
 |
66 | data RemoteFile :: * -> * -> * where
 | ^
src/Hackage/Security/Client/Repository.hs:66:25: warning: [GHC-39567] [-Wstar-is-type]
Using ‘*’ (or its Unicode variant) to mean ‘Data.Kind.Type’
relies on the StarIsType extension, which will become
deprecated in the future.
Suggested fix: Use ‘Type’ from ‘Data.Kind’ instead.
 |
66 | data RemoteFile :: * -> * -> * where
 | ^
src/Hackage/Security/Client/Repository.hs:66:30: warning: [GHC-39567] [-Wstar-is-type]
Using ‘*’ (or its Unicode variant) to mean ‘Data.Kind.Type’
relies on the StarIsType extension, which will become
deprecated in the future.
Suggested fix: Use ‘Type’ from ‘Data.Kind’ instead.
 |
66 | data RemoteFile :: * -> * -> * where
 | ^
src/Hackage/Security/Client/Repository.hs:364:31: warning: [GHC-39567] [-Wstar-is-type]
Using ‘*’ (or its Unicode variant) to mean ‘Data.Kind.Type’
relies on the StarIsType extension, which will become
deprecated in the future.
Suggested fix: Use ‘Type’ from ‘Data.Kind’ instead.
 |
364 | class DownloadedFile (down :: * -> *) where
 | ^
src/Hackage/Security/Client/Repository.hs:364:36: warning: [GHC-39567] [-Wstar-is-type]
Using ‘*’ (or its Unicode variant) to mean ‘Data.Kind.Type’
relies on the StarIsType extension, which will become
deprecated in the future.
Suggested fix: Use ‘Type’ from ‘Data.Kind’ instead.
 |
364 | class DownloadedFile (down :: * -> *) where
 | ^
src/Hackage/Security/Client/Repository.hs:384:25: warning: [GHC-39567] [-Wstar-is-type]
Using ‘*’ (or its Unicode variant) to mean ‘Data.Kind.Type’
relies on the StarIsType extension, which will become
deprecated in the future.
Suggested fix: Use ‘Type’ from ‘Data.Kind’ instead.
 |
384 | data SomeRemoteError :: * where
 | ^
src/Hackage/Security/Client/Repository.hs:427:18: warning: [GHC-39567] [-Wstar-is-type]
Using ‘*’ (or its Unicode variant) to mean ‘Data.Kind.Type’
relies on the StarIsType extension, which will become
deprecated in the future.
Suggested fix: Use ‘Type’ from ‘Data.Kind’ instead.
 |
427 | data IsCached :: * -> * where
 | ^
src/Hackage/Security/Client/Repository.hs:427:23: warning: [GHC-39567] [-Wstar-is-type]
Using ‘*’ (or its Unicode variant) to mean ‘Data.Kind.Type’
relies on the StarIsType extension, which will become
deprecated in the future.
Suggested fix: Use ‘Type’ from ‘Data.Kind’ instead.
 |
427 | data IsCached :: * -> * where
 | ^
[38 of 43] Compiling Hackage.Security.Client.Repository.HttpLib ( src/Hackage/Security/Client/Repository/HttpLib.hs, dist/build/Hackage/Security/Client/Repository/HttpLib.p_o )
[39 of 43] Compiling Hackage.Security.Client.Repository.Cache ( src/Hackage/Security/Client/Repository/Cache.hs, dist/build/Hackage/Security/Client/Repository/Cache.p_o )
[40 of 43] Compiling Hackage.Security.Client.Repository.Remote ( src/Hackage/Security/Client/Repository/Remote.hs, dist/build/Hackage/Security/Client/Repository/Remote.p_o )
src/Hackage/Security/Client/Repository/Remote.hs:241:33: warning: [-Wunused-record-wildcards]
No variables bound in the record wildcard match are used
Possible fix: omit the ‘..’
 |
241 | httpRequestHeaders RemoteConfig{..} attemptNr =
 | ^^
src/Hackage/Security/Client/Repository/Remote.hs:259:20: warning: [-Wunused-record-wildcards]
No variables bound in the record wildcard match are used
Possible fix: omit the ‘..’
 |
259 | withMirror HttpLib{..}
 | ^^
src/Hackage/Security/Client/Repository/Remote.hs:303:24: warning: [GHC-39567] [-Wstar-is-type]
Using ‘*’ (or its Unicode variant) to mean ‘Data.Kind.Type’
relies on the StarIsType extension, which will become
deprecated in the future.
Suggested fix: Use ‘Type’ from ‘Data.Kind’ instead.
 |
303 | data DownloadMethod :: * -> * -> * where
 | ^
src/Hackage/Security/Client/Repository/Remote.hs:303:29: warning: [GHC-39567] [-Wstar-is-type]
Using ‘*’ (or its Unicode variant) to mean ‘Data.Kind.Type’
relies on the StarIsType extension, which will become
deprecated in the future.
Suggested fix: Use ‘Type’ from ‘Data.Kind’ instead.
 |
303 | data DownloadMethod :: * -> * -> * where
 | ^
src/Hackage/Security/Client/Repository/Remote.hs:303:34: warning: [GHC-39567] [-Wstar-is-type]
Using ‘*’ (or its Unicode variant) to mean ‘Data.Kind.Type’
relies on the StarIsType extension, which will become
deprecated in the future.
Suggested fix: Use ‘Type’ from ‘Data.Kind’ instead.
 |
303 | data DownloadMethod :: * -> * -> * where
 | ^
src/Hackage/Security/Client/Repository/Remote.hs:603:20: warning: [GHC-39567] [-Wstar-is-type]
Using ‘*’ (or its Unicode variant) to mean ‘Data.Kind.Type’
relies on the StarIsType extension, which will become
deprecated in the future.
Suggested fix: Use ‘Type’ from ‘Data.Kind’ instead.
 |
603 | data RemoteTemp :: * -> * where
 | ^
src/Hackage/Security/Client/Repository/Remote.hs:603:25: warning: [GHC-39567] [-Wstar-is-type]
Using ‘*’ (or its Unicode variant) to mean ‘Data.Kind.Type’
relies on the StarIsType extension, which will become
deprecated in the future.
Suggested fix: Use ‘Type’ from ‘Data.Kind’ instead.
 |
603 | data RemoteTemp :: * -> * where
 | ^
[41 of 43] Compiling Hackage.Security.Client.Repository.Local ( src/Hackage/Security/Client/Repository/Local.hs, dist/build/Hackage/Security/Client/Repository/Local.p_o )
[42 of 43] Compiling Hackage.Security.Server ( src/Hackage/Security/Server.hs, dist/build/Hackage/Security/Server.p_o )
[43 of 43] Compiling Hackage.Security.Client ( src/Hackage/Security/Client.hs, dist/build/Hackage/Security/Client.p_o )
src/Hackage/Security/Client.hs:386:30: warning: [-Wunused-record-wildcards]
No variables bound in the record wildcard match are used
Possible fix: omit the ‘..’
 |
386 | getRemoteFile rep@Repository{..} cachedInfo@CachedInfo{..} isRetry mNow file = do
 | ^^
Preprocessing test suite 'TestSuite' for hackage-security-0.6.2.4..
Building test suite 'TestSuite' for hackage-security-0.6.2.4..
[1 of 8] Compiling TestSuite.JSON ( tests/TestSuite/JSON.hs, dist/build/TestSuite/TestSuite-tmp/TestSuite/JSON.o )
tests/TestSuite/JSON.hs:14:1: warning: [-Wunused-imports]
The import of ‘Control.Applicative’ is redundant
except perhaps to import instances from ‘Control.Applicative’
To import instances alone, use: import Control.Applicative()
 |
14 | import Control.Applicative
 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
[2 of 8] Compiling TestSuite.PrivateKeys ( tests/TestSuite/PrivateKeys.hs, dist/build/TestSuite/TestSuite-tmp/TestSuite/PrivateKeys.o )
[3 of 8] Compiling TestSuite.Util.StrictMVar ( tests/TestSuite/Util/StrictMVar.hs, dist/build/TestSuite/TestSuite-tmp/TestSuite/Util/StrictMVar.o )
[4 of 8] Compiling TestSuite.InMemRepo ( tests/TestSuite/InMemRepo.hs, dist/build/TestSuite/TestSuite-tmp/TestSuite/InMemRepo.o )
tests/TestSuite/InMemRepo.hs:36:19: warning: [GHC-39567] [-Wstar-is-type]
Using ‘*’ (or its Unicode variant) to mean ‘Data.Kind.Type’
relies on the StarIsType extension, which will become
deprecated in the future.
Suggested fix: Use ‘Type’ from ‘Data.Kind’ instead.
 |
36 | data InMemFile :: * -> * where
 | ^
tests/TestSuite/InMemRepo.hs:36:24: warning: [GHC-39567] [-Wstar-is-type]
Using ‘*’ (or its Unicode variant) to mean ‘Data.Kind.Type’
relies on the StarIsType extension, which will become
deprecated in the future.
Suggested fix: Use ‘Type’ from ‘Data.Kind’ instead.
 |
36 | data InMemFile :: * -> * where
 | ^
[5 of 8] Compiling TestSuite.HttpMem ( tests/TestSuite/HttpMem.hs, dist/build/TestSuite/TestSuite-tmp/TestSuite/HttpMem.o )
[6 of 8] Compiling TestSuite.InMemCache ( tests/TestSuite/InMemCache.hs, dist/build/TestSuite/TestSuite-tmp/TestSuite/InMemCache.o )
[7 of 8] Compiling TestSuite.InMemRepository ( tests/TestSuite/InMemRepository.hs, dist/build/TestSuite/TestSuite-tmp/TestSuite/InMemRepository.o )
[8 of 8] Compiling Main ( tests/TestSuite.hs, dist/build/TestSuite/TestSuite-tmp/Main.o )
tests/TestSuite.hs:269:9: warning: [GHC-62161] [-Wincomplete-uni-patterns]
Pattern match(es) are non-exhaustive
In a pattern binding:
Patterns of type ‘Either String Tar.TarPath’ not matched: Left _
 |
269 | Right path = Tar.toTarPath False "foo/preferred-versions"
 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[9 of 9] Linking dist/build/TestSuite/TestSuite
buildPhase completed in 39 seconds
Running phase: checkPhase
@nix { "action": "setPhase", "phase": "checkPhase" }
Running 1 test suites...
Test suite TestSuite: RUNNING...
hackage-security
InMem
testInMemInitialHasForUpdates: OK (0.04s)
testInMemNoUpdates: OK (0.04s)
testInMemUpdatesAfterCron: OK (0.06s)
testInMemKeyRollover: OK (0.05s)
testInMemOutdatedTimestamp: OK (0.07s)
testInMemIndex: OK (0.04s)
HttpMem
testHttpMemInitialHasForUpdates: FAIL
Exception: fdLock: invalid argument (Invalid argument)
Use -p '/testHttpMemInitialHasForUpdates/' to rerun this test only.
testHttpMemNoUpdates: FAIL
Exception: fdLock: invalid argument (Invalid argument)
Use -p '/testHttpMemNoUpdates/' to rerun this test only.
testHttpMemUpdatesAfterCron: FAIL
Exception: fdLock: invalid argument (Invalid argument)
Use -p '/testHttpMemUpdatesAfterCron/' to rerun this test only.
testHttpMemKeyRollover: FAIL
Exception: hUnlock: invalid argument (Invalid argument)
Use -p '/testHttpMemKeyRollover/' to rerun this test only.
testHttpMemOutdatedTimestamp: FAIL
Exception: fdLock: invalid argument (Invalid argument)
Use -p '/testHttpMemOutdatedTimestamp/' to rerun this test only.
testHttpMemIndex: FAIL
Exception: fdLock: invalid argument (Invalid argument)
Use -p '/testHttpMemIndex/' to rerun this test only.
Canonical JSON
prop_roundtrip_canonical: OK (0.12s)
+++ OK, passed 100 tests.
prop_roundtrip_pretty: OK (0.20s)
+++ OK, passed 100 tests.
prop_canonical_pretty: OK (0.54s)
+++ OK, passed 100 tests.
prop_aeson_canonical: OK (0.12s)
+++ OK, passed 100 tests.
6 out of 16 tests failed (1.33s)
Test suite TestSuite: FAIL
Test suite logged to: dist/test/hackage-security-0.6.2.4-TestSuite.log
0 of 1 test suites (0 of 1 test cases) passed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment