Build #3 for potoki-cereal-0.3.2
Package | potoki-cereal-0.3.2 |
---|
Install | DependencyFailed potoki-cereal-0.3.2 |
---|---|
Docs | NotTried |
Tests | NotTried |
Time submitted | 2018-09-25 11:15:47.657507359 UTC |
---|---|
Compiler | ghc-8.4.3 |
OS | linux |
Arch | x86_64 |
Dependencies | acquire-0.2.0.1, attoparsec-0.13.2.2, base-4.11.1.0, base-prelude-1.3, bytestring-0.10.8.2, cereal-0.5.7.0, potoki-core-2.3.2, profunctors-5.3, text-1.2.3.0 |
Flags | none |
Code Coverage
No Code Coverage was submitted for this report.
Build log
[view raw]
Resolving dependencies... Configuring acquire-0.2.0.1... Configuring base-orphans-0.8... Building acquire-0.2.0.1... Building base-orphans-0.8... Installed acquire-0.2.0.1 Configuring base-prelude-1.3... Building base-prelude-1.3... Installed base-orphans-0.8 Configuring bug-1.0.1... Building bug-1.0.1... Installed bug-1.0.1 Configuring cabal-doctest-1.0.6... Building cabal-doctest-1.0.6... Installed base-prelude-1.3 Configuring cereal-0.5.7.0... Installed cabal-doctest-1.0.6 Configuring data-default-class-0.1.2.0... Building cereal-0.5.7.0... Building data-default-class-0.1.2.0... Installed data-default-class-0.1.2.0 Configuring hashable-1.2.7.0... Building hashable-1.2.7.0... Installed hashable-1.2.7.0 Configuring integer-logarithms-1.0.2.2... Installed cereal-0.5.7.0 Configuring primitive-0.6.4.0... Building integer-logarithms-1.0.2.2... Building primitive-0.6.4.0... Installed integer-logarithms-1.0.2.2 Configuring scanner-0.3... Building scanner-0.3... Installed scanner-0.3 Configuring semigroups-0.18.5... Building semigroups-0.18.5... Installed semigroups-0.18.5 Configuring stm-2.5.0.0... Building stm-2.5.0.0... Installed stm-2.5.0.0 Configuring tagged-0.8.6... Building tagged-0.8.6... Installed primitive-0.6.4.0 Configuring th-abstraction-0.2.8.0... Building th-abstraction-0.2.8.0... Installed tagged-0.8.6 Configuring transformers-compat-0.6.2... Building transformers-compat-0.6.2... Installed transformers-compat-0.6.2 Configuring unordered-containers-0.2.9.0... Installed th-abstraction-0.2.8.0 Configuring StateVar-1.1.1.1... Building unordered-containers-0.2.9.0... Building StateVar-1.1.1.1... Installed StateVar-1.1.1.1 Configuring vector-0.12.0.1... Building vector-0.12.0.1... Installed unordered-containers-0.2.9.0 Configuring scientific-0.3.6.2... Building scientific-0.3.6.2... Installed scientific-0.3.6.2 Configuring distributive-0.6... Building distributive-0.6... Installed distributive-0.6 Configuring contravariant-1.5... Building contravariant-1.5... Installed contravariant-1.5 Configuring attoparsec-0.13.2.2... Building attoparsec-0.13.2.2... Installed vector-0.12.0.1 Configuring comonad-5.0.4... Installed attoparsec-0.13.2.2 Configuring vector-th-unbox-0.2.1.6... Building vector-th-unbox-0.2.1.6... Building comonad-5.0.4... Installed vector-th-unbox-0.2.1.6 Configuring vector-builder-0.3.6... Building vector-builder-0.3.6... Installed comonad-5.0.4 Configuring math-functions-0.3.0.2... Building math-functions-0.3.0.2... Installed vector-builder-0.3.6 Configuring bifunctors-5.5.3... Building bifunctors-5.5.3... Installed math-functions-0.3.0.2 Configuring mwc-random-0.14.0.0... Building mwc-random-0.14.0.0... Installed bifunctors-5.5.3 Configuring semigroupoids-5.3.1... Building semigroupoids-5.3.1... Installed mwc-random-0.14.0.0 Configuring profunctors-5.3... Building profunctors-5.3... Installed semigroupoids-5.3.1 Installed profunctors-5.3 Configuring ptr-0.16.6... Configuring foldl-1.4.4... Building foldl-1.4.4... Building ptr-0.16.6... Installed foldl-1.4.4 Configuring deferred-folds-0.9.7.1... Building deferred-folds-0.9.7.1... Installed ptr-0.16.6 Installed deferred-folds-0.9.7.1 Configuring text-builder-0.6.3... Building text-builder-0.6.3... Installed text-builder-0.6.3 Configuring potoki-core-2.3.2... Building potoki-core-2.3.2... Failed to install potoki-core-2.3.2 Build log ( /home/builder/.cabal/logs/ghc-8.4.3/potoki-core-2.3.2-49K4Lsx86mRHsshD2aCaKj.log ): cabal: Entering directory '/tmp/cabal-tmp-21732/potoki-core-2.3.2' Configuring potoki-core-2.3.2... Preprocessing library for potoki-core-2.3.2.. Building library for potoki-core-2.3.2.. [ 1 of 17] Compiling Potoki.Core.Prelude ( library/Potoki/Core/Prelude.hs, dist/build/Potoki/Core/Prelude.o ) [ 2 of 17] Compiling Potoki.Core.TextBuilder ( library/Potoki/Core/TextBuilder.hs, dist/build/Potoki/Core/TextBuilder.o ) [ 3 of 17] Compiling Potoki.Core.Types ( library/Potoki/Core/Types.hs, dist/build/Potoki/Core/Types.o ) [ 4 of 17] Compiling Potoki.Core.IO.Fetch ( library/Potoki/Core/IO/Fetch.hs, dist/build/Potoki/Core/IO/Fetch.o ) [ 5 of 17] Compiling Potoki.Core.Fetch ( library/Potoki/Core/Fetch.hs, dist/build/Potoki/Core/Fetch.o ) [ 6 of 17] Compiling Potoki.Core.Transform.Instances ( library/Potoki/Core/Transform/Instances.hs, dist/build/Potoki/Core/Transform/Instances.o ) [ 7 of 17] Compiling Potoki.Core.Transform.State ( library/Potoki/Core/Transform/State.hs, dist/build/Potoki/Core/Transform/State.o ) [ 8 of 17] Compiling Potoki.Core.Transform.Basic ( library/Potoki/Core/Transform/Basic.hs, dist/build/Potoki/Core/Transform/Basic.o ) [ 9 of 17] Compiling Potoki.Core.Transform.Scanner ( library/Potoki/Core/Transform/Scanner.hs, dist/build/Potoki/Core/Transform/Scanner.o ) [10 of 17] Compiling Potoki.Core.Transform.FileIO ( library/Potoki/Core/Transform/FileIO.hs, dist/build/Potoki/Core/Transform/FileIO.o ) [11 of 17] Compiling Potoki.Core.Transform.Concurrency ( library/Potoki/Core/Transform/Concurrency.hs, dist/build/Potoki/Core/Transform/Concurrency.o ) library/Potoki/Core/Transform/Concurrency.hs:15:28: error: • Couldn't match expected type ‘GHC.Natural.Natural’ with actual type ‘Int’ • In the first argument of ‘newTBQueueIO’, namely ‘maxSize’ In a stmt of a 'do' block: buffer <- newTBQueueIO maxSize In the second argument of ‘($)’, namely ‘do buffer <- newTBQueueIO maxSize activeVar <- newTVarIO True forkIO $ let loop = ... in loop return $ Fetch $ atomically $ do batch <- flushTBQueue buffer if null batch then ... else return (Just batch)’ | 15 | buffer <- newTBQueueIO maxSize | ^^^^^^^ library/Potoki/Core/Transform/Concurrency.hs:42:28: error: • Couldn't match expected type ‘GHC.Natural.Natural’ with actual type ‘Int’ • In the first argument of ‘newTBQueueIO’, namely ‘size’ In a stmt of a 'do' block: buffer <- newTBQueueIO size In the second argument of ‘($)’, namely ‘do buffer <- newTBQueueIO size activeVar <- newTVarIO True forkIO $ let loop = ... in loop return $ Fetch $ let readBuffer = ... .... in atomically (readBuffer <|> terminate)’ | 42 | buffer <- newTBQueueIO size | ^^^^ library/Potoki/Core/Transform/Concurrency.hs:106:27: error: • Couldn't match expected type ‘GHC.Natural.Natural’ with actual type ‘Int’ • In the first argument of ‘newTBQueueIO’, namely ‘(workersAmount * 2)’ In a stmt of a 'do' block: chan <- newTBQueueIO (workersAmount * 2) In the second argument of ‘($)’, namely ‘do chan <- newTBQueueIO (workersAmount * 2) workersCounter <- newTVarIO workersAmount replicateM_ workersAmount $ forkIO $ do (Fetch fetchIO, finalize) <- case syncTransformIO fetchIO of { Acquire io -> ... } let ... in loop *> finalize return $ Fetch $ let readChan = ... .... in atomically (readChan <|> terminate)’ | 106 | chan <- newTBQueueIO (workersAmount * 2) | ^^^^^^^^^^^^^^^^^ library/Potoki/Core/Transform/Concurrency.hs:133:30: error: • Couldn't match expected type ‘GHC.Natural.Natural’ with actual type ‘Int’ • In the first argument of ‘newTBQueueIO’, namely ‘concurrency’ In a stmt of a 'do' block: inputQueue <- newTBQueueIO concurrency In the second argument of ‘($)’, namely ‘do inputQueue <- newTBQueueIO concurrency outputSlotQueue <- newTQueueIO liveWorkersVar <- newTVarIO concurrency forkIO $ let loop = ... in loop ....’ | 133 | inputQueue <- newTBQueueIO concurrency | ^^^^^^^^^^^ cabal: Leaving directory '/tmp/cabal-tmp-21732/potoki-core-2.3.2' cabal: Error: some packages failed to install: potoki-cereal-0.3.2-JMGCtDwQmnqF2vMyzh9pfG depends on potoki-cereal-0.3.2 which failed to install. potoki-core-2.3.2-49K4Lsx86mRHsshD2aCaKj failed during the building phase. The exception was: ExitFailure 1
Test log
No test log was submitted for this report.