Build #2 for async-refresh-tokens-0.1.0

[all reports]

Package async-refresh-tokens-0.1.0
Install DependencyFailed async-refresh-0.2.0
Docs NotTried
Tests NotTried
Time submitted 2017-04-11 15:42:42.014283173 UTC
Compiler ghc-8.0.1.20161018
OS linux
Arch x86_64
Dependencies async-refresh-0.2.0, base-4.9.0.0, bytestring-0.10.8.1, formatting-6.2.4, lens-4.15.1, lifted-async-0.9.1.1, monad-control-1.0.1.0, monad-logger-0.3.22, safe-exceptions-0.1.5.0, stm-2.4.4.1, text-1.2.2.1
Flags none

Code Coverage

No Code Coverage was submitted for this report.

Build log

[view raw]

Resolving dependencies...
Configuring auto-update-0.1.4...
Configuring base-orphans-0.6...
Building auto-update-0.1.4...
Building base-orphans-0.6...
Configuring cabal-doctest-1...
Installed auto-update-0.1.4
Building cabal-doctest-1...
Installed base-orphans-0.6
Configuring clock-0.7.2...
Building clock-0.7.2...
Configuring easy-file-0.2.1...
Installed cabal-doctest-1
Installed clock-0.7.2
Configuring integer-logarithms-1.0.1...
Building easy-file-0.2.1...
Building integer-logarithms-1.0.1...
Installed easy-file-0.2.1
Configuring monad-loops-0.4.3...
Installed integer-logarithms-1.0.1
Configuring mtl-2.2.1...
Building monad-loops-0.4.3...
Building mtl-2.2.1...
Installed monad-loops-0.4.3
Configuring network-2.6.3.1...
Configuring old-locale-1.0.0.7...
Installed mtl-2.2.1
Building network-2.6.3.1...
Building old-locale-1.0.0.7...
Configuring parallel-3.2.1.1...
Installed old-locale-1.0.0.7
Building parallel-3.2.1.1...
Configuring prelude-extras-0.4.0.3...
Installed parallel-3.2.1.1
Building prelude-extras-0.4.0.3...
Configuring primitive-0.6.2.0...
Installed network-2.6.3.1
Building primitive-0.6.2.0...
Configuring random-1.1...
Installed prelude-extras-0.4.0.3
Building random-1.1...
Configuring reflection-2.1.2...
Installed random-1.1
Building reflection-2.1.2...
Configuring stm-2.4.4.1...
Installed primitive-0.6.2.0
Building stm-2.4.4.1...
Configuring semigroups-0.18.2...
Installed reflection-2.1.2
Configuring text-1.2.2.1...
Installed stm-2.4.4.1
Building semigroups-0.18.2...
Building text-1.2.2.1...
Configuring transformers-compat-0.5.1.4...
Installed semigroups-0.18.2
Building transformers-compat-0.5.1.4...
Configuring void-0.7.2...
Installed transformers-compat-0.5.1.4
Building void-0.7.2...
Configuring zlib-0.6.1.2...
Installed void-0.7.2
Building zlib-0.6.1.2...
Installed zlib-0.6.1.2
Configuring old-time-1.1.0.3...
Building old-time-1.1.0.3...
Configuring vector-0.12.0.1...
Installed old-time-1.1.0.3
Configuring StateVar-1.1.0.4...
Installed text-1.2.2.1
Building vector-0.12.0.1...
Building StateVar-1.1.0.4...
Configuring async-2.1.1.1...
Installed StateVar-1.1.0.4
Building async-2.1.1.1...
Configuring stm-chans-3.0.0.4...
Installed async-2.1.1.1
Building stm-chans-3.0.0.4...
Configuring exceptions-0.8.3...
Installed stm-chans-3.0.0.4
Building exceptions-0.8.3...
Configuring mmorph-1.0.9...
Installed exceptions-0.8.3
Building mmorph-1.0.9...
Configuring tagged-0.8.5...
Installed mmorph-1.0.9
Building tagged-0.8.5...
Configuring transformers-base-0.4.4...
Installed tagged-0.8.5
Building transformers-base-0.4.4...
Installed transformers-base-0.4.4
Configuring unix-time-0.3.7...
Configuring blaze-builder-0.4.0.2...
Installed vector-0.12.0.1
Building blaze-builder-0.4.0.2...
Building unix-time-0.3.7...
Configuring double-conversion-2.0.2.0...
Installed unix-time-0.3.7
Configuring hashable-1.2.6.0...
Installed blaze-builder-0.4.0.2
Building double-conversion-2.0.2.0...
Building hashable-1.2.6.0...
Configuring contravariant-1.4...
Installed hashable-1.2.6.0
Configuring safe-exceptions-0.1.5.0...
Installed double-conversion-2.0.2.0
Building contravariant-1.4...
Building safe-exceptions-0.1.5.0...
Configuring distributive-0.5.2...
Installed safe-exceptions-0.1.5.0
Configuring monad-control-1.0.1.0...
Installed contravariant-1.4
Building monad-control-1.0.1.0...
Building distributive-0.5.2...
Installed monad-control-1.0.1.0
Configuring fast-logger-2.4.10...
Building fast-logger-2.4.10...
Installed distributive-0.5.2
Configuring constraints-0.9.1...
Building constraints-0.9.1...
Configuring streaming-commons-0.1.17...
Installed fast-logger-2.4.10
Building streaming-commons-0.1.17...
Configuring scientific-0.3.4.12...
Installed constraints-0.9.1
Building scientific-0.3.4.12...
Configuring unordered-containers-0.2.8.0...
Installed streaming-commons-0.1.17
Building unordered-containers-0.2.8.0...
Configuring text-format-0.3.1.1...
Installed scientific-0.3.4.12
Building text-format-0.3.1.1...
Configuring lifted-base-0.2.3.10...
Installed text-format-0.3.1.1
Installed unordered-containers-0.2.8.0
Configuring comonad-5...
Building lifted-base-0.2.3.10...
Configuring formatting-6.2.4...
Installed lifted-base-0.2.3.10
Building formatting-6.2.4...
Building comonad-5...
Configuring attoparsec-0.13.1.0...
Installed formatting-6.2.4
Installed comonad-5
Configuring lifted-async-0.9.1.1...
Building attoparsec-0.13.1.0...
Building lifted-async-0.9.1.1...
Installed lifted-async-0.9.1.1
Configuring resourcet-1.1.9...
Building resourcet-1.1.9...
Configuring bifunctors-5.4.1...
Installed attoparsec-0.13.1.0
Installed resourcet-1.1.9
Configuring conduit-1.2.9.1...
Building bifunctors-5.4.1...
Building conduit-1.2.9.1...
Installed conduit-1.2.9.1
Configuring conduit-extra-1.1.15...
Building conduit-extra-1.1.15...
Installed bifunctors-5.4.1
Configuring profunctors-5.2...
Building profunctors-5.2...
Configuring semigroupoids-5.1...
Installed conduit-extra-1.1.15
Installed profunctors-5.2
Configuring monad-logger-0.3.22...
Building semigroupoids-5.1...
Building monad-logger-0.3.22...
Installed monad-logger-0.3.22
Installed semigroupoids-5.1
Configuring free-4.12.4...
Building free-4.12.4...
Installed free-4.12.4
Configuring adjunctions-4.3...
Building adjunctions-4.3...
Installed adjunctions-4.3
Configuring kan-extensions-5.0.1...
Building kan-extensions-5.0.1...
Installed kan-extensions-5.0.1
Configuring lens-4.15.1...
Building lens-4.15.1...
Installed lens-4.15.1
Configuring async-refresh-0.2.0...
Building async-refresh-0.2.0...
Failed to install async-refresh-0.2.0
Build log ( /home/builder/.cabal/logs/async-refresh-0.2.0.log ):
cabal: Entering directory '/tmp/cabal-tmp-311/async-refresh-0.2.0'
Configuring async-refresh-0.2.0...
Building async-refresh-0.2.0...
Preprocessing library async-refresh-0.2.0...
[1 of 5] Compiling Control.Concurrent.Async.Refresh.Prelude ( src/Control/Concurrent/Async/Refresh/Prelude.hs, dist/build/Control/Concurrent/Async/Refresh/Prelude.o )
[2 of 5] Compiling Control.Concurrent.Async.Refresh.Types ( src/Control/Concurrent/Async/Refresh/Types.hs, dist/build/Control/Concurrent/Async/Refresh/Types.o )
[3 of 5] Compiling Control.Concurrent.Async.Refresh.Util ( src/Control/Concurrent/Async/Refresh/Util.hs, dist/build/Control/Concurrent/Async/Refresh/Util.o )
[4 of 5] Compiling Control.Concurrent.Async.Refresh.Lenses ( src/Control/Concurrent/Async/Refresh/Lenses.hs, dist/build/Control/Concurrent/Async/Refresh/Lenses.o )
[5 of 5] Compiling Control.Concurrent.Async.Refresh ( src/Control/Concurrent/Async/Refresh.hs, dist/build/Control/Concurrent/Async/Refresh.o )

src/Control/Concurrent/Async/Refresh.hs:145:52: error:
    • Could not deduce (Integral b0) arising from a use of ‘^’
      from the context: (MonadIO m,
                         MonadBaseControl IO m,
                         MonadCatch m,
                         MonadLogger m,
                         Forall (Pure m))
        bound by the type signature for:
                   asyncRefreshThread :: (MonadIO m, MonadBaseControl IO m,
                                          MonadCatch m, MonadLogger m, Forall (Pure m)) =>
                                         AsyncRefreshConf m a -> m ()
        at src/Control/Concurrent/Async/Refresh.hs:(132,1)-(137,50)
      The type variable ‘b0’ is ambiguous
      These potential instances exist:
        instance forall a k (b :: k). Integral a => Integral (Const a b)
          -- Defined in ‘Data.Functor.Const’
        instance Integral a => Integral (Identity a)
          -- Defined in ‘Data.Functor.Identity’
        instance Integral Integer -- Defined in ‘GHC.Real’
        ...plus two others
        ...plus 9 instances involving out-of-scope types
        (use -fprint-potential-instances to see them all)
    • In the second argument of ‘(*)’, namely ‘10 ^ 3’
      In the first argument of ‘threadDelay’, namely
        ‘(computeRefreshTime conf delay * 10 ^ 3)’
      In a stmt of a 'do' block:
        threadDelay (computeRefreshTime conf delay * 10 ^ 3)

src/Control/Concurrent/Async/Refresh.hs:145:55: error:
    • Could not deduce (Num b0) arising from the literal ‘3’
      from the context: (MonadIO m,
                         MonadBaseControl IO m,
                         MonadCatch m,
                         MonadLogger m,
                         Forall (Pure m))
        bound by the type signature for:
                   asyncRefreshThread :: (MonadIO m, MonadBaseControl IO m,
                                          MonadCatch m, MonadLogger m, Forall (Pure m)) =>
                                         AsyncRefreshConf m a -> m ()
        at src/Control/Concurrent/Async/Refresh.hs:(132,1)-(137,50)
      The type variable ‘b0’ is ambiguous
      These potential instances exist:
        instance forall a k (b :: k). Num a => Num (Const a b)
          -- Defined in ‘Data.Functor.Const’
        instance Num a => Num (Identity a)
          -- Defined in ‘Data.Functor.Identity’
        instance Num Integer -- Defined in ‘GHC.Num’
        ...plus four others
        ...plus 23 instances involving out-of-scope types
        (use -fprint-potential-instances to see them all)
    • In the second argument of ‘(^)’, namely ‘3’
      In the second argument of ‘(*)’, namely ‘10 ^ 3’
      In the first argument of ‘threadDelay’, namely
        ‘(computeRefreshTime conf delay * 10 ^ 3)’

src/Control/Concurrent/Async/Refresh.hs:150:51: error:
    • Could not deduce (Integral b1) arising from a use of ‘^’
      from the context: (MonadIO m,
                         MonadBaseControl IO m,
                         MonadCatch m,
                         MonadLogger m,
                         Forall (Pure m))
        bound by the type signature for:
                   asyncRefreshThread :: (MonadIO m, MonadBaseControl IO m,
                                          MonadCatch m, MonadLogger m, Forall (Pure m)) =>
                                         AsyncRefreshConf m a -> m ()
        at src/Control/Concurrent/Async/Refresh.hs:(132,1)-(137,50)
      The type variable ‘b1’ is ambiguous
      These potential instances exist:
        instance forall a k (b :: k). Integral a => Integral (Const a b)
          -- Defined in ‘Data.Functor.Const’
        instance Integral a => Integral (Identity a)
          -- Defined in ‘Data.Functor.Identity’
        instance Integral Integer -- Defined in ‘GHC.Real’
        ...plus two others
        ...plus 9 instances involving out-of-scope types
        (use -fprint-potential-instances to see them all)
    • In the second argument of ‘(*)’, namely ‘10 ^ 3’
      In the first argument of ‘threadDelay’, namely
        ‘(conf ^. Lens.defaultInterval * 10 ^ 3)’
      In a stmt of a 'do' block:
        threadDelay (conf ^. Lens.defaultInterval * 10 ^ 3)

src/Control/Concurrent/Async/Refresh.hs:150:54: error:
    • Could not deduce (Num b1) arising from the literal ‘3’
      from the context: (MonadIO m,
                         MonadBaseControl IO m,
                         MonadCatch m,
                         MonadLogger m,
                         Forall (Pure m))
        bound by the type signature for:
                   asyncRefreshThread :: (MonadIO m, MonadBaseControl IO m,
                                          MonadCatch m, MonadLogger m, Forall (Pure m)) =>
                                         AsyncRefreshConf m a -> m ()
        at src/Control/Concurrent/Async/Refresh.hs:(132,1)-(137,50)
      The type variable ‘b1’ is ambiguous
      These potential instances exist:
        instance forall a k (b :: k). Num a => Num (Const a b)
          -- Defined in ‘Data.Functor.Const’
        instance Num a => Num (Identity a)
          -- Defined in ‘Data.Functor.Identity’
        instance Num Integer -- Defined in ‘GHC.Num’
        ...plus four others
        ...plus 23 instances involving out-of-scope types
        (use -fprint-potential-instances to see them all)
    • In the second argument of ‘(^)’, namely ‘3’
      In the second argument of ‘(*)’, namely ‘10 ^ 3’
      In the first argument of ‘threadDelay’, namely
        ‘(conf ^. Lens.defaultInterval * 10 ^ 3)’
cabal: Leaving directory '/tmp/cabal-tmp-311/async-refresh-0.2.0'
cabal: Error: some packages failed to install:
async-refresh-0.2.0 failed during the building phase. The exception was:
ExitFailure 1
async-refresh-tokens-0.1.0 depends on async-refresh-0.2.0 which failed to
install.

Test log

No test log was submitted for this report.