Build #3 for serversession-backend-persistent-1.0.5

[all reports]

Package serversession-backend-persistent-1.0.5
Install BuildFailed
Docs NotTried
Tests NotTried
Time submitted 2021-02-14 11:04:13.1570037 UTC
Compiler ghc-8.10.2
OS linux
Arch x86_64
Dependencies aeson-1.5.5.1, base-4.14.1.0, base64-bytestring-1.0.0.3, bytestring-0.10.10.0, cereal-0.5.8.1, path-pieces-0.2.1, persistent-2.11.0.2, serversession-1.0.2, tagged-0.8.6.1, text-1.2.3.2, time-1.9.3, transformers-0.5.6.2, unordered-containers-0.2.13.0
Flags -lib-werror

Code Coverage

No Code Coverage was submitted for this report.

Build log

[view raw]

Resolving dependencies...
Starting     auto-update-0.1.6
Starting     base64-bytestring-1.0.0.3
Starting     base-orphans-0.8.4
Starting     base-compat-0.11.2
Building     auto-update-0.1.6
Building     base64-bytestring-1.0.0.3
Building     base-orphans-0.8.4
Building     base-compat-0.11.2
Completed    auto-update-0.1.6
Starting     blaze-builder-0.4.2.1
Building     blaze-builder-0.4.2.1
Completed    base64-bytestring-1.0.0.3
Starting     call-stack-0.3.0
Building     call-stack-0.3.0
Completed    call-stack-0.3.0
Starting     cereal-0.5.8.1
Building     cereal-0.5.8.1
Completed    base-orphans-0.8.4
Starting     clock-0.8.2
Building     clock-0.8.2
Completed    blaze-builder-0.4.2.1
Starting     colour-2.3.5
Completed    base-compat-0.11.2
Starting     data-default-class-0.1.2.0
Building     colour-2.3.5
Building     data-default-class-0.1.2.0
Completed    clock-0.8.2
Starting     dlist-1.0
Building     dlist-1.0
Completed    data-default-class-0.1.2.0
Starting     easy-file-0.2.2
Building     easy-file-0.2.2
Completed    easy-file-0.2.2
Starting     entropy-0.4.1.6
Completed    cereal-0.5.8.1
Starting     hashable-1.3.0.0
Completed    dlist-1.0
Starting     hspec-discover-2.7.8
Building     hashable-1.3.0.0
Building     hspec-discover-2.7.8
Completed    colour-2.3.5
Starting     indexed-traversable-0.1.1
Building     indexed-traversable-0.1.1
Building     entropy-0.4.1.6
Completed    hspec-discover-2.7.8
Starting     integer-logarithms-1.0.3.1
Completed    hashable-1.3.0.0
Starting     monad-loops-0.4.3
Building     integer-logarithms-1.0.3.1
Building     monad-loops-0.4.3
Completed    integer-logarithms-1.0.3.1
Starting     network-3.1.2.1
Completed    entropy-0.4.1.6
Starting     old-locale-1.0.0.7
Completed    monad-loops-0.4.3
Starting     path-pieces-0.2.1
Completed    indexed-traversable-0.1.1
Starting     primitive-0.7.1.0
Building     old-locale-1.0.0.7
Building     path-pieces-0.2.1
Building     primitive-0.7.1.0
Completed    old-locale-1.0.0.7
Starting     setenv-0.1.1.3
Building     network-3.1.2.1
Completed    path-pieces-0.2.1
Starting     silently-1.2.5.1
Building     setenv-0.1.1.3
Building     silently-1.2.5.1
Completed    setenv-0.1.1.3
Starting     split-0.2.3.4
Building     split-0.2.3.4
Completed    silently-1.2.5.1
Starting     splitmix-0.1.0.3
Building     splitmix-0.1.0.3
Completed    split-0.2.3.4
Starting     stm-chans-3.0.0.4
Completed    splitmix-0.1.0.3
Starting     tagged-0.8.6.1
Building     tagged-0.8.6.1
Building     stm-chans-3.0.0.4
Completed    tagged-0.8.6.1
Starting     th-abstraction-0.4.2.0
Building     th-abstraction-0.4.2.0
Completed    stm-chans-3.0.0.4
Starting     transformers-compat-0.6.6
Building     transformers-compat-0.6.6
Completed    network-3.1.2.1
Starting     unix-compat-0.5.3
Building     unix-compat-0.5.3
Completed    primitive-0.7.1.0
Starting     unliftio-core-0.2.0.1
Building     unliftio-core-0.2.0.1
Completed    unix-compat-0.5.3
Starting     zlib-0.6.2.2
Completed    transformers-compat-0.6.6
Starting     HUnit-1.6.2.0
Completed    unliftio-core-0.2.0.1
Building     zlib-0.6.2.2
Starting     time-compat-1.9.5
Building     HUnit-1.6.2.0
Completed    th-abstraction-0.4.2.0
Starting     blaze-markup-0.8.2.7
Building     time-compat-1.9.5
Building     blaze-markup-0.8.2.7
Completed    HUnit-1.6.2.0
Starting     base-compat-batteries-0.11.2
Building     base-compat-batteries-0.11.2
Completed    blaze-markup-0.8.2.7
Starting     data-default-instances-containers-0.0.1
Completed    time-compat-1.9.5
Starting     cookie-0.4.5
Completed    zlib-0.6.2.2
Starting     data-default-instances-dlist-0.0.1
Building     data-default-instances-containers-0.0.1
Building     cookie-0.4.5
Building     data-default-instances-dlist-0.0.1
Completed    data-default-instances-containers-0.0.1
Starting     ansi-terminal-0.11
Completed    data-default-instances-dlist-0.0.1
Starting     unordered-containers-0.2.13.0
Building     ansi-terminal-0.11
Building     unordered-containers-0.2.13.0
Completed    cookie-0.4.5
Starting     data-fix-0.3.1
Building     data-fix-0.3.1
Completed    base-compat-batteries-0.11.2
Starting     case-insensitive-1.2.1.0
Building     case-insensitive-1.2.1.0
Completed    data-fix-0.3.1
Starting     async-2.2.2
Completed    ansi-terminal-0.11
Starting     old-time-1.1.0.3
Building     async-2.2.2
Completed    case-insensitive-1.2.1.0
Starting     data-default-instances-old-locale-0.0.1
Building     data-default-instances-old-locale-0.0.1
Building     old-time-1.1.0.3
Completed    data-default-instances-old-locale-0.0.1
Starting     random-1.2.0
Completed    async-2.2.2
Starting     distributive-0.6.2.1
Building     random-1.2.0
Building     distributive-0.6.2.1
Completed    old-time-1.1.0.3
Starting     vector-0.12.2.0
Completed    distributive-0.6.2.1
Starting     scientific-0.3.6.2
Building     vector-0.12.2.0
Building     scientific-0.3.6.2
Completed    unordered-containers-0.2.13.0
Starting     transformers-base-0.4.5.2
Building     transformers-base-0.4.5.2
Completed    random-1.2.0
Starting     resourcet-1.2.4.2
Completed    transformers-base-0.4.5.2
Starting     th-lift-0.8.2
Building     resourcet-1.2.4.2
Completed    scientific-0.3.6.2
Starting     hspec-expectations-0.8.2
Building     th-lift-0.8.2
Building     hspec-expectations-0.8.2
Completed    hspec-expectations-0.8.2
Starting     blaze-html-0.9.1.2
Completed    th-lift-0.8.2
Starting     http-types-0.12.3
Building     blaze-html-0.9.1.2
Building     http-types-0.12.3
Completed    resourcet-1.2.4.2
Starting     data-default-0.7.1.1
Building     data-default-0.7.1.1
Completed    data-default-0.7.1.1
Starting     unliftio-0.2.14
Building     unliftio-0.2.14
Completed    http-types-0.12.3
Starting     typed-process-0.2.6.0
Building     typed-process-0.2.6.0
Completed    typed-process-0.2.6.0
Starting     unix-time-0.4.7
Building     unix-time-0.4.7
Completed    unix-time-0.4.7
Starting     comonad-5.0.8
Completed    unliftio-0.2.14
Starting     uuid-types-1.0.3
Building     comonad-5.0.8
Building     uuid-types-1.0.3
Completed    uuid-types-1.0.3
Starting     tf-random-0.5
Building     tf-random-0.5
Completed    comonad-5.0.8
Starting     streaming-commons-0.2.2.1
Building     streaming-commons-0.2.2.1
Completed    blaze-html-0.9.1.2
Starting     QuickCheck-2.14.2
Building     QuickCheck-2.14.2
Completed    tf-random-0.5
Starting     monad-control-1.0.2.3
Building     monad-control-1.0.2.3
Completed    monad-control-1.0.2.3
Starting     attoparsec-0.13.2.5
Building     attoparsec-0.13.2.5
Completed    streaming-commons-0.2.2.1
Starting     fast-logger-3.0.2
Building     fast-logger-3.0.2
Completed    fast-logger-3.0.2
Starting     nonce-1.0.7
Completed    vector-0.12.2.0
Starting     bifunctors-5.5.10
Building     nonce-1.0.7
Building     bifunctors-5.5.10
Completed    nonce-1.0.7
Starting     lifted-base-0.2.3.12
Building     lifted-base-0.2.3.12
Completed    attoparsec-0.13.2.5
Starting     vector-algorithms-0.8.0.4
Building     vector-algorithms-0.8.0.4
Completed    lifted-base-0.2.3.12
Starting     th-lift-instances-0.1.18
Building     th-lift-instances-0.1.18
Completed    th-lift-instances-0.1.18
Starting     resource-pool-0.2.3.2
Building     resource-pool-0.2.3.2
Completed    QuickCheck-2.14.2
Starting     attoparsec-iso8601-1.0.2.0
Completed    resource-pool-0.2.3.2
Starting     quickcheck-io-0.2.0
Building     attoparsec-iso8601-1.0.2.0
Building     quickcheck-io-0.2.0
Completed    bifunctors-5.5.10
Starting     assoc-1.0.2
Completed    quickcheck-io-0.2.0
Starting     hspec-core-2.7.8
Building     assoc-1.0.2
Completed    attoparsec-iso8601-1.0.2.0
Starting     http-api-data-0.4.3
Building     hspec-core-2.7.8
Building     http-api-data-0.4.3
Completed    vector-algorithms-0.8.0.4
Starting     mono-traversable-1.0.15.1
Completed    assoc-1.0.2
Starting     these-1.1.1.1
Building     mono-traversable-1.0.15.1
Building     these-1.1.1.1
Completed    these-1.1.1.1
Starting     strict-0.4.0.1
Completed    http-api-data-0.4.3
Building     strict-0.4.0.1
Completed    hspec-core-2.7.8
Starting     hspec-2.7.8
Building     hspec-2.7.8
Completed    strict-0.4.0.1
Starting     quickcheck-instances-0.3.25.2
Starting     aeson-1.5.5.1
Building     quickcheck-instances-0.3.25.2
Building     aeson-1.5.5.1
Completed    hspec-2.7.8
Completed    quickcheck-instances-0.3.25.2
Completed    mono-traversable-1.0.15.1
Starting     conduit-1.3.4
Building     conduit-1.3.4
Completed    conduit-1.3.4
Starting     conduit-extra-1.3.5
Building     conduit-extra-1.3.5
Completed    conduit-extra-1.3.5
Starting     monad-logger-0.3.36
Building     monad-logger-0.3.36
Completed    aeson-1.5.5.1
Completed    monad-logger-0.3.36
Starting     persistent-2.11.0.2
Building     persistent-2.11.0.2
Completed    persistent-2.11.0.2
Starting     persistent-template-2.9.1.0
Building     persistent-template-2.9.1.0
Completed    persistent-template-2.9.1.0
Starting     persistent-test-2.0.3.5
Building     persistent-test-2.0.3.5
Completed    persistent-test-2.0.3.5
Starting     serversession-1.0.2
Building     serversession-1.0.2
Completed    serversession-1.0.2
Starting     serversession-backend-persistent-1.0.5
Building     serversession-backend-persistent-1.0.5
Failed to install serversession-backend-persistent-1.0.5
Build log ( /home/builder/.cabal/logs/ghc-8.10.2/serversession-backend-persistent-1.0.5-HxT0bIG9rvLJmejUPI4979.log ):
cabal: Entering directory '/tmp/cabal-tmp-26483/serversession-backend-persistent-1.0.5'
Configuring serversession-backend-persistent-1.0.5...
Preprocessing library for serversession-backend-persistent-1.0.5..
Building library for serversession-backend-persistent-1.0.5..
[1 of 3] Compiling Web.ServerSession.Backend.Persistent.Internal.Types ( src/Web/ServerSession/Backend/Persistent/Internal/Types.hs, dist/build/Web/ServerSession/Backend/Persistent/Internal/Types.o, dist/build/Web/ServerSession/Backend/Persistent/Internal/Types.dyn_o )
[2 of 3] Compiling Web.ServerSession.Backend.Persistent.Internal.Impl ( src/Web/ServerSession/Backend/Persistent/Internal/Impl.hs, dist/build/Web/ServerSession/Backend/Persistent/Internal/Impl.o, dist/build/Web/ServerSession/Backend/Persistent/Internal/Impl.dyn_o )

src/Web/ServerSession/Backend/Persistent/Internal/Impl.hs:129:7: error:
    • Couldn't match expected type ‘P.FieldDef’
                  with actual type ‘Maybe T.Text -> Maybe T.Text -> P.FieldDef’
    • Probable cause: ‘P.FieldDef’ is applied to too few arguments
      In the expression:
        P.FieldDef
          (P.HaskellName "Id") (P.DBName "id")
          (P.FTTypeCon Nothing "PersistentSessionId")
          (P.SqlOther "Composite Reference") [] True
          (P.CompositeRef
             (P.CompositeDef
                [P.FieldDef
                   (P.HaskellName "key") (P.DBName "key")
                   (P.FTTypeCon Nothing "SessionId")
                   (P.SqlOther "SqlType unset for key") [] True P.NoReference Nothing]
                []))
          Nothing
      In an equation for ‘persistFieldDef’:
          persistFieldDef PersistentSessionId
            = P.FieldDef
                (P.HaskellName "Id") (P.DBName "id")
                (P.FTTypeCon Nothing "PersistentSessionId")
                (P.SqlOther "Composite Reference") [] True
                (P.CompositeRef
                   (P.CompositeDef
                      [P.FieldDef
                         (P.HaskellName "key") (P.DBName "key")
                         (P.FTTypeCon Nothing "SessionId")
                         (P.SqlOther "SqlType unset for key") [] True P.NoReference Nothing]
                      []))
                Nothing
      In the instance declaration for
        ‘PersistEntity (PersistentSession sess)’
    |
129 |     = P.FieldDef
    |       ^^^^^^^^^^...

src/Web/ServerSession/Backend/Persistent/Internal/Impl.hs:139:16: error:
    • Couldn't match expected type ‘P.FieldDef’
                  with actual type ‘Maybe T.Text -> Maybe T.Text -> P.FieldDef’
    • Probable cause: ‘P.FieldDef’ is applied to too few arguments
      In the expression:
        P.FieldDef
          (P.HaskellName "key") (P.DBName "key")
          (P.FTTypeCon Nothing "SessionId")
          (P.SqlOther "SqlType unset for key") [] True P.NoReference Nothing
      In the first argument of ‘P.CompositeDef’, namely
        ‘[P.FieldDef
            (P.HaskellName "key") (P.DBName "key")
            (P.FTTypeCon Nothing "SessionId")
            (P.SqlOther "SqlType unset for key") [] True P.NoReference
            Nothing]’
      In the first argument of ‘P.CompositeRef’, namely
        ‘(P.CompositeDef
            [P.FieldDef
               (P.HaskellName "key") (P.DBName "key")
               (P.FTTypeCon Nothing "SessionId")
               (P.SqlOther "SqlType unset for key") [] True P.NoReference Nothing]
            [])’
    |
139 |               [P.FieldDef
    |                ^^^^^^^^^^...

src/Web/ServerSession/Backend/Persistent/Internal/Impl.hs:147:18: error:
    • Couldn't match expected type ‘P.FieldCascade’
                  with actual type ‘Maybe a0’
    • In the 8th argument of ‘P.FieldDef’, namely ‘Nothing’
      In the expression:
        P.FieldDef
          (P.HaskellName "key") (P.DBName "key")
          (P.FTTypeCon Nothing "SessionId")
          (P.SqlOther "SqlType unset for key") [] True P.NoReference Nothing
      In the first argument of ‘P.CompositeDef’, namely
        ‘[P.FieldDef
            (P.HaskellName "key") (P.DBName "key")
            (P.FTTypeCon Nothing "SessionId")
            (P.SqlOther "SqlType unset for key") [] True P.NoReference
            Nothing]’
    |
147 |                  Nothing]
    |                  ^^^^^^^

src/Web/ServerSession/Backend/Persistent/Internal/Impl.hs:149:9: error:
    • Couldn't match expected type ‘P.FieldCascade’
                  with actual type ‘Maybe a1’
    • In the 8th argument of ‘P.FieldDef’, namely ‘Nothing’
      In the expression:
        P.FieldDef
          (P.HaskellName "Id") (P.DBName "id")
          (P.FTTypeCon Nothing "PersistentSessionId")
          (P.SqlOther "Composite Reference") [] True
          (P.CompositeRef
             (P.CompositeDef
                [P.FieldDef
                   (P.HaskellName "key") (P.DBName "key")
                   (P.FTTypeCon Nothing "SessionId")
                   (P.SqlOther "SqlType unset for key") [] True P.NoReference Nothing]
                []))
          Nothing
      In an equation for ‘persistFieldDef’:
          persistFieldDef PersistentSessionId
            = P.FieldDef
                (P.HaskellName "Id") (P.DBName "id")
                (P.FTTypeCon Nothing "PersistentSessionId")
                (P.SqlOther "Composite Reference") [] True
                (P.CompositeRef
                   (P.CompositeDef
                      [P.FieldDef
                         (P.HaskellName "key") (P.DBName "key")
                         (P.FTTypeCon Nothing "SessionId")
                         (P.SqlOther "SqlType unset for key") [] True P.NoReference Nothing]
                      []))
                Nothing
    |
149 |         Nothing
    |         ^^^^^^^

src/Web/ServerSession/Backend/Persistent/Internal/Impl.hs:151:7: error:
    • Couldn't match expected type ‘P.FieldDef’
                  with actual type ‘Maybe T.Text -> Maybe T.Text -> P.FieldDef’
    • Probable cause: ‘P.FieldDef’ is applied to too few arguments
      In the expression:
        P.FieldDef
          (P.HaskellName "key") (P.DBName "key")
          (P.FTTypeCon Nothing "SessionId sess")
          (P.sqlType (Proxy :: Proxy (SessionId sess))) ["maxlen=30"] True
          P.NoReference Nothing
      In an equation for ‘persistFieldDef’:
          persistFieldDef PersistentSessionKey
            = P.FieldDef
                (P.HaskellName "key") (P.DBName "key")
                (P.FTTypeCon Nothing "SessionId sess")
                (P.sqlType (Proxy :: Proxy (SessionId sess))) ["maxlen=30"] True
                P.NoReference Nothing
      In the instance declaration for
        ‘PersistEntity (PersistentSession sess)’
    |
151 |     = P.FieldDef
    |       ^^^^^^^^^^...

src/Web/ServerSession/Backend/Persistent/Internal/Impl.hs:159:9: error:
    • Couldn't match expected type ‘P.FieldCascade’
                  with actual type ‘Maybe a2’
    • In the 8th argument of ‘P.FieldDef’, namely ‘Nothing’
      In the expression:
        P.FieldDef
          (P.HaskellName "key") (P.DBName "key")
          (P.FTTypeCon Nothing "SessionId sess")
          (P.sqlType (Proxy :: Proxy (SessionId sess))) ["maxlen=30"] True
          P.NoReference Nothing
      In an equation for ‘persistFieldDef’:
          persistFieldDef PersistentSessionKey
            = P.FieldDef
                (P.HaskellName "key") (P.DBName "key")
                (P.FTTypeCon Nothing "SessionId sess")
                (P.sqlType (Proxy :: Proxy (SessionId sess))) ["maxlen=30"] True
                P.NoReference Nothing
    |
159 |         Nothing
    |         ^^^^^^^

src/Web/ServerSession/Backend/Persistent/Internal/Impl.hs:161:7: error:
    • Couldn't match expected type ‘P.FieldDef’
                  with actual type ‘Maybe T.Text -> Maybe T.Text -> P.FieldDef’
    • Probable cause: ‘P.FieldDef’ is applied to too few arguments
      In the expression:
        P.FieldDef
          (P.HaskellName "authId") (P.DBName "auth_id")
          (P.FTTypeCon Nothing "ByteStringJ")
          (P.sqlType (Proxy :: Proxy ByteStringJ)) ["Maybe", "default=NULL"]
          True P.NoReference Nothing
      In an equation for ‘persistFieldDef’:
          persistFieldDef PersistentSessionAuthId
            = P.FieldDef
                (P.HaskellName "authId") (P.DBName "auth_id")
                (P.FTTypeCon Nothing "ByteStringJ")
                (P.sqlType (Proxy :: Proxy ByteStringJ)) ["Maybe", "default=NULL"]
                True P.NoReference Nothing
      In the instance declaration for
        ‘PersistEntity (PersistentSession sess)’
    |
161 |     = P.FieldDef
    |       ^^^^^^^^^^...

src/Web/ServerSession/Backend/Persistent/Internal/Impl.hs:169:9: error:
    • Couldn't match expected type ‘P.FieldCascade’
                  with actual type ‘Maybe a3’
    • In the 8th argument of ‘P.FieldDef’, namely ‘Nothing’
      In the expression:
        P.FieldDef
          (P.HaskellName "authId") (P.DBName "auth_id")
          (P.FTTypeCon Nothing "ByteStringJ")
          (P.sqlType (Proxy :: Proxy ByteStringJ)) ["Maybe", "default=NULL"]
          True P.NoReference Nothing
      In an equation for ‘persistFieldDef’:
          persistFieldDef PersistentSessionAuthId
            = P.FieldDef
                (P.HaskellName "authId") (P.DBName "auth_id")
                (P.FTTypeCon Nothing "ByteStringJ")
                (P.sqlType (Proxy :: Proxy ByteStringJ)) ["Maybe", "default=NULL"]
                True P.NoReference Nothing
    |
169 |         Nothing
    |         ^^^^^^^

src/Web/ServerSession/Backend/Persistent/Internal/Impl.hs:171:7: error:
    • Couldn't match expected type ‘P.FieldDef’
                  with actual type ‘Maybe T.Text -> Maybe T.Text -> P.FieldDef’
    • Probable cause: ‘P.FieldDef’ is applied to too few arguments
      In the expression:
        P.FieldDef
          (P.HaskellName "session") (P.DBName "session")
          (P.FTTypeCon Nothing "Decomposed sess")
          (P.sqlType (Proxy :: Proxy (Decomposed sess))) [] True
          P.NoReference Nothing
      In an equation for ‘persistFieldDef’:
          persistFieldDef PersistentSessionSession
            = P.FieldDef
                (P.HaskellName "session") (P.DBName "session")
                (P.FTTypeCon Nothing "Decomposed sess")
                (P.sqlType (Proxy :: Proxy (Decomposed sess))) [] True
                P.NoReference Nothing
      In the instance declaration for
        ‘PersistEntity (PersistentSession sess)’
    |
171 |     = P.FieldDef
    |       ^^^^^^^^^^...

src/Web/ServerSession/Backend/Persistent/Internal/Impl.hs:179:9: error:
    • Couldn't match expected type ‘P.FieldCascade’
                  with actual type ‘Maybe a4’
    • In the 8th argument of ‘P.FieldDef’, namely ‘Nothing’
      In the expression:
        P.FieldDef
          (P.HaskellName "session") (P.DBName "session")
          (P.FTTypeCon Nothing "Decomposed sess")
          (P.sqlType (Proxy :: Proxy (Decomposed sess))) [] True
          P.NoReference Nothing
      In an equation for ‘persistFieldDef’:
          persistFieldDef PersistentSessionSession
            = P.FieldDef
                (P.HaskellName "session") (P.DBName "session")
                (P.FTTypeCon Nothing "Decomposed sess")
                (P.sqlType (Proxy :: Proxy (Decomposed sess))) [] True
                P.NoReference Nothing
    |
179 |         Nothing
    |         ^^^^^^^

src/Web/ServerSession/Backend/Persistent/Internal/Impl.hs:181:7: error:
    • Couldn't match expected type ‘P.FieldDef’
                  with actual type ‘Maybe T.Text -> Maybe T.Text -> P.FieldDef’
    • Probable cause: ‘P.FieldDef’ is applied to too few arguments
      In the expression:
        P.FieldDef
          (P.HaskellName "createdAt") (P.DBName "created_at")
          (P.FTTypeCon Nothing "UTCTime")
          (P.sqlType (Proxy :: Proxy UTCTime)) [] True P.NoReference Nothing
      In an equation for ‘persistFieldDef’:
          persistFieldDef PersistentSessionCreatedAt
            = P.FieldDef
                (P.HaskellName "createdAt") (P.DBName "created_at")
                (P.FTTypeCon Nothing "UTCTime")
                (P.sqlType (Proxy :: Proxy UTCTime)) [] True P.NoReference Nothing
      In the instance declaration for
        ‘PersistEntity (PersistentSession sess)’
    |
181 |     = P.FieldDef
    |       ^^^^^^^^^^...

src/Web/ServerSession/Backend/Persistent/Internal/Impl.hs:189:9: error:
    • Couldn't match expected type ‘P.FieldCascade’
                  with actual type ‘Maybe a5’
    • In the 8th argument of ‘P.FieldDef’, namely ‘Nothing’
      In the expression:
        P.FieldDef
          (P.HaskellName "createdAt") (P.DBName "created_at")
          (P.FTTypeCon Nothing "UTCTime")
          (P.sqlType (Proxy :: Proxy UTCTime)) [] True P.NoReference Nothing
      In an equation for ‘persistFieldDef’:
          persistFieldDef PersistentSessionCreatedAt
            = P.FieldDef
                (P.HaskellName "createdAt") (P.DBName "created_at")
                (P.FTTypeCon Nothing "UTCTime")
                (P.sqlType (Proxy :: Proxy UTCTime)) [] True P.NoReference Nothing
    |
189 |         Nothing
    |         ^^^^^^^

src/Web/ServerSession/Backend/Persistent/Internal/Impl.hs:191:7: error:
    • Couldn't match expected type ‘P.FieldDef’
                  with actual type ‘Maybe T.Text -> Maybe T.Text -> P.FieldDef’
    • Probable cause: ‘P.FieldDef’ is applied to too few arguments
      In the expression:
        P.FieldDef
          (P.HaskellName "accessedAt") (P.DBName "accessed_at")
          (P.FTTypeCon Nothing "UTCTime")
          (P.sqlType (Proxy :: Proxy UTCTime)) [] True P.NoReference Nothing
      In an equation for ‘persistFieldDef’:
          persistFieldDef PersistentSessionAccessedAt
            = P.FieldDef
                (P.HaskellName "accessedAt") (P.DBName "accessed_at")
                (P.FTTypeCon Nothing "UTCTime")
                (P.sqlType (Proxy :: Proxy UTCTime)) [] True P.NoReference Nothing
      In the instance declaration for
        ‘PersistEntity (PersistentSession sess)’
    |
191 |     = P.FieldDef
    |       ^^^^^^^^^^...

src/Web/ServerSession/Backend/Persistent/Internal/Impl.hs:199:9: error:
    • Couldn't match expected type ‘P.FieldCascade’
                  with actual type ‘Maybe a6’
    • In the 8th argument of ‘P.FieldDef’, namely ‘Nothing’
      In the expression:
        P.FieldDef
          (P.HaskellName "accessedAt") (P.DBName "accessed_at")
          (P.FTTypeCon Nothing "UTCTime")
          (P.sqlType (Proxy :: Proxy UTCTime)) [] True P.NoReference Nothing
      In an equation for ‘persistFieldDef’:
          persistFieldDef PersistentSessionAccessedAt
            = P.FieldDef
                (P.HaskellName "accessedAt") (P.DBName "accessed_at")
                (P.FTTypeCon Nothing "UTCTime")
                (P.sqlType (Proxy :: Proxy UTCTime)) [] True P.NoReference Nothing
    |
199 |         Nothing
    |         ^^^^^^^
cabal: Leaving directory '/tmp/cabal-tmp-26483/serversession-backend-persistent-1.0.5'
cabal: Error: some packages failed to install:
serversession-backend-persistent-1.0.5-HxT0bIG9rvLJmejUPI4979 failed during
the building phase. The exception was:
ExitFailure 1