Build #3 for b9-0.5.62

[all reports]

Package b9-0.5.62
Install BuildFailed
Docs NotTried
Tests NotTried
Time submitted 2019-02-26 03:28:09.394650604 UTC
Compiler ghc-8.6.3
OS linux
Arch x86_64
Dependencies ConfigFile-1.1.4, QuickCheck-2.12.6.1, aeson-1.4.2.0, async-2.2.1, base-4.12.0.0, base64-bytestring-1.0.0.2, bifunctors-5.5.3, binary-0.8.6.0, boxes-0.1.5, bytestring-0.10.8.2, conduit-1.3.1, conduit-extra-1.3.1, directory-1.3.3.0, exceptions-0.10.0, extensible-effects-5.0.0.1, filepath-1.4.2.1, free-5.1, hashable-1.2.7.0, lens-4.17, mtl-2.2.2, parallel-3.2.2.0, parsec-3.1.13.0, pretty-1.1.3.6, pretty-show-1.9.5, process-1.6.3.0, random-1.1, shake-0.17.6, syb-0.7, tagged-0.8.6, template-0.2.0.10, text-1.2.3.1, time-1.8.0.2, transformers-0.5.5.0, unordered-containers-0.2.10.0, vector-0.12.0.2, yaml-0.11.0.0, base-4.12.0.0, bytestring-0.10.8.2, directory-1.3.3.0, lens-4.17, optparse-applicative-0.14.3.0, text-1.2.3.1
Flags none

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     StateVar-1.1.1.1
Starting     base64-bytestring-1.0.0.2
Starting     base-orphans-0.8
Starting     base-compat-0.10.5
Building     StateVar-1.1.1.1
Building     base-orphans-0.8
Building     base64-bytestring-1.0.0.2
Building     base-compat-0.10.5
Completed    base-orphans-0.8
Starting     cabal-doctest-1.0.6
Completed    StateVar-1.1.1.1
Starting     call-stack-0.1.0
Building     cabal-doctest-1.0.6
Building     call-stack-0.1.0
Completed    base64-bytestring-1.0.0.2
Starting     clock-0.7.2
Building     clock-0.7.2
Completed    call-stack-0.1.0
Starting     colour-2.3.4
Building     colour-2.3.4
Completed    cabal-doctest-1.0.6
Starting     dlist-0.8.0.5
Completed    clock-0.7.2
Starting     erf-2.0.0.0
Building     dlist-0.8.0.5
Building     erf-2.0.0.0
Completed    base-compat-0.10.5
Starting     hashable-1.2.7.0
Building     hashable-1.2.7.0
Completed    erf-2.0.0.0
Starting     haskell-lexer-1.0.2
Building     haskell-lexer-1.0.2
Completed    dlist-0.8.0.5
Starting     heaps-0.3.6.1
Building     heaps-0.3.6.1
Completed    hashable-1.2.7.0
Starting     integer-logarithms-1.0.2.2
Completed    colour-2.3.4
Starting     js-flot-0.8.3
Building     integer-logarithms-1.0.2.2
Building     js-flot-0.8.3
Completed    heaps-0.3.6.1
Starting     js-jquery-3.3.1
Building     js-jquery-3.3.1
Completed    integer-logarithms-1.0.2.2
Starting     network-2.8.0.0
Completed    js-flot-0.8.3
Starting     old-locale-1.0.0.7
Completed    js-jquery-3.3.1
Starting     parallel-3.2.2.0
Building     old-locale-1.0.0.7
Building     parallel-3.2.2.0
Completed    old-locale-1.0.0.7
Starting     primitive-0.6.4.0
Building     primitive-0.6.4.0
Building     network-2.8.0.0
Completed    parallel-3.2.2.0
Starting     random-1.1
Building     random-1.1
Completed    random-1.1
Starting     reflection-2.1.4
Building     reflection-2.1.4
Completed    network-2.8.0.0
Starting     regex-base-0.93.2
Building     regex-base-0.93.2
Completed    haskell-lexer-1.0.2
Starting     semigroups-0.18.5
Completed    reflection-2.1.4
Starting     split-0.2.3.3
Building     semigroups-0.18.5
Building     split-0.2.3.3
Completed    semigroups-0.18.5
Starting     syb-0.7
Completed    primitive-0.6.4.0
Starting     tagged-0.8.6
Completed    regex-base-0.93.2
Starting     template-0.2.0.10
Building     syb-0.7
Building     tagged-0.8.6
Completed    split-0.2.3.3
Starting     th-abstraction-0.2.10.0
Building     template-0.2.0.10
Building     th-abstraction-0.2.10.0
Completed    template-0.2.0.10
Starting     time-locale-compat-0.1.1.5
Building     time-locale-compat-0.1.1.5
Completed    tagged-0.8.6
Starting     transformers-compat-0.6.2
Completed    syb-0.7
Starting     unliftio-core-0.1.2.0
Building     transformers-compat-0.6.2
Completed    time-locale-compat-0.1.1.5
Starting     utf8-string-1.0.1.1
Building     unliftio-core-0.1.2.0
Building     utf8-string-1.0.1.1
Completed    th-abstraction-0.2.10.0
Starting     void-0.7.2
Completed    unliftio-core-0.1.2.0
Starting     zlib-0.6.2
Building     void-0.7.2
Building     zlib-0.6.2
Completed    void-0.7.2
Starting     contravariant-1.5
Completed    transformers-compat-0.6.2
Starting     HUnit-1.6.0.0
Building     contravariant-1.5
Building     HUnit-1.6.0.0
Completed    utf8-string-1.0.1.1
Starting     extra-1.6.14
Building     extra-1.6.14
Completed    HUnit-1.6.0.0
Starting     unordered-containers-0.2.10.0
Completed    contravariant-1.5
Starting     async-2.2.1
Building     unordered-containers-0.2.10.0
Building     async-2.2.1
Completed    zlib-0.6.2
Starting     ansi-terminal-0.9
Building     ansi-terminal-0.9
Completed    async-2.2.1
Starting     old-time-1.1.0.3
Completed    extra-1.6.14
Starting     uuid-types-1.0.3
Building     uuid-types-1.0.3
Building     old-time-1.1.0.3
Completed    ansi-terminal-0.9
Starting     hslogger-1.2.12
Building     hslogger-1.2.12
Completed    uuid-types-1.0.3
Starting     pretty-show-1.9.5
Building     pretty-show-1.9.5
Completed    old-time-1.1.0.3
Starting     vector-0.12.0.2
Building     vector-0.12.0.2
Completed    hslogger-1.2.12
Starting     tf-random-0.5
Completed    unordered-containers-0.2.10.0
Starting     scientific-0.3.6.2
Building     tf-random-0.5
Building     scientific-0.3.6.2
Completed    tf-random-0.5
Starting     regex-posix-0.95.2
Completed    pretty-show-1.9.5
Starting     boxes-0.1.5
Building     regex-posix-0.95.2
Completed    scientific-0.3.6.2
Starting     distributive-0.6
Building     boxes-0.1.5
Completed    boxes-0.1.5
Starting     transformers-base-0.4.5.2
Building     distributive-0.6
Building     transformers-base-0.4.5.2
Completed    regex-posix-0.95.2
Starting     exceptions-0.10.0
Building     exceptions-0.10.0
Completed    transformers-base-0.4.5.2
Starting     typed-process-0.2.4.0
Building     typed-process-0.2.4.0
Completed    distributive-0.6
Starting     streaming-commons-0.2.1.0
Building     streaming-commons-0.2.1.0
Completed    typed-process-0.2.4.0
Starting     filepattern-0.1.1
Completed    exceptions-0.10.0
Starting     ansi-wl-pprint-0.6.8.2
Building     filepattern-0.1.1
Building     ansi-wl-pprint-0.6.8.2
Completed    ansi-wl-pprint-0.6.8.2
Starting     QuickCheck-2.12.6.1
Completed    filepattern-0.1.1
Starting     attoparsec-0.13.2.2
Building     QuickCheck-2.12.6.1
Building     attoparsec-0.13.2.2
Completed    streaming-commons-0.2.1.0
Starting     regex-compat-0.95.1
Building     regex-compat-0.95.1
Completed    regex-compat-0.95.1
Starting     monad-control-1.0.2.3
Building     monad-control-1.0.2.3
Completed    monad-control-1.0.2.3
Starting     comonad-5.0.4
Building     comonad-5.0.4
Completed    attoparsec-0.13.2.2
Starting     resourcet-1.2.2
Building     resourcet-1.2.2
Completed    vector-0.12.0.2
Starting     optparse-applicative-0.14.3.0
Building     optparse-applicative-0.14.3.0
Completed    resourcet-1.2.2
Starting     shake-0.17.6
Completed    comonad-5.0.4
Starting     MissingH-1.4.1.0
Building     shake-0.17.6
Building     MissingH-1.4.1.0
Completed    QuickCheck-2.12.6.1
Starting     extensible-effects-5.0.0.1
Building     extensible-effects-5.0.0.1
Completed    optparse-applicative-0.14.3.0
Starting     vector-algorithms-0.8.0.1
Building     vector-algorithms-0.8.0.1
Completed    extensible-effects-5.0.0.1
Starting     aeson-1.4.2.0
Building     aeson-1.4.2.0
Completed    MissingH-1.4.1.0
Starting     bifunctors-5.5.3
Building     bifunctors-5.5.3
Completed    vector-algorithms-0.8.0.1
Starting     ConfigFile-1.1.4
Building     ConfigFile-1.1.4
Completed    ConfigFile-1.1.4
Starting     mono-traversable-1.0.11.0
Building     mono-traversable-1.0.11.0
Completed    bifunctors-5.5.3
Starting     semigroupoids-5.3.2
Building     semigroupoids-5.3.2
Completed    semigroupoids-5.3.2
Starting     profunctors-5.3
Completed    mono-traversable-1.0.11.0
Starting     conduit-1.3.1
Building     profunctors-5.3
Completed    aeson-1.4.2.0
Building     conduit-1.3.1
Completed    shake-0.17.6
Completed    profunctors-5.3
Starting     invariant-0.5.1
Starting     free-5.1
Building     invariant-0.5.1
Building     free-5.1
Completed    conduit-1.3.1
Starting     libyaml-0.1.1.0
Starting     conduit-extra-1.3.1
Completed    invariant-0.5.1
Building     libyaml-0.1.1.0
Building     conduit-extra-1.3.1
Completed    conduit-extra-1.3.1
Completed    libyaml-0.1.1.0
Starting     yaml-0.11.0.0
Building     yaml-0.11.0.0
Completed    free-5.1
Starting     adjunctions-4.4
Building     adjunctions-4.4
Completed    yaml-0.11.0.0
Completed    adjunctions-4.4
Starting     kan-extensions-5.2
Building     kan-extensions-5.2
Completed    kan-extensions-5.2
Starting     lens-4.17
Building     lens-4.17
Completed    lens-4.17
Starting     b9-0.5.62
Building     b9-0.5.62
Failed to install b9-0.5.62
Build log ( /home/builder/.cabal/logs/ghc-8.6.3/b9-0.5.62-5qlkF2wmAH4IQgPWzJoCIs.log ):
cabal: Entering directory '/tmp/cabal-tmp-11230/b9-0.5.62'
Configuring b9-0.5.62...
Preprocessing library for b9-0.5.62..
Building library for b9-0.5.62..
[ 1 of 36] Compiling B9.Artifact      ( src/lib/B9/Artifact.hs, dist/build/B9/Artifact.o )
[ 2 of 36] Compiling B9.Environment   ( src/lib/B9/Environment.hs, dist/build/B9/Environment.o )
[ 3 of 36] Compiling B9.MBR           ( src/lib/B9/MBR.hs, dist/build/B9/MBR.o )
[ 4 of 36] Compiling B9.PartitionTable ( src/lib/B9/PartitionTable.hs, dist/build/B9/PartitionTable.o )
[ 5 of 36] Compiling B9.QCUtil        ( src/lib/B9/QCUtil.hs, dist/build/B9/QCUtil.o )
[ 6 of 36] Compiling B9.DiskImages    ( src/lib/B9/DiskImages.hs, dist/build/B9/DiskImages.o )
[ 7 of 36] Compiling B9.ExecEnv       ( src/lib/B9/ExecEnv.hs, dist/build/B9/ExecEnv.o )
[ 8 of 36] Compiling B9.Artifact.Content.ErlTerms ( src/lib/B9/Artifact/Content/ErlTerms.hs, dist/build/B9/Artifact/Content/ErlTerms.o )
[ 9 of 36] Compiling B9.ShellScript   ( src/lib/B9/ShellScript.hs, dist/build/B9/ShellScript.o )
[10 of 36] Compiling Paths_b9         ( dist/build/autogen/Paths_b9.hs, dist/build/Paths_b9.o )
[11 of 36] Compiling System.IO.B9Extras ( src/lib/System/IO/B9Extras.hs, dist/build/System/IO/B9Extras.o )
[12 of 36] Compiling Data.ConfigFile.B9Extras ( src/lib/Data/ConfigFile/B9Extras.hs, dist/build/Data/ConfigFile/B9Extras.o )
[13 of 36] Compiling B9.B9Config.Repository ( src/lib/B9/B9Config/Repository.hs, dist/build/B9/B9Config/Repository.o )
[14 of 36] Compiling B9.B9Config.LibVirtLXC ( src/lib/B9/B9Config/LibVirtLXC.hs, dist/build/B9/B9Config/LibVirtLXC.o )
[15 of 36] Compiling B9.Repository    ( src/lib/B9/Repository.hs, dist/build/B9/Repository.o )
[16 of 36] Compiling B9.B9Config      ( src/lib/B9/B9Config.hs, dist/build/B9/B9Config.o )
[17 of 36] Compiling B9.B9Monad       ( src/lib/B9/B9Monad.hs, dist/build/B9/B9Monad.o )
[18 of 36] Compiling B9.RepositoryIO  ( src/lib/B9/RepositoryIO.hs, dist/build/B9/RepositoryIO.o )
[19 of 36] Compiling B9.LibVirtLXC    ( src/lib/B9/LibVirtLXC.hs, dist/build/B9/LibVirtLXC.o )
[20 of 36] Compiling B9.Artifact.Content ( src/lib/B9/Artifact/Content.hs, dist/build/B9/Artifact/Content.o )
[21 of 36] Compiling B9.Artifact.Content.StringTemplate ( src/lib/B9/Artifact/Content/StringTemplate.hs, dist/build/B9/Artifact/Content/StringTemplate.o )
[22 of 36] Compiling B9.Vm            ( src/lib/B9/Vm.hs, dist/build/B9/Vm.o )
[23 of 36] Compiling B9.DiskImageBuilder ( src/lib/B9/DiskImageBuilder.hs, dist/build/B9/DiskImageBuilder.o )
[24 of 36] Compiling B9.Artifact.Content.AST ( src/lib/B9/Artifact/Content/AST.hs, dist/build/B9/Artifact/Content/AST.o )
[25 of 36] Compiling B9.Artifact.Content.YamlObject ( src/lib/B9/Artifact/Content/YamlObject.hs, dist/build/B9/Artifact/Content/YamlObject.o )
[26 of 36] Compiling B9.Artifact.Content.ErlangPropList ( src/lib/B9/Artifact/Content/ErlangPropList.hs, dist/build/B9/Artifact/Content/ErlangPropList.o )
[27 of 36] Compiling B9.Artifact.Content.CloudConfigYaml ( src/lib/B9/Artifact/Content/CloudConfigYaml.hs, dist/build/B9/Artifact/Content/CloudConfigYaml.o )
[28 of 36] Compiling B9.Artifact.Content.Readable ( src/lib/B9/Artifact/Content/Readable.hs, dist/build/B9/Artifact/Content/Readable.o )
[29 of 36] Compiling B9.Artifact.Readable.Source ( src/lib/B9/Artifact/Readable/Source.hs, dist/build/B9/Artifact/Readable/Source.o )

src/lib/B9/Artifact/Readable/Source.hs:9:1: warning: [-Wunused-imports]
    The import of ‘Control.Eff’ is redundant
      except perhaps to import instances from ‘Control.Eff’
    To import instances alone, use: import Control.Eff()
  |
9 | import           Control.Eff
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/lib/B9/Artifact/Readable/Source.hs:10:1: warning: [-Wunused-imports]
    The import of ‘Control.Eff.Extend’ is redundant
      except perhaps to import instances from ‘Control.Eff.Extend’
    To import instances alone, use: import Control.Eff.Extend()
   |
10 | import           Control.Eff.Extend
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/lib/B9/Artifact/Readable/Source.hs:11:1: warning: [-Wunused-imports]
    The import of ‘Control.Eff.Writer.Lazy’ is redundant
      except perhaps to import instances from ‘Control.Eff.Writer.Lazy’
    To import instances alone, use: import Control.Eff.Writer.Lazy()
   |
11 | import           Control.Eff.Writer.Lazy
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/lib/B9/Artifact/Readable/Source.hs:14:1: warning: [-Wunused-imports]
    The import of ‘Data.Tagged’ is redundant
      except perhaps to import instances from ‘Data.Tagged’
    To import instances alone, use: import Data.Tagged()
   |
14 | import           Data.Tagged
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/lib/B9/Artifact/Readable/Source.hs:17:1: warning: [-Wunused-imports]
    The import of ‘Text.Read’ is redundant
      except perhaps to import instances from ‘Text.Read’
    To import instances alone, use: import Text.Read()
   |
17 | import           Text.Read
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^

src/lib/B9/Artifact/Readable/Source.hs:19:1: warning: [-Wunused-imports]
    The import of ‘B9.Artifact.Content’ is redundant
      except perhaps to import instances from ‘B9.Artifact.Content’
    To import instances alone, use: import B9.Artifact.Content()
   |
19 | import           B9.Artifact.Content
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[30 of 36] Compiling B9.Artifact.Readable ( src/lib/B9/Artifact/Readable.hs, dist/build/B9/Artifact/Readable.o )

src/lib/B9/Artifact/Readable.hs:33:1: warning: [-Wunused-imports]
    The import of ‘B9.Artifact.Content.Readable’ is redundant
      except perhaps to import instances from ‘B9.Artifact.Content.Readable’
    To import instances alone, use: import B9.Artifact.Content.Readable()
   |
33 | import           B9.Artifact.Content.Readable
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/lib/B9/Artifact/Readable.hs:34:1: warning: [-Wunused-imports]
    The import of ‘B9.Artifact.Content.StringTemplate’ is redundant
      except perhaps to import instances from ‘B9.Artifact.Content.StringTemplate’
    To import instances alone, use: import B9.Artifact.Content.StringTemplate()
   |
34 | import           B9.Artifact.Content.StringTemplate
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[31 of 36] Compiling B9.VmBuilder     ( src/lib/B9/VmBuilder.hs, dist/build/B9/VmBuilder.o )
[32 of 36] Compiling B9.Artifact.Readable.Interpreter ( src/lib/B9/Artifact/Readable/Interpreter.hs, dist/build/B9/Artifact/Readable/Interpreter.o )
[33 of 36] Compiling B9               ( src/lib/B9.hs, dist/build/B9.o )

src/lib/B9.hs:46:1: warning: [-Wunused-imports]
    The import of ‘B9.Artifact’ is redundant
      except perhaps to import instances from ‘B9.Artifact’
    To import instances alone, use: import B9.Artifact()
   |
46 | import B9.Artifact as X
   | ^^^^^^^^^^^^^^^^^^^^^^^

src/lib/B9.hs:56:1: warning: [-Wunused-imports]
    The import of ‘B9.Artifact.Readable.Source’ is redundant
      except perhaps to import instances from ‘B9.Artifact.Readable.Source’
    To import instances alone, use: import B9.Artifact.Readable.Source()
   |
56 | import B9.Artifact.Readable.Source as X
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[34 of 36] Compiling B9.Shake.SharedImageRules ( src/lib/B9/Shake/SharedImageRules.hs, dist/build/B9/Shake/SharedImageRules.o )

src/lib/B9/Shake/SharedImageRules.hs:27:5: error:
    • Couldn't match expected type ‘Maybe ByteString.ByteString’
                  with actual type ‘ByteString.ByteString’
    • In the expression:
        LazyByteString.toStrict
          (Builder.toLazyByteString (stringUtf8 k <> stringUtf8 v))
      In an equation for ‘sharedImageIdentity’:
          sharedImageIdentity (SharedImageName k) (SharedImageBuildId v)
            = LazyByteString.toStrict
                (Builder.toLazyByteString (stringUtf8 k <> stringUtf8 v))
      In an equation for ‘enableSharedImageRules’:
          enableSharedImageRules b9inv
            = addBuiltinRule noLint sharedImageIdentity go
            where
                sharedImageIdentity ::
                  BuiltinIdentity SharedImageName SharedImageBuildId
                sharedImageIdentity (SharedImageName k) (SharedImageBuildId v)
                  = LazyByteString.toStrict
                      (Builder.toLazyByteString (stringUtf8 k <> stringUtf8 v))
                go :: BuiltinRun SharedImageName SharedImageBuildId
                go nameQ mOldBIdBinary dependenciesChanged
                  = do mCurrentBId <- getImgBuildId
                       ....
                  where
                      getImgBuildId
                        = execB9ConfigAction (runLookupLocalSharedImage nameQ) b9inv
                      encodeBuildId :: SharedImageBuildId -> ByteString.ByteString
                      ....
   |
27 |     LazyByteString.toStrict
   |     ^^^^^^^^^^^^^^^^^^^^^^^...
cabal: Leaving directory '/tmp/cabal-tmp-11230/b9-0.5.62'
cabal: Error: some packages failed to install:
b9-0.5.62-5qlkF2wmAH4IQgPWzJoCIs failed during the building phase. The
exception was:
ExitFailure 1