Build #2 for posit-3.2.0.1
| Package | posit-3.2.0.1 |
|---|
| Install | BuildFailed |
|---|---|
| Docs | NotTried |
| Tests | NotTried |
| Time submitted | 2022-11-11 22:14:25.137145019 UTC |
|---|---|
| Compiler | ghc-9.2.4 |
| OS | linux |
| Arch | x86_64 |
| Dependencies | base-4.16.3.0, data-dword-0.3.2.1, deepseq-1.4.6.1, scientific-0.3.7.0 |
| Flags | -do-liquid -do-no-orphans -do-no-storable -do-test |
Code Coverage
No Code Coverage was submitted for this report.
Build log
[view raw]
Resolving dependencies...
Starting data-bword-0.1.0.2
Starting integer-logarithms-1.0.3.1
Starting primitive-0.7.4.0
Starting hashable-1.4.1.0
Building data-bword-0.1.0.2
Building integer-logarithms-1.0.3.1
Building hashable-1.4.1.0
Building primitive-0.7.4.0
Completed integer-logarithms-1.0.3.1
Completed data-bword-0.1.0.2
Completed hashable-1.4.1.0
Starting data-dword-0.3.2.1
Building data-dword-0.3.2.1
Completed primitive-0.7.4.0
Starting scientific-0.3.7.0
Building scientific-0.3.7.0
Completed scientific-0.3.7.0
Completed data-dword-0.3.2.1
Starting posit-3.2.0.1
Building posit-3.2.0.1
Failed to install posit-3.2.0.1
Build log ( /home/builder/.cabal/logs/ghc-9.2.4/posit-3.2.0.1-JCyswHcgHzBxieu0dOkCN.log ):
cabal: Entering directory '/tmp/cabal-tmp-3884857/posit-3.2.0.1'
Configuring posit-3.2.0.1...
Preprocessing library for posit-3.2.0.1..
Building library for posit-3.2.0.1..
[1 of 2] Compiling Posit.Internal.PositC ( src/Posit/Internal/PositC.hs, dist/build/Posit/Internal/PositC.o, dist/build/Posit/Internal/PositC.dyn_o )
src/Posit/Internal/PositC.hs:382:1: warning: [-Worphans]
Orphan instance: instance Storable Word128
To avoid this
move the instance declaration to the module of the class or of the type, or
wrap the type with a newtype and declare the instance on the new type.
|
382 | instance Storable Word128 where
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...
src/Posit/Internal/PositC.hs:398:1: warning: [-Worphans]
Orphan instance: instance Storable Int128
To avoid this
move the instance declaration to the module of the class or of the type, or
wrap the type with a newtype and declare the instance on the new type.
|
398 | instance Storable Int128 where
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...
src/Posit/Internal/PositC.hs:416:1: warning: [-Worphans]
Orphan instance: instance Storable Int256
To avoid this
move the instance declaration to the module of the class or of the type, or
wrap the type with a newtype and declare the instance on the new type.
|
416 | instance Storable Int256 where
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...
[2 of 2] Compiling Posit ( src/Posit.hs, dist/build/Posit.o, dist/build/Posit.dyn_o )
src/Posit.hs:574:10: error:
" Non type-variable argument in the constraint: Floating (Posit es)
(Use FlexibleContexts to permit this)
" In the instance declaration for RealFloat (Posit es)
|
574 | instance (Floating (Posit es), PositC es) => RealFloat (Posit es) where
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
cabal: Leaving directory '/tmp/cabal-tmp-3884857/posit-3.2.0.1'
Error: cabal: Some packages failed to install:
posit-3.2.0.1-JCyswHcgHzBxieu0dOkCN failed during the building phase. The
exception was:
ExitFailure 1
Test log
No test log was submitted for this report.