Build #1 for granite-0.1.0.3

[all reports]

Package granite-0.1.0.3
Install InstallOk
Docs Ok
Tests NotTried
Time submitted 2025-08-21 02:27:06.511546383 UTC
Compiler ghc-9.8.4
OS linux
Arch x86_64
Dependencies base-4.19.2.0, base-4.19.2.0, random-1.2.1.3
Flags none

Code Coverage

No Code Coverage was submitted for this report.

Build log

[view raw]

Resolving dependencies...
Configuring splitmix-0.1.3.1...
Preprocessing library for splitmix-0.1.3.1..
Building library for splitmix-0.1.3.1..
[1 of 4] Compiling Data.Bits.Compat ( src-compat/Data/Bits/Compat.hs, dist/build/Data/Bits/Compat.o, dist/build/Data/Bits/Compat.dyn_o )
[2 of 4] Compiling System.Random.SplitMix.Init ( src/System/Random/SplitMix/Init.hs, dist/build/System/Random/SplitMix/Init.o, dist/build/System/Random/SplitMix/Init.dyn_o )
[3 of 4] Compiling System.Random.SplitMix ( src/System/Random/SplitMix.hs, dist/build/System/Random/SplitMix.o, dist/build/System/Random/SplitMix.dyn_o )
[4 of 4] Compiling System.Random.SplitMix32 ( src/System/Random/SplitMix32.hs, dist/build/System/Random/SplitMix32.o, dist/build/System/Random/SplitMix32.dyn_o )
Preprocessing library for splitmix-0.1.3.1..
Running Haddock on library for splitmix-0.1.3.1..
Warning: --source-* options are ignored when --hyperlinked-source is enabled.
[1 of 4] Compiling Data.Bits.Compat ( src-compat/Data/Bits/Compat.hs, nothing )
[2 of 4] Compiling System.Random.SplitMix.Init ( src/System/Random/SplitMix/Init.hs, nothing )
[3 of 4] Compiling System.Random.SplitMix ( src/System/Random/SplitMix.hs, nothing )
[4 of 4] Compiling System.Random.SplitMix32 ( src/System/Random/SplitMix32.hs, nothing )
Haddock coverage:
Warning: 'SMGen' is ambiguous. It is defined
    * at src/System/Random/SplitMix.hs:77:14
    * at src/System/Random/SplitMix.hs:77:1
    You may be able to disambiguate the identifier by qualifying it or
    by specifying the type/value namespace explicitly.
    Defaulting to the one defined at src/System/Random/SplitMix.hs:77:1
 100% ( 22 / 22) in 'System.Random.SplitMix'
Warning: 'SMGen' is ambiguous. It is defined
    * at src/System/Random/SplitMix32.hs:61:14
    * at src/System/Random/SplitMix32.hs:61:1
    You may be able to disambiguate the identifier by qualifying it or
    by specifying the type/value namespace explicitly.
    Defaulting to the one defined at src/System/Random/SplitMix32.hs:61:1
 100% ( 22 / 22) in 'System.Random.SplitMix32'
Documentation created: dist/doc/html/splitmix/,
dist/doc/html/splitmix/splitmix.txt
Installing library in /var/lib/hackage-doc-builder/build-cache/tmp-install/lib/x86_64-linux-ghc-9.8.4/splitmix-0.1.3.1-FLXrwOMCBr82OHyMQoNXPe
Completed    splitmix-0.1.3.1
Configuring random-1.2.1.3...
Preprocessing library for random-1.2.1.3..
Building library for random-1.2.1.3..
[1 of 4] Compiling System.Random.GFinite ( src/System/Random/GFinite.hs, dist/build/System/Random/GFinite.o, dist/build/System/Random/GFinite.dyn_o )
[2 of 4] Compiling System.Random.Internal ( src/System/Random/Internal.hs, dist/build/System/Random/Internal.o, dist/build/System/Random/Internal.dyn_o )
[3 of 4] Compiling System.Random    ( src/System/Random.hs, dist/build/System/Random.o, dist/build/System/Random.dyn_o )
[4 of 4] Compiling System.Random.Stateful ( src/System/Random/Stateful.hs, dist/build/System/Random/Stateful.o, dist/build/System/Random/Stateful.dyn_o )
Preprocessing library for random-1.2.1.3..
Running Haddock on library for random-1.2.1.3..
Warning: --source-* options are ignored when --hyperlinked-source is enabled.
[1 of 4] Compiling System.Random.GFinite ( src/System/Random/GFinite.hs, nothing )
[2 of 4] Compiling System.Random.Internal ( src/System/Random/Internal.hs, nothing )
[3 of 4] Compiling System.Random    ( src/System/Random.hs, nothing )
[4 of 4] Compiling System.Random.Stateful ( src/System/Random/Stateful.hs, nothing )
Haddock coverage:
Warning: 'StateGenM' is ambiguous. It is defined
    * at src/System/Random/Internal.hs:436:20
    * at src/System/Random/Internal.hs:436:1
    You may be able to disambiguate the identifier by qualifying it or
    by specifying the type/value namespace explicitly.
    Defaulting to the one defined at src/System/Random/Internal.hs:436:1
Warning: 'StdGen' is ambiguous. It is defined
    * at src/System/Random/Internal.hs:555:18
    * at src/System/Random/Internal.hs:555:1
    You may be able to disambiguate the identifier by qualifying it or
    by specifying the type/value namespace explicitly.
    Defaulting to the one defined at src/System/Random/Internal.hs:555:1
Warning: 'StateT' is ambiguous. It is defined
    * in Control.Monad.Trans.State.Strict
    * in Control.Monad.Trans.State.Strict
    You may be able to disambiguate the identifier by qualifying it or
    by specifying the type/value namespace explicitly.
    Defaulting to the one defined in Control.Monad.Trans.State.Strict
Warning: 'StdGen' is ambiguous. It is defined
    * at src/System/Random/Internal.hs:555:18
    * at src/System/Random/Internal.hs:555:1
    You may be able to disambiguate the identifier by qualifying it or
    by specifying the type/value namespace explicitly.
    Defaulting to the one defined at src/System/Random/Internal.hs:555:1
 100% ( 37 / 37) in 'System.Random'
Warning: 'TGenM' is ambiguous. It is defined
    * at src/System/Random/Stateful.hs:562:19
    * at src/System/Random/Stateful.hs:562:1
    You may be able to disambiguate the identifier by qualifying it or
    by specifying the type/value namespace explicitly.
    Defaulting to the one defined at src/System/Random/Stateful.hs:562:1
Warning: 'STGenM' is ambiguous. It is defined
    * at src/System/Random/Stateful.hs:476:22
    * at src/System/Random/Stateful.hs:476:1
    You may be able to disambiguate the identifier by qualifying it or
    by specifying the type/value namespace explicitly.
    Defaulting to the one defined at src/System/Random/Stateful.hs:476:1
Warning: 'StateGenM' is ambiguous. It is defined
    * at src/System/Random/Internal.hs:436:20
    * at src/System/Random/Internal.hs:436:1
    You may be able to disambiguate the identifier by qualifying it or
    by specifying the type/value namespace explicitly.
    Defaulting to the one defined at src/System/Random/Internal.hs:436:1
Warning: 'IOGenM' is ambiguous. It is defined
    * at src/System/Random/Stateful.hs:413:20
    * at src/System/Random/Stateful.hs:413:1
    You may be able to disambiguate the identifier by qualifying it or
    by specifying the type/value namespace explicitly.
    Defaulting to the one defined at src/System/Random/Stateful.hs:413:1
Warning: 'AtomicGenM' is ambiguous. It is defined
    * at src/System/Random/Stateful.hs:328:24
    * at src/System/Random/Stateful.hs:328:1
    You may be able to disambiguate the identifier by qualifying it or
    by specifying the type/value namespace explicitly.
    Defaulting to the one defined at src/System/Random/Stateful.hs:328:1
Warning: 'STGenM' is out of scope.
    If you qualify the identifier, haddock can try to link it anyway.
Warning: 'StateT' is out of scope.
    If you qualify the identifier, haddock can try to link it anyway.
Warning: 'STM' is out of scope.
    If you qualify the identifier, haddock can try to link it anyway.
Warning: 'STGen' is ambiguous. It is defined
    * at src/System/Random/Stateful.hs:481:19
    * at src/System/Random/Stateful.hs:481:1
    You may be able to disambiguate the identifier by qualifying it or
    by specifying the type/value namespace explicitly.
    Defaulting to the one defined at src/System/Random/Stateful.hs:481:1
 100% ( 75 / 75) in 'System.Random.Stateful'
Warning: System.Random: could not find link destinations for: 
	- System.Random.GFinite.cardinality
	- System.Random.GFinite.toFinite
	- System.Random.GFinite.fromFinite
	- System.Random.GFinite.Cardinality
Warning: System.Random.Stateful: could not find link destinations for: 
	- System.Random.GFinite.GFinite
	- System.Random.Internal.GUniform
	- System.Random.Internal.D:R:MutableGenStateGenm
	- System.Random.Stateful.D:R:MutableGenAtomicGenm
	- System.Random.Stateful.D:R:MutableGenIOGenm
	- System.Random.Stateful.D:R:MutableGenSTGenST
	- System.Random.Stateful.D:R:MutableGenTGenSTM
Documentation created: dist/doc/html/random/, dist/doc/html/random/random.txt
Installing library in /var/lib/hackage-doc-builder/build-cache/tmp-install/lib/x86_64-linux-ghc-9.8.4/random-1.2.1.3-1foI9Mfx7Mi7yEazOJ5o1V
Completed    random-1.2.1.3
Downloading  granite-0.1.0.3
Downloaded   granite-0.1.0.3
Configuring granite-0.1.0.3...
Preprocessing library for granite-0.1.0.3..
Building library for granite-0.1.0.3..
[1 of 1] Compiling Granite          ( src/Granite.hs, dist/build/Granite.o, dist/build/Granite.dyn_o )

src/Granite.hs:224:48: warning: [GHC-63394] [-Wx-partial]
    In the use of head
    (imported from Prelude, but defined in GHC.List):
    "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty."
    |
224 |       plotW = if null grid then 0 else length (head grid)
    |                                                ^^^^

src/Granite.hs:372:76: warning: [GHC-63394] [-Wx-partial]
    In the use of head
    (imported from Prelude, but defined in GHC.List):
    "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty."
    |
372 |       legendWidth = leftMargin cfg + 1 + (if null grid then 0 else length (head grid))
    |                                                                            ^^^^

src/Granite.hs:411:76: warning: [GHC-63394] [-Wx-partial]
    In the use of head
    (imported from Prelude, but defined in GHC.List):
    "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty."
    |
411 |       legendWidth = leftMargin cfg + 1 + (if null grid then 0 else length (head grid))
    |                                                                            ^^^^

src/Granite.hs:428:28: warning: [GHC-63394] [-Wx-partial]
    In the use of tail
    (imported from Prelude, but defined in GHC.List):
    "This is a partial function, it throws an error on empty lists. Replace it with drop 1, or use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty."
    |
428 |       angles = zip wedges (tail wedges)
    |                            ^^^^

src/Granite.hs:488:39: warning: [GHC-63394] [-Wx-partial]
    In the use of tail
    (imported from Prelude, but defined in GHC.List):
    "This is a partial function, it throws an error on empty lists. Replace it with drop 1, or use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty."
    |
488 |             dotPairs = zip sortedPts (tail sortedPts)
    |                                       ^^^^

src/Granite.hs:510:12: warning: [GHC-63394] [-Wx-partial]
    In the use of head
    (imported from Prelude, but defined in GHC.List):
    "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty."
    |
510 |      else (head sorted, getIdx q1Idx, getIdx q2Idx, getIdx q3Idx, last sorted)
    |            ^^^^

src/Granite.hs:578:61: warning: [GHC-63394] [-Wx-partial]
    In the use of head
    (imported from Prelude, but defined in GHC.List):
    "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty."
    |
578 |       if y >= 0 && y < length grid && x >= 0 && x < length (head grid)
    |                                                             ^^^^

src/Granite.hs:586:49: warning: [GHC-63394] [-Wx-partial]
    In the use of head
    (imported from Prelude, but defined in GHC.List):
    "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty."
    |
586 |       cols = if null matrix then 0 else length (head matrix)
    |                                                 ^^^^

src/Granite.hs:633:54: warning: [GHC-63394] [-Wx-partial]
    In the use of head
    (imported from Prelude, but defined in GHC.List):
    "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty."
    |
633 |       seriesNames = if null categories || null (snd (head categories))
    |                                                      ^^^^

src/Granite.hs:635:40: warning: [GHC-63394] [-Wx-partial]
    In the use of head
    (imported from Prelude, but defined in GHC.List):
    "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty."
    |
635 |                     else map fst (snd (head categories))
    |                                        ^^^^

src/Granite.hs:651:59: warning: [GHC-63394] [-Wx-partial]
    In the use of tail
    (imported from Prelude, but defined in GHC.List):
    "This is a partial function, it throws an error on empty lists. Replace it with drop 1, or use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty."
    |
651 |             segments = zip3 (map fst series') cumHeights (tail cumHeights)
    |                                                           ^^^^

src/Granite.hs:672:61: warning: [GHC-63394] [-Wx-partial]
    In the use of head
    (imported from Prelude, but defined in GHC.List):
    "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty."
    |
672 |                           (if null grid then 0 else length (head grid)))
    |                                                             ^^^^

src/Granite.hs:758:11: warning: [GHC-62161] [-Wincomplete-uni-patterns]
    Pattern match(es) are non-exhaustive
    In a pattern binding: Patterns of type [a] not matched: []
    |
758 |           (x:ys2)      = ys1
    |           ^^^^^^^^^^^^^^^^^^
Preprocessing executable 'granite' for granite-0.1.0.3..
Building executable 'granite' for granite-0.1.0.3..
[1 of 1] Compiling Main             ( app/Main.hs, dist/build/granite/granite-tmp/Main.o )
[2 of 2] Linking dist/build/granite/granite
Preprocessing library for granite-0.1.0.3..
Running Haddock on library for granite-0.1.0.3..
Warning: --source-* options are ignored when --hyperlinked-source is enabled.
[1 of 1] Compiling Granite          ( src/Granite.hs, nothing )

src/Granite.hs:224:48: warning: [GHC-63394] [-Wx-partial]
    In the use of head
    (imported from Prelude, but defined in GHC.List):
    "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty."
    |
224 |       plotW = if null grid then 0 else length (head grid)
    |                                                ^^^^

src/Granite.hs:372:76: warning: [GHC-63394] [-Wx-partial]
    In the use of head
    (imported from Prelude, but defined in GHC.List):
    "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty."
    |
372 |       legendWidth = leftMargin cfg + 1 + (if null grid then 0 else length (head grid))
    |                                                                            ^^^^

src/Granite.hs:411:76: warning: [GHC-63394] [-Wx-partial]
    In the use of head
    (imported from Prelude, but defined in GHC.List):
    "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty."
    |
411 |       legendWidth = leftMargin cfg + 1 + (if null grid then 0 else length (head grid))
    |                                                                            ^^^^

src/Granite.hs:428:28: warning: [GHC-63394] [-Wx-partial]
    In the use of tail
    (imported from Prelude, but defined in GHC.List):
    "This is a partial function, it throws an error on empty lists. Replace it with drop 1, or use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty."
    |
428 |       angles = zip wedges (tail wedges)
    |                            ^^^^

src/Granite.hs:488:39: warning: [GHC-63394] [-Wx-partial]
    In the use of tail
    (imported from Prelude, but defined in GHC.List):
    "This is a partial function, it throws an error on empty lists. Replace it with drop 1, or use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty."
    |
488 |             dotPairs = zip sortedPts (tail sortedPts)
    |                                       ^^^^

src/Granite.hs:510:12: warning: [GHC-63394] [-Wx-partial]
    In the use of head
    (imported from Prelude, but defined in GHC.List):
    "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty."
    |
510 |      else (head sorted, getIdx q1Idx, getIdx q2Idx, getIdx q3Idx, last sorted)
    |            ^^^^

src/Granite.hs:578:61: warning: [GHC-63394] [-Wx-partial]
    In the use of head
    (imported from Prelude, but defined in GHC.List):
    "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty."
    |
578 |       if y >= 0 && y < length grid && x >= 0 && x < length (head grid)
    |                                                             ^^^^

src/Granite.hs:586:49: warning: [GHC-63394] [-Wx-partial]
    In the use of head
    (imported from Prelude, but defined in GHC.List):
    "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty."
    |
586 |       cols = if null matrix then 0 else length (head matrix)
    |                                                 ^^^^

src/Granite.hs:633:54: warning: [GHC-63394] [-Wx-partial]
    In the use of head
    (imported from Prelude, but defined in GHC.List):
    "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty."
    |
633 |       seriesNames = if null categories || null (snd (head categories))
    |                                                      ^^^^

src/Granite.hs:635:40: warning: [GHC-63394] [-Wx-partial]
    In the use of head
    (imported from Prelude, but defined in GHC.List):
    "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty."
    |
635 |                     else map fst (snd (head categories))
    |                                        ^^^^

src/Granite.hs:651:59: warning: [GHC-63394] [-Wx-partial]
    In the use of tail
    (imported from Prelude, but defined in GHC.List):
    "This is a partial function, it throws an error on empty lists. Replace it with drop 1, or use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty."
    |
651 |             segments = zip3 (map fst series') cumHeights (tail cumHeights)
    |                                                           ^^^^

src/Granite.hs:672:61: warning: [GHC-63394] [-Wx-partial]
    In the use of head
    (imported from Prelude, but defined in GHC.List):
    "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty."
    |
672 |                           (if null grid then 0 else length (head grid)))
    |                                                             ^^^^
Haddock coverage:
   0% (  0 / 14) in 'Granite'
  Missing documentation for:
    Module header
    Plot (src/Granite.hs:27)
    defPlot (src/Granite.hs:37)
    LegendPos (src/Granite.hs:25)
    series (src/Granite.hs:288)
    bins (src/Granite.hs:346)
    histogram (src/Granite.hs:349)
    bars (src/Granite.hs:381)
    scatter (src/Granite.hs:291)
    pie (src/Granite.hs:418)
    stackedBars (src/Granite.hs:629)
    heatmap (src/Granite.hs:584)
    lineGraph (src/Granite.hs:476)
    boxPlot (src/Granite.hs:513)
Warning: Granite: could not find link destinations for: 
	- Granite.Bins
Documentation created: dist/doc/html/granite/,
dist/doc/html/granite/granite.txt
Preprocessing executable 'granite' for granite-0.1.0.3..
Installing library in /var/lib/hackage-doc-builder/build-cache/tmp-install/lib/x86_64-linux-ghc-9.8.4/granite-0.1.0.3-2ovQCG7laJUJMTtl7H1FzZ
Installing executable granite in /var/lib/hackage-doc-builder/build-cache/tmp-install/bin
Warning: The directory
/var/lib/hackage-doc-builder/build-cache/tmp-install/bin is not in the system
search path.
Completed    granite-0.1.0.3

Test log

[view raw]

Resolving dependencies...
Error: cabal: Cannot test all the packages in the project because none of the
components are available to build: the test suite 'granite-test' is not
available because the solver picked a plan that does not include the test
suites, perhaps because no such plan exists. To see the error message
explaining the problems with such plans, force the solver to include the test
suites for all packages, by adding the line 'tests: True' to the
'cabal.project.local' file.