Build #1 for sgf-0.1.3.2
| Package | sgf-0.1.3.2 |
|---|
| Install | BuildFailed |
|---|---|
| Docs | NotTried |
| Tests | NotTried |
| Time submitted | 2024-07-17 09:21:15.712712032 UTC |
|---|---|
| Compiler | ghc-9.6.3 |
| OS | linux |
| Arch | x86_64 |
| Dependencies | base-4.18.1.0, containers-0.6.7, encoding-0.8.9, extensible-exceptions-0.1.1.4, mtl-2.3.1, parsec-3.1.16.1, split-0.2.5, time-1.12.2, transformers-0.6.1.0 |
| Flags | none |
Code Coverage
No Code Coverage was submitted for this report.
Build log
[view raw]
Resolving dependencies...
Starting extensible-exceptions-0.1.1.4
Starting regex-base-0.94.0.2
Starting split-0.2.5
Starting polyparse-1.13
Starting splitmix-0.1.0.5
Building extensible-exceptions-0.1.1.4
Building regex-base-0.94.0.2
Building split-0.2.5
Building polyparse-1.13
Building splitmix-0.1.0.5
Completed extensible-exceptions-0.1.1.4
Completed split-0.2.5
Completed splitmix-0.1.0.5
Starting random-1.2.1.2
Building random-1.2.1.2
Completed regex-base-0.94.0.2
Starting regex-posix-0.96.0.1
Building regex-posix-0.96.0.1
Completed polyparse-1.13
Completed regex-posix-0.96.0.1
Starting regex-compat-0.95.2.1
Building regex-compat-0.95.2.1
Completed random-1.2.1.2
Starting HaXml-1.25.13
Building HaXml-1.25.13
Completed regex-compat-0.95.2.1
Completed HaXml-1.25.13
Starting encoding-0.8.9
Building encoding-0.8.9
Completed encoding-0.8.9
Downloading sgf-0.1.3.2
Downloaded sgf-0.1.3.2
Starting sgf-0.1.3.2
Building sgf-0.1.3.2
Failed to install sgf-0.1.3.2
Build log ( /home/builder/.cabal/logs/ghc-9.6.3/sgf-0.1.3.2-9g4xSPeIyNM2Yp7TxQ8XqX.log ):
cabal: Entering directory '/tmp/cabal-tmp-3645387/sgf-0.1.3.2'
Configuring sgf-0.1.3.2...
Preprocessing library for sgf-0.1.3.2..
Building library for sgf-0.1.3.2..
[1 of 6] Compiling Data.SGF.Parse.Encodings ( Data/SGF/Parse/Encodings.hs, dist/build/Data/SGF/Parse/Encodings.o, dist/build/Data/SGF/Parse/Encodings.dyn_o )
[2 of 6] Compiling Data.SGF.Parse.Raw ( Data/SGF/Parse/Raw.hs, dist/build/Data/SGF/Parse/Raw.o, dist/build/Data/SGF/Parse/Raw.dyn_o )
[3 of 6] Compiling Data.SGF.Types ( Data/SGF/Types.hs, dist/build/Data/SGF/Types.o, dist/build/Data/SGF/Types.dyn_o )
[4 of 6] Compiling Data.SGF.Parse.Util ( Data/SGF/Parse/Util.hs, dist/build/Data/SGF/Parse/Util.o, dist/build/Data/SGF/Parse/Util.dyn_o )
Data/SGF/Parse/Util.hs:96:33: error: [GHC-88464]
Variable not in scope:
(>=>)
:: (String -> Translator (Maybe Property))
-> (Maybe Property -> Translator (Maybe a))
-> String
-> Translator (Maybe a)
Suggested fix:
Perhaps use one of these:
>= (imported from Data.Ord), >> (imported from Prelude),
>>= (imported from Prelude)
|
96 | transMap f = consumeSingle >=> transMap' f
| ^^^
Data/SGF/Parse/Util.hs:97:33: error: [GHC-88464]
Variable not in scope:
(>=>)
:: (String -> Translator (Maybe Property))
-> (Maybe Property -> Translator (Maybe a))
-> String
-> Translator (Maybe a)
Suggested fix:
Perhaps use one of these:
>= (imported from Data.Ord), >> (imported from Prelude),
>>= (imported from Prelude)
|
97 | transMapMulti f = consume >=> transMap' f
| ^^^
Data/SGF/Parse/Util.hs:100:39: error: [GHC-88464]
Variable not in scope:
liftM :: (a0 -> Maybe a0) -> Translator b -> Translator (Maybe b)
Suggested fix:
Perhaps use lift (imported from Control.Monad.Writer)
|
100 | transMap' f = maybe (return Nothing) (liftM Just . f)
| ^^^^^
Data/SGF/Parse/Util.hs:103:26: error: [GHC-88464]
Variable not in scope:
(>=>)
:: (String -> Translator (Maybe Property))
-> (Maybe Property
-> WriterT [Warning] (StateT State (Either Error)) [a])
-> String
-> Translator [a]
Suggested fix:
Perhaps use one of these:
>= (imported from Data.Ord), >> (imported from Prelude),
>>= (imported from Prelude)
|
103 | transMapList f = consume >=> maybe (return []) f
| ^^^
Data/SGF/Parse/Util.hs:165:5: error: [GHC-88464]
Variable not in scope:
when
:: Bool
-> m0 () -> WriterT [Warning] (StateT State (Either Error)) a2
|
165 | when (not $ null ds) (tell [DuplicatePointsOmitted p ds])
| ^^^^
Data/SGF/Parse/Util.hs:242:22: error: [GHC-88464]
Variable not in scope:
liftM2
:: (a1 -> b0 -> (a1, b0))
-> Translator a -> Translator b -> Translator (a, b)
Suggested fix:
Perhaps use one of these:
liftA2 (imported from Prelude),
lift (imported from Control.Monad.Writer),
liftIO (imported from Control.Monad.Writer)
|
242 | Just (as, bs) -> liftM2 (,) (a p { values = as }) (b p { values = bs })
| ^^^^^^
Data/SGF/Parse/Util.hs:256:9: error: [GHC-88464]
Variable not in scope:
when
:: Bool
-> m1 () -> WriterT [Warning] (StateT State (Either Error)) a3
|
256 | when (uncurry (==) pointRange) (tell [PointSpecifiedAsPointRange p])
| ^^^^
cabal: Leaving directory '/tmp/cabal-tmp-3645387/sgf-0.1.3.2'
Error: cabal: Some packages failed to install:
sgf-0.1.3.2-9g4xSPeIyNM2Yp7TxQ8XqX failed during the building phase. The
exception was:
ExitFailure 1
Test log
No test log was submitted for this report.