Build #2 for appendful-persistent-0.1.0.0
| Package | appendful-persistent-0.1.0.0 |
|---|
| Install | BuildFailed |
|---|---|
| Docs | NotTried |
| Tests | NotTried |
| Time submitted | 2022-11-07 04:03:07.724083831 UTC |
|---|---|
| Compiler | ghc-9.2.4 |
| OS | linux |
| Arch | x86_64 |
| Dependencies | appendful-0.1.0.0, base-4.16.3.0, containers-0.6.5.1, microlens-0.4.13.0, persistent-2.14.3.0 |
| Flags | none |
Code Coverage
No Code Coverage was submitted for this report.
Build log
[view raw]
Resolving dependencies...
Starting StateVar-1.2.2
Starting OneTuple-0.3.1
Starting base-orphans-0.8.7
Starting base64-bytestring-1.2.1.0
Starting data-default-class-0.1.2.0
Starting easy-file-0.2.2
Starting blaze-builder-0.4.2.2
Starting generically-0.1
Starting indexed-traversable-0.1.2
Starting lift-type-0.1.0.1
Starting integer-logarithms-1.0.3.1
Starting monad-loops-0.4.3
Starting microlens-0.4.13.0
Starting old-locale-1.0.0.7
Starting path-pieces-0.2.1
Starting safe-exceptions-0.1.7.3
Starting silently-1.2.5.3
Starting split-0.2.3.5
Starting stm-chans-3.0.0.6
Starting splitmix-0.1.0.4
Starting tagged-0.8.6.1
Starting unix-compat-0.6
Starting unliftio-core-0.2.0.1
Starting validity-0.12.0.1
Starting vector-stream-0.1.0.0
Starting auto-update-0.1.6
Starting dlist-1.0
Starting primitive-0.7.4.0
Starting hashable-1.4.1.0
Starting th-abstraction-0.4.5.0
Starting transformers-compat-0.7.2
Starting network-3.1.2.7
Starting zlib-0.6.3.0
Starting base-compat-0.12.2
Building StateVar-1.2.2
Building OneTuple-0.3.1
Building monad-loops-0.4.3
Building lift-type-0.1.0.1
Building path-pieces-0.2.1
Building base-orphans-0.8.7
Building indexed-traversable-0.1.2
Building microlens-0.4.13.0
Building base64-bytestring-1.2.1.0
Building data-default-class-0.1.2.0
Building silently-1.2.5.3
Building integer-logarithms-1.0.3.1
Building blaze-builder-0.4.2.2
Building old-locale-1.0.0.7
Building generically-0.1
Building easy-file-0.2.2
Building safe-exceptions-0.1.7.3
Building tagged-0.8.6.1
Building split-0.2.3.5
Building stm-chans-3.0.0.6
Building unix-compat-0.6
Building splitmix-0.1.0.4
Building unliftio-core-0.2.0.1
Building primitive-0.7.4.0
Building vector-stream-0.1.0.0
Building th-abstraction-0.4.5.0
Building transformers-compat-0.7.2
Building auto-update-0.1.6
Building validity-0.12.0.1
Building zlib-0.6.3.0
Building dlist-1.0
Building base-compat-0.12.2
Building hashable-1.4.1.0
Building network-3.1.2.7
Completed old-locale-1.0.0.7
Starting old-time-1.1.0.3
Completed monad-loops-0.4.3
Completed lift-type-0.1.0.1
Completed base-orphans-0.8.7
Completed unliftio-core-0.2.0.1
Completed generically-0.1
Completed data-default-class-0.1.2.0
Starting cookie-0.4.5
Completed auto-update-0.1.6
Building old-time-1.1.0.3
Completed integer-logarithms-1.0.3.1
Building cookie-0.4.5
Completed OneTuple-0.3.1
Completed validity-0.12.0.1
Starting validity-containers-0.5.0.4
Completed split-0.2.3.5
Completed stm-chans-3.0.0.6
Completed splitmix-0.1.0.4
Starting random-1.2.1.1
Building validity-containers-0.5.0.4
Completed silently-1.2.5.3
Completed StateVar-1.2.2
Starting contravariant-1.5.5
Completed unix-compat-0.6
Building random-1.2.1.1
Completed base64-bytestring-1.2.1.0
Completed microlens-0.4.13.0
Building contravariant-1.5.5
Completed path-pieces-0.2.1
Completed easy-file-0.2.2
Completed safe-exceptions-0.1.7.3
Completed tagged-0.8.6.1
Starting distributive-0.6.2.1
Completed dlist-1.0
Completed vector-stream-0.1.0.0
Completed transformers-compat-0.7.2
Starting transformers-base-0.4.6
Building distributive-0.6.2.1
Completed indexed-traversable-0.1.2
Completed blaze-builder-0.4.2.2
Starting blaze-markup-0.8.2.8
Building transformers-base-0.4.6
Completed hashable-1.4.1.0
Starting text-short-0.1.5
Starting time-compat-1.9.6.1
Starting case-insensitive-1.2.1.0
Starting async-2.2.4
Starting data-fix-0.3.2
Starting unordered-containers-0.2.19.1
Completed th-abstraction-0.4.5.0
Starting th-lift-0.8.2
Building blaze-markup-0.8.2.8
Completed zlib-0.6.3.0
Building case-insensitive-1.2.1.0
Building async-2.2.4
Building data-fix-0.3.2
Building time-compat-1.9.6.1
Building text-short-0.1.5
Building unordered-containers-0.2.19.1
Building th-lift-0.8.2
Completed base-compat-0.12.2
Starting base-compat-batteries-0.12.2
Completed validity-containers-0.5.0.4
Completed old-time-1.1.0.3
Starting unix-time-0.4.8
Building base-compat-batteries-0.12.2
Completed cookie-0.4.5
Completed transformers-base-0.4.6
Starting monad-control-1.0.3.1
Building unix-time-0.4.8
Completed contravariant-1.5.5
Building monad-control-1.0.3.1
Completed distributive-0.6.2.1
Starting comonad-5.0.8
Building comonad-5.0.8
Completed th-lift-0.8.2
Completed async-2.2.4
Starting typed-process-0.2.10.1
Starting unliftio-0.2.23.0
Completed case-insensitive-1.2.1.0
Starting http-types-0.12.3
Completed data-fix-0.3.2
Building typed-process-0.2.10.1
Building unliftio-0.2.23.0
Building http-types-0.12.3
Completed time-compat-1.9.6.1
Completed primitive-0.7.4.0
Starting resourcet-1.3.0
Starting scientific-0.3.7.0
Starting resource-pool-0.3.1.0
Starting vector-0.13.0.0
Completed blaze-markup-0.8.2.8
Starting blaze-html-0.9.1.2
Building resource-pool-0.3.1.0
Building resourcet-1.3.0
Building scientific-0.3.7.0
Building vector-0.13.0.0
Completed network-3.1.2.7
Building blaze-html-0.9.1.2
Completed monad-control-1.0.3.1
Starting lifted-base-0.2.3.12
Building lifted-base-0.2.3.12
Completed unix-time-0.4.8
Starting fast-logger-3.1.1
Completed text-short-0.1.5
Building fast-logger-3.1.1
Completed base-compat-batteries-0.12.2
Completed random-1.2.1.1
Starting uuid-types-1.0.5
Starting QuickCheck-2.14.2
Starting streaming-commons-0.2.2.5
Building uuid-types-1.0.5
Building QuickCheck-2.14.2
Building streaming-commons-0.2.2.5
Completed comonad-5.0.8
Starting bifunctors-5.5.13
Building bifunctors-5.5.13
Completed typed-process-0.2.10.1
Completed http-types-0.12.3
Completed lifted-base-0.2.3.12
Completed resource-pool-0.3.1.0
Completed resourcet-1.3.0
Completed unordered-containers-0.2.19.1
Starting vault-0.3.1.5
Building vault-0.3.1.5
Completed scientific-0.3.7.0
Starting validity-scientific-0.2.0.3
Starting attoparsec-0.14.4
Completed fast-logger-3.1.1
Building validity-scientific-0.2.0.3
Building attoparsec-0.14.4
Completed uuid-types-1.0.5
Completed unliftio-0.2.23.0
Completed vault-0.3.1.5
Completed streaming-commons-0.2.2.5
Completed validity-scientific-0.2.0.3
Completed blaze-html-0.9.1.2
Completed bifunctors-5.5.13
Starting assoc-1.0.2
Starting semigroupoids-5.3.7
Building assoc-1.0.2
Building semigroupoids-5.3.7
Completed QuickCheck-2.14.2
Completed assoc-1.0.2
Starting these-1.1.1.1
Building these-1.1.1.1
Completed attoparsec-0.14.4
Starting attoparsec-iso8601-1.1.0.0
Building attoparsec-iso8601-1.1.0.0
Completed attoparsec-iso8601-1.1.0.0
Starting http-api-data-0.5
Building http-api-data-0.5
Completed these-1.1.1.1
Starting strict-0.4.0.1
Building strict-0.4.0.1
Completed semigroupoids-5.3.7
Completed vector-0.13.0.0
Starting indexed-traversable-instances-0.1.1.1
Starting th-lift-instances-0.1.20
Starting bitvec-1.1.3.0
Building indexed-traversable-instances-0.1.1.1
Building th-lift-instances-0.1.20
Building bitvec-1.1.3.0
Completed http-api-data-0.5
Completed indexed-traversable-instances-0.1.1.1
Starting witherable-0.4.2
Starting semialign-1.2.0.1
Completed th-lift-instances-0.1.20
Completed strict-0.4.0.1
Building witherable-0.4.2
Building semialign-1.2.0.1
Completed bitvec-1.1.3.0
Starting vector-algorithms-0.9.0.1
Building vector-algorithms-0.9.0.1
Completed semialign-1.2.0.1
Completed witherable-0.4.2
Starting aeson-2.1.1.0
Building aeson-2.1.1.0
Completed vector-algorithms-0.9.0.1
Starting mono-traversable-1.0.15.3
Building mono-traversable-1.0.15.3
Completed aeson-2.1.1.0
Starting autodocodec-0.2.0.1
Building autodocodec-0.2.0.1
Completed mono-traversable-1.0.15.3
Starting conduit-1.3.4.3
Building conduit-1.3.4.3
Completed autodocodec-0.2.0.1
Starting appendful-0.1.0.0
Building appendful-0.1.0.0
Completed conduit-1.3.4.3
Starting conduit-extra-1.3.6
Building conduit-extra-1.3.6
Completed appendful-0.1.0.0
Completed conduit-extra-1.3.6
Starting monad-logger-0.3.37
Building monad-logger-0.3.37
Completed monad-logger-0.3.37
Starting persistent-2.14.3.0
Building persistent-2.14.3.0
Completed persistent-2.14.3.0
Starting appendful-persistent-0.1.0.0
Building appendful-persistent-0.1.0.0
Failed to install appendful-persistent-0.1.0.0
Build log ( /home/builder/.cabal/logs/ghc-9.2.4/appendful-persistent-0.1.0.0-2soN6jkyugL4Cm25SyKsPW.log ):
cabal: Entering directory '/tmp/cabal-tmp-3295605/appendful-persistent-0.1.0.0'
Configuring appendful-persistent-0.1.0.0...
Preprocessing library for appendful-persistent-0.1.0.0..
Building library for appendful-persistent-0.1.0.0..
[1 of 2] Compiling Data.Appendful.Persistent ( src/Data/Appendful/Persistent.hs, dist/build/Data/Appendful/Persistent.o, dist/build/Data/Appendful/Persistent.dyn_o )
src/Data/Appendful/Persistent.hs:101:7: error:
" Could not deduce (SafeToInsert clientRecord)
arising from a use of insert_
from the context: (PersistEntity clientRecord, PersistField sid,
PersistEntityBackend clientRecord ~ SqlBackend, MonadIO m)
bound by the type signature for:
clientSyncProcessor :: forall clientRecord sid (m :: * -> *) a.
(PersistEntity clientRecord, PersistField sid,
PersistEntityBackend clientRecord ~ SqlBackend,
MonadIO m) =>
(sid -> a -> clientRecord)
-> EntityField clientRecord (Maybe sid)
-> ClientSyncProcessor
(Key clientRecord) sid a (SqlPersistT m)
at src/Data/Appendful/Persistent.hs:(87,1)-(97,62)
Possible fix:
add (SafeToInsert clientRecord) to the context of
the type signature for:
clientSyncProcessor :: forall clientRecord sid (m :: * -> *) a.
(PersistEntity clientRecord, PersistField sid,
PersistEntityBackend clientRecord ~ SqlBackend, MonadIO m) =>
(sid -> a -> clientRecord)
-> EntityField clientRecord (Maybe sid)
-> ClientSyncProcessor (Key clientRecord) sid a (SqlPersistT m)
" In the first argument of ($), namely insert_
In the expression: insert_ $ func si st
In the second argument of ($), namely
\ (si, st) -> insert_ $ func si st
|
101 | insert_ $ func si st
| ^^^^^^^
src/Data/Appendful/Persistent.hs:142:42: error:
" Could not deduce (SafeToInsert record)
arising from a use of insert
from the context: (PersistEntity record,
PersistEntityBackend record ~ SqlBackend, MonadIO m)
bound by the type signature for:
serverSyncProcessor :: forall record (m :: * -> *) a ci.
(PersistEntity record,
PersistEntityBackend record ~ SqlBackend, MonadIO m) =>
[Filter record]
-> (record -> a)
-> (a -> record)
-> ServerSyncProcessor ci (Key record) a (SqlPersistT m)
at src/Data/Appendful/Persistent.hs:(124,1)-(137,55)
Possible fix:
add (SafeToInsert record) to the context of
the type signature for:
serverSyncProcessor :: forall record (m :: * -> *) a ci.
(PersistEntity record, PersistEntityBackend record ~ SqlBackend,
MonadIO m) =>
[Filter record]
-> (record -> a)
-> (a -> record)
-> ServerSyncProcessor ci (Key record) a (SqlPersistT m)
" In the first argument of (.), namely insert
In the second argument of ($), namely insert . funcFrom
In the expression: mapM $ insert . funcFrom
|
142 | serverSyncProcessorAddItems = mapM $ insert . funcFrom
| ^^^^^^
src/Data/Appendful/Persistent.hs:190:7: error:
" Could not deduce (SafeToInsert record)
arising from a use of insert_
from the context: (Ord sid, PersistEntity record,
PersistEntityBackend record ~ SqlBackend, MonadIO m)
bound by the type signature for:
serverSyncProcessorWithCustomId :: forall sid record (m :: * -> *)
a ci.
(Ord sid, PersistEntity record,
PersistEntityBackend record ~ SqlBackend,
MonadIO m) =>
SqlPersistT m sid
-> [Filter record]
-> (record -> (sid, a))
-> (sid -> a -> record)
-> ServerSyncProcessor
ci sid a (SqlPersistT m)
at src/Data/Appendful/Persistent.hs:(166,1)-(182,46)
Possible fix:
add (SafeToInsert record) to the context of
the type signature for:
serverSyncProcessorWithCustomId :: forall sid record (m :: * -> *)
a ci.
(Ord sid, PersistEntity record,
PersistEntityBackend record ~ SqlBackend,
MonadIO m) =>
SqlPersistT m sid
-> [Filter record]
-> (record -> (sid, a))
-> (sid -> a -> record)
-> ServerSyncProcessor ci sid a (SqlPersistT m)
" In a stmt of a 'do' block: insert_ record
In the expression:
do sid <- genId
let record = funcFrom sid a
insert_ record
pure sid
In the second argument of ($), namely
\ a
-> do sid <- genId
let ...
....
|
190 | insert_ record
| ^^^^^^^
src/Data/Appendful/Persistent.hs:205:40: error:
" Could not deduce (SafeToInsert clientRecord)
arising from a use of insert
from the context: (PersistEntity clientRecord,
PersistEntityBackend clientRecord ~ SqlBackend, MonadIO m)
bound by the type signature for:
setupUnsyncedClientQuery :: forall clientRecord (m :: * -> *) a.
(PersistEntity clientRecord,
PersistEntityBackend clientRecord ~ SqlBackend,
MonadIO m) =>
(a -> clientRecord) -> [a] -> SqlPersistT m ()
at src/Data/Appendful/Persistent.hs:(196,1)-(204,18)
Possible fix:
add (SafeToInsert clientRecord) to the context of
the type signature for:
setupUnsyncedClientQuery :: forall clientRecord (m :: * -> *) a.
(PersistEntity clientRecord,
PersistEntityBackend clientRecord ~ SqlBackend,
MonadIO m) =>
(a -> clientRecord) -> [a] -> SqlPersistT m ()
" In the first argument of (.), namely insert
In the first argument of mapM_, namely (insert . func)
In the expression: mapM_ (insert . func)
|
205 | setupUnsyncedClientQuery func = mapM_ (insert . func)
| ^^^^^^
src/Data/Appendful/Persistent.hs:227:5: error:
" Could not deduce (SafeToInsert clientRecord)
arising from a use of insert_
from the context: (PersistEntity clientRecord,
PersistEntityBackend clientRecord ~ SqlBackend, MonadIO m)
bound by the type signature for:
setupClientQuery :: forall clientRecord (m :: * -> *) a sid.
(PersistEntity clientRecord,
PersistEntityBackend clientRecord ~ SqlBackend,
MonadIO m) =>
(a -> clientRecord)
-> (sid -> a -> clientRecord)
-> ClientStore (Key clientRecord) sid a
-> SqlPersistT m ()
at src/Data/Appendful/Persistent.hs:(210,1)-(220,18)
Possible fix:
add (SafeToInsert clientRecord) to the context of
the type signature for:
setupClientQuery :: forall clientRecord (m :: * -> *) a sid.
(PersistEntity clientRecord,
PersistEntityBackend clientRecord ~ SqlBackend, MonadIO m) =>
(a -> clientRecord)
-> (sid -> a -> clientRecord)
-> ClientStore (Key clientRecord) sid a
-> SqlPersistT m ()
" In the expression: insert_ (funcS sid st)
In the second argument of ($), namely
\ (sid, st) -> insert_ (funcS sid st)
In a stmt of a 'do' block:
forM_ (M.toList clientStoreSynced)
$ \ (sid, st) -> insert_ (funcS sid st)
|
227 | insert_ (funcS sid st)
| ^^^^^^^
cabal: Leaving directory '/tmp/cabal-tmp-3295605/appendful-persistent-0.1.0.0'
Error: cabal: Some packages failed to install:
appendful-persistent-0.1.0.0-2soN6jkyugL4Cm25SyKsPW failed during the building
phase. The exception was:
ExitFailure 1
Test log
No test log was submitted for this report.