Build #2 for bronyradiogermany-common-1.0.0.0
Package | bronyradiogermany-common-1.0.0.0 |
---|
Install | BuildFailed |
---|---|
Docs | NotTried |
Tests | NotTried |
Time submitted | 2021-06-01 23:34:14.116546008 UTC |
---|---|
Compiler | ghc-8.10.2 |
OS | linux |
Arch | x86_64 |
Dependencies | aeson-1.5.6.0, base-4.14.1.0, bytestring-0.10.10.0, network-uri-2.6.4.1, text-1.2.3.2, time-1.9.3, tz-0.1.3.5, uuid-types-1.0.5 |
Flags | none |
Code Coverage
No Code Coverage was submitted for this report.
Build log
[view raw]
Resolving dependencies... Starting data-default-class-0.1.2.0 Starting base-orphans-0.8.4 Starting dlist-1.0 Starting base-compat-0.11.2 Building data-default-class-0.1.2.0 Building dlist-1.0 Building base-orphans-0.8.4 Building base-compat-0.11.2 Completed data-default-class-0.1.2.0 Starting hashable-1.3.2.0 Building hashable-1.3.2.0 Completed dlist-1.0 Starting indexed-traversable-0.1.1 Building indexed-traversable-0.1.1 Completed base-orphans-0.8.4 Starting integer-logarithms-1.0.3.1 Completed hashable-1.3.2.0 Starting old-locale-1.0.0.7 Building integer-logarithms-1.0.3.1 Building old-locale-1.0.0.7 Completed base-compat-0.11.2 Starting primitive-0.7.1.0 Building primitive-0.7.1.0 Completed integer-logarithms-1.0.3.1 Starting splitmix-0.1.0.3 Completed old-locale-1.0.0.7 Starting tagged-0.8.6.1 Building splitmix-0.1.0.3 Building tagged-0.8.6.1 Completed indexed-traversable-0.1.1 Starting th-abstraction-0.4.2.0 Building th-abstraction-0.4.2.0 Completed splitmix-0.1.0.3 Starting th-compat-0.1.2 Building th-compat-0.1.2 Completed tagged-0.8.6.1 Starting transformers-compat-0.6.6 Building transformers-compat-0.6.6 Completed th-compat-0.1.2 Starting data-default-instances-containers-0.0.1 Building data-default-instances-containers-0.0.1 Completed th-abstraction-0.4.2.0 Starting data-default-instances-dlist-0.0.1 Building data-default-instances-dlist-0.0.1 Completed data-default-instances-containers-0.0.1 Starting unordered-containers-0.2.14.0 Completed transformers-compat-0.6.6 Starting time-compat-1.9.6 Building unordered-containers-0.2.14.0 Completed data-default-instances-dlist-0.0.1 Starting data-fix-0.3.1 Building time-compat-1.9.6 Building data-fix-0.3.1 Completed data-fix-0.3.1 Starting base-compat-batteries-0.11.2 Building base-compat-batteries-0.11.2 Completed primitive-0.7.1.0 Starting data-default-instances-old-locale-0.0.1 Completed time-compat-1.9.6 Starting random-1.2.0 Building data-default-instances-old-locale-0.0.1 Building random-1.2.0 Completed data-default-instances-old-locale-0.0.1 Starting distributive-0.6.2.1 Building distributive-0.6.2.1 Completed distributive-0.6.2.1 Starting network-uri-2.6.4.1 Completed base-compat-batteries-0.11.2 Starting vector-0.12.3.0 Building network-uri-2.6.4.1 Building vector-0.12.3.0 Completed unordered-containers-0.2.14.0 Starting scientific-0.3.7.0 Building scientific-0.3.7.0 Completed random-1.2.0 Starting data-default-0.7.1.1 Building data-default-0.7.1.1 Completed data-default-0.7.1.1 Starting comonad-5.0.8 Completed network-uri-2.6.4.1 Starting uuid-types-1.0.5 Building comonad-5.0.8 Building uuid-types-1.0.5 Completed scientific-0.3.7.0 Starting attoparsec-0.14.1 Building attoparsec-0.14.1 Completed uuid-types-1.0.5 Completed comonad-5.0.8 Starting bifunctors-5.5.11 Building bifunctors-5.5.11 Completed attoparsec-0.14.1 Completed bifunctors-5.5.11 Starting assoc-1.0.2 Building assoc-1.0.2 Completed assoc-1.0.2 Starting these-1.1.1.1 Building these-1.1.1.1 Completed these-1.1.1.1 Starting strict-0.4.0.1 Building strict-0.4.0.1 Completed strict-0.4.0.1 Completed vector-0.12.3.0 Starting aeson-1.5.6.0 Starting tzdata-0.2.20201021.0 Building aeson-1.5.6.0 Building tzdata-0.2.20201021.0 Completed tzdata-0.2.20201021.0 Starting tz-0.1.3.5 Building tz-0.1.3.5 Completed tz-0.1.3.5 Completed aeson-1.5.6.0 Starting bronyradiogermany-common-1.0.0.0 Building bronyradiogermany-common-1.0.0.0 Failed to install bronyradiogermany-common-1.0.0.0 Build log ( /home/builder/.cabal/logs/ghc-8.10.2/bronyradiogermany-common-1.0.0.0-yWLi3kLhH4DE8azWnv7v2.log ): cabal: Entering directory '/tmp/cabal-tmp-31665/bronyradiogermany-common-1.0.0.0' Configuring bronyradiogermany-common-1.0.0.0... Preprocessing library for bronyradiogermany-common-1.0.0.0.. Building library for bronyradiogermany-common-1.0.0.0.. [1 of 2] Compiling Network.Radio.BronyRadioGermany.Types ( src/Network/Radio/BronyRadioGermany/Types.hs, dist/build/Network/Radio/BronyRadioGermany/Types.o, dist/build/Network/Radio/BronyRadioGermany/Types.dyn_o ) src/Network/Radio/BronyRadioGermany/Types.hs:301:20: error: " Could not deduce (MonadFail m) arising from a use of fail from the context: Monad m bound by the type signature for: itob :: forall (m :: * -> *). Monad m => Int -> m Bool at src/Network/Radio/BronyRadioGermany/Types.hs:298:11-42 Possible fix: add (MonadFail m) to the context of the type signature for: itob :: forall (m :: * -> *). Monad m => Int -> m Bool " In the expression: fail (show i <> " is not a boolean value") In an equation for itob: itob i = fail (show i <> " is not a boolean value") In an equation for parseJSON: parseJSON = withObject "VoteCheckResult" $ \ o -> VoteCheckResult <$> (>>= itob) (o .: "voted") <*> (o .: "direction") where itob :: Monad m => Int -> m Bool itob 0 = return False itob 1 = return True itob i = fail (show i <> " is not a boolean value") | 301 | itob i = fail (show i<>" is not a boolean value") | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cabal: Leaving directory '/tmp/cabal-tmp-31665/bronyradiogermany-common-1.0.0.0' cabal: Error: some packages failed to install: bronyradiogermany-common-1.0.0.0-yWLi3kLhH4DE8azWnv7v2 failed during the building phase. The exception was: ExitFailure 1
Test log
No test log was submitted for this report.