Build #3 for potoki-cereal-0.3.2

[all reports]

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-, attoparsec-, base-, base-prelude-1.3, bytestring-, cereal-, potoki-core-2.3.2, profunctors-5.3, text-
Flags none

Code Coverage

No Code Coverage was submitted for this report.

Build log

[view raw]

Resolving dependencies...
Configuring acquire-
Configuring base-orphans-0.8...
Building acquire-
Building base-orphans-0.8...
Installed acquire-
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-
Installed cabal-doctest-1.0.6
Configuring data-default-class-
Building cereal-
Building data-default-class-
Installed data-default-class-
Configuring hashable-
Building hashable-
Installed hashable-
Configuring integer-logarithms-
Installed cereal-
Configuring primitive-
Building integer-logarithms-
Building primitive-
Installed integer-logarithms-
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-
Building stm-
Installed stm-
Configuring tagged-0.8.6...
Building tagged-0.8.6...
Installed primitive-
Configuring th-abstraction-
Building th-abstraction-
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-
Installed th-abstraction-
Configuring StateVar-
Building unordered-containers-
Building StateVar-
Installed StateVar-
Configuring vector-
Building vector-
Installed unordered-containers-
Configuring scientific-
Building scientific-
Installed scientific-
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-
Building attoparsec-
Installed vector-
Configuring comonad-5.0.4...
Installed attoparsec-
Configuring vector-th-unbox-
Building vector-th-unbox-
Building comonad-5.0.4...
Installed vector-th-unbox-
Configuring vector-builder-0.3.6...
Building vector-builder-0.3.6...
Installed comonad-5.0.4
Configuring math-functions-
Building math-functions-
Installed vector-builder-0.3.6
Configuring bifunctors-5.5.3...
Building bifunctors-5.5.3...
Installed math-functions-
Configuring mwc-random-
Building mwc-random-
Installed bifunctors-5.5.3
Configuring semigroupoids-5.3.1...
Building semigroupoids-5.3.1...
Installed mwc-random-
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-
Building deferred-folds-
Installed ptr-0.16.6
Installed deferred-folds-
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
              $ 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
              $ 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
              $ 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.