Build #3 for unexceptionalio-trans-0.5.0

[all reports]

Package unexceptionalio-trans-0.5.0
Install BuildFailed
Docs NotTried
Tests NotTried
Time submitted 2019-11-27 20:59:01.432390942 UTC
Compiler ghc-8.6.3
OS linux
Arch x86_64
Dependencies base-4.12.0.0, transformers-0.5.5.0, unexceptionalio-0.4.0
Flags none

Code Coverage

No Code Coverage was submitted for this report.

Build log

[view raw]

Warning: The install command is a part of the legacy v1 style of cabal usage.

Please switch to using either the new project style and the new-install
command or the legacy v1-install alias as new-style projects will become the
default in the next version of cabal-install. Please file a bug if you cannot
replicate a working v1- use case with the new-style commands.

For more information, see: https://wiki.haskell.org/Cabal/NewBuild

Resolving dependencies...
Starting     unexceptionalio-0.4.0
Building     unexceptionalio-0.4.0
Completed    unexceptionalio-0.4.0
Starting     unexceptionalio-trans-0.5.0
Building     unexceptionalio-trans-0.5.0
Failed to install unexceptionalio-trans-0.5.0
Build log ( /home/builder/.cabal/logs/ghc-8.6.3/unexceptionalio-trans-0.5.0-G0RrMqaPG9sEf04yTUPKZN.log ):
cabal: Entering directory '/tmp/cabal-tmp-13866/unexceptionalio-trans-0.5.0'
Configuring unexceptionalio-trans-0.5.0...
Preprocessing library for unexceptionalio-trans-0.5.0..
Building library for unexceptionalio-trans-0.5.0..
[1 of 1] Compiling UnexceptionalIO.Trans ( UnexceptionalIO/Trans.hs, dist/build/UnexceptionalIO/Trans.o )

UnexceptionalIO/Trans.hs:72:41: error:
    • Couldn't match expected type ‘IO (Either e a)’
                  with actual type ‘UIO.SomeNonPseudoException -> e’
    • Probable cause: ‘f’ is applied to too few arguments
      In the first argument of ‘UIO.fromIO'’, namely ‘f’
      In the second argument of ‘(.)’, namely ‘UIO.fromIO' f’
      In the expression: Trans.ExceptT . UIO.fromIO' f
    • Relevant bindings include
        f :: UIO.SomeNonPseudoException -> e
          (bound at UnexceptionalIO/Trans.hs:72:9)
        fromIO' :: (UIO.SomeNonPseudoException -> e)
                   -> IO a -> Trans.ExceptT e m a
          (bound at UnexceptionalIO/Trans.hs:72:1)
   |
72 | fromIO' f = Trans.ExceptT . UIO.fromIO' f
   |                                         ^

UnexceptionalIO/Trans.hs:83:10: error:
    • Could not deduce (Monoid w)
        arising from the superclasses of an instance declaration
      from the context: UIO.Unexceptional m
        bound by the instance declaration
        at UnexceptionalIO/Trans.hs:83:10-70
      Possible fix:
        add (Monoid w) to the context of the instance declaration
    • In the instance declaration for
        ‘UIO.Unexceptional (Trans.AccumT w m)’
   |
83 | instance (UIO.Unexceptional m) => UIO.Unexceptional (Trans.AccumT w m) where
   |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

UnexceptionalIO/Trans.hs:84:16: error:
    • Could not deduce (Monoid w) arising from a use of ‘Trans.lift’
      from the context: UIO.Unexceptional m
        bound by the instance declaration
        at UnexceptionalIO/Trans.hs:83:10-70
      Possible fix:
        add (Monoid w) to the context of
          the type signature for:
            UIO.lift :: forall a. UIO.UIO a -> Trans.AccumT w m a
          or the instance declaration
    • In the first argument of ‘(.)’, namely ‘Trans.lift’
      In the expression: Trans.lift . UIO.lift
      In an equation for ‘UIO.lift’: UIO.lift = Trans.lift . UIO.lift
   |
84 |         lift = Trans.lift . UIO.lift
   |                ^^^^^^^^^^
cabal: Leaving directory '/tmp/cabal-tmp-13866/unexceptionalio-trans-0.5.0'
cabal: Error: some packages failed to install:
unexceptionalio-trans-0.5.0-G0RrMqaPG9sEf04yTUPKZN failed during the building
phase. The exception was:
ExitFailure 1

Test log

No test log was submitted for this report.