Build #2 for process-extras-0.3.4
| Package | process-extras-0.3.4 |
|---|
| Install | BuildFailed |
|---|---|
| Docs | NotTried |
| Tests | NotTried |
| Time submitted | 2016-11-25 16:10:35.582421 UTC |
|---|---|
| Compiler | ghc-8.0.1.20161018 |
| OS | linux |
| Arch | x86_64 |
| Dependencies | ListLike-4.5, base-4.9.0.0, bytestring-0.10.8.1, deepseq-1.4.2.0, generic-deriving-1.11.1, process-1.4.2.0, text-1.2.2.1 |
| Flags | none |
Code Coverage
No Code Coverage was submitted for this report.
Build log
[view raw]
Resolving dependencies...
Configuring dlist-0.8.0.2...
Configuring fmlist-0.9...
Building dlist-0.8.0.2...
Building fmlist-0.9...
Installed fmlist-0.9
Configuring generic-deriving-1.11.1...
Building generic-deriving-1.11.1...
Configuring primitive-0.6.1.0...
Installed dlist-0.8.0.2
Building primitive-0.6.1.0...
Configuring text-1.2.2.1...
Installed primitive-0.6.1.0
Building text-1.2.2.1...
Configuring utf8-string-1.0.1.1...
Installed generic-deriving-1.11.1
Building utf8-string-1.0.1.1...
Installed text-1.2.2.1
Configuring vector-0.11.0.0...
Installed utf8-string-1.0.1.1
Building vector-0.11.0.0...
Installed vector-0.11.0.0
Configuring ListLike-4.5...
Building ListLike-4.5...
Installed ListLike-4.5
Downloading process-extras-0.3.4...
Configuring process-extras-0.3.4...
Building process-extras-0.3.4...
Failed to install process-extras-0.3.4
Build log ( /home/builder/.cabal/logs/process-extras-0.3.4.log ):
cabal: Entering directory '/tmp/cabal-tmp-11309/process-extras-0.3.4'
Configuring process-extras-0.3.4...
Building process-extras-0.3.4...
Preprocessing library process-extras-0.3.4...
[1 of 7] Compiling Utils ( src/Utils.hs, dist/build/Utils.o )
[2 of 7] Compiling System.Process.Common ( src/System/Process/Common.hs, dist/build/System/Process/Common.o )
src/System/Process/Common.hs:144:16: error:
• Could not deduce (Monoid b) arising from a use of ‘<>’
from the context: (ProcessMaker maker,
ProcessOutput b,
ListLikeProcessIO (ProcessInput b) c)
bound by the type signature for:
readCreateProcess :: (ProcessMaker maker, ProcessOutput b,
ListLikeProcessIO (ProcessInput b) c) =>
maker -> ProcessInput b -> IO b
at src/System/Process/Common.hs:112:1-131
Possible fix:
add (Monoid b) to the context of
the type signature for:
readCreateProcess :: (ProcessMaker maker, ProcessOutput b,
ListLikeProcessIO (ProcessInput b) c) =>
maker -> ProcessInput b -> IO b
• In the second argument of ‘($)’, namely ‘out <> err <> ex’
In a stmt of a 'do' block: return $ out <> err <> ex
In the second argument of ‘($)’, namely
‘do { waitOut <- forkWait
$ outf <$> (hGetContents outh >>= forceOutput);
waitErr <- forkWait $ errf <$> (hGetContents errh >>= forceOutput);
ignoreResourceVanished
$ do { unless (null input) $ do { ... };
hClose inh };
out <- waitOut;
.... }’
src/System/Process/Common.hs:162:33: error:
• Could not deduce (Monoid b) arising from a use of ‘<>’
from the context: (ProcessMaker maker,
ProcessOutput b,
ListLikeProcessIO (ProcessInput b) c)
bound by the type signature for:
readCreateProcessLazy :: (ProcessMaker maker, ProcessOutput b,
ListLikeProcessIO (ProcessInput b) c) =>
maker -> ProcessInput b -> IO b
at src/System/Process/Common.hs:154:1-135
Possible fix:
add (Monoid b) to the context of
the type signature for:
readCreateProcessLazy :: (ProcessMaker maker, ProcessOutput b,
ListLikeProcessIO (ProcessInput b) c) =>
maker -> ProcessInput b -> IO b
• In the first argument of ‘(<$>)’, namely ‘(<>)’
In the first argument of ‘(<*>)’, namely ‘(<>) <$> pure (pidf pid)’
In the second argument of ‘($)’, namely
‘(<>) <$> pure (pidf pid)
<*>
unsafeInterleaveIO
(readInterleaved
[(outf, outh), (errf, errh)] (codef <$> waitForProcess pid))’
src/System/Process/Common.hs:199:22: error:
• Could not deduce (Monoid b) arising from a use of ‘<>’
from the context: (ListLikeProcessIO (ProcessInput b) c,
ProcessOutput b)
bound by the type signature for:
readInterleaved' :: (ListLikeProcessIO (ProcessInput b) c,
ProcessOutput b) =>
[(ProcessInput b -> b, Handle)]
-> IO b -> MVar (Either Handle b) -> IO b
at src/System/Process/Common.hs:(174,1)-(175,93)
Possible fix:
add (Monoid b) to the context of
the type signature for:
readInterleaved' :: (ListLikeProcessIO (ProcessInput b) c,
ProcessOutput b) =>
[(ProcessInput b -> b, Handle)]
-> IO b -> MVar (Either Handle b) -> IO b
• In the first argument of ‘return’, namely ‘(x <> xs)’
In a stmt of a 'do' block: return (x <> xs)
In the expression:
do { xs <- unsafeInterleaveIO $ takeChunks openCount;
return (x <> xs) }
cabal: Leaving directory '/tmp/cabal-tmp-11309/process-extras-0.3.4'
cabal: Error: some packages failed to install:
process-extras-0.3.4 failed during the building phase. The exception was:
ExitFailure 1
Test log
No test log was submitted for this report.