Build #8 for randfile-0.1.0.0

[all reports]

Package randfile-0.1.0.0
Install BuildFailed
Docs NotTried
Tests NotTried
Time submitted 2016-12-26 22:24:46.24148 UTC
Compiler ghc-8.0.1.20161018
OS linux
Arch x86_64
Dependencies base-4.9.0.0, crypto-api-0.13.2, directory-1.2.6.2, filepath-1.4.1.0, monadcryptorandom-0.7.0, transformers-0.5.2.0, unix-2.7.2.0
Flags none

Code Coverage

No Code Coverage was submitted for this report.

Build log

[view raw]

Resolving dependencies...
Configuring cereal-0.5.4.0...
Configuring entropy-0.3.7...
Building cereal-0.5.4.0...
Building entropy-0.3.7...
Installed entropy-0.3.7
Configuring mtl-2.2.1...
Configuring transformers-compat-0.5.1.4...
Installed cereal-0.5.4.0
Building mtl-2.2.1...
Building transformers-compat-0.5.1.4...
Installed transformers-compat-0.5.1.4
Configuring tagged-0.8.5...
Building tagged-0.8.5...
Installed mtl-2.2.1
Installed tagged-0.8.5
Configuring crypto-api-0.13.2...
Building crypto-api-0.13.2...
Installed crypto-api-0.13.2
Configuring monadcryptorandom-0.7.0...
Building monadcryptorandom-0.7.0...
Installed monadcryptorandom-0.7.0
Configuring randfile-0.1.0.0...
Building randfile-0.1.0.0...
Failed to install randfile-0.1.0.0
Build log ( /home/builder/.cabal/logs/randfile-0.1.0.0.log ):
cabal: Entering directory '/tmp/cabal-tmp-15044/randfile-0.1.0.0'
Configuring randfile-0.1.0.0...
Building randfile-0.1.0.0...
Preprocessing executable 'randfile' for randfile-0.1.0.0...
[1 of 2] Compiling Stat             ( Stat.hs, dist/build/randfile/randfile-tmp/Stat.o )

Stat.hs:8:1: warning: [-Wdodgy-imports]
    Module ‘Prelude’ does not export ‘catch’

Stat.hs:9:1: warning: [-Wunused-imports]
    The import of ‘Control.Applicative’ is redundant
      except perhaps to import instances from ‘Control.Applicative’
    To import instances alone, use: import Control.Applicative()
[2 of 2] Compiling Main             ( Main.hs, dist/build/randfile/randfile-tmp/Main.o )

Main.hs:68:25: error:
    • No instance for (Error GenError) arising from a use of ‘randFile’
    • In the first argument of ‘runCRandT_’, namely ‘(randFile ".")’
      In a stmt of a 'do' block: file <- runCRandT_ (randFile ".") g
      In the expression:
        do { g <- newGenIO :: IO SystemRandom;
             file <- runCRandT_ (randFile ".") g;
             case file of {
               Just f -> putStrLn $ makeRelative "." $ f
               Nothing -> do { ... } } }
cabal: Leaving directory '/tmp/cabal-tmp-15044/randfile-0.1.0.0'
cabal: Error: some packages failed to install:
randfile-0.1.0.0 failed during the building phase. The exception was:
ExitFailure 1

Test log

No test log was submitted for this report.