Build #2 for interval-patterns-0.7.0.0
| Package | interval-patterns-0.7.0.0 |
|---|
| Install | BuildFailed |
|---|---|
| Docs | NotTried |
| Tests | NotTried |
| Time submitted | 2023-06-14 19:13:08.760351819 UTC |
|---|---|
| Compiler | ghc-9.2.4 |
| OS | linux |
| Arch | x86_64 |
| Dependencies | base-4.16.3.0, containers-0.6.5.1, groups-0.5.3, heaps-0.4, lattices-2.0.3, semirings-0.6, time-1.11.1.1, time-compat-1.9.6.1 |
| Flags | none |
Code Coverage
No Code Coverage was submitted for this report.
Build log
[view raw]
Resolving dependencies...
Starting StateVar-1.2.2
Starting base-orphans-0.9.0
Starting groups-0.5.3
Starting heaps-0.4
Starting indexed-traversable-0.1.2.1
Starting splitmix-0.1.0.4
Starting tagged-0.8.7
Starting th-abstraction-0.5.0.0
Starting transformers-compat-0.7.2
Starting data-array-byte-0.1.0.1
Starting integer-logarithms-1.0.3.1
Starting base-compat-0.12.2
Building heaps-0.4
Building StateVar-1.2.2
Building base-orphans-0.9.0
Building splitmix-0.1.0.4
Building integer-logarithms-1.0.3.1
Building indexed-traversable-0.1.2.1
Building groups-0.5.3
Building data-array-byte-0.1.0.1
Building base-compat-0.12.2
Building tagged-0.8.7
Building th-abstraction-0.5.0.0
Building transformers-compat-0.7.2
Completed integer-logarithms-1.0.3.1
Completed groups-0.5.3
Completed StateVar-1.2.2
Starting contravariant-1.5.5
Completed splitmix-0.1.0.4
Starting random-1.2.1.1
Building contravariant-1.5.5
Completed base-orphans-0.9.0
Building random-1.2.1.1
Completed data-array-byte-0.1.0.1
Starting hashable-1.4.2.0
Building hashable-1.4.2.0
Completed transformers-compat-0.7.2
Completed tagged-0.8.7
Starting universe-base-1.1.3.1
Starting foldable1-classes-compat-0.1
Starting assoc-1.1
Starting distributive-0.6.2.1
Completed heaps-0.4
Completed indexed-traversable-0.1.2.1
Building assoc-1.1
Building distributive-0.6.2.1
Building foldable1-classes-compat-0.1
Building universe-base-1.1.3.1
Completed th-abstraction-0.5.0.0
Completed base-compat-0.12.2
Starting base-compat-batteries-0.12.2
Completed contravariant-1.5.5
Building base-compat-batteries-0.12.2
Completed assoc-1.1
Completed distributive-0.6.2.1
Starting comonad-5.0.8
Building comonad-5.0.8
Completed universe-base-1.1.3.1
Starting universe-reverse-instances-1.1.1
Completed hashable-1.4.2.0
Starting unordered-containers-0.2.19.1
Starting time-compat-1.9.6.1
Building universe-reverse-instances-1.1.1
Completed foldable1-classes-compat-0.1
Building time-compat-1.9.6.1
Building unordered-containers-0.2.19.1
Completed random-1.2.1.1
Starting QuickCheck-2.14.3
Building QuickCheck-2.14.3
Completed universe-reverse-instances-1.1.1
Completed base-compat-batteries-0.12.2
Completed comonad-5.0.8
Starting bifunctors-5.6.1
Building bifunctors-5.6.1
Completed time-compat-1.9.6.1
Completed unordered-containers-0.2.19.1
Starting semirings-0.6
Building semirings-0.6
Completed bifunctors-5.6.1
Starting semigroupoids-5.3.7
Building semigroupoids-5.3.7
Completed QuickCheck-2.14.3
Completed semirings-0.6
Completed semigroupoids-5.3.7
Starting lattices-2.0.3
Building lattices-2.0.3
Completed lattices-2.0.3
Starting interval-patterns-0.7.0.0
Building interval-patterns-0.7.0.0
Failed to install interval-patterns-0.7.0.0
Build log ( /home/builder/.cabal/logs/ghc-9.2.4/interval-patterns-0.7.0.0-HzS4G6tSecA2JefS2hQWpt.log ):
cabal: Entering directory '/tmp/cabal-tmp-1939038/interval-patterns-0.7.0.0'
Configuring interval-patterns-0.7.0.0...
Preprocessing library for interval-patterns-0.7.0.0..
Building library for interval-patterns-0.7.0.0..
[1 of 6] Compiling Data.OneOrTwo ( src/Data/OneOrTwo.hs, dist/build/Data/OneOrTwo.o, dist/build/Data/OneOrTwo.dyn_o )
[2 of 6] Compiling Data.Interval ( src/Data/Interval.hs, dist/build/Data/Interval.o, dist/build/Data/Interval.dyn_o )
[3 of 6] Compiling Data.Interval.Borel ( src/Data/Interval/Borel.hs, dist/build/Data/Interval/Borel.o, dist/build/Data/Interval/Borel.dyn_o )
[4 of 6] Compiling Data.Interval.Layers ( src/Data/Interval/Layers.hs, dist/build/Data/Interval/Layers.o, dist/build/Data/Interval/Layers.dyn_o )
[5 of 6] Compiling Data.Timeframe ( src/Data/Timeframe.hs, dist/build/Data/Timeframe.o, dist/build/Data/Timeframe.dyn_o )
[6 of 6] Compiling Data.Calendar ( src/Data/Calendar.hs, dist/build/Data/Calendar.o, dist/build/Data/Calendar.dyn_o )
src/Data/Calendar.hs:65:54: error:
" Could not deduce (Ord n) arising from a use of <>
from the context: (Ord ev, Num n)
bound by the instance declaration at src/Data/Calendar.hs:64:10-53
Possible fix:
add (Ord n) to the context of the instance declaration
" In the first argument of Map.unionWith, namely (<>)
In the first argument of Calendar, namely
(Map.unionWith (<>) a b)
In the expression: Calendar (Map.unionWith (<>) a b)
|
65 | Calendar a <> Calendar b = Calendar (Map.unionWith (<>) a b)
| ^^^^
src/Data/Calendar.hs:84:55: error:
" Could not deduce (Ord n) arising from a use of <>
from the context: (Ord ev, Num n)
bound by the type signature for:
insert :: forall ev n.
(Ord ev, Num n) =>
ev -> Event n -> Calendar ev n -> Calendar ev n
at src/Data/Calendar.hs:83:1-76
Possible fix:
add (Ord n) to the context of
the type signature for:
insert :: forall ev n.
(Ord ev, Num n) =>
ev -> Event n -> Calendar ev n -> Calendar ev n
" In the first argument of Map.insertWith, namely (<>)
In the first argument of Calendar, namely
(Map.insertWith (<>) ev cvg c)
In the expression: Calendar (Map.insertWith (<>) ev cvg c)
|
84 | insert ev cvg (Calendar c) = Calendar (Map.insertWith (<>) ev cvg c)
| ^^^^
src/Data/Calendar.hs:96:29: error:
" Could not deduce (Ord n) arising from a use of mempty
from the context: (Ord ev, Num n)
bound by the type signature for:
(!) :: forall ev n.
(Ord ev, Num n) =>
Calendar ev n -> ev -> Event n
at src/Data/Calendar.hs:95:1-56
Possible fix:
add (Ord n) to the context of
the type signature for:
(!) :: forall ev n.
(Ord ev, Num n) =>
Calendar ev n -> ev -> Event n
" In the first argument of fromMaybe, namely mempty
In the expression: fromMaybe mempty (c Map.!? ev)
In an equation for !:
Calendar c ! ev = fromMaybe mempty (c Map.!? ev)
|
96 | Calendar c ! ev = fromMaybe mempty (c Map.!? ev)
| ^^^^^^
src/Data/Calendar.hs:110:25: error:
" Could not deduce (Ord n) arising from a use of fold
from the context: (Ord ev, Num n)
bound by the type signature for:
coalesce :: forall ev n.
(Ord ev, Num n) =>
Calendar ev n -> Event n
at src/Data/Calendar.hs:109:1-55
Possible fix:
add (Ord n) to the context of
the type signature for:
coalesce :: forall ev n.
(Ord ev, Num n) =>
Calendar ev n -> Event n
" In the expression: fold c
In an equation for coalesce: coalesce (Calendar c) = fold c
|
110 | coalesce (Calendar c) = fold c
| ^^^^
cabal: Leaving directory '/tmp/cabal-tmp-1939038/interval-patterns-0.7.0.0'
Error: cabal: Some packages failed to install:
interval-patterns-0.7.0.0-HzS4G6tSecA2JefS2hQWpt failed during the building
phase. The exception was:
ExitFailure 1
Test log
No test log was submitted for this report.