Build #6 for zot-0.0.2

[all reports]

Package zot-0.0.2
Install BuildFailed
Docs NotTried
Tests NotTried
Time submitted 2016-12-13 05:10:19.818889 UTC
Compiler ghc-8.0.1.20161018
OS linux
Arch x86_64
Dependencies base-4.9.0.0, monads-tf-0.1.0.3
Flags none

Code Coverage

No Code Coverage was submitted for this report.

Build log

[view raw]

Resolving dependencies...
Configuring monads-tf-0.1.0.3...
Building monads-tf-0.1.0.3...
Installed monads-tf-0.1.0.3
Downloading zot-0.0.2...
Configuring zot-0.0.2...
Building zot-0.0.2...
Failed to install zot-0.0.2
Build log ( /home/builder/.cabal/logs/zot-0.0.2.log ):
cabal: Entering directory '/tmp/cabal-tmp-9525/zot-0.0.2'
Configuring zot-0.0.2...
Building zot-0.0.2...
Preprocessing executable 'zot' for zot-0.0.2...
[1 of 7] Compiling Zot              ( src/Zot.hs, dist/build/zot/zot-tmp/Zot.o )

src/Zot.hs:69:11: error:
    • Ambiguous type variable ‘t0’ arising from a use of ‘foldM’
      prevents the constraint ‘(Foldable t0)’ from being solved.
      Probable fix: use a type annotation to specify what ‘t0’ should be.
      These potential instances exist:
        instance Foldable (Either a) -- Defined in ‘Data.Foldable’
        instance Foldable Maybe -- Defined in ‘Data.Foldable’
        instance Foldable ((,) a) -- Defined in ‘Data.Foldable’
        ...plus one other
        ...plus 22 instances involving out-of-scope types
        (use -fprint-potential-instances to see them all)
    • In the first argument of ‘(.)’, namely ‘foldM ($$) empty’
      In the expression: foldM ($$) empty . read . filter (`elem` "01")
      In an equation for ‘readZot’:
          readZot = foldM ($$) empty . read . filter (`elem` "01")

src/Zot.hs:69:32: error:
    • Ambiguous type variable ‘t0’ arising from a use of ‘read’
      prevents the constraint ‘(Read (t0 Fun))’ from being solved.
      Probable fix: use a type annotation to specify what ‘t0’ should be.
      These potential instances exist:
        instance (Read b, Read a) => Read (Either a b)
          -- Defined in ‘Data.Either’
        instance Read a => Read (Maybe a) -- Defined in ‘GHC.Read’
        instance (Read a, Read b) => Read (a, b) -- Defined in ‘GHC.Read’
        ...plus 14 others
        ...plus 18 instances involving out-of-scope types
        (use -fprint-potential-instances to see them all)
    • In the first argument of ‘(.)’, namely ‘read’
      In the second argument of ‘(.)’, namely
        ‘read . filter (`elem` "01")’
      In the expression: foldM ($$) empty . read . filter (`elem` "01")
cabal: Leaving directory '/tmp/cabal-tmp-9525/zot-0.0.2'
cabal: Error: some packages failed to install:
zot-0.0.2 failed during the building phase. The exception was:
ExitFailure 1

Test log

No test log was submitted for this report.