Build #2 for clashilator-0.1.0

[all reports]

Package clashilator-0.1.0
Install BuildFailed
Docs NotTried
Tests NotTried
Time submitted 2021-08-20 13:38:59.750285417 UTC
Compiler ghc-8.10.2
OS linux
Arch x86_64
Dependencies Cabal-3.6.0.0, aeson-1.5.6.0, base-4.14.1.0, clash-ghc-1.4.3, clash-lib-1.4.3, containers-0.6.2.1, filepath-1.4.2.1, ghc-8.10.2, lens-5.0.1, optparse-applicative-0.16.1.0, shake-0.19.5, stache-2.3.0, text-1.2.3.2, unordered-containers-0.2.14.0, Cabal-3.6.0.0, aeson-1.5.6.0, base-4.14.1.0, clash-ghc-1.4.3, clash-lib-1.4.3, containers-0.6.2.1, filepath-1.4.2.1, ghc-8.10.2, lens-5.0.1, optparse-applicative-0.16.1.0, shake-0.19.5, stache-2.3.0, text-1.2.3.2, unordered-containers-0.2.14.0
Flags none

Code Coverage

No Code Coverage was submitted for this report.

Build log

[view raw]

Resolving dependencies...
Starting     StateVar-1.2.2
Starting     base-orphans-0.8.4
Starting     base-compat-0.11.2
Starting     Cabal-3.6.0.0
Building     StateVar-1.2.2
Building     base-orphans-0.8.4
Building     base-compat-0.11.2
Building     Cabal-3.6.0.0
Completed    StateVar-1.2.2
Starting     base16-bytestring-1.0.1.0
Building     base16-bytestring-1.0.1.0
Completed    base16-bytestring-1.0.1.0
Starting     blaze-builder-0.4.2.1
Building     blaze-builder-0.4.2.1
Completed    base-orphans-0.8.4
Starting     bytestring-builder-0.10.8.2.0
Building     bytestring-builder-0.10.8.2.0
Completed    base-compat-0.11.2
Starting     cabal-doctest-1.0.8
Completed    bytestring-builder-0.10.8.2.0
Starting     call-stack-0.4.0
Building     cabal-doctest-1.0.8
Building     call-stack-0.4.0
Completed    blaze-builder-0.4.2.1
Starting     clock-0.8.2
Completed    call-stack-0.4.0
Starting     cmdargs-0.10.21
Building     clock-0.8.2
Building     cmdargs-0.10.21
Completed    cabal-doctest-1.0.8
Starting     colour-2.3.6
Building     colour-2.3.6
Completed    clock-0.8.2
Starting     cryptohash-sha256-0.11.102.0
Building     cryptohash-sha256-0.11.102.0
Completed    cryptohash-sha256-0.11.102.0
Starting     data-binary-ieee754-0.4.4
Building     data-binary-ieee754-0.4.4
Completed    data-binary-ieee754-0.4.4
Starting     data-default-class-0.1.2.0
Building     data-default-class-0.1.2.0
Completed    colour-2.3.6
Starting     dlist-1.0
Building     dlist-1.0
Completed    data-default-class-0.1.2.0
Starting     fingertree-0.1.4.2
Building     fingertree-0.1.4.2
Completed    dlist-1.0
Starting     first-class-families-0.8.0.1
Building     first-class-families-0.8.0.1
Completed    first-class-families-0.8.0.1
Starting     ghc-paths-0.1.0.12
Completed    fingertree-0.1.4.2
Starting     ghc-tcplugins-extra-0.4.2
Building     ghc-tcplugins-extra-0.4.2
Building     ghc-paths-0.1.0.12
Completed    ghc-tcplugins-extra-0.4.2
Starting     half-0.3.1
Building     half-0.3.1
Completed    cmdargs-0.10.21
Starting     hashable-1.3.2.0
Building     hashable-1.3.2.0
Completed    ghc-paths-0.1.0.12
Starting     haskell-lexer-1.1
Building     haskell-lexer-1.1
Completed    half-0.3.1
Starting     haskell-src-exts-1.23.1
Building     haskell-src-exts-1.23.1
Completed    hashable-1.3.2.0
Starting     heaps-0.4
Building     heaps-0.4
Completed    heaps-0.4
Starting     indexed-traversable-0.1.1
Building     indexed-traversable-0.1.1
Completed    indexed-traversable-0.1.1
Starting     integer-logarithms-1.0.3.1
Building     integer-logarithms-1.0.3.1
Completed    integer-logarithms-1.0.3.1
Starting     js-dgtable-0.5.2
Building     js-dgtable-0.5.2
Completed    js-dgtable-0.5.2
Starting     js-flot-0.8.3
Building     js-flot-0.8.3
Completed    js-flot-0.8.3
Starting     js-jquery-3.3.1
Building     js-jquery-3.3.1
Completed    js-jquery-3.3.1
Starting     lazysmallcheck-0.6
Building     lazysmallcheck-0.6
Completed    lazysmallcheck-0.6
Starting     old-locale-1.0.0.7
Building     old-locale-1.0.0.7
Completed    old-locale-1.0.0.7
Starting     ordered-containers-0.2.2
Building     ordered-containers-0.2.2
Completed    ordered-containers-0.2.2
Starting     parallel-3.2.2.0
Building     parallel-3.2.2.0
Completed    haskell-lexer-1.1
Starting     parser-combinators-1.3.0
Building     parser-combinators-1.3.0
Completed    parallel-3.2.2.0
Starting     prettyprinter-1.7.0
Building     prettyprinter-1.7.0
Completed    parser-combinators-1.3.0
Starting     primitive-0.7.2.0
Building     primitive-0.7.2.0
Completed    prettyprinter-1.7.0
Starting     reflection-2.1.6
Building     reflection-2.1.6
Completed    reflection-2.1.6
Starting     safe-0.3.19
Building     safe-0.3.19
Completed    primitive-0.7.2.0
Starting     semigroups-0.19.1
Building     semigroups-0.19.1
Completed    safe-0.3.19
Starting     singletons-3.0
Building     singletons-3.0
Completed    semigroups-0.19.1
Starting     split-0.2.3.4
Building     split-0.2.3.4
Completed    split-0.2.3.4
Starting     splitmix-0.1.0.3
Building     splitmix-0.1.0.3
Completed    singletons-3.0
Starting     syb-0.7.2.1
Building     syb-0.7.2.1
Completed    splitmix-0.1.0.3
Starting     tagged-0.8.6.1
Building     tagged-0.8.6.1
Completed    syb-0.7.2.1
Starting     terminal-size-0.3.2.1
Building     terminal-size-0.3.2.1
Completed    tagged-0.8.6.1
Starting     th-abstraction-0.4.2.0
Building     th-abstraction-0.4.2.0
Completed    terminal-size-0.3.2.1
Starting     th-compat-0.1.2
Building     th-compat-0.1.2
Completed    th-compat-0.1.2
Starting     transformers-compat-0.7
Building     transformers-compat-0.7
Completed    th-abstraction-0.4.2.0
Starting     type-equality-1
Building     type-equality-1
Completed    type-equality-1
Starting     unliftio-core-0.2.0.1
Building     unliftio-core-0.2.0.1
Completed    transformers-compat-0.7
Starting     utf8-string-1.0.2
Building     utf8-string-1.0.2
Completed    unliftio-core-0.2.0.1
Starting     void-0.7.3
Building     void-0.7.3
Completed    void-0.7.3
Starting     contravariant-1.5.5
Building     contravariant-1.5.5
Completed    utf8-string-1.0.2
Starting     gitrev-1.3.1
Building     gitrev-1.3.1
Completed    contravariant-1.5.5
Starting     base-compat-batteries-0.11.2
Completed    gitrev-1.3.1
Starting     blaze-markup-0.8.2.8
Building     base-compat-batteries-0.11.2
Building     blaze-markup-0.8.2.8
Completed    blaze-markup-0.8.2.8
Starting     extra-1.7.9
Building     extra-1.7.9
Completed    base-compat-batteries-0.11.2
Starting     ansi-terminal-0.11
Building     ansi-terminal-0.11
Completed    extra-1.7.9
Starting     data-default-instances-containers-0.0.1
Completed    ansi-terminal-0.11
Starting     data-default-instances-dlist-0.0.1
Building     data-default-instances-containers-0.0.1
Building     data-default-instances-dlist-0.0.1
Completed    data-default-instances-containers-0.0.1
Starting     ghc-typelits-natnormalise-0.7.6
Completed    data-default-instances-dlist-0.0.1
Starting     unordered-containers-0.2.14.0
Building     ghc-typelits-natnormalise-0.7.6
Building     unordered-containers-0.2.14.0
Completed    ghc-typelits-natnormalise-0.7.6
Starting     time-compat-1.9.6
Building     time-compat-1.9.6
Completed    unordered-containers-0.2.14.0
Starting     data-fix-0.3.2
Building     data-fix-0.3.2
Completed    time-compat-1.9.6
Starting     concurrent-supply-0.1.8
Building     concurrent-supply-0.1.8
Completed    data-fix-0.3.2
Starting     case-insensitive-1.2.1.0
Completed    concurrent-supply-0.1.8
Starting     data-default-instances-old-locale-0.0.1
Building     case-insensitive-1.2.1.0
Building     data-default-instances-old-locale-0.0.1
Completed    data-default-instances-old-locale-0.0.1
Starting     pretty-show-1.10
Building     pretty-show-1.10
Completed    case-insensitive-1.2.1.0
Starting     vector-0.12.3.0
Building     vector-0.12.3.0
Completed    haskell-src-exts-1.23.1
Starting     scientific-0.3.7.0
Building     scientific-0.3.7.0
Completed    scientific-0.3.7.0
Starting     random-1.2.0
Completed    pretty-show-1.10
Starting     distributive-0.6.2.1
Building     random-1.2.0
Building     distributive-0.6.2.1
Completed    distributive-0.6.2.1
Starting     type-errors-0.2.0.0
Building     type-errors-0.2.0.0
Completed    type-errors-0.2.0.0
Starting     th-lift-0.8.2
Building     th-lift-0.8.2
Completed    random-1.2.0
Starting     th-expand-syns-0.4.8.0
Building     th-expand-syns-0.4.8.0
Completed    th-lift-0.8.2
Starting     generic-deriving-1.14
Building     generic-deriving-1.14
Completed    th-expand-syns-0.4.8.0
Starting     transformers-base-0.4.6
Building     transformers-base-0.4.6
Completed    transformers-base-0.4.6
Starting     errors-2.3.0
Building     errors-2.3.0
Completed    errors-2.3.0
Starting     constraints-0.13
Building     constraints-0.13
Completed    constraints-0.13
Starting     resourcet-1.2.4.3
Building     resourcet-1.2.4.3
Completed    resourcet-1.2.4.3
Starting     blaze-html-0.9.1.2
Building     blaze-html-0.9.1.2
Completed    generic-deriving-1.14
Starting     filepattern-0.1.2
Building     filepattern-0.1.2
Completed    vector-0.12.3.0
Starting     prettyprinter-ansi-terminal-1.1.2
Building     prettyprinter-ansi-terminal-1.1.2
Completed    Cabal-3.6.0.0
Starting     ansi-wl-pprint-0.6.9
Completed    filepattern-0.1.2
Starting     ghc-typelits-knownnat-0.7.6
Completed    prettyprinter-ansi-terminal-1.1.2
Starting     uniplate-1.6.13
Building     ansi-wl-pprint-0.6.9
Building     ghc-typelits-knownnat-0.7.6
Building     uniplate-1.6.13
Completed    ansi-wl-pprint-0.6.9
Starting     charset-0.3.8
Building     charset-0.3.8
Completed    ghc-typelits-knownnat-0.7.6
Starting     data-default-0.7.1.1
Building     data-default-0.7.1.1
Completed    data-default-0.7.1.1
Starting     megaparsec-9.1.0
Completed    charset-0.3.8
Starting     attoparsec-0.14.1
Building     megaparsec-9.1.0
Completed    uniplate-1.6.13
Starting     comonad-5.0.8
Building     attoparsec-0.14.1
Building     comonad-5.0.8
Completed    blaze-html-0.9.1.2
Starting     uuid-types-1.0.5
Building     uuid-types-1.0.5
Completed    comonad-5.0.8
Starting     temporary-1.3
Building     temporary-1.3
Completed    temporary-1.3
Starting     QuickCheck-2.14.2
Completed    uuid-types-1.0.5
Starting     th-reify-many-0.1.9
Building     QuickCheck-2.14.2
Building     th-reify-many-0.1.9
Completed    attoparsec-0.14.1
Starting     vector-binary-instances-0.2.5.2
Completed    th-reify-many-0.1.9
Starting     vector-algorithms-0.8.0.4
Building     vector-binary-instances-0.2.5.2
Building     vector-algorithms-0.8.0.4
Completed    vector-binary-instances-0.2.5.2
Starting     th-lift-instances-0.1.18
Completed    megaparsec-9.1.0
Starting     indexed-traversable-instances-0.1
Building     th-lift-instances-0.1.18
Building     indexed-traversable-instances-0.1
Completed    indexed-traversable-instances-0.1
Starting     shake-0.19.5
Completed    th-lift-instances-0.1.18
Starting     optparse-applicative-0.16.1.0
Building     shake-0.19.5
Building     optparse-applicative-0.16.1.0
Completed    vector-algorithms-0.8.0.4
Starting     ghc-typelits-extra-0.4.3
Building     ghc-typelits-extra-0.4.3
Completed    optparse-applicative-0.16.1.0
Starting     bifunctors-5.5.11
Building     bifunctors-5.5.11
Completed    ghc-typelits-extra-0.4.3
Starting     hint-0.9.0.4
Building     hint-0.9.0.4
Completed    QuickCheck-2.14.2
Starting     parsers-0.12.10
Building     parsers-0.12.10
Completed    bifunctors-5.5.11
Starting     th-orphans-0.13.11
Building     th-orphans-0.13.11
Completed    hint-0.9.0.4
Starting     mono-traversable-1.0.15.1
Completed    parsers-0.12.10
Starting     Stream-0.4.7.2
Building     mono-traversable-1.0.15.1
Building     Stream-0.4.7.2
Completed    Stream-0.4.7.2
Starting     text-show-3.9
Building     text-show-3.9
Completed    th-orphans-0.13.11
Starting     semigroupoids-5.3.5
Building     semigroupoids-5.3.5
Completed    mono-traversable-1.0.15.1
Starting     profunctors-5.6.2
Building     profunctors-5.6.2
Completed    semigroupoids-5.3.5
Starting     assoc-1.0.2
Building     assoc-1.0.2
Completed    assoc-1.0.2
Starting     arrows-0.4.4.2
Building     arrows-0.4.4.2
Completed    profunctors-5.6.2
Starting     haskell-src-meta-0.8.7
Building     haskell-src-meta-0.8.7
Completed    arrows-0.4.4.2
Starting     conduit-1.3.4.1
Building     conduit-1.3.4.1
Completed    shake-0.19.5
Starting     reducers-3.12.3
Building     reducers-3.12.3
Completed    haskell-src-meta-0.8.7
Starting     these-1.1.1.1
Building     these-1.1.1.1
Completed    reducers-3.12.3
Starting     invariant-0.5.4
Building     invariant-0.5.4
Completed    these-1.1.1.1
Starting     free-5.1.7
Building     free-5.1.7
Completed    invariant-0.5.4
Starting     interpolate-0.2.1
Building     interpolate-0.2.1
Completed    conduit-1.3.4.1
Starting     strict-0.4.0.1
Building     strict-0.4.0.1
Completed    text-show-3.9
Starting     libyaml-0.1.2
Building     libyaml-0.1.2
Completed    interpolate-0.2.1
Completed    strict-0.4.0.1
Starting     aeson-1.5.6.0
Building     aeson-1.5.6.0
Completed    libyaml-0.1.2
Completed    free-5.1.7
Starting     recursion-schemes-5.2.2.1
Starting     adjunctions-4.4
Building     recursion-schemes-5.2.2.1
Building     adjunctions-4.4
Completed    adjunctions-4.4
Starting     kan-extensions-5.2.3
Completed    recursion-schemes-5.2.2.1
Building     kan-extensions-5.2.3
Completed    kan-extensions-5.2.3
Starting     lens-5.0.1
Building     lens-5.0.1
Completed    aeson-1.5.6.0
Starting     aeson-pretty-0.8.8
Starting     yaml-0.11.5.0
Building     yaml-0.11.5.0
Building     aeson-pretty-0.8.8
Completed    aeson-pretty-0.8.8
Completed    yaml-0.11.5.0
Starting     stache-2.3.0
Building     stache-2.3.0
Completed    stache-2.3.0
Completed    lens-5.0.1
Starting     trifecta-2.1.1
Starting     clash-prelude-1.4.3
Building     trifecta-2.1.1
Building     clash-prelude-1.4.3
Completed    trifecta-2.1.1
Completed    clash-prelude-1.4.3
Starting     clash-lib-1.4.3
Building     clash-lib-1.4.3
Completed    clash-lib-1.4.3
Starting     clash-ghc-1.4.3
Building     clash-ghc-1.4.3
Completed    clash-ghc-1.4.3
Starting     clashilator-0.1.0
Building     clashilator-0.1.0
Failed to install clashilator-0.1.0
Build log ( /home/builder/.cabal/logs/ghc-8.10.2/clashilator-0.1.0-EyprKdxUdrO7mTWF99I028.log ):
cabal: Entering directory '/tmp/cabal-tmp-22260/clashilator-0.1.0'
Configuring clashilator-0.1.0...
Preprocessing executable 'clashilator' for clashilator-0.1.0..
Building executable 'clashilator' for clashilator-0.1.0..
[1 of 5] Compiling Clash.Clashilator ( src/Clash/Clashilator.hs, dist/build/clashilator/clashilator-tmp/Clash/Clashilator.o, dist/build/clashilator/clashilator-tmp/Clash/Clashilator.dyn_o )
[2 of 5] Compiling Clash.Clashilator.Cabal ( src/Clash/Clashilator/Cabal.hs, dist/build/clashilator/clashilator-tmp/Clash/Clashilator/Cabal.o, dist/build/clashilator/clashilator-tmp/Clash/Clashilator/Cabal.dyn_o )
[3 of 5] Compiling Clash.Clashilator.Setup ( src/Clash/Clashilator/Setup.hs, dist/build/clashilator/clashilator-tmp/Clash/Clashilator/Setup.o, dist/build/clashilator/clashilator-tmp/Clash/Clashilator/Setup.dyn_o )

src/Clash/Clashilator/Setup.hs:121:26: error:
    " Couldn't match type [Char]
                     with Distribution.Utils.Path.SymbolicPath
                             Distribution.Utils.Path.PackageDir
                             Distribution.Utils.Path.SourceDir
      Expected type: Distribution.Utils.Path.SymbolicPath
                       Distribution.Utils.Path.PackageDir
                       Distribution.Utils.Path.SourceDir
        Actual type: FilePath
    " In the first argument of (:), namely incDir
      In the second argument of (%~), namely (incDir :)
      In the second argument of (&), namely
        hsSourceDirs %~ (incDir :)
    |
121 |       & hsSourceDirs %~ (incDir:)
    |                          ^^^^^^

src/Clash/Clashilator/Setup.hs:129:15: error:
    " Couldn't match type Distribution.Utils.Path.SymbolicPath
                             Distribution.Utils.Path.PackageDir
                             Distribution.Utils.Path.SourceDir
                     with [Char]
      Expected type: BuildInfo -> [FilePath]
        Actual type: BuildInfo
                     -> [Distribution.Utils.Path.SymbolicPath
                           Distribution.Utils.Path.PackageDir
                           Distribution.Utils.Path.SourceDir]
    " The function view is applied to two arguments,
      its type is Getting a0 s0 a0 -> m0 a0,
      it is specialized to Getting
                              [Distribution.Utils.Path.SymbolicPath
                                 Distribution.Utils.Path.PackageDir
                                 Distribution.Utils.Path.SourceDir]
                              BuildInfo
                              [Distribution.Utils.Path.SymbolicPath
                                 Distribution.Utils.Path.PackageDir
                                 Distribution.Utils.Path.SourceDir]
                            -> BuildInfo
                            -> [Distribution.Utils.Path.SymbolicPath
                                  Distribution.Utils.Path.PackageDir
                                  Distribution.Utils.Path.SourceDir]
      In the expression: view hsSourceDirs buildInfo
      In an equation for srcDirs: srcDirs = view hsSourceDirs buildInfo
    |
129 |     srcDirs = view hsSourceDirs buildInfo
    |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
cabal: Leaving directory '/tmp/cabal-tmp-22260/clashilator-0.1.0'
cabal: Error: some packages failed to install:
clashilator-0.1.0-EyprKdxUdrO7mTWF99I028 failed during the building phase. The
exception was:
ExitFailure 1