Build #1 for system-fileio-0.3.16.7
Package | system-fileio-0.3.16.7 |
---|
Install | InstallOk |
---|---|
Docs | Ok |
Tests | NotTried |
Time submitted | 2025-05-14 09:21:45.798799327 UTC |
---|---|
Compiler | ghc-9.8.4 |
OS | linux |
Arch | x86_64 |
Dependencies | base-4.19.2.0, bytestring-0.12.1.0, system-filepath-0.4.14.1, text-2.1.1, time-1.12.2, unix-2.8.6.0 |
Flags | none |
Code Coverage
No Code Coverage was submitted for this report.
Build log
[view raw]
Resolving dependencies... Downloading system-filepath-0.4.14.1 Downloaded system-filepath-0.4.14.1 Configuring system-filepath-0.4.14.1... Preprocessing library for system-filepath-0.4.14.1.. Building library for system-filepath-0.4.14.1.. [1 of 4] Compiling Filesystem.Path.Internal ( lib/Filesystem/Path/Internal.hs, dist/build/Filesystem/Path/Internal.o, dist/build/Filesystem/Path/Internal.dyn_o ) lib/Filesystem/Path/Internal.hs:17:1: warning: [GHC-66111] [-Wunused-imports] The qualified import of Control.Exception is redundant except perhaps to import instances from Control.Exception To import instances alone, use: import Control.Exception() | 17 | import qualified Control.Exception as Exc | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lib/Filesystem/Path/Internal.hs:26:1: warning: [GHC-66111] [-Wunused-imports] The import of Data.Text.Encoding.Error is redundant except perhaps to import instances from Data.Text.Encoding.Error To import instances alone, use: import Data.Text.Encoding.Error() | 26 | import Data.Text.Encoding.Error (UnicodeException) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lib/Filesystem/Path/Internal.hs:237:26: 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." | 237 | cont = chunk : loop (tail rest) | ^^^^ [2 of 4] Compiling Filesystem.Path ( lib/Filesystem/Path.hs, dist/build/Filesystem/Path.o, dist/build/Filesystem/Path.dyn_o ) lib/Filesystem/Path.hs:74:3: warning: [GHC-50928] [-Wnoncanonical-monoid-instances] Noncanonical mappend definition detected in the instance declaration for Monoid FilePath. mappend will eventually be removed in favour of (<>) Suggested fix: Either remove definition for mappend (recommended) or define as mappend = (<>) See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/semigroup-monoid | 74 | mappend = append | ^^^^^^^^^^^^^^^^ [3 of 4] Compiling Filesystem.Path.Rules ( lib/Filesystem/Path/Rules.hs, dist/build/Filesystem/Path/Rules.o, dist/build/Filesystem/Path/Rules.dyn_o ) lib/Filesystem/Path/Rules.hs:103:33: 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." | 103 | (root, pastRoot) = if P.null (head chunks) | ^^^^ lib/Filesystem/Path/Rules.hs:104:27: 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." | 104 | then (Just RootPosix, tail chunks) | ^^^^ lib/Filesystem/Path/Rules.hs:334:11: 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." | 334 | head' = head split | ^^^^ lib/Filesystem/Path/Rules.hs:335:11: 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." | 335 | tail' = tail split | ^^^^ [4 of 4] Compiling Filesystem.Path.CurrentOS ( lib/Filesystem/Path/CurrentOS.hs, dist/build/Filesystem/Path/CurrentOS.o, dist/build/Filesystem/Path/CurrentOS.dyn_o ) Preprocessing library for system-filepath-0.4.14.1.. Running Haddock on library for system-filepath-0.4.14.1.. Warning: --source-* options are ignored when --hyperlinked-source is enabled. [1 of 4] Compiling Filesystem.Path.Internal ( lib/Filesystem/Path/Internal.hs, nothing ) lib/Filesystem/Path/Internal.hs:17:1: warning: [GHC-66111] [-Wunused-imports] The qualified import of Control.Exception is redundant except perhaps to import instances from Control.Exception To import instances alone, use: import Control.Exception() | 17 | import qualified Control.Exception as Exc | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lib/Filesystem/Path/Internal.hs:26:1: warning: [GHC-66111] [-Wunused-imports] The import of Data.Text.Encoding.Error is redundant except perhaps to import instances from Data.Text.Encoding.Error To import instances alone, use: import Data.Text.Encoding.Error() | 26 | import Data.Text.Encoding.Error (UnicodeException) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lib/Filesystem/Path/Internal.hs:237:26: 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." | 237 | cont = chunk : loop (tail rest) | ^^^^ [2 of 4] Compiling Filesystem.Path ( lib/Filesystem/Path.hs, nothing ) lib/Filesystem/Path.hs:74:3: warning: [GHC-50928] [-Wnoncanonical-monoid-instances] Noncanonical mappend definition detected in the instance declaration for Monoid FilePath. mappend will eventually be removed in favour of (<>) Suggested fix: Either remove definition for mappend (recommended) or define as mappend = (<>) See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/semigroup-monoid | 74 | mappend = append | ^^^^^^^^^^^^^^^^ [3 of 4] Compiling Filesystem.Path.Rules ( lib/Filesystem/Path/Rules.hs, nothing ) lib/Filesystem/Path/Rules.hs:103:33: 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." | 103 | (root, pastRoot) = if P.null (head chunks) | ^^^^ lib/Filesystem/Path/Rules.hs:104:27: 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." | 104 | then (Just RootPosix, tail chunks) | ^^^^ lib/Filesystem/Path/Rules.hs:334:11: 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." | 334 | head' = head split | ^^^^ lib/Filesystem/Path/Rules.hs:335:11: 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." | 335 | tail' = tail split | ^^^^ [4 of 4] Compiling Filesystem.Path.CurrentOS ( lib/Filesystem/Path/CurrentOS.hs, nothing ) lib/Filesystem/Path/CurrentOS.hs:37:1: warning: [GHC-66111] [-Wunused-imports] The qualified import of Data.ByteString is redundant except perhaps to import instances from Data.ByteString To import instances alone, use: import Data.ByteString() | 37 | import qualified Data.ByteString as B | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Haddock coverage: Warning: 'Rules' is ambiguous. It is defined * at lib/Filesystem/Path/Internal.hs:120:29 * at lib/Filesystem/Path/Internal.hs:120: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 lib/Filesystem/Path/Internal.hs:120:1 Warning: 'FilePath' is ambiguous. It is defined * at lib/Filesystem/Path/Internal.hs:46:17 * at lib/Filesystem/Path/Internal.hs:46: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 lib/Filesystem/Path/Internal.hs:46:1 Warning: 'FilePath' is ambiguous. It is defined * at lib/Filesystem/Path/Internal.hs:46:17 * at lib/Filesystem/Path/Internal.hs:46: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 lib/Filesystem/Path/Internal.hs:46:1 97% ( 33 / 34) in 'Filesystem.Path' Missing documentation for: FilePath (lib/Filesystem/Path/Internal.hs:46) 100% ( 19 / 19) in 'Filesystem.Path.Rules' 92% ( 13 / 14) in 'Filesystem.Path.CurrentOS' Missing documentation for: currentOS (lib/Filesystem/Path/CurrentOS.hs:55) Documentation created: dist/doc/html/system-filepath/, dist/doc/html/system-filepath/system-filepath.txt Installing library in /var/lib/hackage-doc-builder/build-cache/tmp-install/lib/x86_64-linux-ghc-9.8.4/system-filepath-0.4.14.1-Smus70MnUu2gJWTSZCmYO Completed system-filepath-0.4.14.1 Downloading system-fileio-0.3.16.7 Downloaded system-fileio-0.3.16.7 Configuring system-fileio-0.3.16.7... Preprocessing library for system-fileio-0.3.16.7.. Building library for system-fileio-0.3.16.7.. [1 of 1] Compiling Filesystem ( lib/Filesystem.hs, dist/build/Filesystem.o, dist/build/Filesystem.dyn_o ) lib/Filesystem.hs:79:48: warning: [GHC-38856] [-Wunused-imports] The import of when from module Control.Monad is redundant | 79 | import Control.Monad (forM_, unless, when) | ^^^^ lib/Filesystem.hs:95:1: warning: [GHC-66111] [-Wunused-imports] The import of System.IO.Error is redundant except perhaps to import instances from System.IO.Error To import instances alone, use: import System.IO.Error() | 95 | import System.IO.Error (IOError) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lib/Filesystem.hs:925:1: warning: [GHC-40910] [-Wunused-top-binds] Defined but not used: throwErrnoPathIfMinus1 | 925 | throwErrnoPathIfMinus1 loc path = CError.throwErrnoPathIfMinus1 loc (encodeString path) | ^^^^^^^^^^^^^^^^^^^^^^ In file included from /nix/store/71xyq87gpb2qrwn314p0sf2n002lgd91-glibc-2.40-66-dev/include/dirent.h:25, from lib/hssystemfileio-unix.c:9:0: error: /nix/store/71xyq87gpb2qrwn314p0sf2n002lgd91-glibc-2.40-66-dev/include/features.h:197:3: error: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ | 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^ lib/hssystemfileio-unix.c: In function hssystemfileio_readdir: lib/hssystemfileio-unix.c:57:17: error: warning: readdir_r is deprecated [-Wdeprecated-declarations] 57 | int rc = readdir_r(dir, dirent, &dirent_result); | ^~~ | 57 | int rc = readdir_r(dir, dirent, &dirent_result); | ^ /nix/store/71xyq87gpb2qrwn314p0sf2n002lgd91-glibc-2.40-66-dev/include/dirent.h:185:12: error: note: declared here 185 | extern int readdir_r (DIR *__restrict __dirp, | ^~~~~~~~~ | 185 | extern int readdir_r (DIR *__restrict __dirp, | ^ In file included from /nix/store/71xyq87gpb2qrwn314p0sf2n002lgd91-glibc-2.40-66-dev/include/dirent.h:25, from lib/hssystemfileio-unix.c:9:0: error: /nix/store/71xyq87gpb2qrwn314p0sf2n002lgd91-glibc-2.40-66-dev/include/features.h:197:3: error: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ | 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^ lib/hssystemfileio-unix.c: In function hssystemfileio_readdir: lib/hssystemfileio-unix.c:57:17: error: warning: readdir_r is deprecated [-Wdeprecated-declarations] 57 | int rc = readdir_r(dir, dirent, &dirent_result); | ^~~ | 57 | int rc = readdir_r(dir, dirent, &dirent_result); | ^ /nix/store/71xyq87gpb2qrwn314p0sf2n002lgd91-glibc-2.40-66-dev/include/dirent.h:185:12: error: note: declared here 185 | extern int readdir_r (DIR *__restrict __dirp, | ^~~~~~~~~ | 185 | extern int readdir_r (DIR *__restrict __dirp, | ^ Preprocessing library for system-fileio-0.3.16.7.. Running Haddock on library for system-fileio-0.3.16.7.. Warning: --source-* options are ignored when --hyperlinked-source is enabled. [1 of 1] Compiling Filesystem ( lib/Filesystem.hs, nothing ) lib/Filesystem.hs:79:48: warning: [GHC-38856] [-Wunused-imports] The import of when from module Control.Monad is redundant | 79 | import Control.Monad (forM_, unless, when) | ^^^^ lib/Filesystem.hs:95:1: warning: [GHC-66111] [-Wunused-imports] The import of System.IO.Error is redundant except perhaps to import instances from System.IO.Error To import instances alone, use: import System.IO.Error() | 95 | import System.IO.Error (IOError) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lib/Filesystem.hs:925:1: warning: [GHC-40910] [-Wunused-top-binds] Defined but not used: throwErrnoPathIfMinus1 | 925 | throwErrnoPathIfMinus1 loc path = CError.throwErrnoPathIfMinus1 loc (encodeString path) | ^^^^^^^^^^^^^^^^^^^^^^ Haddock coverage: Warning: 'Handle' is out of scope. If you qualify the identifier, haddock can try to link it anyway. 100% ( 46 / 46) in 'Filesystem' Documentation created: dist/doc/html/system-fileio/, dist/doc/html/system-fileio/system-fileio.txt Installing library in /var/lib/hackage-doc-builder/build-cache/tmp-install/lib/x86_64-linux-ghc-9.8.4/system-fileio-0.3.16.7-GXz77BMsAbZ1LXKfSvFJD5 Completed system-fileio-0.3.16.7
Test log
[view raw]
Resolving dependencies... Error: Internal libraries only supported with per-component builds. Per-component builds were disabled because program coverage is enabled In the package 'options-1.2.1.2'