Build #7 for goa-3.0
Package | goa-3.0 |
---|
Install | BuildFailed |
---|---|
Docs | NotTried |
Tests | NotTried |
Time submitted | 2017-01-03 21:21:08.804951 UTC |
---|---|
Compiler | ghc-8.0.1.20161018 |
OS | linux |
Arch | x86_64 |
Dependencies | base-4.9.0.0, directory-1.2.6.2, process-1.4.2.0 |
Flags | none |
Code Coverage
No Code Coverage was submitted for this report.
Build log
[view raw]
Resolving dependencies... Configuring goa-3.0... Building goa-3.0... Failed to install goa-3.0 Build log ( /home/builder/.cabal/logs/goa-3.0.log ): cabal: Entering directory '/tmp/cabal-tmp-17156/goa-3.0' Configuring goa-3.0... Building goa-3.0... Preprocessing library goa-3.0... GOA.hs:2:12: warning: -fglasgow-exts is deprecated: Use individual extensions instead [1 of 1] Compiling GOA ( GOA.hs, dist/build/GOA.o ) GOA.hs:91:14: error: • Ambiguous type variable ‘a1’ arising from a use of ‘C.catch’ prevents the constraint ‘(C.Exception a1)’ from being solved. Probable fix: use a type annotation to specify what ‘a1’ should be. These potential instances exist: instance C.Exception C.NestedAtomically -- Defined in ‘Control.Exception.Base’ instance C.Exception C.NoMethodError -- Defined in ‘Control.Exception.Base’ instance C.Exception C.NonTermination -- Defined in ‘Control.Exception.Base’ ...plus 8 others (use -fprint-potential-instances to see them all) • In the expression: C.catch (do { x <- runInteractiveProcess "./lambdabot" args Nothing Nothing; return (Just x) }) (\ e -> do { putStrLn $ "Unable to start lambdabot: " ++ show e; return Nothing }) In a stmt of a 'do' block: if not b then do { putStrLn $ "No lambdabot binary found in: " ++ home; return Nothing } else C.catch (do { x <- runInteractiveProcess "./lambdabot" args Nothing Nothing; return (Just x) }) (\ e -> do { putStrLn $ "Unable to start lambdabot: " ++ show e; return Nothing }) In the second argument of ‘($)’, namely ‘do { b <- doesFileExist "./lambdabot"; home <- readIORef lambdabotHome; args' <- readIORef lambdabotFlags; let args | null args' = ... | otherwise = ...; .... }’ GOA.hs:95:65: error: • Ambiguous type variable ‘a1’ arising from a use of ‘show’ prevents the constraint ‘(Show a1)’ from being solved. Relevant bindings include e :: a1 (bound at GOA.hs:94:19) Probable fix: use a type annotation to specify what ‘a1’ should be. These potential instances exist: instance Show C.NestedAtomically -- Defined in ‘Control.Exception.Base’ instance Show C.NoMethodError -- Defined in ‘Control.Exception.Base’ instance Show C.NonTermination -- Defined in ‘Control.Exception.Base’ ...plus 41 others ...plus 18 instances involving out-of-scope types (use -fprint-potential-instances to see them all) • In the second argument of ‘(++)’, namely ‘show e’ In the second argument of ‘($)’, namely ‘"Unable to start lambdabot: " ++ show e’ In a stmt of a 'do' block: putStrLn $ "Unable to start lambdabot: " ++ show e GOA.hs:118:5: error: • Ambiguous type variable ‘a0’ arising from a use of ‘C.handle’ prevents the constraint ‘(C.Exception a0)’ from being solved. Probable fix: use a type annotation to specify what ‘a0’ should be. These potential instances exist: instance C.Exception C.NestedAtomically -- Defined in ‘Control.Exception.Base’ instance C.Exception C.NoMethodError -- Defined in ‘Control.Exception.Base’ instance C.Exception C.NonTermination -- Defined in ‘Control.Exception.Base’ ...plus 8 others (use -fprint-potential-instances to see them all) • In a stmt of a 'do' block: C.handle (\ e -> do { writeIORef state Nothing; return ["Unable to run lambdabot: " ++ show e] }) (case m of { Nothing -> return ["No lambdabot process"] Just (ST i o _ _) -> do { let s = ...; hPutStrLn i s >> hFlush i; result <- clean `fmap` getOutput o []; .... } }) In the expression: do { m <- readIORef state; C.handle (\ e -> do { writeIORef state Nothing; .... }) (case m of { Nothing -> return ["No lambdabot process"] Just (ST i o _ _) -> do { let ...; .... } }) } In an equation for ‘query’: query command args | null $ command ++ args = return [] | otherwise = do { m <- readIORef state; C.handle (\ e -> do { ... }) (case m of { Nothing -> return [...] Just (ST i o _ _) -> do { ... } }) } where clean x | "lambdabot> " `isPrefixOf` x = drop 11 x | otherwise = x GOA.hs:120:58: error: • Ambiguous type variable ‘a0’ arising from a use of ‘show’ prevents the constraint ‘(Show a0)’ from being solved. Relevant bindings include e :: a0 (bound at GOA.hs:119:11) Probable fix: use a type annotation to specify what ‘a0’ should be. These potential instances exist: instance Show C.NestedAtomically -- Defined in ‘Control.Exception.Base’ instance Show C.NoMethodError -- Defined in ‘Control.Exception.Base’ instance Show C.NonTermination -- Defined in ‘Control.Exception.Base’ ...plus 41 others ...plus 18 instances involving out-of-scope types (use -fprint-potential-instances to see them all) • In the second argument of ‘(++)’, namely ‘show e’ In the expression: "Unable to run lambdabot: " ++ show e In the first argument of ‘return’, namely ‘["Unable to run lambdabot: " ++ show e]’ cabal: Leaving directory '/tmp/cabal-tmp-17156/goa-3.0' cabal: Error: some packages failed to install: goa-3.0 failed during the building phase. The exception was: ExitFailure 1
Test log
No test log was submitted for this report.