Build #3 for hspec-stack-rerun-0.1.0.2

[all reports]

Package hspec-stack-rerun-0.1.0.2
Install BuildFailed
Docs NotTried
Tests NotTried
Time submitted 2016-11-22 11:28:11.209299 UTC
Compiler ghc-8.0.1.20161018
OS linux
Arch x86_64
Dependencies base-4.9.0.0, directory-1.2.6.2, hspec-2.3.2, safe-0.3.10, strict-0.3.2
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 ansi-terminal-0.6.2.3...
Building call-stack-0.1.0...
Building ansi-terminal-0.6.2.3...
Installed call-stack-0.1.0
Configuring hspec-discover-2.3.2...
Building hspec-discover-2.3.2...
Configuring random-1.1...
Installed ansi-terminal-0.6.2.3
Building random-1.1...
Configuring safe-0.3.10...
Installed hspec-discover-2.3.2
Building safe-0.3.10...
Configuring primitive-0.6.2.0...
Installed random-1.1
Configuring setenv-0.1.1.3...
Installed safe-0.3.10
Building primitive-0.6.2.0...
Building setenv-0.1.1.3...
Configuring stm-2.4.4.1...
Installed setenv-0.1.1.3
Building stm-2.4.4.1...
Configuring HUnit-1.5.0.0...
Installed stm-2.4.4.1
Building HUnit-1.5.0.0...
Configuring strict-0.3.2...
Installed primitive-0.6.2.0
Building strict-0.3.2...
Installed HUnit-1.5.0.0
Configuring async-2.1.1...
Building async-2.1.1...
Configuring tf-random-0.5...
Installed strict-0.3.2
Building tf-random-0.5...
Configuring hspec-expectations-0.8.2...
Installed async-2.1.1
Building hspec-expectations-0.8.2...
Installed hspec-expectations-0.8.2
Installed tf-random-0.5
Configuring QuickCheck-2.9.2...
Building QuickCheck-2.9.2...
Installed QuickCheck-2.9.2
Configuring quickcheck-io-0.1.4...
Building quickcheck-io-0.1.4...
Installed quickcheck-io-0.1.4
Configuring hspec-core-2.3.2...
Building hspec-core-2.3.2...
Installed hspec-core-2.3.2
Configuring hspec-2.3.2...
Building hspec-2.3.2...
Installed hspec-2.3.2
Configuring hspec-stack-rerun-0.1.0.2...
Building hspec-stack-rerun-0.1.0.2...
Failed to install hspec-stack-rerun-0.1.0.2
Build log ( /home/builder/.cabal/logs/hspec-stack-rerun-0.1.0.2.log ):
cabal: Entering directory '/tmp/cabal-tmp-2621/hspec-stack-rerun-0.1.0.2'
Configuring hspec-stack-rerun-0.1.0.2...
Building hspec-stack-rerun-0.1.0.2...
Preprocessing library hspec-stack-rerun-0.1.0.2...
[1 of 1] Compiling Rerun            ( src/Rerun.hs, dist/build/Rerun.o )

src/Rerun.hs:34:67: error:
    • Couldn't match type ‘[Char]’ with ‘IOException’
      Expected type: ([Char], String)
        Actual type: ([Char], IOException)
    • In the first argument of ‘logPrint’, namely
        ‘("saferead failed", e)’
      In the first argument of ‘(>>)’, namely
        ‘logPrint ("saferead failed", e)’
      In the expression: logPrint ("saferead failed", e) >> return def

src/Rerun.hs:38:12: error:
    • Couldn't match expected type ‘([Char], String)’
                  with actual type ‘([Char], Maybe String, Maybe String)’
    • In the first argument of ‘logPrint’, namely
        ‘("startup", stashFile, alreadySet)’
      In a stmt of a 'do' block:
        logPrint ("startup", stashFile, alreadySet)
      In the expression:
        do { logPrint <- do { debug <- lookupEnv "HSPEC_STACK_RERUN_DEBUG";
                              return
                              $ case debug of {
                                  Nothing -> ...
                                  Just _ -> ... } };
             let safeReadFile :: FilePath -> IO (Maybe String)
                 safeReadFile fs = logAndIgnore Nothing $ ...
                 ....;
             stashFile <- lookupEnv "HSPEC_FAILURES_FILE";
             alreadySet <- lookupEnv "HSPEC_FAILURES";
             .... }

src/Rerun.hs:60:14: error:
    • Couldn't match expected type ‘([Char], String)’
                  with actual type ‘[Char]’
    • In the first argument of ‘logPrint’, namely ‘"done with tests!"’
      In a stmt of a 'do' block: logPrint "done with tests!"
      In the second argument of ‘finally’, namely
        ‘do { logPrint "done with tests!";
              case stashFile of {
                Just stash -> logAndIgnore () $ removeFile stash
                Nothing -> return () };
              newSet <- lookupEnv "HSPEC_FAILURES";
              logPrint ("spec failures", newSet, stashFile, alreadySet);
              .... }’

src/Rerun.hs:70:14: error:
    • Couldn't match expected type ‘([Char], String)’
                  with actual type ‘([Char], Maybe String, Maybe String,
                                     Maybe String)’
    • In the first argument of ‘logPrint’, namely
        ‘("spec failures", newSet, stashFile, alreadySet)’
      In a stmt of a 'do' block:
        logPrint ("spec failures", newSet, stashFile, alreadySet)
      In the second argument of ‘finally’, namely
        ‘do { logPrint "done with tests!";
              case stashFile of {
                Just stash -> logAndIgnore () $ removeFile stash
                Nothing -> return () };
              newSet <- lookupEnv "HSPEC_FAILURES";
              logPrint ("spec failures", newSet, stashFile, alreadySet);
              .... }’
cabal: Leaving directory '/tmp/cabal-tmp-2621/hspec-stack-rerun-0.1.0.2'
cabal: Error: some packages failed to install:
hspec-stack-rerun-0.1.0.2 failed during the building phase. The exception was:
ExitFailure 1

Test log

No test log was submitted for this report.