Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to install codecov-haskell #13

Open
ghost opened this issue Jul 25, 2017 · 0 comments
Open

Failed to install codecov-haskell #13

ghost opened this issue Jul 25, 2017 · 0 comments

Comments

@ghost
Copy link

ghost commented Jul 25, 2017

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)

GHC Version: 8.0.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

0 participants