Build #2 for github-rest-1.1.1

[all reports]

Package github-rest-1.1.1
Install DependencyFailed github-rest-1.1.1
Docs NotTried
Tests NotTried
Time submitted 2021-10-10 03:25:57.258395329 UTC
Compiler ghc-8.10.2
OS linux
Arch x86_64
Dependencies aeson-2.0.1.0, base-4.14.1.0, bytestring-0.10.10.0, http-client-0.7.9, http-client-tls-0.3.5.3, http-types-0.12.3, jwt-0.10.0, mtl-2.2.2, scientific-0.3.7.0, text-1.2.3.2, time-1.9.3, transformers-0.5.6.2, unliftio-0.2.20, unliftio-core-0.2.0.1
Flags none

Code Coverage

No Code Coverage was submitted for this report.

Build log

[view raw]

Resolving dependencies...
Starting     appar-0.1.8
Starting     StateVar-1.2.2
Starting     base-orphans-0.8.5
Starting     base-compat-0.12.0
Building     StateVar-1.2.2
Building     base-orphans-0.8.5
Building     appar-0.1.8
Building     base-compat-0.12.0
Completed    StateVar-1.2.2
Starting     base64-bytestring-1.2.1.0
Completed    appar-0.1.8
Starting     basement-0.0.12
Building     base64-bytestring-1.2.1.0
Building     basement-0.0.12
Completed    base64-bytestring-1.2.1.0
Starting     blaze-builder-0.4.2.1
Building     blaze-builder-0.4.2.1
Completed    base-orphans-0.8.5
Starting     byteorder-1.0.4
Building     byteorder-1.0.4
Completed    base-compat-0.12.0
Starting     cereal-0.5.8.1
Building     cereal-0.5.8.1
Completed    byteorder-1.0.4
Starting     data-default-class-0.1.2.0
Building     data-default-class-0.1.2.0
Completed    blaze-builder-0.4.2.1
Starting     dlist-1.0
Building     dlist-1.0
Completed    data-default-class-0.1.2.0
Starting     hashable-1.3.4.1
Building     hashable-1.3.4.1
Completed    dlist-1.0
Starting     hourglass-0.2.12
Completed    cereal-0.5.8.1
Starting     indexed-traversable-0.1.1
Building     hourglass-0.2.12
Completed    hashable-1.3.4.1
Starting     integer-logarithms-1.0.3.1
Building     indexed-traversable-0.1.1
Building     integer-logarithms-1.0.3.1
Completed    integer-logarithms-1.0.3.1
Starting     mime-types-0.1.0.9
Building     mime-types-0.1.0.9
Completed    indexed-traversable-0.1.1
Starting     network-3.1.2.5
Completed    hourglass-0.2.12
Starting     primitive-0.7.2.0
Building     network-3.1.2.5
Building     primitive-0.7.2.0
Completed    mime-types-0.1.0.9
Starting     semigroups-0.19.2
Building     semigroups-0.19.2
Completed    semigroups-0.19.2
Starting     splitmix-0.1.0.3
Building     splitmix-0.1.0.3
Completed    splitmix-0.1.0.3
Starting     tagged-0.8.6.1
Building     tagged-0.8.6.1
Completed    tagged-0.8.6.1
Starting     th-abstraction-0.4.3.0
Building     th-abstraction-0.4.3.0
Completed    network-3.1.2.5
Starting     th-compat-0.1.3
Building     th-compat-0.1.3
Completed    th-compat-0.1.3
Starting     transformers-compat-0.7
Completed    primitive-0.7.2.0
Starting     unliftio-core-0.2.0.1
Building     transformers-compat-0.7
Building     unliftio-core-0.2.0.1
Completed    th-abstraction-0.4.3.0
Starting     zlib-0.6.2.3
Completed    unliftio-core-0.2.0.1
Starting     contravariant-1.5.5
Building     zlib-0.6.2.3
Building     contravariant-1.5.5
Completed    transformers-compat-0.7
Starting     base-compat-batteries-0.12.0
Building     base-compat-batteries-0.12.0
Completed    contravariant-1.5.5
Starting     cookie-0.4.5
Building     cookie-0.4.5
Completed    basement-0.0.12
Starting     unordered-containers-0.2.14.0
Building     unordered-containers-0.2.14.0
Completed    zlib-0.6.2.3
Starting     time-compat-1.9.6.1
Building     time-compat-1.9.6.1
Completed    cookie-0.4.5
Starting     data-fix-0.3.2
Building     data-fix-0.3.2
Completed    base-compat-batteries-0.12.0
Starting     case-insensitive-1.2.1.0
Building     case-insensitive-1.2.1.0
Completed    data-fix-0.3.2
Starting     async-2.2.4
Building     async-2.2.4
Completed    time-compat-1.9.6.1
Starting     random-1.2.1
Completed    case-insensitive-1.2.1.0
Starting     distributive-0.6.2.1
Building     random-1.2.1
Building     distributive-0.6.2.1
Completed    async-2.2.4
Starting     iproute-1.7.11
Building     iproute-1.7.11
Completed    distributive-0.6.2.1
Starting     network-uri-2.6.4.1
Building     network-uri-2.6.4.1
Completed    unordered-containers-0.2.14.0
Starting     vector-0.12.3.1
Building     vector-0.12.3.1
Completed    iproute-1.7.11
Starting     scientific-0.3.7.0
Completed    network-uri-2.6.4.1
Starting     socks-0.6.1
Building     scientific-0.3.7.0
Building     socks-0.6.1
Completed    random-1.2.1
Starting     memory-0.16.0
Building     memory-0.16.0
Completed    socks-0.6.1
Starting     http-types-0.12.3
Completed    scientific-0.3.7.0
Starting     unliftio-0.2.20
Building     http-types-0.12.3
Building     unliftio-0.2.20
Completed    http-types-0.12.3
Starting     comonad-5.0.8
Building     comonad-5.0.8
Completed    memory-0.16.0
Starting     uuid-types-1.0.5
Building     uuid-types-1.0.5
Completed    comonad-5.0.8
Starting     streaming-commons-0.2.2.1
Building     streaming-commons-0.2.2.1
Completed    unliftio-0.2.20
Starting     attoparsec-0.14.1
Building     attoparsec-0.14.1
Completed    uuid-types-1.0.5
Starting     pem-0.2.4
Building     pem-0.2.4
Completed    pem-0.2.4
Starting     cryptonite-0.29
Building     cryptonite-0.29
Completed    streaming-commons-0.2.2.1
Starting     asn1-types-0.3.4
Building     asn1-types-0.3.4
Completed    attoparsec-0.14.1
Starting     bifunctors-5.5.11
Completed    asn1-types-0.3.4
Starting     http-client-0.7.9
Building     bifunctors-5.5.11
Building     http-client-0.7.9
Completed    vector-0.12.3.1
Starting     asn1-encoding-0.9.6
Completed    http-client-0.7.9
Starting     indexed-traversable-instances-0.1
Building     asn1-encoding-0.9.6
Building     indexed-traversable-instances-0.1
Completed    bifunctors-5.5.11
Starting     semigroupoids-5.3.6
Building     semigroupoids-5.3.6
Completed    indexed-traversable-instances-0.1
Starting     assoc-1.0.2
Building     assoc-1.0.2
Completed    assoc-1.0.2
Starting     witherable-0.4.1
Completed    asn1-encoding-0.9.6
Starting     these-1.1.1.1
Building     witherable-0.4.1
Building     these-1.1.1.1
Completed    these-1.1.1.1
Starting     asn1-parse-0.9.5
Building     asn1-parse-0.9.5
Completed    witherable-0.4.1
Starting     strict-0.4.0.1
Building     strict-0.4.0.1
Completed    asn1-parse-0.9.5
Completed    semigroupoids-5.3.6
Starting     semialign-1.2
Building     semialign-1.2
Completed    strict-0.4.0.1
Completed    semialign-1.2
Starting     aeson-2.0.1.0
Building     aeson-2.0.1.0
Completed    cryptonite-0.29
Starting     x509-1.7.5
Building     x509-1.7.5
Completed    aeson-2.0.1.0
Completed    x509-1.7.5
Starting     x509-store-1.6.7
Building     x509-store-1.6.7
Completed    x509-store-1.6.7
Starting     x509-system-1.6.6
Starting     jwt-0.10.0
Starting     x509-validation-1.6.11
Building     x509-system-1.6.6
Building     x509-validation-1.6.11
Building     jwt-0.10.0
Failed to install jwt-0.10.0
Build log ( /home/builder/.cabal/logs/ghc-8.10.2/jwt-0.10.0-ajTU3rLOkS1XuZLA9wiiC.log ):
cabal: Entering directory '/tmp/cabal-tmp-7570/jwt-0.10.0'
Configuring jwt-0.10.0...
Preprocessing library for jwt-0.10.0..
Building library for jwt-0.10.0..
[1 of 3] Compiling Data.ByteString.Extended ( src/Data/ByteString/Extended.hs, dist/build/Data/ByteString/Extended.o, dist/build/Data/ByteString/Extended.dyn_o )
[2 of 3] Compiling Data.Text.Extended ( src/Data/Text/Extended.hs, dist/build/Data/Text/Extended.o, dist/build/Data/Text/Extended.dyn_o )
[3 of 3] Compiling Web.JWT          ( src/Web/JWT.hs, dist/build/Web/JWT.o, dist/build/Web/JWT.dyn_o )

src/Web/JWT.hs:510:15: error:
    " Couldn't match type Data.Aeson.KeyMap.KeyMap Value
                     with StrictMap.HashMap T.Text Value
      Expected type: Object -> ClaimsMap
        Actual type: StrictMap.HashMap T.Text Value -> ClaimsMap
    " In the expression: ClaimsMap . Map.fromList . StrictMap.toList
      In an equation for fromHashMap:
          fromHashMap = ClaimsMap . Map.fromList . StrictMap.toList
    |
510 | fromHashMap = ClaimsMap . Map.fromList . StrictMap.toList
    |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/Web/JWT.hs:518:40: error:
    " Couldn't match type T.Text with Key
      Expected type: [aeson-2.0.1.0:Data.Aeson.Types.Internal.Pair]
        Actual type: [(T.Text, Value)]
    " In the second argument of ($), namely
        catMaybes
           [fmap ("iss" .=) iss, fmap ("sub" .=) sub,
            either ("aud" .=) ("aud" .=) <$> aud, fmap ("exp" .=) exp, ....]
           ++
             Map.toList
               (unClaimsMap $ removeRegisteredClaims unregisteredClaims)
      In the expression:
        object
          $ catMaybes
              [fmap ("iss" .=) iss, fmap ("sub" .=) sub,
               either ("aud" .=) ("aud" .=) <$> aud, fmap ("exp" .=) exp, ....]
              ++
                Map.toList
                  (unClaimsMap $ removeRegisteredClaims unregisteredClaims)
      In an equation for toJSON:
          toJSON JWTClaimsSet {..}
            = object
                $ catMaybes
                    [fmap ("iss" .=) iss, fmap ("sub" .=) sub,
                     either ("aud" .=) ("aud" .=) <$> aud, ....]
                    ++
                      Map.toList
                        (unClaimsMap $ removeRegisteredClaims unregisteredClaims)
    |
518 |     toJSON JWTClaimsSet{..} = object $ catMaybes [
    |                                        ^^^^^^^^^^^...

src/Web/JWT.hs:533:54: error:
    " Couldn't match type Data.Aeson.KeyMap.KeyMap Value
                     with StrictMap.HashMap k0 Value
      Expected type: StrictMap.HashMap k0 Value
        Actual type: Object
    " In the second argument of StrictMap.lookup, namely o
      In the expression: StrictMap.lookup "aud" o
      In the second argument of (<*>), namely
        case StrictMap.lookup "aud" o of
           (Just as@(Array _)) -> Just <$> Right <$> parseJSON as
           (Just (String t)) -> pure $ Left <$> stringOrURI t
           _ -> pure Nothing
    |
533 |                      <*> case StrictMap.lookup "aud" o of
    |                                                      ^
cabal: Leaving directory '/tmp/cabal-tmp-7570/jwt-0.10.0'
Completed    x509-system-1.6.6
Completed    x509-validation-1.6.11
cabal: Error: some packages failed to install:
github-rest-1.1.1-CF7eQcQeGqABc8UxiDjEXR depends on github-rest-1.1.1 which
failed to install.
jwt-0.10.0-ajTU3rLOkS1XuZLA9wiiC failed during the building phase. The
exception was:
ExitFailure 1