Build #2 for bini-0.1.5
| Package | bini-0.1.5 |
|---|
| Install | InstallOk |
|---|---|
| Docs | Ok |
| Tests | NotTried |
| Time submitted | 2025-11-29 01:11:35.541255425 UTC |
|---|---|
| Compiler | ghc-9.8.4 |
| OS | linux |
| Arch | x86_64 |
| Dependencies | base-4.19.2.0, binary-0.8.9.1, bytestring-0.12.1.0, data-binary-ieee754-0.4.4 |
| Flags | none |
Code Coverage
No Code Coverage was submitted for this report.
Build log
[view raw]
Resolving dependencies...
Warning: data-binary-ieee754.cabal:36:21: version operators used. To use
version operators the package needs to specify at least 'cabal-version: >=
1.8'.
Configuring data-binary-ieee754-0.4.4...
Preprocessing library for data-binary-ieee754-0.4.4..
Building library for data-binary-ieee754-0.4.4..
[1 of 1] Compiling Data.Binary.IEEE754 ( lib/Data/Binary/IEEE754.hs, dist/build/Data/Binary/IEEE754.o, dist/build/Data/Binary/IEEE754.dyn_o )
lib/Data/Binary/IEEE754.hs:12:1: warning: [GHC-94817] [-Wtabs]
Tab character found here, and in 70 further locations.
Suggested fix: Please use spaces instead.
|
12 | -- * Parsing
| ^^^^^^^^
Preprocessing library for data-binary-ieee754-0.4.4..
Running Haddock on library for data-binary-ieee754-0.4.4..
Warning: --source-* options are ignored when --hyperlinked-source is enabled.
[1 of 1] Compiling Data.Binary.IEEE754 ( lib/Data/Binary/IEEE754.hs, nothing )
lib/Data/Binary/IEEE754.hs:12:1: warning: [GHC-94817] [-Wtabs]
Tab character found here, and in 70 further locations.
Suggested fix: Please use spaces instead.
|
12 | -- * Parsing
| ^^^^^^^^
Haddock coverage:
22% ( 4 / 18) in 'Data.Binary.IEEE754'
Missing documentation for:
getFloat16be (lib/Data/Binary/IEEE754.hs:35)
getFloat16le (lib/Data/Binary/IEEE754.hs:38)
getFloat32be (lib/Data/Binary/IEEE754.hs:41)
getFloat32le (lib/Data/Binary/IEEE754.hs:44)
getFloat64be (lib/Data/Binary/IEEE754.hs:47)
getFloat64le (lib/Data/Binary/IEEE754.hs:50)
putFloat32be (lib/Data/Binary/IEEE754.hs:53)
putFloat32le (lib/Data/Binary/IEEE754.hs:56)
putFloat64be (lib/Data/Binary/IEEE754.hs:59)
putFloat64le (lib/Data/Binary/IEEE754.hs:62)
floatToWord (lib/Data/Binary/IEEE754.hs:65)
wordToFloat (lib/Data/Binary/IEEE754.hs:68)
doubleToWord (lib/Data/Binary/IEEE754.hs:71)
wordToDouble (lib/Data/Binary/IEEE754.hs:74)
Documentation created: dist/doc/html/data-binary-ieee754/,
dist/doc/html/data-binary-ieee754/data-binary-ieee754.txt
Installing library in /var/lib/hackage-doc-builder/build-cache/tmp-install/lib/x86_64-linux-ghc-9.8.4/data-binary-ieee754-0.4.4-IlK1TxnHmvR69NPXolu6gT
Completed data-binary-ieee754-0.4.4
Downloading bini-0.1.5
Downloaded bini-0.1.5
Configuring bini-0.1.5...
Preprocessing library for bini-0.1.5..
Building library for bini-0.1.5..
[1 of 1] Compiling Data.Bini ( src/Data/Bini.hs, dist/build/Data/Bini.o, dist/build/Data/Bini.dyn_o )
src/Data/Bini.hs:38:1: warning: [GHC-66111] [-Wunused-imports]
The qualified import of Data.ByteString.Lazy.Char8 is redundant
except perhaps to import instances from Data.ByteString.Lazy.Char8
To import instances alone, use: import Data.ByteString.Lazy.Char8()
|
38 | import qualified Data.ByteString.Lazy.Char8 as BLC
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/Data/Bini.hs:44:12: 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."
|
44 | bstr2str = tail.init.show
| ^^^^
src/Data/Bini.hs:70:16: warning: [GHC-40910] [-Wunused-matches]
Defined but not used: v
|
70 | show (Bini v secs) = intercalate "\n" (map show secs)
| ^
src/Data/Bini.hs:73:19: warning: [GHC-63397] [-Wname-shadowing]
This binding for name shadows the existing binding
defined at src/Data/Bini.hs:58:25
|
73 | show (Section name entries) = "["++name++"]\n"++intercalate "\n" (map show entries)++"\n"
| ^^^^
src/Data/Bini.hs:73:24: warning: [GHC-63397] [-Wname-shadowing]
This binding for entries shadows the existing binding
defined at src/Data/Bini.hs:58:41
|
73 | show (Section name entries) = "["++name++"]\n"++intercalate "\n" (map show entries)++"\n"
| ^^^^^^^
src/Data/Bini.hs:76:17: warning: [GHC-63397] [-Wname-shadowing]
This binding for name shadows the existing binding
defined at src/Data/Bini.hs:58:25
|
76 | show (Entry name vals) = name++" = "++intercalate ", " (map show vals)
| ^^^^
src/Data/Bini.hs:89:14: warning: [GHC-40910] [-Wunused-local-binds]
Defined but not used: isBini
|
89 | let (isBini, version, strtableoff) = runGet parseHeader content
| ^^^^^^
src/Data/Bini.hs:89:22: warning: [GHC-63397] [-Wname-shadowing]
This binding for version shadows the existing binding
defined at src/Data/Bini.hs:55:19
|
89 | let (isBini, version, strtableoff) = runGet parseHeader content
| ^^^^^^^
src/Data/Bini.hs:106:37: warning: [GHC-40910] [-Wunused-matches]
Defined but not used: x
|
106 | vals <- sequence [parseVal ls | x<-[1..(fromIntegral n_vals)]]
| ^
src/Data/Bini.hs:106:41: warning: [GHC-18042] [-Wtype-defaults]
" Defaulting the type variable t0 to type Integer in the following constraints
(Num t0) arising from the literal 1 at src/Data/Bini.hs:106:41
(Enum t0)
arising from the arithmetic sequence 1 .. (fromIntegral n_vals)
at src/Data/Bini.hs:106:40-65
" In the expression: 1
In the expression: [1 .. (fromIntegral n_vals)]
In a stmt of a list comprehension:
x <- [1 .. (fromIntegral n_vals)]
|
106 | vals <- sequence [parseVal ls | x<-[1..(fromIntegral n_vals)]]
| ^
src/Data/Bini.hs:113:5: warning: [GHC-62161] [-Wincomplete-patterns]
Pattern match(es) are non-exhaustive
In a case alternative:
Patterns of type Integer not matched:
p where p is not one of {3, 1, 2}
|
113 | case fromIntegral typ of
| ^^^^^^^^^^^^^^^^^^^^^^^^...
src/Data/Bini.hs:114:9: warning: [GHC-18042] [-Wtype-defaults]
" Defaulting the type variable a0 to type Integer in the following constraints
(Eq a0) arising from the literal 1 at src/Data/Bini.hs:114:9
(Num a0)
arising from a use of fromIntegral at src/Data/Bini.hs:113:10-21
" In the pattern: 1
In a case alternative:
1 -> do dat <- getWord32le
return $ BiniInt $ fromIntegral dat
In a stmt of a 'do' block:
case fromIntegral typ of
1 -> do dat <- getWord32le
return $ BiniInt $ fromIntegral dat
2 -> do dat <- getFloat32le
return $ BiniFloat dat
3 -> do dat <- getWord32le
return $ BiniString $ bstr2str $ ls `getOffset` fromIntegral dat
|
114 | 1 -> do
| ^
src/Data/Bini.hs:131:5: warning: [GHC-63397] [-Wname-shadowing]
This binding for entries shadows the existing binding
defined at src/Data/Bini.hs:58:41
|
131 | entries <- sequence [parseEntry table | x<-[1..num_entries]]
| ^^^^^^^
src/Data/Bini.hs:131:45: warning: [GHC-40910] [-Wunused-matches]
Defined but not used: x
|
131 | entries <- sequence [parseEntry table | x<-[1..num_entries]]
| ^
src/Data/Bini.hs:131:49: warning: [GHC-18042] [-Wtype-defaults]
" Defaulting the type variable t0 to type Integer in the following constraints
(Num t0) arising from the literal 1 at src/Data/Bini.hs:131:49
(Enum t0)
arising from the arithmetic sequence 1 .. num_entries
at src/Data/Bini.hs:131:48-63
(Num t0)
arising from a use of fromIntegral at src/Data/Bini.hs:130:23-34
" In the expression: 1
In the expression: [1 .. num_entries]
In a stmt of a list comprehension: x <- [1 .. num_entries]
|
131 | entries <- sequence [parseEntry table | x<-[1..num_entries]]
| ^
src/Data/Bini.hs:149:5: warning: [GHC-63397] [-Wname-shadowing]
This binding for version shadows the existing binding
defined at src/Data/Bini.hs:55:19
|
149 | version <- getWord32le
| ^^^^^^^
Preprocessing library for bini-0.1.5..
Running Haddock on library for bini-0.1.5..
Warning: --source-* options are ignored when --hyperlinked-source is enabled.
[1 of 1] Compiling Data.Bini ( src/Data/Bini.hs, nothing )
src/Data/Bini.hs:38:1: warning: [GHC-66111] [-Wunused-imports]
The qualified import of Data.ByteString.Lazy.Char8 is redundant
except perhaps to import instances from Data.ByteString.Lazy.Char8
To import instances alone, use: import Data.ByteString.Lazy.Char8()
|
38 | import qualified Data.ByteString.Lazy.Char8 as BLC
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/Data/Bini.hs:44:12: 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."
|
44 | bstr2str = tail.init.show
| ^^^^
src/Data/Bini.hs:70:16: warning: [GHC-40910] [-Wunused-matches]
Defined but not used: v
|
70 | show (Bini v secs) = intercalate "\n" (map show secs)
| ^
src/Data/Bini.hs:73:19: warning: [GHC-63397] [-Wname-shadowing]
This binding for name shadows the existing binding
defined at src/Data/Bini.hs:58:25
|
73 | show (Section name entries) = "["++name++"]\n"++intercalate "\n" (map show entries)++"\n"
| ^^^^
src/Data/Bini.hs:73:24: warning: [GHC-63397] [-Wname-shadowing]
This binding for entries shadows the existing binding
defined at src/Data/Bini.hs:58:41
|
73 | show (Section name entries) = "["++name++"]\n"++intercalate "\n" (map show entries)++"\n"
| ^^^^^^^
src/Data/Bini.hs:76:17: warning: [GHC-63397] [-Wname-shadowing]
This binding for name shadows the existing binding
defined at src/Data/Bini.hs:58:25
|
76 | show (Entry name vals) = name++" = "++intercalate ", " (map show vals)
| ^^^^
src/Data/Bini.hs:89:14: warning: [GHC-40910] [-Wunused-local-binds]
Defined but not used: isBini
|
89 | let (isBini, version, strtableoff) = runGet parseHeader content
| ^^^^^^
src/Data/Bini.hs:89:22: warning: [GHC-63397] [-Wname-shadowing]
This binding for version shadows the existing binding
defined at src/Data/Bini.hs:55:19
|
89 | let (isBini, version, strtableoff) = runGet parseHeader content
| ^^^^^^^
src/Data/Bini.hs:106:37: warning: [GHC-40910] [-Wunused-matches]
Defined but not used: x
|
106 | vals <- sequence [parseVal ls | x<-[1..(fromIntegral n_vals)]]
| ^
src/Data/Bini.hs:106:41: warning: [GHC-18042] [-Wtype-defaults]
" Defaulting the type variable t0 to type Integer in the following constraints
(Num t0) arising from the literal 1 at src/Data/Bini.hs:106:41
(Enum t0)
arising from the arithmetic sequence 1 .. (fromIntegral n_vals)
at src/Data/Bini.hs:106:40-65
" In the expression: 1
In the expression: [1 .. (fromIntegral n_vals)]
In a stmt of a list comprehension:
x <- [1 .. (fromIntegral n_vals)]
|
106 | vals <- sequence [parseVal ls | x<-[1..(fromIntegral n_vals)]]
| ^
src/Data/Bini.hs:114:9: warning: [GHC-18042] [-Wtype-defaults]
" Defaulting the type variable a0 to type Integer in the following constraints
(Eq a0) arising from the literal 1 at src/Data/Bini.hs:114:9
(Num a0)
arising from a use of fromIntegral at src/Data/Bini.hs:113:10-21
" In the pattern: 1
In a case alternative:
1 -> do dat <- getWord32le
return $ BiniInt $ fromIntegral dat
In a stmt of a 'do' block:
case fromIntegral typ of
1 -> do dat <- getWord32le
return $ BiniInt $ fromIntegral dat
2 -> do dat <- getFloat32le
return $ BiniFloat dat
3 -> do dat <- getWord32le
return $ BiniString $ bstr2str $ ls `getOffset` fromIntegral dat
|
114 | 1 -> do
| ^
src/Data/Bini.hs:131:5: warning: [GHC-63397] [-Wname-shadowing]
This binding for entries shadows the existing binding
defined at src/Data/Bini.hs:58:41
|
131 | entries <- sequence [parseEntry table | x<-[1..num_entries]]
| ^^^^^^^
src/Data/Bini.hs:131:45: warning: [GHC-40910] [-Wunused-matches]
Defined but not used: x
|
131 | entries <- sequence [parseEntry table | x<-[1..num_entries]]
| ^
src/Data/Bini.hs:131:49: warning: [GHC-18042] [-Wtype-defaults]
" Defaulting the type variable t0 to type Integer in the following constraints
(Num t0) arising from the literal 1 at src/Data/Bini.hs:131:49
(Enum t0)
arising from the arithmetic sequence 1 .. num_entries
at src/Data/Bini.hs:131:48-63
(Num t0)
arising from a use of fromIntegral at src/Data/Bini.hs:130:23-34
" In the expression: 1
In the expression: [1 .. num_entries]
In a stmt of a list comprehension: x <- [1 .. num_entries]
|
131 | entries <- sequence [parseEntry table | x<-[1..num_entries]]
| ^
src/Data/Bini.hs:149:5: warning: [GHC-63397] [-Wname-shadowing]
This binding for version shadows the existing binding
defined at src/Data/Bini.hs:55:19
|
149 | version <- getWord32le
| ^^^^^^^
Haddock coverage:
100% ( 8 / 8) in 'Data.Bini'
Documentation created: dist/doc/html/bini/, dist/doc/html/bini/bini.txt
Installing library in /var/lib/hackage-doc-builder/build-cache/tmp-install/lib/x86_64-linux-ghc-9.8.4/bini-0.1.5-nZhyDmaiY1IhcW4r5XcDC
Completed bini-0.1.5
Test log
[view raw]
Resolving dependencies... No tests to run for all the packages in the project