Build #2 for structured-cli-2.6.0.0

[all reports]

Package structured-cli-2.6.0.0
Install BuildFailed
Docs NotTried
Tests NotTried
Time submitted 2020-01-17 16:27:07.592109281 UTC
Compiler ghc-8.6.3
OS linux
Arch x86_64
Dependencies base-4.12.0.0, data-default-0.7.1.1, exceptions-0.10.4, haskeline-0.7.4.3, mtl-2.2.2, split-0.2.3.3, transformers-0.5.5.0, base-4.12.0.0, data-default-0.7.1.1, mtl-2.2.2, split-0.2.3.3
Flags -debug

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     dlist-0.8.0.7
Starting     old-locale-1.0.0.7
Starting     data-default-class-0.1.2.0
Starting     exceptions-0.10.4
Building     old-locale-1.0.0.7
Building     data-default-class-0.1.2.0
Building     dlist-0.8.0.7
Building     exceptions-0.10.4
Completed    old-locale-1.0.0.7
Starting     split-0.2.3.3
Completed    data-default-class-0.1.2.0
Starting     data-default-instances-old-locale-0.0.1
Building     split-0.2.3.3
Building     data-default-instances-old-locale-0.0.1
Completed    dlist-0.8.0.7
Starting     data-default-instances-containers-0.0.1
Building     data-default-instances-containers-0.0.1
Completed    data-default-instances-old-locale-0.0.1
Starting     data-default-instances-dlist-0.0.1
Building     data-default-instances-dlist-0.0.1
Completed    split-0.2.3.3
Completed    exceptions-0.10.4
Completed    data-default-instances-containers-0.0.1
Completed    data-default-instances-dlist-0.0.1
Starting     data-default-0.7.1.1
Building     data-default-0.7.1.1
Completed    data-default-0.7.1.1
Starting     structured-cli-2.6.0.0
Building     structured-cli-2.6.0.0
Failed to install structured-cli-2.6.0.0
Build log ( /home/builder/.cabal/logs/ghc-8.6.3/structured-cli-2.6.0.0-GEks5gi6T6KCwh5Iefl9Rb.log ):
cabal: Entering directory '/tmp/cabal-tmp-6542/structured-cli-2.6.0.0'
Configuring structured-cli-2.6.0.0...
Preprocessing library for structured-cli-2.6.0.0..
Building library for structured-cli-2.6.0.0..
[1 of 1] Compiling System.Console.StructuredCLI ( src/System/Console/StructuredCLI.hs, dist/build/System/Console/StructuredCLI.o )

src/System/Console/StructuredCLI.hs:515:21: error:
    • Could not deduce (HL.MonadException m)
        arising from a use of ‘HL.runInputT’
      from the context: (MonadMask m, MonadIO m)
        bound by the type signature for:
                   runCLI :: forall (m :: * -> *) a.
                             (MonadMask m, MonadIO m) =>
                             String -> Settings m -> CommandsT m a -> m (Either CLIException a)
        at src/System/Console/StructuredCLI.hs:(507,1)-(510,63)
      or from: ?settings::Settings m
        bound by the implicit-parameter binding for ?settings
        at src/System/Console/StructuredCLI.hs:513:3-52
      Possible fix:
        add (HL.MonadException m) to the context of
          the type signature for:
            runCLI :: forall (m :: * -> *) a.
                      (MonadMask m, MonadIO m) =>
                      String -> Settings m -> CommandsT m a -> m (Either CLIException a)
    • In the first argument of ‘(.)’, namely
        ‘HL.runInputT hLineSettings’
      In the second argument of ‘(.)’, namely
        ‘HL.runInputT hLineSettings . runExceptT’
      In the expression:
        withStateM root . HL.runInputT hLineSettings . runExceptT
    |
515 |   withStateM root . HL.runInputT hLineSettings . runExceptT $ do
    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^

src/System/Console/StructuredCLI.hs:562:46: error:
    • Could not deduce (HL.MonadException m)
        arising from a use of ‘HL.getInputLine’
      from the context: (?settings::Settings m, MonadMask m, MonadIO m)
        bound by the type signature for:
                   runLevel :: forall (m :: * -> *).
                               (?settings::Settings m, MonadMask m, MonadIO m) =>
                               ParserT m ()
        at src/System/Console/StructuredCLI.hs:557:1-75
      Possible fix:
        add (HL.MonadException m) to the context of
          the type signature for:
            runLevel :: forall (m :: * -> *).
                        (?settings::Settings m, MonadMask m, MonadIO m) =>
                        ParserT m ()
    • In the second argument of ‘($)’, namely ‘HL.getInputLine prompt’
      In a stmt of a 'do' block:
        line <- MaybeT . liftInputT $ HL.getInputLine prompt
      In the second argument of ‘($)’, namely
        ‘do line <- MaybeT . liftInputT $ HL.getInputLine prompt
            when (isBatch ?settings) $ printInput line
            process line’
    |
562 |               line  <- MaybeT . liftInputT $ HL.getInputLine prompt
    |                                              ^^^^^^^^^^^^^^^^^^^^^^
cabal: Leaving directory '/tmp/cabal-tmp-6542/structured-cli-2.6.0.0'
cabal: Error: some packages failed to install:
structured-cli-2.6.0.0-GEks5gi6T6KCwh5Iefl9Rb failed during the building
phase. The exception was:
ExitFailure 1

Test log

No test log was submitted for this report.