Build #3 for mikrokosmos-0.8.0

[all reports]

Package mikrokosmos-0.8.0
Install BuildFailed
Docs NotTried
Tests NotTried
Time submitted 2018-08-01 14:15:45.549398934 UTC
Compiler ghc-8.4.3
OS linux
Arch x86_64
Dependencies HUnit-1.6.0.0, ansi-terminal-0.8.0.4, base-4.11.1.0, containers-0.5.11.0, directory-1.3.1.5, haskeline-0.7.4.2, mtl-2.2.2, multimap-1.2.1, options-1.2.1.1, parsec-3.1.13.0, tasty-1.1.0.3, tasty-golden-2.3.2, tasty-hunit-0.10.0.1, tasty-quickcheck-0.10
Flags none

Code Coverage

No Code Coverage was submitted for this report.

Build log

[view raw]

Resolving dependencies...
Configuring call-stack-0.1.0...
Configuring clock-0.7.2...
Building clock-0.7.2...
Building call-stack-0.1.0...
Installed call-stack-0.1.0
Configuring colour-2.3.4...
Building colour-2.3.4...
Installed clock-0.7.2
Configuring hashable-1.2.7.0...
Building hashable-1.2.7.0...
Installed hashable-1.2.7.0
Configuring monads-tf-0.1.0.3...
Building monads-tf-0.1.0.3...
Installed colour-2.3.4
Configuring multimap-1.2.1...
Building multimap-1.2.1...
Installed monads-tf-0.1.0.3
Configuring primitive-0.6.4.0...
Building primitive-0.6.4.0...
Installed multimap-1.2.1
Configuring random-1.1...
Building random-1.1...
Installed random-1.1
Configuring tagged-0.8.6...
Building tagged-0.8.6...
Installed tagged-0.8.6
Configuring transformers-compat-0.6.2...
Building transformers-compat-0.6.2...
Installed transformers-compat-0.6.2
Configuring unbounded-delays-0.1.1.0...
Building unbounded-delays-0.1.1.0...
Installed primitive-0.6.4.0
Configuring wcwidth-0.0.2...
Building wcwidth-0.0.2...
Installed unbounded-delays-0.1.1.0
Configuring HUnit-1.6.0.0...
Building HUnit-1.6.0.0...
Installed wcwidth-0.0.2
Configuring async-2.2.1...
Building async-2.2.1...
Installed HUnit-1.6.0.0
Configuring ansi-terminal-0.8.0.4...
Building ansi-terminal-0.8.0.4...
Installed async-2.2.1
Configuring options-1.2.1.1...
Building options-1.2.1.1...
Installed ansi-terminal-0.8.0.4
Configuring exceptions-0.10.0...
Building exceptions-0.10.0...
Installed options-1.2.1.1
Configuring tf-random-0.5...
Building tf-random-0.5...
Installed exceptions-0.10.0
Configuring ansi-wl-pprint-0.6.8.2...
Building ansi-wl-pprint-0.6.8.2...
Installed tf-random-0.5
Configuring temporary-1.3...
Building temporary-1.3...
Installed ansi-wl-pprint-0.6.8.2
Configuring QuickCheck-2.11.3...
Installed temporary-1.3
Configuring optparse-applicative-0.14.2.0...
Building QuickCheck-2.11.3...
Building optparse-applicative-0.14.2.0...
Installed optparse-applicative-0.14.2.0
Configuring tasty-1.1.0.3...
Building tasty-1.1.0.3...
Installed tasty-1.1.0.3
Configuring tasty-hunit-0.10.0.1...
Building tasty-hunit-0.10.0.1...
Installed QuickCheck-2.11.3
Configuring tasty-golden-2.3.2...
Building tasty-golden-2.3.2...
Installed tasty-hunit-0.10.0.1
Configuring tasty-quickcheck-0.10...
Building tasty-quickcheck-0.10...
Installed tasty-golden-2.3.2
Installed tasty-quickcheck-0.10
Configuring mikrokosmos-0.8.0...
Building mikrokosmos-0.8.0...
Failed to install mikrokosmos-0.8.0
Build log ( /home/builder/.cabal/logs/ghc-8.4.3/mikrokosmos-0.8.0-JbLA6jxVx7HCo6I7eH61PH.log ):
cabal: Entering directory '/tmp/cabal-tmp-20837/mikrokosmos-0.8.0'
Configuring mikrokosmos-0.8.0...
Preprocessing executable 'mikrokosmos' for mikrokosmos-0.8.0..
Building executable 'mikrokosmos' for mikrokosmos-0.8.0..
[ 1 of 12] Compiling Format           ( source/Format.hs, dist/build/mikrokosmos/mikrokosmos-tmp/Format.o )
[ 2 of 12] Compiling Lambda           ( source/Lambda.hs, dist/build/mikrokosmos/mikrokosmos-tmp/Lambda.o )
[ 3 of 12] Compiling Libraries        ( source/Libraries.hs, dist/build/mikrokosmos/mikrokosmos-tmp/Libraries.o )
[ 4 of 12] Compiling MultiBimap       ( source/MultiBimap.hs, dist/build/mikrokosmos/mikrokosmos-tmp/MultiBimap.o )
[ 5 of 12] Compiling Environment      ( source/Environment.hs, dist/build/mikrokosmos/mikrokosmos-tmp/Environment.o )
[ 6 of 12] Compiling NamedLambda      ( source/NamedLambda.hs, dist/build/mikrokosmos/mikrokosmos-tmp/NamedLambda.o )
[ 7 of 12] Compiling Ski              ( source/Ski.hs, dist/build/mikrokosmos/mikrokosmos-tmp/Ski.o )
[ 8 of 12] Compiling Stlc.Block       ( source/Stlc/Block.hs, dist/build/mikrokosmos/mikrokosmos-tmp/Stlc/Block.o )

source/Stlc/Block.hs:14:10: error:
    • No instance for (Semigroup Block)
        arising from the superclasses of an instance declaration
    • In the instance declaration for ‘Monoid Block’
   |
14 | instance Monoid Block where
   |          ^^^^^^^^^^^^

source/Stlc/Block.hs:55:10: error:
    • No instance for (Semigroup Block) arising from a use of ‘<>’
    • In the expression: us <> Block [replicate (length label) ' ']
      In an equation for ‘ut’:
          ut = us <> Block [replicate (length label) ' ']
      In an equation for ‘stackBlocks’:
          stackBlocks label u v
            = Block $ getBlock ut ++ [hline] ++ getBlock vt
            where
                mw = max (width u) (width v)
                us = centerBlock mw u
                vs = centerBlock mw v
                hline = replicate mw hsepChar ++ label
                ....
   |
55 |     ut = us <> Block [replicate (length label) ' ']
   |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

source/Stlc/Block.hs:56:10: error:
    • No instance for (Semigroup Block) arising from a use of ‘<>’
    • In the expression: vs <> Block [replicate (length label) ' ']
      In an equation for ‘vt’:
          vt = vs <> Block [replicate (length label) ' ']
      In an equation for ‘stackBlocks’:
          stackBlocks label u v
            = Block $ getBlock ut ++ [hline] ++ getBlock vt
            where
                mw = max (width u) (width v)
                us = centerBlock mw u
                vs = centerBlock mw v
                hline = replicate mw hsepChar ++ label
                ....
   |
56 |     vt = vs <> Block [replicate (length label) ' ']
   |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

source/Stlc/Block.hs:79:32: error:
    • No instance for (Semigroup Block) arising from a use of ‘<>’
    • In the expression: x <> Block ["   "] <> y
      In the first argument of ‘foldr1’, namely
        ‘(\ x y -> x <> Block ["   "] <> y)’
      In the expression: foldr1 (\ x y -> x <> Block ["   "] <> y) blocks
   |
79 |           then foldr1 (\x y -> x <> Block ["   "] <> y) blocks
   |                                ^^^^^^^^^^^^^^^^^^^^^^^
cabal: Leaving directory '/tmp/cabal-tmp-20837/mikrokosmos-0.8.0'
cabal: Error: some packages failed to install:
mikrokosmos-0.8.0-JbLA6jxVx7HCo6I7eH61PH failed during the building phase. The
exception was:
ExitFailure 1

Test log

No test log was submitted for this report.