Hi, I recently tried codecov-haskell and it seems that it fails to install. Here is the log:
While building package codecov-haskell-0.5.0 using:
/home/travis/.stack/setup-exe-cache/x86_64-linux/Cabal-simple_mPHDZzAJ_1.24.2.0_ghc-8.0.2 --builddir=.stack-work/dist/x86_64-linux/Cabal-1.24.2.0 build --ghc-options " -ddump-hi -ddump-to-file"
Process exited with code: ExitFailure 1
Logs have been written to: /home/travis/build/ardeleanasm/qchas/.stack-work/logs/codecov-haskell-0.5.0.log
Configuring codecov-haskell-0.5.0...
Building codecov-haskell-0.5.0...
Preprocessing library codecov-haskell-0.5.0...
[1 of 9] Compiling Trace.Hpc.Codecov.Util ( src/Trace/Hpc/Codecov/Util.hs, .stack-work/dist/x86_64-linux/Cabal-1.24.2.0/build/Trace/Hpc/Codecov/Util.o )
[2 of 9] Compiling Trace.Hpc.Codecov.Types ( src/Trace/Hpc/Codecov/Types.hs, .stack-work/dist/x86_64-linux/Cabal-1.24.2.0/build/Trace/Hpc/Codecov/Types.o )
[3 of 9] Compiling Trace.Hpc.Codecov.Lix ( src/Trace/Hpc/Codecov/Lix.hs, .stack-work/dist/x86_64-linux/Cabal-1.24.2.0/build/Trace/Hpc/Codecov/Lix.o )
[4 of 9] Compiling Trace.Hpc.Codecov.Curl ( src/Trace/Hpc/Codecov/Curl.hs, .stack-work/dist/x86_64-linux/Cabal-1.24.2.0/build/Trace/Hpc/Codecov/Curl.o )
/tmp/stack4708/codecov-haskell-0.5.0/src/Trace/Hpc/Codecov/Curl.hs:52:56: error:
• Variable not in scope:
(<>) :: RetryPolicyM m1 -> RetryPolicyM m0 -> RetryPolicyM m
• Perhaps you meant one of these:
‘<$>’ (imported from Control.Applicative),
‘*>’ (imported from Control.Applicative),
‘<$’ (imported from Control.Applicative)
/tmp/stack4708/codecov-haskell-0.5.0/src/Trace/Hpc/Codecov/Curl.hs:55:20: error:
• Couldn't match type ‘IO (Maybe a)’
with ‘RetryStatus -> IO (Maybe a)’
Expected type: IO (Maybe a) -> IO (Maybe a)
Actual type: (RetryStatus -> IO (Maybe a)) -> IO (Maybe a)
• In the expression: retrying expRetryPolicy isNothingM
In an equation for ‘performWithRetry’:
performWithRetry
= retrying expRetryPolicy isNothingM
where
isNothingM _ = return . isNothing
• Relevant bindings include
performWithRetry :: IO (Maybe a) -> IO (Maybe a)
(bound at src/Trace/Hpc/Codecov/Curl.hs:55:1)
Hi, I recently tried codecov-haskell and it seems that it fails to install. Here is the log:
GHC Version: 8.0.2