Running phase: setupCompilerEnvironmentPhase Build with /nix/store/y48hvc1f09367cz5f03dcncv6n3lkf18-ghc-9.10.3. Running phase: unpackPhase unpacking source archive /nix/store/9kjpqdkg512vvsjnyp33vacmgb3zlszs-Glob-0.10.2.tar.gz source root is Glob-0.10.2 setting SOURCE_DATE_EPOCH to timestamp 1000000000 of file "Glob-0.10.2/tests/Tests/Utils.hs" Running phase: patchPhase Replace Cabal file with edited version from mirror://hackage/Glob-0.10.2/revision/3.cabal. Running phase: compileBuildDriverPhase setupCompileFlags: -package-db=/build/tmp.hQL7yauEFd/setup-package.conf.d -threaded [1 of 2] Compiling Main ( Setup.hs, /build/tmp.hQL7yauEFd/Main.o ) [2 of 2] Linking Setup Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase configureFlags: --verbose --prefix=/nix/store/r862xbim844r313ya6qv43d1gq75vd6z-Glob-0.10.2 --libdir=$prefix/lib/$compiler/lib --libsubdir=$abi/$libname --docdir=/nix/store/cz06vkginbg3nbnpkdcwfz3xkwirwnnd-Glob-0.10.2-doc/share/doc/Glob-0.10.2 --with-gcc=gcc --package-db=/build/tmp.hQL7yauEFd/package.conf.d --ghc-option=-j16 --ghc-option=+RTS --ghc-option=-A64M --ghc-option=-RTS --enable-library-profiling --profiling-detail=exported-functions --disable-profiling --enable-shared --disable-coverage --enable-static --disable-executable-dynamic --enable-tests --disable-benchmarks --enable-library-vanilla --disable-library-for-ghci --enable-split-sections --enable-library-stripping --enable-executable-stripping --ghc-option=-haddock --extra-lib-dirs=/nix/store/62qhvy2m2lpqj7ca39j9wvp2kkcxwdcg-ncurses-6.6/lib --extra-lib-dirs=/nix/store/rkfkkdgwz8y31hk76i4b9s59h5raya9n-libffi-3.5.2/lib --extra-lib-dirs=/nix/store/hkxx26hifhkm5xsfwk1khwi1bkal3i9k-elfutils-0.195/lib --extra-lib-dirs=/nix/store/sy8ark85hgjhhcr1ycgarf5w7ajw8jcc-gmp-with-cxx-6.3.0/lib --extra-lib-dirs=/nix/store/51bryd6zjk96w46s7g30azhbfrwhbh76-numactl-2.0.18/lib Using Parsec parser Configuring Glob-0.10.2... Dependency base >=4 && <5: using base-4.20.2.0 Dependency containers: using containers-0.7 Dependency directory: using directory-1.3.8.5 Dependency dlist >=0.4: using dlist-1.0 Dependency filepath >=1.1: using filepath-1.5.4.0 Dependency transformers >=0.2: using transformers-0.6.1.1 Dependency transformers-compat >=0.3: using transformers-compat-0.7.2 Dependency HUnit >=1.2: using HUnit-1.6.2.0 Dependency QuickCheck >=2: using QuickCheck-2.15.0.1 Dependency base >=4 && <5: using base-4.20.2.0 Dependency containers: using containers-0.7 Dependency directory: using directory-1.3.8.5 Dependency dlist >=0.4: using dlist-1.0 Dependency filepath >=1.1: using filepath-1.5.4.0 Dependency test-framework >=0.2: using test-framework-0.8.2.3 Dependency test-framework-hunit >=0.2: using test-framework-hunit-0.3.0.3 Dependency test-framework-quickcheck2 >=0.3: using test-framework-quickcheck2-0.3.0.7 Dependency transformers >=0.2: using transformers-0.6.1.1 Dependency transformers-compat >=0.3: using transformers-compat-0.7.2 Source component graph: component test:glob-tests component lib Configured component graph: component Glob-0.10.2-H61eBCxFeb7IyVLPh8Xv5c-glob-tests include HUnit-1.6.2.0-BKnWFNsnki88ha9xtEIXwV include QuickCheck-2.15.0.1-3N2cq88qhTx9tzOlwUpVlF include base-4.20.2.0-2363 include containers-0.7-5389 include directory-1.3.8.5-e40b include dlist-1.0-YoZ3i0qHObF2PGh15YQXx include filepath-1.5.4.0-fddf include test-framework-0.8.2.3-DZOLuf9WVUe8q6sV1KTS8n include test-framework-hunit-0.3.0.3-1qo9Wm8EAF4TgjZfg69lG include test-framework-quickcheck2-0.3.0.7-CWqb5BnltClJq6qoeHSdKu include transformers-0.6.1.1-4795 include transformers-compat-0.7.2-FfyG5JJX1ZALpnP5Ntp4LV component Glob-0.10.2-K9rTzU9wobOIEzhs2AIk3c include base-4.20.2.0-2363 include containers-0.7-5389 include directory-1.3.8.5-e40b include dlist-1.0-YoZ3i0qHObF2PGh15YQXx include filepath-1.5.4.0-fddf include transformers-0.6.1.1-4795 include transformers-compat-0.7.2-FfyG5JJX1ZALpnP5Ntp4LV Linked component graph: unit Glob-0.10.2-H61eBCxFeb7IyVLPh8Xv5c-glob-tests include HUnit-1.6.2.0-BKnWFNsnki88ha9xtEIXwV include QuickCheck-2.15.0.1-3N2cq88qhTx9tzOlwUpVlF include base-4.20.2.0-2363 include containers-0.7-5389 include directory-1.3.8.5-e40b include dlist-1.0-YoZ3i0qHObF2PGh15YQXx include filepath-1.5.4.0-fddf include test-framework-0.8.2.3-DZOLuf9WVUe8q6sV1KTS8n include test-framework-hunit-0.3.0.3-1qo9Wm8EAF4TgjZfg69lG include test-framework-quickcheck2-0.3.0.7-CWqb5BnltClJq6qoeHSdKu include transformers-0.6.1.1-4795 include transformers-compat-0.7.2-FfyG5JJX1ZALpnP5Ntp4LV unit Glob-0.10.2-K9rTzU9wobOIEzhs2AIk3c include base-4.20.2.0-2363 include containers-0.7-5389 include directory-1.3.8.5-e40b include dlist-1.0-YoZ3i0qHObF2PGh15YQXx include filepath-1.5.4.0-fddf include transformers-0.6.1.1-4795 include transformers-compat-0.7.2-FfyG5JJX1ZALpnP5Ntp4LV System.FilePath.Glob=Glob-0.10.2-K9rTzU9wobOIEzhs2AIk3c:System.FilePath.Glob,System.FilePath.Glob.Primitive=Glob-0.10.2-K9rTzU9wobOIEzhs2AIk3c:System.FilePath.Glob.Primitive Ready component graph: definite Glob-0.10.2-K9rTzU9wobOIEzhs2AIk3c depends base-4.20.2.0-2363 depends containers-0.7-5389 depends directory-1.3.8.5-e40b depends dlist-1.0-YoZ3i0qHObF2PGh15YQXx depends filepath-1.5.4.0-fddf depends transformers-0.6.1.1-4795 depends transformers-compat-0.7.2-FfyG5JJX1ZALpnP5Ntp4LV definite Glob-0.10.2-H61eBCxFeb7IyVLPh8Xv5c-glob-tests depends HUnit-1.6.2.0-BKnWFNsnki88ha9xtEIXwV depends QuickCheck-2.15.0.1-3N2cq88qhTx9tzOlwUpVlF depends base-4.20.2.0-2363 depends containers-0.7-5389 depends directory-1.3.8.5-e40b depends dlist-1.0-YoZ3i0qHObF2PGh15YQXx depends filepath-1.5.4.0-fddf depends test-framework-0.8.2.3-DZOLuf9WVUe8q6sV1KTS8n depends test-framework-hunit-0.3.0.3-1qo9Wm8EAF4TgjZfg69lG depends test-framework-quickcheck2-0.3.0.7-CWqb5BnltClJq6qoeHSdKu depends transformers-0.6.1.1-4795 depends transformers-compat-0.7.2-FfyG5JJX1ZALpnP5Ntp4LV Using Cabal-3.12.1.0 compiled by ghc-9.10 Using compiler: ghc-9.10.3 Using install prefix: /nix/store/r862xbim844r313ya6qv43d1gq75vd6z-Glob-0.10.2 Executables installed in: /nix/store/r862xbim844r313ya6qv43d1gq75vd6z-Glob-0.10.2/bin Libraries installed in: /nix/store/r862xbim844r313ya6qv43d1gq75vd6z-Glob-0.10.2/lib/ghc-9.10.3/lib/x86_64-linux-ghc-9.10.3-ad9c/Glob-0.10.2-K9rTzU9wobOIEzhs2AIk3c Dynamic Libraries installed in: /nix/store/r862xbim844r313ya6qv43d1gq75vd6z-Glob-0.10.2/lib/ghc-9.10.3/lib/x86_64-linux-ghc-9.10.3-ad9c Private executables installed in: /nix/store/r862xbim844r313ya6qv43d1gq75vd6z-Glob-0.10.2/libexec/x86_64-linux-ghc-9.10.3-ad9c/Glob-0.10.2 Data files installed in: /nix/store/r862xbim844r313ya6qv43d1gq75vd6z-Glob-0.10.2/share/x86_64-linux-ghc-9.10.3-ad9c/Glob-0.10.2 Documentation installed in: /nix/store/cz06vkginbg3nbnpkdcwfz3xkwirwnnd-Glob-0.10.2-doc/share/doc/Glob-0.10.2 Configuration files installed in: /nix/store/r862xbim844r313ya6qv43d1gq75vd6z-Glob-0.10.2/etc No alex found Using ar found on system at: /nix/store/nhjmc8clp6igx6n6zrjxlh7zri78p7ng-binutils-wrapper-2.46/bin/ar No c2hs found No cpphs found No doctest found Using gcc version 15.2.0 given by user at: /nix/store/vdaz6sk455r8sbpi7wzaf9vlz5i9yyvx-gcc-wrapper-15.2.0/bin/gcc Using ghc version 9.10.3 found on system at: /nix/store/y48hvc1f09367cz5f03dcncv6n3lkf18-ghc-9.10.3/bin/ghc Using ghc-pkg version 9.10.3 found on system at: /nix/store/y48hvc1f09367cz5f03dcncv6n3lkf18-ghc-9.10.3/bin/ghc-pkg-9.10.3 No ghcjs found No ghcjs-pkg found No greencard found Using haddock version 2.31.1 found on system at: /nix/store/y48hvc1f09367cz5f03dcncv6n3lkf18-ghc-9.10.3/bin/haddock-ghc-9.10.3 No happy found Using haskell-suite found on system at: haskell-suite-dummy-location Using haskell-suite-pkg found on system at: haskell-suite-pkg-dummy-location No hmake found Using hpc version 0.69 found on system at: /nix/store/y48hvc1f09367cz5f03dcncv6n3lkf18-ghc-9.10.3/bin/hpc-ghc-9.10.3 Using hsc2hs version 0.68.10 found on system at: /nix/store/y48hvc1f09367cz5f03dcncv6n3lkf18-ghc-9.10.3/bin/hsc2hs-ghc-9.10.3 Using hscolour version 1.25 found on system at: /nix/store/7jmv3q39mz536pqn37cb6p25jd9hz5yi-hscolour-1.25/bin/HsColour No jhc found Using ld found on system at: /nix/store/vdaz6sk455r8sbpi7wzaf9vlz5i9yyvx-gcc-wrapper-15.2.0/bin/ld No pkg-config found Using runghc version 9.10.3 found on system at: /nix/store/y48hvc1f09367cz5f03dcncv6n3lkf18-ghc-9.10.3/bin/runghc-9.10.3 Using strip version 2.46 found on system at: /nix/store/vdaz6sk455r8sbpi7wzaf9vlz5i9yyvx-gcc-wrapper-15.2.0/bin/strip Using tar found on system at: /nix/store/fq62mc3s8ddxgk1nvlbzly2zmr7v2cax-gnutar-1.35/bin/tar No uhc found Running phase: buildPhase Preprocessing library for Glob-0.10.2... Building library for Glob-0.10.2... [1 of 7] Compiling System.FilePath.Glob.Utils ( System/FilePath/Glob/Utils.hs, dist/build/System/FilePath/Glob/Utils.o, dist/build/System/FilePath/Glob/Utils.dyn_o ) [2 of 7] Compiling System.FilePath.Glob.Base ( System/FilePath/Glob/Base.hs, dist/build/System/FilePath/Glob/Base.o, dist/build/System/FilePath/Glob/Base.dyn_o ) System/FilePath/Glob/Base.hs:415:42: warning: [GHC-63394] [-Wx-partial] In the use of ‘tail’ (imported from Prelude, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Replace it with 'drop' 1, or use pattern matching or 'GHC.Internal.Data.List.uncons' instead. Consider refactoring to use "Data.List.NonEmpty"." | | ^^^^ System/FilePath/Glob/Base.hs:567:42: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Prelude, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | | ^^^^ System/FilePath/Glob/Base.hs:656:45: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Prelude, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | | ^^^^ System/FilePath/Glob/Base.hs:659:47: warning: [GHC-63394] [-Wx-partial] In the use of ‘tail’ (imported from Prelude, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Replace it with 'drop' 1, or use pattern matching or 'GHC.Internal.Data.List.uncons' instead. Consider refactoring to use "Data.List.NonEmpty"." | | ^^^^ [3 of 7] Compiling System.FilePath.Glob.Simplify ( System/FilePath/Glob/Simplify.hs, dist/build/System/FilePath/Glob/Simplify.o, dist/build/System/FilePath/Glob/Simplify.dyn_o ) [4 of 7] Compiling System.FilePath.Glob.Primitive ( System/FilePath/Glob/Primitive.hs, dist/build/System/FilePath/Glob/Primitive.o, dist/build/System/FilePath/Glob/Primitive.dyn_o ) [5 of 7] Compiling System.FilePath.Glob.Match ( System/FilePath/Glob/Match.hs, dist/build/System/FilePath/Glob/Match.o, dist/build/System/FilePath/Glob/Match.dyn_o ) System/FilePath/Glob/Match.hs:99:11: warning: [GHC-63394] [-Wx-partial] In the use of ‘tail’ (imported from Prelude, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Replace it with 'drop' 1, or use pattern matching or 'GHC.Internal.Data.List.uncons' instead. Consider refactoring to use "Data.List.NonEmpty"." | | ^^^^ System/FilePath/Glob/Match.hs:132:48: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Prelude, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | | ^^^^ [6 of 7] Compiling System.FilePath.Glob.Directory ( System/FilePath/Glob/Directory.hs, dist/build/System/FilePath/Glob/Directory.o, dist/build/System/FilePath/Glob/Directory.dyn_o ) System/FilePath/Glob/Directory.hs:151:19: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Prelude, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | | ^^^^ System/FilePath/Glob/Directory.hs:213:61: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Prelude, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | | ^^^^ System/FilePath/Glob/Directory.hs:350:26: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Prelude, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | | ^^^^ [7 of 7] Compiling System.FilePath.Glob ( System/FilePath/Glob.hs, dist/build/System/FilePath/Glob.o, dist/build/System/FilePath/Glob.dyn_o ) [1 of 7] Compiling System.FilePath.Glob.Utils ( System/FilePath/Glob/Utils.hs, dist/build/System/FilePath/Glob/Utils.p_o ) [2 of 7] Compiling System.FilePath.Glob.Base ( System/FilePath/Glob/Base.hs, dist/build/System/FilePath/Glob/Base.p_o ) System/FilePath/Glob/Base.hs:415:42: warning: [GHC-63394] [-Wx-partial] In the use of ‘tail’ (imported from Prelude, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Replace it with 'drop' 1, or use pattern matching or 'GHC.Internal.Data.List.uncons' instead. Consider refactoring to use "Data.List.NonEmpty"." | | ^^^^ System/FilePath/Glob/Base.hs:567:42: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Prelude, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | | ^^^^ System/FilePath/Glob/Base.hs:656:45: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Prelude, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | | ^^^^ System/FilePath/Glob/Base.hs:659:47: warning: [GHC-63394] [-Wx-partial] In the use of ‘tail’ (imported from Prelude, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Replace it with 'drop' 1, or use pattern matching or 'GHC.Internal.Data.List.uncons' instead. Consider refactoring to use "Data.List.NonEmpty"." | | ^^^^ [3 of 7] Compiling System.FilePath.Glob.Simplify ( System/FilePath/Glob/Simplify.hs, dist/build/System/FilePath/Glob/Simplify.p_o ) [4 of 7] Compiling System.FilePath.Glob.Primitive ( System/FilePath/Glob/Primitive.hs, dist/build/System/FilePath/Glob/Primitive.p_o ) [5 of 7] Compiling System.FilePath.Glob.Match ( System/FilePath/Glob/Match.hs, dist/build/System/FilePath/Glob/Match.p_o ) System/FilePath/Glob/Match.hs:99:11: warning: [GHC-63394] [-Wx-partial] In the use of ‘tail’ (imported from Prelude, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Replace it with 'drop' 1, or use pattern matching or 'GHC.Internal.Data.List.uncons' instead. Consider refactoring to use "Data.List.NonEmpty"." | | ^^^^ System/FilePath/Glob/Match.hs:132:48: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Prelude, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | | ^^^^ [6 of 7] Compiling System.FilePath.Glob.Directory ( System/FilePath/Glob/Directory.hs, dist/build/System/FilePath/Glob/Directory.p_o ) System/FilePath/Glob/Directory.hs:151:19: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Prelude, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | | ^^^^ System/FilePath/Glob/Directory.hs:213:61: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Prelude, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | | ^^^^ System/FilePath/Glob/Directory.hs:350:26: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Prelude, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | | ^^^^ [7 of 7] Compiling System.FilePath.Glob ( System/FilePath/Glob.hs, dist/build/System/FilePath/Glob.p_o ) Preprocessing test suite 'glob-tests' for Glob-0.10.2... Building test suite 'glob-tests' for Glob-0.10.2... [ 1 of 16] Compiling System.FilePath.Glob.Utils ( System/FilePath/Glob/Utils.hs, dist/build/glob-tests/glob-tests-tmp/System/FilePath/Glob/Utils.o ) [ 2 of 16] Compiling System.FilePath.Glob.Base ( System/FilePath/Glob/Base.hs, dist/build/glob-tests/glob-tests-tmp/System/FilePath/Glob/Base.o ) System/FilePath/Glob/Base.hs:415:42: warning: [GHC-63394] [-Wx-partial] In the use of ‘tail’ (imported from Prelude, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Replace it with 'drop' 1, or use pattern matching or 'GHC.Internal.Data.List.uncons' instead. Consider refactoring to use "Data.List.NonEmpty"." | | ^^^^ System/FilePath/Glob/Base.hs:567:42: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Prelude, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | | ^^^^ System/FilePath/Glob/Base.hs:656:45: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Prelude, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | | ^^^^ System/FilePath/Glob/Base.hs:659:47: warning: [GHC-63394] [-Wx-partial] In the use of ‘tail’ (imported from Prelude, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Replace it with 'drop' 1, or use pattern matching or 'GHC.Internal.Data.List.uncons' instead. Consider refactoring to use "Data.List.NonEmpty"." | | ^^^^ [ 3 of 16] Compiling System.FilePath.Glob.Simplify ( System/FilePath/Glob/Simplify.hs, dist/build/glob-tests/glob-tests-tmp/System/FilePath/Glob/Simplify.o ) [ 4 of 16] Compiling System.FilePath.Glob.Primitive ( System/FilePath/Glob/Primitive.hs, dist/build/glob-tests/glob-tests-tmp/System/FilePath/Glob/Primitive.o ) [ 5 of 16] Compiling System.FilePath.Glob.Match ( System/FilePath/Glob/Match.hs, dist/build/glob-tests/glob-tests-tmp/System/FilePath/Glob/Match.o ) System/FilePath/Glob/Match.hs:99:11: warning: [GHC-63394] [-Wx-partial] In the use of ‘tail’ (imported from Prelude, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Replace it with 'drop' 1, or use pattern matching or 'GHC.Internal.Data.List.uncons' instead. Consider refactoring to use "Data.List.NonEmpty"." | | ^^^^ System/FilePath/Glob/Match.hs:132:48: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Prelude, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | | ^^^^ [ 6 of 16] Compiling System.FilePath.Glob.Directory ( System/FilePath/Glob/Directory.hs, dist/build/glob-tests/glob-tests-tmp/System/FilePath/Glob/Directory.o ) System/FilePath/Glob/Directory.hs:151:19: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Prelude, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | | ^^^^ System/FilePath/Glob/Directory.hs:213:61: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Prelude, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | | ^^^^ System/FilePath/Glob/Directory.hs:350:26: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Prelude, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | | ^^^^ [ 7 of 16] Compiling Tests.Base ( tests/Tests/Base.hs, dist/build/glob-tests/glob-tests-tmp/Tests/Base.o ) [ 8 of 16] Compiling Tests.Compiler ( tests/Tests/Compiler.hs, dist/build/glob-tests/glob-tests-tmp/Tests/Compiler.o ) [ 9 of 16] Compiling Tests.Directory ( tests/Tests/Directory.hs, dist/build/glob-tests/glob-tests-tmp/Tests/Directory.o ) tests/Tests/Directory.hs:76:31: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Prelude, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | | ^^^^ [10 of 16] Compiling Tests.Instances ( tests/Tests/Instances.hs, dist/build/glob-tests/glob-tests-tmp/Tests/Instances.o ) tests/Tests/Instances.hs:32:8: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘[System.FilePath.Glob.Base.Pattern]’ not matched: [] [_] [_, _] (_:_:_:_:_) | | ^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/Tests/Instances.hs:60:8: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘[System.FilePath.Glob.Base.Pattern]’ not matched: [] [_] (_:_:_:_) | | ^^^^^^^^^^^^^^^^^^^^^^^^ [11 of 16] Compiling Tests.Matcher ( tests/Tests/Matcher.hs, dist/build/glob-tests/glob-tests-tmp/Tests/Matcher.o ) tests/Tests/Matcher.hs:32:49: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Prelude, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | | ^^^^ tests/Tests/Matcher.hs:33:54: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Prelude, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | | ^^^^ tests/Tests/Matcher.hs:42:41: warning: [GHC-63394] [-Wx-partial] In the use of ‘tail’ (imported from Prelude, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Replace it with 'drop' 1, or use pattern matching or 'GHC.Internal.Data.List.uncons' instead. Consider refactoring to use "Data.List.NonEmpty"." | | ^^^^ tests/Tests/Matcher.hs:43:35: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Prelude, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | | ^^^^ tests/Tests/Matcher.hs:44:56: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Prelude, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | | ^^^^ tests/Tests/Matcher.hs:62:9: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In an irrefutable pattern: Patterns of type ‘String’ not matched: [] | | ^^^^^ [12 of 16] Compiling Tests.Optimizer ( tests/Tests/Optimizer.hs, dist/build/glob-tests/glob-tests-tmp/Tests/Optimizer.o ) [13 of 16] Compiling Tests.Regression ( tests/Tests/Regression.hs, dist/build/glob-tests/glob-tests-tmp/Tests/Regression.o ) [14 of 16] Compiling Tests.Simplifier ( tests/Tests/Simplifier.hs, dist/build/glob-tests/glob-tests-tmp/Tests/Simplifier.o ) [15 of 16] Compiling Tests.Utils ( tests/Tests/Utils.hs, dist/build/glob-tests/glob-tests-tmp/Tests/Utils.o ) tests/Tests/Utils.hs:43:27: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Prelude, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | | ^^^^ [16 of 16] Compiling Main ( tests/Main.hs, dist/build/glob-tests/glob-tests-tmp/Main.o ) [17 of 17] Linking dist/build/glob-tests/glob-tests Running phase: checkPhase Running 1 test suites... Test suite glob-tests: RUNNING... Regression: Matching/compiling: "*" matches "": [OK] "**" matches "": [OK] "asdf" matches "asdf": [OK] "a*f" matches "asdf": [OK] "a??f" matches "asdf": [OK] "*" matches "asdf": [OK] "a*bc" matches "aXbaXbc": [OK] "a**bc" matches "aXbaXbc": [OK] "a*b" doesn't match "aXc": [OK] "foo/bar.*" matches "foo/bar.baz": [OK] "foo/*.baz" matches "foo/bar.baz": [OK] "*bar.*" doesn't match "foo/bar.baz": [OK] "*.baz" doesn't match "foo/bar.baz": [OK] "foo*" doesn't match "foo/bar.baz": [OK] "foo?bar.baz" doesn't match "foo/bar.baz": [OK] "**/*.baz" matches "foo/bar.baz": [OK] "**/*" matches "foo/bar.baz": [OK] "**/*" matches "foo/bar/baz": [OK] "*/*.baz" matches "foo/bar.baz": [OK] "*/*" matches "foo/bar.baz": [OK] "*/*" doesn't match "foo/bar/baz": [OK] "*.foo" doesn't match ".bar.foo": [OK] "*.bar.foo" doesn't match ".bar.foo": [OK] "?bar.foo" doesn't match ".bar.foo": [OK] ".*.foo" matches ".bar.foo": [OK] ".*bar.foo" matches ".bar.foo": [OK] "foo.[ch]" doesn't match "foo.a": [OK] "foo.[ch]" matches "foo.c": [OK] "foo.[ch]" matches "foo.h": [OK] "foo.[ch]" doesn't match "foo.d": [OK] "foo.[c-h]" doesn't match "foo.b": [OK] "foo.[c-h]" matches "foo.c": [OK] "foo.[c-h]" matches "foo.e": [OK] "foo.[c-h]" matches "foo.f": [OK] "foo.[c-h]" matches "foo.h": [OK] "foo.[c-h]" doesn't match "foo.i": [OK] "<->3foo" matches "123foo": [OK] "<10-15>3foo" matches "123foo": [OK] "<0-5>23foo" matches "123foo": [OK] "<94-200>foo" matches "123foo": [OK] "[.]x" doesn't match ".x": [OK] "foo[/]bar" doesn't match "foo/bar": [OK] "foo[,-0]bar" doesn't match "foo/bar": [OK] "foo[,-0]bar" matches "foo.bar": [OK] "[]x]" matches "]": [OK] "[]x]" matches "x": [OK] "[b-a]" doesn't match "a": [OK] "<4-3>" doesn't match "3": [OK] "<0-1>" matches "00": [OK] "<0-1>" matches "01": [OK] "<1-1>" matches "01": [OK] "[]-b]" matches "]": [OK] "[]-b]" doesn't match "-": [OK] "[]-b]" matches "b": [OK] "[]-b]" matches "a": [OK] "[]-]" matches "]": [OK] "[]-]" matches "-": [OK] "[#-[]" matches "&": [OK] "[^x]" doesn't match "/": [OK] "[/]" doesn't match "/": [OK] "a[^x]" matches "a.": [OK] "a[.]" matches "a.": [OK] ".//a" doesn't match "/a": [OK] ".//a" matches "a": [OK] ".//a" matches "./a": [OK] ".*/a" matches "./a": [OK] ".*/a" matches "../a": [OK] ".*/a" matches ".foo/a": [OK] ".**/a" matches ".foo/a": [OK] ".**/a" doesn't match "../a": [OK] ".**/a" doesn't match "./a": [OK] ".**/a" doesn't match "a": [OK] ".**/a" matches ".foo/a": [OK] "f**/a" matches "foo/a": [OK] "f**/" matches "f/": [OK] "f**/" matches "f///": [OK] "f**/x" matches "f///x": [OK] "f/" matches "f///": [OK] "f/x" matches "f///x": [OK] "[]" matches "[]": [OK] "[!]" matches "[!]": [OK] "[^]" matches "[^]": [OK] "[abc" matches "[abc": [OK] "<->" doesn't match "1": [OK] "<0-0><1-1>" matches "01": [OK] "<0-1><0-1>" matches "00": [OK] "a/**/d" doesn't match "a/.b/c/d": [OK] "a/**/d" doesn't match "a/b/.c/d": [OK] "a/**/.d" matches "a/b/c/.d": [OK] "a/**/.c/d" matches "a/b/.c/d": [OK] "a/**/.c/.d" matches "a/b/.c/.d": [OK] "a/**/.d/.e" matches "a/b/c/.d/.e": [OK] Specific options: "[@-[]" matches "a": [OK] "a[/]b" matches "a[/]b": [OK] Decompilation: range-compression-1: [OK] range-compression-2: [OK] range-compression-3: [OK] range-compression-4: [OK] range-compression-5: [OK] range-compression-6: [OK] range-compression-7: [OK] range-compression-8: [OK] range-compression-9: [OK] num-compression-1: [OK] Utils: overlapperLosesNoInfo: [OK, passed 1000 tests] increasingSeq: [OK, passed 1000 tests] addToRange: [OK, passed 1000 tests] pathParts: [OK, passed 1000 tests] Compiler: compile-decompile-1: [OK, passed 1000 tests] isliteral: [OK, passed 1000 tests] Matcher: match-1: [OK, passed 1000 tests] match-2: [OK, passed 1000 tests] match-3: [OK, passed 1000 tests] match-4: [OK, passed 1000 tests] Optimizer: optimize-1: [OK, passed 1000 tests] optimize-2: [OK, passed 1000 tests] optimize-3: [OK, passed 1000 tests] Simplifier: simplify-1: [OK, passed 1000 tests] simplify-2: [OK, passed 1000 tests] Instances: monoid-law-1: [OK, passed 1000 tests] monoid-law-2: [OK, passed 1000 tests] monoid-law-3: [OK, passed 1000 tests] monoid-4: [OK, passed 1000 tests] Directory: includeUnmatched: [OK] onlyMatched: [OK] commonDirectory: edge-cases: 1: [OK] 2: [OK] 3: [OK] 4: [OK] 5: [OK] 6: [OK] 7: [OK] property: [OK, passed 1000 tests] globDir1: [OK] repeated-path-separators: 1: [OK] 2: [OK] 3: [OK] 4: [OK] 5: [OK] 6: [OK] 7: [OK] Properties Test Cases Total Passed 20 130 150 Failed 0 0 0 Total 20 130 150 Test suite glob-tests: PASS Test suite logged to: dist/test/Glob-0.10.2-glob-tests.log 1 of 1 test suites (1 of 1 test cases) passed. Running phase: haddockPhase Preprocessing library for Glob-0.10.2... Running Haddock on library for Glob-0.10.2... [1 of 7] Compiling System.FilePath.Glob.Utils ( System/FilePath/Glob/Utils.hs, nothing ) [2 of 7] Compiling System.FilePath.Glob.Base ( System/FilePath/Glob/Base.hs, nothing ) System/FilePath/Glob/Base.hs:415:42: warning: [GHC-63394] [-Wx-partial] In the use of ‘tail’ (imported from Prelude, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Replace it with 'drop' 1, or use pattern matching or 'GHC.Internal.Data.List.uncons' instead. Consider refactoring to use "Data.List.NonEmpty"." | | ^^^^ System/FilePath/Glob/Base.hs:567:42: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Prelude, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | | ^^^^ System/FilePath/Glob/Base.hs:656:45: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Prelude, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | | ^^^^ System/FilePath/Glob/Base.hs:659:47: warning: [GHC-63394] [-Wx-partial] In the use of ‘tail’ (imported from Prelude, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Replace it with 'drop' 1, or use pattern matching or 'GHC.Internal.Data.List.uncons' instead. Consider refactoring to use "Data.List.NonEmpty"." | | ^^^^ [3 of 7] Compiling System.FilePath.Glob.Simplify ( System/FilePath/Glob/Simplify.hs, nothing ) [4 of 7] Compiling System.FilePath.Glob.Primitive ( System/FilePath/Glob/Primitive.hs, nothing ) [5 of 7] Compiling System.FilePath.Glob.Match ( System/FilePath/Glob/Match.hs, nothing ) System/FilePath/Glob/Match.hs:99:11: warning: [GHC-63394] [-Wx-partial] In the use of ‘tail’ (imported from Prelude, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Replace it with 'drop' 1, or use pattern matching or 'GHC.Internal.Data.List.uncons' instead. Consider refactoring to use "Data.List.NonEmpty"." | | ^^^^ System/FilePath/Glob/Match.hs:132:48: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Prelude, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | | ^^^^ [6 of 7] Compiling System.FilePath.Glob.Directory ( System/FilePath/Glob/Directory.hs, nothing ) System/FilePath/Glob/Directory.hs:151:19: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Prelude, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | | ^^^^ System/FilePath/Glob/Directory.hs:213:61: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Prelude, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | | ^^^^ System/FilePath/Glob/Directory.hs:350:26: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Prelude, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | | ^^^^ [7 of 7] Compiling System.FilePath.Glob ( System/FilePath/Glob.hs, nothing ) Haddock coverage: Warning: 'matchWith' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'globDirWith' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'Pattern' is ambiguous. It is defined * at System/FilePath/Glob/Base.hs:106:19 * at System/FilePath/Glob/Base.hs:106: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 System/FilePath/Glob/Base.hs:106:1 Warning: 'match' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'CompOptions' is ambiguous. It is defined * at System/FilePath/Glob/Base.hs:194:20 * at System/FilePath/Glob/Base.hs:194: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 System/FilePath/Glob/Base.hs:194:1 Warning: 'Pattern' is ambiguous. It is defined * at System/FilePath/Glob/Base.hs:106:19 * at System/FilePath/Glob/Base.hs:106: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 System/FilePath/Glob/Base.hs:106:1 Warning: 'globDir' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'compile' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'Pattern' is ambiguous. It is defined * at System/FilePath/Glob/Base.hs:106:19 * at System/FilePath/Glob/Base.hs:106: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 System/FilePath/Glob/Base.hs:106:1 Warning: 'compile' is out of scope. If you qualify the identifier, haddock can try to link it anyway. 100% ( 7 / 7) in 'System.FilePath.Glob.Primitive' Warning: 'Pattern' is ambiguous. It is defined * at System/FilePath/Glob/Base.hs:106:19 * at System/FilePath/Glob/Base.hs:106: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 System/FilePath/Glob/Base.hs:106:1 Warning: 'MatchOptions' is ambiguous. It is defined * at System/FilePath/Glob/Base.hs:248:21 * at System/FilePath/Glob/Base.hs:248: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 System/FilePath/Glob/Base.hs:248:1 Warning: 'Pattern' is ambiguous. It is defined * at System/FilePath/Glob/Base.hs:106:19 * at System/FilePath/Glob/Base.hs:106: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 System/FilePath/Glob/Base.hs:106:1 Warning: 'unsafeInterleaveIO' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'GlobOptions' is ambiguous. It is defined * at System/FilePath/Glob/Directory.hs:35:20 * at System/FilePath/Glob/Directory.hs:35: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 System/FilePath/Glob/Directory.hs:35:1 Warning: 'CompOptions' is ambiguous. It is defined * at System/FilePath/Glob/Base.hs:194:20 * at System/FilePath/Glob/Base.hs:194: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 System/FilePath/Glob/Base.hs:194:1 Warning: 'MatchOptions' is ambiguous. It is defined * at System/FilePath/Glob/Base.hs:248:21 * at System/FilePath/Glob/Base.hs:248: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 System/FilePath/Glob/Base.hs:248:1 100% ( 32 / 32) in 'System.FilePath.Glob' Documentation created: dist/doc/html/Glob/, dist/doc/html/Glob/Glob.txt Preprocessing test suite 'glob-tests' for Glob-0.10.2... Running phase: installPhase Installing library in /nix/store/r862xbim844r313ya6qv43d1gq75vd6z-Glob-0.10.2/lib/ghc-9.10.3/lib/x86_64-linux-ghc-9.10.3-ad9c/Glob-0.10.2-K9rTzU9wobOIEzhs2AIk3c Running phase: fixupPhase shrinking RPATHs of ELF executables and libraries in /nix/store/r862xbim844r313ya6qv43d1gq75vd6z-Glob-0.10.2 shrinking /nix/store/r862xbim844r313ya6qv43d1gq75vd6z-Glob-0.10.2/lib/ghc-9.10.3/lib/x86_64-linux-ghc-9.10.3-ad9c/libHSGlob-0.10.2-K9rTzU9wobOIEzhs2AIk3c-ghc9.10.3.so checking for references to /build/ in /nix/store/r862xbim844r313ya6qv43d1gq75vd6z-Glob-0.10.2... patching script interpreter paths in /nix/store/r862xbim844r313ya6qv43d1gq75vd6z-Glob-0.10.2 stripping (with command strip and flags -S -p) in /nix/store/r862xbim844r313ya6qv43d1gq75vd6z-Glob-0.10.2/lib shrinking RPATHs of ELF executables and libraries in /nix/store/cz06vkginbg3nbnpkdcwfz3xkwirwnnd-Glob-0.10.2-doc checking for references to /build/ in /nix/store/cz06vkginbg3nbnpkdcwfz3xkwirwnnd-Glob-0.10.2-doc... patching script interpreter paths in /nix/store/cz06vkginbg3nbnpkdcwfz3xkwirwnnd-Glob-0.10.2-doc