Resolving dependencies... Configuring goa-3.0.2... Building goa-3.0.2... Failed to install goa-3.0.2 Build log ( /home/builder/.cabal/logs/goa-3.0.2.log ): cabal: Entering directory '/tmp/cabal-tmp-32142/goa-3.0.2' Configuring goa-3.0.2... Building goa-3.0.2... Preprocessing library goa-3.0.2... 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:107:14: error: • Ambiguous type variable ‘a0’ arising from a use of ‘C.catch’ 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 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:111:65: 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:110:19) 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 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:134:5: error: • Ambiguous type variable ‘a1’ arising from a use of ‘C.handle’ 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 a stmt of a 'do' block: C.handle (\ e -> do { writeIORef state Nothing; return ["Unable to run lambdabot: " ++ show e] }) (case m of { Nothing -> do { success <- wakeup'; if success then query command args else return [] } 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 -> do { success <- wakeup'; .... } 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 -> do { ... } Just (ST i o _ _) -> do { ... } }) } where clean x | "lambdabot> " `isPrefixOf` x = drop 11 x | otherwise = x GOA.hs:136:58: 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:135:11) 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 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-32142/goa-3.0.2' cabal: Error: some packages failed to install: goa-3.0.2 failed during the building phase. The exception was: ExitFailure 1