Running phase: setupCompilerEnvironmentPhase Build with /nix/store/y48hvc1f09367cz5f03dcncv6n3lkf18-ghc-9.10.3. Running phase: unpackPhase unpacking source archive /nix/store/97wn7k8k562av53ryhwzsj830rwisn9r-patience-0.3.tar.gz source root is patience-0.3 setting SOURCE_DATE_EPOCH to timestamp 1000000000 of file "patience-0.3/src/Patience/Map.hs" Running phase: patchPhase Replace Cabal file with edited version from mirror://hackage/patience-0.3/revision/1.cabal. Running phase: compileBuildDriverPhase setupCompileFlags: -package-db=/build/tmp.hSmHptrtGR/setup-package.conf.d -threaded [1 of 2] Compiling Main ( Setup.hs, /build/tmp.hSmHptrtGR/Main.o ) [2 of 2] Linking Setup Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase configureFlags: --verbose --prefix=/nix/store/5ybr3c9vdnc54z7qjrasw1sm3acinn2s-patience-0.3 --libdir=$prefix/lib/$compiler/lib --libsubdir=$abi/$libname --docdir=/nix/store/8a5lad4rm9a3h1ashjlzmm7ac8ijbq54-patience-0.3-doc/share/doc/patience-0.3 --with-gcc=gcc --package-db=/build/tmp.hSmHptrtGR/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 patience-0.3... Dependency base >=4.3 && <5: using base-4.20.2.0 Dependency containers >=0.5.9 && <0.8: using containers-0.7 Source component graph: component lib Configured component graph: component patience-0.3-JHUK7dNPXF82FWQpyGJaRz include base-4.20.2.0-2363 include containers-0.7-5389 Linked component graph: unit patience-0.3-JHUK7dNPXF82FWQpyGJaRz include base-4.20.2.0-2363 include containers-0.7-5389 Patience=patience-0.3-JHUK7dNPXF82FWQpyGJaRz:Patience,Patience.Map=patience-0.3-JHUK7dNPXF82FWQpyGJaRz:Patience.Map Ready component graph: definite patience-0.3-JHUK7dNPXF82FWQpyGJaRz depends base-4.20.2.0-2363 depends containers-0.7-5389 Using Cabal-3.12.1.0 compiled by ghc-9.10 Using compiler: ghc-9.10.3 Using install prefix: /nix/store/5ybr3c9vdnc54z7qjrasw1sm3acinn2s-patience-0.3 Executables installed in: /nix/store/5ybr3c9vdnc54z7qjrasw1sm3acinn2s-patience-0.3/bin Libraries installed in: /nix/store/5ybr3c9vdnc54z7qjrasw1sm3acinn2s-patience-0.3/lib/ghc-9.10.3/lib/x86_64-linux-ghc-9.10.3-ad9c/patience-0.3-JHUK7dNPXF82FWQpyGJaRz Dynamic Libraries installed in: /nix/store/5ybr3c9vdnc54z7qjrasw1sm3acinn2s-patience-0.3/lib/ghc-9.10.3/lib/x86_64-linux-ghc-9.10.3-ad9c Private executables installed in: /nix/store/5ybr3c9vdnc54z7qjrasw1sm3acinn2s-patience-0.3/libexec/x86_64-linux-ghc-9.10.3-ad9c/patience-0.3 Data files installed in: /nix/store/5ybr3c9vdnc54z7qjrasw1sm3acinn2s-patience-0.3/share/x86_64-linux-ghc-9.10.3-ad9c/patience-0.3 Documentation installed in: /nix/store/8a5lad4rm9a3h1ashjlzmm7ac8ijbq54-patience-0.3-doc/share/doc/patience-0.3 Configuration files installed in: /nix/store/5ybr3c9vdnc54z7qjrasw1sm3acinn2s-patience-0.3/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 patience-0.3... Building library for patience-0.3... [1 of 2] Compiling Patience ( src/Patience.hs, dist/build/Patience.o, dist/build/Patience.dyn_o ) src/Patience.hs:59:17: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Data.List, 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"." | 59 | prev = (head . fst) `fmap` IM.maxView lt | ^^^^ src/Patience.hs:66:47: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Data.List, 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"." | 66 | extract (IM.maxView -> Just (c,_)) = walk $ head c | ^^^^ src/Patience.hs:95:7: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘(S.Seq a, S.Seq a)’ not matched: (_, _) | 95 | let (xsr, S.viewl -> (x :< xse)) = S.splitAt nx xs | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Patience.hs:96:7: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘(S.Seq a, S.Seq a)’ not matched: (_, _) | 96 | (ysr, S.viewl -> (y :< yse)) = S.splitAt ny ys | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [2 of 2] Compiling Patience.Map ( src/Patience/Map.hs, dist/build/Patience/Map.o, dist/build/Patience/Map.dyn_o ) [1 of 2] Compiling Patience ( src/Patience.hs, dist/build/Patience.p_o ) src/Patience.hs:59:17: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Data.List, 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"." | 59 | prev = (head . fst) `fmap` IM.maxView lt | ^^^^ src/Patience.hs:66:47: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Data.List, 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"." | 66 | extract (IM.maxView -> Just (c,_)) = walk $ head c | ^^^^ src/Patience.hs:95:7: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘(S.Seq a, S.Seq a)’ not matched: (_, _) | 95 | let (xsr, S.viewl -> (x :< xse)) = S.splitAt nx xs | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Patience.hs:96:7: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘(S.Seq a, S.Seq a)’ not matched: (_, _) | 96 | (ysr, S.viewl -> (y :< yse)) = S.splitAt ny ys | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [2 of 2] Compiling Patience.Map ( src/Patience/Map.hs, dist/build/Patience/Map.p_o ) Running phase: checkPhase Package has no test suites. Running phase: haddockPhase Preprocessing library for patience-0.3... Running Haddock on library for patience-0.3... [1 of 2] Compiling Patience ( src/Patience.hs, nothing ) src/Patience.hs:59:17: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Data.List, 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"." | 59 | prev = (head . fst) `fmap` IM.maxView lt | ^^^^ src/Patience.hs:66:47: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Data.List, 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"." | 66 | extract (IM.maxView -> Just (c,_)) = walk $ head c | ^^^^ [2 of 2] Compiling Patience.Map ( src/Patience/Map.hs, nothing ) Haddock coverage: 100% ( 6 / 6) in 'Patience' Warning: 'k' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'a' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'Delta' is ambiguous. It is defined * at src/Patience/Map.hs:80:5 * at src/Patience/Map.hs:79: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/Patience/Map.hs:79:1 Warning: 'Changed' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'DeltaUnit' is out of scope. If you qualify the identifier, haddock can try to link it anyway. 100% ( 28 / 28) in 'Patience.Map' Warning: Patience.Map: could not find link destinations for: - Patience.Map.Rep_Delta - Patience.Map.Rep1_Delta Documentation created: dist/doc/html/patience/, dist/doc/html/patience/patience.txt Running phase: installPhase Installing library in /nix/store/5ybr3c9vdnc54z7qjrasw1sm3acinn2s-patience-0.3/lib/ghc-9.10.3/lib/x86_64-linux-ghc-9.10.3-ad9c/patience-0.3-JHUK7dNPXF82FWQpyGJaRz Running phase: fixupPhase shrinking RPATHs of ELF executables and libraries in /nix/store/5ybr3c9vdnc54z7qjrasw1sm3acinn2s-patience-0.3 shrinking /nix/store/5ybr3c9vdnc54z7qjrasw1sm3acinn2s-patience-0.3/lib/ghc-9.10.3/lib/x86_64-linux-ghc-9.10.3-ad9c/libHSpatience-0.3-JHUK7dNPXF82FWQpyGJaRz-ghc9.10.3.so checking for references to /build/ in /nix/store/5ybr3c9vdnc54z7qjrasw1sm3acinn2s-patience-0.3... patching script interpreter paths in /nix/store/5ybr3c9vdnc54z7qjrasw1sm3acinn2s-patience-0.3 stripping (with command strip and flags -S -p) in /nix/store/5ybr3c9vdnc54z7qjrasw1sm3acinn2s-patience-0.3/lib shrinking RPATHs of ELF executables and libraries in /nix/store/8a5lad4rm9a3h1ashjlzmm7ac8ijbq54-patience-0.3-doc checking for references to /build/ in /nix/store/8a5lad4rm9a3h1ashjlzmm7ac8ijbq54-patience-0.3-doc... patching script interpreter paths in /nix/store/8a5lad4rm9a3h1ashjlzmm7ac8ijbq54-patience-0.3-doc