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-, base-, bytestring-, http-client-0.7.9, http-client-tls-, http-types-0.12.3, jwt-0.10.0, mtl-2.2.2, scientific-, text-, time-1.9.3, transformers-, unliftio-0.2.20, unliftio-core-
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-
Completed    appar-0.1.8
Starting     basement-0.0.12
Building     base64-bytestring-
Building     basement-0.0.12
Completed    base64-bytestring-
Starting     blaze-builder-
Building     blaze-builder-
Completed    base-orphans-0.8.5
Starting     byteorder-1.0.4
Building     byteorder-1.0.4
Completed    base-compat-0.12.0
Starting     cereal-
Building     cereal-
Completed    byteorder-1.0.4
Starting     data-default-class-
Building     data-default-class-
Completed    blaze-builder-
Starting     dlist-1.0
Building     dlist-1.0
Completed    data-default-class-
Starting     hashable-
Building     hashable-
Completed    dlist-1.0
Starting     hourglass-0.2.12
Completed    cereal-
Starting     indexed-traversable-0.1.1
Building     hourglass-0.2.12
Completed    hashable-
Starting     integer-logarithms-
Building     indexed-traversable-0.1.1
Building     integer-logarithms-
Completed    integer-logarithms-
Starting     mime-types-
Building     mime-types-
Completed    indexed-traversable-0.1.1
Starting     network-
Completed    hourglass-0.2.12
Starting     primitive-
Building     network-
Building     primitive-
Completed    mime-types-
Starting     semigroups-0.19.2
Building     semigroups-0.19.2
Completed    semigroups-0.19.2
Starting     splitmix-
Building     splitmix-
Completed    splitmix-
Starting     tagged-
Building     tagged-
Completed    tagged-
Starting     th-abstraction-
Building     th-abstraction-
Completed    network-
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-
Starting     unliftio-core-
Building     transformers-compat-0.7
Building     unliftio-core-
Completed    th-abstraction-
Starting     zlib-
Completed    unliftio-core-
Starting     contravariant-1.5.5
Building     zlib-
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-
Building     unordered-containers-
Completed    zlib-
Starting     time-compat-
Building     time-compat-
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-
Building     case-insensitive-
Completed    data-fix-0.3.2
Starting     async-2.2.4
Building     async-2.2.4
Completed    time-compat-
Starting     random-1.2.1
Completed    case-insensitive-
Starting     distributive-
Building     random-1.2.1
Building     distributive-
Completed    async-2.2.4
Starting     iproute-1.7.11
Building     iproute-1.7.11
Completed    distributive-
Starting     network-uri-
Building     network-uri-
Completed    unordered-containers-
Starting     vector-
Building     vector-
Completed    iproute-1.7.11
Starting     scientific-
Completed    network-uri-
Starting     socks-0.6.1
Building     scientific-
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-
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-
Building     streaming-commons-
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-
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-
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-
Building     witherable-0.4.1
Building     these-
Completed    these-
Starting     asn1-parse-0.9.5
Building     asn1-parse-0.9.5
Completed    witherable-0.4.1
Starting     strict-
Building     strict-
Completed    asn1-parse-0.9.5
Completed    semigroupoids-5.3.6
Starting     semialign-1.2
Building     semialign-1.2
Completed    strict-
Completed    semialign-1.2
Starting     aeson-
Building     aeson-
Completed    cryptonite-0.29
Starting     x509-1.7.5
Building     x509-1.7.5
Completed    aeson-
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-]
        Actual type: [(T.Text, Value)]
    " In the second argument of ($), namely
           [fmap ("iss" .=) iss, fmap ("sub" .=) sub,
            either ("aud" .=) ("aud" .=) <$> aud, fmap ("exp" .=) exp, ....]
               (unClaimsMap $ removeRegisteredClaims unregisteredClaims)
      In the expression:
          $ catMaybes
              [fmap ("iss" .=) iss, fmap ("sub" .=) sub,
               either ("aud" .=) ("aud" .=) <$> aud, fmap ("exp" .=) exp, ....]
                  (unClaimsMap $ removeRegisteredClaims unregisteredClaims)
      In an equation for toJSON:
          toJSON JWTClaimsSet {..}
            = object
                $ catMaybes
                    [fmap ("iss" .=) iss, fmap ("sub" .=) sub,
                     either ("aud" .=) ("aud" .=) <$> aud, ....]
                        (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