Build #1 for fixed-width-0.1.0.0
Package | fixed-width-0.1.0.0 |
---|
Install | BuildFailed |
---|---|
Docs | NotTried |
Tests | NotTried |
Time submitted | 2016-12-13 07:47:54.894548 UTC |
---|---|
Compiler | ghc-8.0.1.20161018 |
OS | linux |
Arch | x86_64 |
Dependencies | base-4.9.0.0 |
Flags | none |
Code Coverage
No Code Coverage was submitted for this report.
Build log
[view raw]
Resolving dependencies... Downloading fixed-width-0.1.0.0... Configuring fixed-width-0.1.0.0... Building fixed-width-0.1.0.0... Failed to install fixed-width-0.1.0.0 Build log ( /home/builder/.cabal/logs/fixed-width-0.1.0.0.log ): cabal: Entering directory '/tmp/cabal-tmp-11517/fixed-width-0.1.0.0' Configuring fixed-width-0.1.0.0... Building fixed-width-0.1.0.0... Preprocessing library fixed-width-0.1.0.0... [1 of 4] Compiling Data.FixedWidth.Shared ( src/Data/FixedWidth/Shared.hs, dist/build/Data/FixedWidth/Shared.o ) [2 of 4] Compiling Data.FixedWidth.Word ( src/Data/FixedWidth/Word.hs, dist/build/Data/FixedWidth/Word.o ) src/Data/FixedWidth/Word.hs:33:21: error: • Couldn't match expected type ‘Word64’ with actual type ‘Int’ • In the first argument of ‘FixedWord’, namely ‘v’ In the first argument of ‘(>=)’, namely ‘FixedWord v’ In the first argument of ‘(&&)’, namely ‘FixedWord v >= (minBound :: FixedWord n)’ src/Data/FixedWidth/Word.hs:33:65: error: • Couldn't match expected type ‘Word64’ with actual type ‘Int’ • In the first argument of ‘FixedWord’, namely ‘v’ In the first argument of ‘(<=)’, namely ‘FixedWord v’ In the second argument of ‘(&&)’, namely ‘FixedWord v <= (maxBound :: FixedWord n)’ src/Data/FixedWidth/Word.hs:33:108: error: • Couldn't match expected type ‘Word64’ with actual type ‘Int’ • In the first argument of ‘FixedWord’, namely ‘v’ In the expression: FixedWord v In an equation for ‘toEnum’: toEnum v | FixedWord v >= (minBound :: FixedWord n) && FixedWord v <= (maxBound :: FixedWord n) = FixedWord v | otherwise = error $ concat ["\"", show v, "\" is too large to fit in an ", ....] src/Data/FixedWidth/Word.hs:35:30: error: • Couldn't match expected type ‘Int’ with actual type ‘Word64’ • In the expression: v In an equation for ‘fromEnum’: fromEnum (FixedWord v) = v In the instance declaration for ‘Enum (FixedWord n)’ cabal: Leaving directory '/tmp/cabal-tmp-11517/fixed-width-0.1.0.0' cabal: Error: some packages failed to install: fixed-width-0.1.0.0 failed during the building phase. The exception was: ExitFailure 1
Test log
No test log was submitted for this report.