Build #3 for attic-schedule-0.2.0

[all reports]

Package attic-schedule-0.2.0
Install BuildFailed
Docs NotTried
Tests NotTried
Time submitted 2017-01-28 13:56:43.397071 UTC
Compiler ghc-
OS linux
Arch x86_64
Dependencies attoparsec-, base-, control-bool-0.2.1, foldl-1.2.3, protolude-0.1.10, system-filepath-, text-, time-, turtle-1.3.1
Flags none

Code Coverage

No Code Coverage was submitted for this report.

Build log

[view raw]

Resolving dependencies...
Configuring ansi-terminal-
Configuring base-orphans-0.5.4...
Building ansi-terminal-
Building base-orphans-0.5.4...
Configuring clock-0.7.2...
Installed base-orphans-0.5.4
Building clock-0.7.2...
Installed ansi-terminal-
Configuring control-bool-0.2.1...
Building control-bool-0.2.1...
Installed clock-0.7.2
Configuring hostname-1.0...
Building hostname-1.0...
Installed control-bool-0.2.1
Configuring integer-logarithms-1.0.1...
Building integer-logarithms-1.0.1...
Installed hostname-1.0
Configuring managed-1.0.5...
Building managed-1.0.5...
Configuring mtl-2.2.1...
Installed integer-logarithms-1.0.1
Configuring optional-args-1.0.1...
Installed managed-1.0.5
Building mtl-2.2.1...
Building optional-args-1.0.1...
Configuring primitive-
Installed optional-args-1.0.1
Building primitive-
Configuring safe-0.3.11...
Installed mtl-2.2.1
Building safe-0.3.11...
Configuring semigroups-0.18.2...
Installed safe-0.3.11
Building semigroups-0.18.2...
Configuring stm-
Installed semigroups-0.18.2
Installed primitive-
Configuring text-
Building stm-
Building text-
Configuring transformers-compat-
Installed stm-
Building transformers-compat-
Configuring unix-compat-
Installed transformers-compat-
Building unix-compat-
Installed unix-compat-
Configuring ansi-wl-pprint-
Building ansi-wl-pprint-
Installed ansi-wl-pprint-
Configuring vector-
Building vector-
Installed text-
Configuring async-2.1.1...
Building async-2.1.1...
Configuring StateVar-
Installed async-2.1.1
Building StateVar-
Configuring exceptions-0.8.3...
Installed StateVar-
Building exceptions-0.8.3...
Configuring tagged-0.8.5...
Installed exceptions-0.8.3
Building tagged-0.8.5...
Installed tagged-0.8.5
Configuring optparse-applicative-
Building optparse-applicative-
Installed optparse-applicative-
Configuring hashable-
Building hashable-
Configuring system-filepath-
Installed vector-
Configuring protolude-0.1.10...
Installed hashable-
Building system-filepath-
Building protolude-0.1.10...
Configuring temporary-
Installed system-filepath-
Building temporary-
Configuring distributive-0.5.1...
Installed protolude-0.1.10
Installed temporary-
Configuring scientific-
Building scientific-
Building distributive-0.5.1...
Configuring mwc-random-
Installed distributive-0.5.1
Building mwc-random-
Configuring system-fileio-
Installed scientific-
Building system-fileio-
Configuring void-0.7.1...
Installed system-fileio-
Building void-0.7.1...
Installed void-0.7.1
Configuring contravariant-1.4...
Configuring attoparsec-
Installed mwc-random-
Building contravariant-1.4...
Building attoparsec-
Installed contravariant-1.4
Configuring comonad-5...
Building comonad-5...
Installed attoparsec-
Installed comonad-5
Configuring bifunctors-5.4.1...
Building bifunctors-5.4.1...
Installed bifunctors-5.4.1
Configuring profunctors-5.2...
Building profunctors-5.2...
Installed profunctors-5.2
Configuring foldl-1.2.3...
Building foldl-1.2.3...
Installed foldl-1.2.3
Configuring turtle-1.3.1...
Building turtle-1.3.1...
Installed turtle-1.3.1
Configuring attic-schedule-0.2.0...
Building attic-schedule-0.2.0...
Failed to install attic-schedule-0.2.0
Build log ( /home/builder/.cabal/logs/attic-schedule-0.2.0.log ):
cabal: Entering directory '/tmp/cabal-tmp-10654/attic-schedule-0.2.0'
Configuring attic-schedule-0.2.0...
Building attic-schedule-0.2.0...
Preprocessing executable 'attic-schedule' for attic-schedule-0.2.0...
[1 of 1] Compiling Main             ( src/Main.hs, dist/build/attic-schedule/attic-schedule-tmp/Main.o )

src/Main.hs:87:10: error:
    • Couldn't match expected type ‘Line’ with actual type ‘Text’
    • In the second argument of ‘($)’, namely
        ‘"Creating new backup with target " <> target’
      In a stmt of a 'do' block:
        echo $ "Creating new backup with target " <> target
      In the expression:
        do { now <- liftIO getCurrentTime;
             let dayStr :: Text
                 dayStr = show . utctDay $ now
             echo $ "Creating new backup with target " <> target;
             proc "attic" ["create", target, ....] empty }

src/Main.hs:99:57: error:
    • Couldn't match type ‘Line’ with ‘Text’
      Expected type: [Text]
        Actual type: [Line]
    • In the second argument of ‘(<$>)’, namely ‘output'’
      In the second argument of ‘($)’, namely
        ‘PT.parseOnly backupListParser <$> output'’
      In the second argument of ‘($)’, namely
        ‘sequence $ PT.parseOnly backupListParser <$> output'’

src/Main.hs:122:43: error:
    • Couldn't match type ‘Text’ with ‘Line’
        arising from the literal ‘" is mounted. Let me do that for you \8230"’
    • In the second argument of ‘(%)’, namely
        ‘" is mounted. Let me do that for you \8230"’
      In the first argument of ‘format’, namely
        ‘("Doesn't seem like " % s
          % " is mounted. Let me do that for you \8230")’
      In the second argument of ‘($)’, namely
           ("Doesn't seem like " % s
            % " is mounted. Let me do that for you \8230")
           (show $ dest opts)’
cabal: Leaving directory '/tmp/cabal-tmp-10654/attic-schedule-0.2.0'
cabal: Error: some packages failed to install:
attic-schedule-0.2.0 failed during the building phase. The exception was:
ExitFailure 1

Test log

No test log was submitted for this report.