Running phase: setupCompilerEnvironmentPhase Build with /nix/store/6g9s6kw11maycdc6g5a66smakh2lwdga-ghc-9.10.3. Running phase: unpackPhase unpacking source archive /nix/store/3nprda3kdyhj8zkmv2z32yi6n0gwc966-extra-1.8.1.tar.gz source root is extra-1.8.1 setting SOURCE_DATE_EPOCH to timestamp 1000000000 of file "extra-1.8.1/test/TestUtil.hs" Running phase: patchPhase Running phase: compileBuildDriverPhase setupCompileFlags: -package-db=/build/tmp.aSNSUgb7rR/setup-package.conf.d -threaded [1 of 2] Compiling Main ( Setup.hs, /build/tmp.aSNSUgb7rR/Main.o ) [2 of 2] Linking Setup Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase configureFlags: --verbose --prefix=/nix/store/miyki6v5ygp6ppwpgpm72g2prkn91iwy-extra-1.8.1 --libdir=$prefix/lib/$compiler/lib --libsubdir=$abi/$libname --docdir=/nix/store/rbqx31j64mrzkfaw0qz4jlw9nbi4a0y5-extra-1.8.1-doc/share/doc/extra-1.8.1 --with-gcc=gcc --package-db=/build/tmp.aSNSUgb7rR/package.conf.d --ghc-option=-j4 --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/nmgkl5md2346myfn25sr08mywl1hbh84-ncurses-6.6/lib --extra-lib-dirs=/nix/store/iw22fkslpax5sd2pmrqqqj6kvx9hsxy2-libffi-3.8.0/lib --extra-lib-dirs=/nix/store/7sn2gdv1ichb62134k1vc8ghsdiqsz62-gmp-with-cxx-6.3.0/lib --extra-lib-dirs=/nix/store/2r9sd3srzkg334nyic95qmly0mjw37ch-numactl-2.0.18/lib Using Parsec parser Configuring extra-1.8.1... Dependency base >=4.9 && <5: using base-4.20.2.0 Dependency clock >=0.7: using clock-0.8.4 Dependency directory: using directory-1.3.8.5 Dependency filepath: using filepath-1.5.4.0 Dependency process: using process-1.6.26.1 Dependency time: using time-1.12.2 Dependency unix: using unix-2.8.7.0 Dependency QuickCheck >=2.10: using QuickCheck-2.15.0.1 Dependency base >=4 && <5: using base-4.20.2.0 Dependency directory: using directory-1.3.8.5 Dependency extra: using extra-1.8.1 Dependency filepath: using filepath-1.5.4.0 Dependency quickcheck-instances >=0.3.17: using quickcheck-instances-0.3.33 Dependency unix: using unix-2.8.7.0 Source component graph: component lib component test:extra-test dependency lib Configured component graph: component extra-1.8.1-jjuG7v1cG6AVcrvHU58OC include base-4.20.2.0-a5ec include clock-0.8.4-IqZBPf1dREMJFju5mzAcs9 include directory-1.3.8.5-0d3b include filepath-1.5.4.0-6c8c include process-1.6.26.1-b560 include time-1.12.2-7425 include unix-2.8.7.0-8d22 component extra-1.8.1-GCBC10qpNdoJU2UWT9VMnY-extra-test include QuickCheck-2.15.0.1-DoCBkNsF8SpAVmhTpFuY6d include base-4.20.2.0-a5ec include directory-1.3.8.5-0d3b include extra-1.8.1-jjuG7v1cG6AVcrvHU58OC include filepath-1.5.4.0-6c8c include quickcheck-instances-0.3.33-LMkU3c304A1JHH5TLt9xMp include unix-2.8.7.0-8d22 Linked component graph: unit extra-1.8.1-jjuG7v1cG6AVcrvHU58OC include base-4.20.2.0-a5ec include clock-0.8.4-IqZBPf1dREMJFju5mzAcs9 include directory-1.3.8.5-0d3b include filepath-1.5.4.0-6c8c include process-1.6.26.1-b560 include time-1.12.2-7425 include unix-2.8.7.0-8d22 Control.Concurrent.Extra=extra-1.8.1-jjuG7v1cG6AVcrvHU58OC:Control.Concurrent.Extra,Control.Exception.Extra=extra-1.8.1-jjuG7v1cG6AVcrvHU58OC:Control.Exception.Extra,Control.Monad.Extra=extra-1.8.1-jjuG7v1cG6AVcrvHU58OC:Control.Monad.Extra,Data.Either.Extra=extra-1.8.1-jjuG7v1cG6AVcrvHU58OC:Data.Either.Extra,Data.Foldable.Extra=extra-1.8.1-jjuG7v1cG6AVcrvHU58OC:Data.Foldable.Extra,Data.IORef.Extra=extra-1.8.1-jjuG7v1cG6AVcrvHU58OC:Data.IORef.Extra,Data.List.Extra=extra-1.8.1-jjuG7v1cG6AVcrvHU58OC:Data.List.Extra,Data.List.NonEmpty.Extra=extra-1.8.1-jjuG7v1cG6AVcrvHU58OC:Data.List.NonEmpty.Extra,Data.Monoid.Extra=extra-1.8.1-jjuG7v1cG6AVcrvHU58OC:Data.Monoid.Extra,Data.Tuple.Extra=extra-1.8.1-jjuG7v1cG6AVcrvHU58OC:Data.Tuple.Extra,Data.Typeable.Extra=extra-1.8.1-jjuG7v1cG6AVcrvHU58OC:Data.Typeable.Extra,Data.Version.Extra=extra-1.8.1-jjuG7v1cG6AVcrvHU58OC:Data.Version.Extra,Extra=extra-1.8.1-jjuG7v1cG6AVcrvHU58OC:Extra,Numeric.Extra=extra-1.8.1-jjuG7v1cG6AVcrvHU58OC:Numeric.Extra,System.Directory.Extra=extra-1.8.1-jjuG7v1cG6AVcrvHU58OC:System.Directory.Extra,System.Environment.Extra=extra-1.8.1-jjuG7v1cG6AVcrvHU58OC:System.Environment.Extra,System.IO.Extra=extra-1.8.1-jjuG7v1cG6AVcrvHU58OC:System.IO.Extra,System.Info.Extra=extra-1.8.1-jjuG7v1cG6AVcrvHU58OC:System.Info.Extra,System.Process.Extra=extra-1.8.1-jjuG7v1cG6AVcrvHU58OC:System.Process.Extra,System.Time.Extra=extra-1.8.1-jjuG7v1cG6AVcrvHU58OC:System.Time.Extra,Text.Read.Extra=extra-1.8.1-jjuG7v1cG6AVcrvHU58OC:Text.Read.Extra unit extra-1.8.1-GCBC10qpNdoJU2UWT9VMnY-extra-test include QuickCheck-2.15.0.1-DoCBkNsF8SpAVmhTpFuY6d include base-4.20.2.0-a5ec include directory-1.3.8.5-0d3b include extra-1.8.1-jjuG7v1cG6AVcrvHU58OC include filepath-1.5.4.0-6c8c include quickcheck-instances-0.3.33-LMkU3c304A1JHH5TLt9xMp include unix-2.8.7.0-8d22 Ready component graph: definite extra-1.8.1-jjuG7v1cG6AVcrvHU58OC depends base-4.20.2.0-a5ec depends clock-0.8.4-IqZBPf1dREMJFju5mzAcs9 depends directory-1.3.8.5-0d3b depends filepath-1.5.4.0-6c8c depends process-1.6.26.1-b560 depends time-1.12.2-7425 depends unix-2.8.7.0-8d22 definite extra-1.8.1-GCBC10qpNdoJU2UWT9VMnY-extra-test depends QuickCheck-2.15.0.1-DoCBkNsF8SpAVmhTpFuY6d depends base-4.20.2.0-a5ec depends directory-1.3.8.5-0d3b depends extra-1.8.1-jjuG7v1cG6AVcrvHU58OC depends filepath-1.5.4.0-6c8c depends quickcheck-instances-0.3.33-LMkU3c304A1JHH5TLt9xMp depends unix-2.8.7.0-8d22 Using Cabal-3.12.1.0 compiled by ghc-9.10 Using compiler: ghc-9.10.3 Using install prefix: /nix/store/miyki6v5ygp6ppwpgpm72g2prkn91iwy-extra-1.8.1 Executables installed in: /nix/store/miyki6v5ygp6ppwpgpm72g2prkn91iwy-extra-1.8.1/bin Libraries installed in: /nix/store/miyki6v5ygp6ppwpgpm72g2prkn91iwy-extra-1.8.1/lib/ghc-9.10.3/lib/aarch64-linux-ghc-9.10.3-eb55/extra-1.8.1-jjuG7v1cG6AVcrvHU58OC Dynamic Libraries installed in: /nix/store/miyki6v5ygp6ppwpgpm72g2prkn91iwy-extra-1.8.1/lib/ghc-9.10.3/lib/aarch64-linux-ghc-9.10.3-eb55 Private executables installed in: /nix/store/miyki6v5ygp6ppwpgpm72g2prkn91iwy-extra-1.8.1/libexec/aarch64-linux-ghc-9.10.3-eb55/extra-1.8.1 Data files installed in: /nix/store/miyki6v5ygp6ppwpgpm72g2prkn91iwy-extra-1.8.1/share/aarch64-linux-ghc-9.10.3-eb55/extra-1.8.1 Documentation installed in: /nix/store/rbqx31j64mrzkfaw0qz4jlw9nbi4a0y5-extra-1.8.1-doc/share/doc/extra-1.8.1 Configuration files installed in: /nix/store/miyki6v5ygp6ppwpgpm72g2prkn91iwy-extra-1.8.1/etc No alex found Using ar found on system at: /nix/store/m1armxrx1nk768pislz3kzicq2mr4wck-binutils-wrapper-2.46/bin/ar No c2hs found No cpphs found No doctest found Using gcc version 15.3.0 given by user at: /nix/store/1m3h2yhx00myw3yblflznibhdb2r6ipx-gcc-wrapper-15.3.0/bin/gcc Using ghc version 9.10.3 found on system at: /nix/store/6g9s6kw11maycdc6g5a66smakh2lwdga-ghc-9.10.3/bin/ghc Using ghc-pkg version 9.10.3 found on system at: /nix/store/6g9s6kw11maycdc6g5a66smakh2lwdga-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/6g9s6kw11maycdc6g5a66smakh2lwdga-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/6g9s6kw11maycdc6g5a66smakh2lwdga-ghc-9.10.3/bin/hpc-ghc-9.10.3 Using hsc2hs version 0.68.10 found on system at: /nix/store/6g9s6kw11maycdc6g5a66smakh2lwdga-ghc-9.10.3/bin/hsc2hs-ghc-9.10.3 Using hscolour version 1.25 found on system at: /nix/store/pzf13a3faar5znsn51jxl01l1qw7qjw1-hscolour-1.25/bin/HsColour No jhc found Using ld found on system at: /nix/store/1m3h2yhx00myw3yblflznibhdb2r6ipx-gcc-wrapper-15.3.0/bin/ld No pkg-config found Using runghc version 9.10.3 found on system at: /nix/store/6g9s6kw11maycdc6g5a66smakh2lwdga-ghc-9.10.3/bin/runghc-9.10.3 Using strip version 2.46 found on system at: /nix/store/1m3h2yhx00myw3yblflznibhdb2r6ipx-gcc-wrapper-15.3.0/bin/strip Using tar found on system at: /nix/store/2yldvksvc01sv7agz7vrczymm1ffcirx-gnutar-1.35/bin/tar No uhc found Running phase: buildPhase Preprocessing library for extra-1.8.1... Building library for extra-1.8.1... [ 1 of 22] Compiling Data.IORef.Extra ( src/Data/IORef/Extra.hs, dist/build/Data/IORef/Extra.o, dist/build/Data/IORef/Extra.dyn_o ) [ 2 of 22] Compiling Data.Monoid.Extra ( src/Data/Monoid/Extra.hs, dist/build/Data/Monoid/Extra.o, dist/build/Data/Monoid/Extra.dyn_o ) [ 3 of 22] Compiling Data.Tuple.Extra ( src/Data/Tuple/Extra.hs, dist/build/Data/Tuple/Extra.o, dist/build/Data/Tuple/Extra.dyn_o ) [ 4 of 22] Compiling Data.Typeable.Extra ( src/Data/Typeable/Extra.hs, dist/build/Data/Typeable/Extra.o, dist/build/Data/Typeable/Extra.dyn_o ) [ 5 of 22] Compiling Numeric.Extra ( src/Numeric/Extra.hs, dist/build/Numeric/Extra.o, dist/build/Numeric/Extra.dyn_o ) [ 6 of 22] Compiling Partial ( src/Partial.hs, dist/build/Partial.o, dist/build/Partial.dyn_o ) [ 7 of 22] Compiling Data.List.Extra ( src/Data/List/Extra.hs, dist/build/Data/List/Extra.o, dist/build/Data/List/Extra.dyn_o ) [ 8 of 22] Compiling Data.Version.Extra ( src/Data/Version/Extra.hs, dist/build/Data/Version/Extra.o, dist/build/Data/Version/Extra.dyn_o ) [ 9 of 22] Compiling Data.List.NonEmpty.Extra ( src/Data/List/NonEmpty/Extra.hs, dist/build/Data/List/NonEmpty/Extra.o, dist/build/Data/List/NonEmpty/Extra.dyn_o ) [10 of 22] Compiling Data.Either.Extra ( src/Data/Either/Extra.hs, dist/build/Data/Either/Extra.o, dist/build/Data/Either/Extra.dyn_o ) [11 of 22] Compiling Control.Exception.Extra ( src/Control/Exception/Extra.hs, dist/build/Control/Exception/Extra.o, dist/build/Control/Exception/Extra.dyn_o ) [12 of 22] Compiling Control.Monad.Extra ( src/Control/Monad/Extra.hs, dist/build/Control/Monad/Extra.o, dist/build/Control/Monad/Extra.dyn_o ) [13 of 22] Compiling Data.Foldable.Extra ( src/Data/Foldable/Extra.hs, dist/build/Data/Foldable/Extra.o, dist/build/Data/Foldable/Extra.dyn_o ) [14 of 22] Compiling Control.Concurrent.Extra ( src/Control/Concurrent/Extra.hs, dist/build/Control/Concurrent/Extra.o, dist/build/Control/Concurrent/Extra.dyn_o ) [15 of 22] Compiling System.Directory.Extra ( src/System/Directory/Extra.hs, dist/build/System/Directory/Extra.o, dist/build/System/Directory/Extra.dyn_o ) [16 of 22] Compiling System.Environment.Extra ( src/System/Environment/Extra.hs, dist/build/System/Environment/Extra.o, dist/build/System/Environment/Extra.dyn_o ) [17 of 22] Compiling System.IO.Extra ( src/System/IO/Extra.hs, dist/build/System/IO/Extra.o, dist/build/System/IO/Extra.dyn_o ) [18 of 22] Compiling System.Info.Extra ( src/System/Info/Extra.hs, dist/build/System/Info/Extra.o, dist/build/System/Info/Extra.dyn_o ) [19 of 22] Compiling System.Process.Extra ( src/System/Process/Extra.hs, dist/build/System/Process/Extra.o, dist/build/System/Process/Extra.dyn_o ) [20 of 22] Compiling System.Time.Extra ( src/System/Time/Extra.hs, dist/build/System/Time/Extra.o, dist/build/System/Time/Extra.dyn_o ) [21 of 22] Compiling Extra ( src/Extra.hs, dist/build/Extra.o, dist/build/Extra.dyn_o ) [22 of 22] Compiling Text.Read.Extra ( src/Text/Read/Extra.hs, dist/build/Text/Read/Extra.o, dist/build/Text/Read/Extra.dyn_o ) [ 1 of 22] Compiling Data.IORef.Extra ( src/Data/IORef/Extra.hs, dist/build/Data/IORef/Extra.p_o ) [ 2 of 22] Compiling Data.Monoid.Extra ( src/Data/Monoid/Extra.hs, dist/build/Data/Monoid/Extra.p_o ) [ 3 of 22] Compiling Data.Tuple.Extra ( src/Data/Tuple/Extra.hs, dist/build/Data/Tuple/Extra.p_o ) [ 4 of 22] Compiling Data.Typeable.Extra ( src/Data/Typeable/Extra.hs, dist/build/Data/Typeable/Extra.p_o ) [ 5 of 22] Compiling Numeric.Extra ( src/Numeric/Extra.hs, dist/build/Numeric/Extra.p_o ) [ 6 of 22] Compiling Partial ( src/Partial.hs, dist/build/Partial.p_o ) [ 7 of 22] Compiling Data.List.Extra ( src/Data/List/Extra.hs, dist/build/Data/List/Extra.p_o ) [ 8 of 22] Compiling Data.Version.Extra ( src/Data/Version/Extra.hs, dist/build/Data/Version/Extra.p_o ) [ 9 of 22] Compiling Data.List.NonEmpty.Extra ( src/Data/List/NonEmpty/Extra.hs, dist/build/Data/List/NonEmpty/Extra.p_o ) [10 of 22] Compiling Data.Either.Extra ( src/Data/Either/Extra.hs, dist/build/Data/Either/Extra.p_o ) [11 of 22] Compiling Control.Exception.Extra ( src/Control/Exception/Extra.hs, dist/build/Control/Exception/Extra.p_o ) [12 of 22] Compiling Control.Monad.Extra ( src/Control/Monad/Extra.hs, dist/build/Control/Monad/Extra.p_o ) [13 of 22] Compiling Data.Foldable.Extra ( src/Data/Foldable/Extra.hs, dist/build/Data/Foldable/Extra.p_o ) [14 of 22] Compiling Control.Concurrent.Extra ( src/Control/Concurrent/Extra.hs, dist/build/Control/Concurrent/Extra.p_o ) [15 of 22] Compiling System.Directory.Extra ( src/System/Directory/Extra.hs, dist/build/System/Directory/Extra.p_o ) [16 of 22] Compiling System.Environment.Extra ( src/System/Environment/Extra.hs, dist/build/System/Environment/Extra.p_o ) [17 of 22] Compiling System.IO.Extra ( src/System/IO/Extra.hs, dist/build/System/IO/Extra.p_o ) [18 of 22] Compiling System.Info.Extra ( src/System/Info/Extra.hs, dist/build/System/Info/Extra.p_o ) [19 of 22] Compiling System.Process.Extra ( src/System/Process/Extra.hs, dist/build/System/Process/Extra.p_o ) [20 of 22] Compiling System.Time.Extra ( src/System/Time/Extra.hs, dist/build/System/Time/Extra.p_o ) [21 of 22] Compiling Extra ( src/Extra.hs, dist/build/Extra.p_o ) [22 of 22] Compiling Text.Read.Extra ( src/Text/Read/Extra.hs, dist/build/Text/Read/Extra.p_o ) Preprocessing test suite 'extra-test' for extra-1.8.1... Building test suite 'extra-test' for extra-1.8.1... [1 of 4] Compiling TestUtil ( test/TestUtil.hs, dist/build/extra-test/extra-test-tmp/TestUtil.o ) [2 of 4] Compiling TestGen ( test/TestGen.hs, dist/build/extra-test/extra-test-tmp/TestGen.o ) [3 of 4] Compiling TestCustom ( test/TestCustom.hs, dist/build/extra-test/extra-test-tmp/TestCustom.o ) [4 of 4] Compiling Test ( test/Test.hs, dist/build/extra-test/extra-test-tmp/Test.o ) [5 of 5] Linking dist/build/extra-test/extra-test Running phase: checkPhase Running 1 test suites... Test suite extra-test: RUNNING... withTempFile +++ OK, passed 100 tests. captureOutput +++ OK, passed 100 tests. \(x :: IO Int) -> void (once x) == pure () +++ OK, passed 100 tests. \(x :: IO Int) -> join (once x) == x +++ OK, passed 100 tests. \(x :: IO Int) -> (do y <- once x; y; y) == x +++ OK, passed 100 tests. \(x :: IO Int) -> (do y <- once x; y ||| y) == x +++ OK, passed 100 tests. \(x :: IO Int) -> join (onceFork x) == x +++ OK, passed 100 tests. \(x :: IO Int) -> (do a <- onceFork x; a; a) == x +++ OK, passed 100 tests. stringException "test" == pure "test" +++ OK, passed 100 tests. stringException ("test" ++ undefined) == pure "test" +++ OK, passed 100 tests. stringException ("test" ++ undefined ++ "hello") == pure "test" +++ OK, passed 100 tests. stringException ['t','e','s','t',undefined] == pure "test" +++ OK, passed 100 tests. ignore (print 1) == print 1 +++ OK, passed 100 tests. ignore (fail "die") == pure () +++ OK, passed 100 tests. catch (errorIO "Hello") (\(ErrorCall x) -> pure x) == pure "Hello" +++ OK, passed 100 tests. seq (errorIO "foo") (print 1) == print 1 +++ OK, passed 100 tests. catch (assertIO True >> pure 1) (\(x :: AssertionFailed) -> pure 2) == pure 1 +++ OK, passed 100 tests. seq (assertIO False) (print 1) == print 1 +++ OK, passed 100 tests. retry 1 (print "x") == print "x" +++ OK, passed 100 tests. retry 3 (fail "die") == fail "die" +++ OK, passed 100 tests. whenJust Nothing print == pure () +++ OK, passed 100 tests. whenJust (Just 1) print == print 1 +++ OK, passed 100 tests. pureIf @Maybe True 5 == Just 5 +++ OK, passed 100 tests. pureIf @Maybe False 5 == Nothing +++ OK, passed 100 tests. pureIf @[] True 5 == [5] +++ OK, passed 100 tests. pureIf @[] False 5 == [] +++ OK, passed 100 tests. whenMaybe True (print 1) == fmap Just (print 1) +++ OK, passed 100 tests. whenMaybe False (print 1) == pure Nothing +++ OK, passed 100 tests. \(x :: Maybe ()) -> unit x == x +++ OK, passed 100 tests. guarded even 2 == [2] +++ OK, passed 100 tests. guarded odd 2 == Nothing +++ OK, passed 100 tests. guarded (not.null) "My Name" == Just "My Name" +++ OK, passed 100 tests. guardedA (return . even) 42 == Just [42] +++ OK, passed 100 tests. guardedA (return . odd) 42 == Just [] +++ OK, passed 100 tests. guardedA (const Nothing) 42 == (Nothing :: Maybe [Int]) +++ OK, passed 100 tests. fold1M (\x y -> Just x) [] == undefined +++ OK, passed 100 tests. fold1M (\x y -> Just $ x + y) [1, 2, 3] == Just 6 +++ OK, passed 100 tests. partitionM (Just . even) [1,2,3] == Just ([2], [1,3]) +++ OK, passed 100 tests. partitionM (const Nothing) [1,2,3] == Nothing +++ OK, passed 100 tests. loop (\x -> if x < 10 then Left $ x * 2 else Right $ show x) 1 == "16" +++ OK, passed 100 tests. Just True ||^ undefined == Just True +++ OK, passed 100 tests. Just False ||^ Just True == Just True +++ OK, passed 100 tests. Just False ||^ Just False == Just False +++ OK, passed 100 tests. Just False &&^ undefined == Just False +++ OK, passed 100 tests. Just True &&^ Just True == Just True +++ OK, passed 100 tests. Just True &&^ Just False == Just False +++ OK, passed 100 tests. anyM Just [False,True ,undefined] == Just True +++ OK, passed 100 tests. anyM Just [False,False,undefined] == undefined +++ OK, passed 100 tests. \(f :: Int -> Maybe Bool) xs -> anyM f xs == orM (map f xs) +++ OK, passed 100 tests. allM Just [True,False,undefined] == Just False +++ OK, passed 100 tests. allM Just [True,True ,undefined] == undefined +++ OK, passed 100 tests. \(f :: Int -> Maybe Bool) xs -> anyM f xs == orM (map f xs) +++ OK, passed 100 tests. orM [Just False,Just True ,undefined] == Just True +++ OK, passed 100 tests. orM [Just False,Just False,undefined] == undefined +++ OK, passed 100 tests. \xs -> Just (or xs) == orM (map Just xs) +++ OK, passed 100 tests. andM [Just True,Just False,undefined] == Just False +++ OK, passed 100 tests. andM [Just True,Just True ,undefined] == undefined +++ OK, passed 100 tests. \xs -> Just (and xs) == andM (map Just xs) +++ OK, passed 100 tests. findM (Just . isUpper) "teST" == Just (Just 'S') +++ OK, passed 100 tests. findM (Just . isUpper) "test" == Just Nothing +++ OK, passed 100 tests. findM (Just . const True) ["x",undefined] == Just (Just "x") +++ OK, passed 100 tests. fromLeft 1 (Left 3) == 3 +++ OK, passed 100 tests. fromLeft 1 (Right "foo") == 1 +++ OK, passed 100 tests. fromRight 1 (Right 3) == 3 +++ OK, passed 100 tests. fromRight 1 (Left "foo") == 1 +++ OK, passed 100 tests. \x -> fromLeft' (Left x) == x +++ OK, passed 100 tests. \x -> fromLeft' (Right x) == undefined +++ OK, passed 100 tests. \x -> fromRight' (Right x) == x +++ OK, passed 100 tests. \x -> fromRight' (Left x) == undefined +++ OK, passed 100 tests. \x -> fromEither (Left x ) == x +++ OK, passed 100 tests. \x -> fromEither (Right x) == x +++ OK, passed 100 tests. \a b -> maybeToEither a (Just b) == Right b +++ OK, passed 100 tests. \a -> maybeToEither a Nothing == Left a +++ OK, passed 100 tests. \x -> eitherToMaybe (Left x) == Nothing +++ OK, passed 100 tests. \x -> eitherToMaybe (Right x) == Just x +++ OK, passed 100 tests. mapLeft show (Left 1) == Left "1" +++ OK, passed 100 tests. mapLeft show (Right True) == Right True +++ OK, passed 100 tests. mapRight show (Left 1) == Left 1 +++ OK, passed 100 tests. mapRight show (Right True) == Right "True" +++ OK, passed 100 tests. \xs -> repeatedly (splitAt 3) xs == chunksOf 3 xs +++ OK, passed 100 tests. \xs -> repeatedly word1 (trim xs) == words xs +++ OK, passed 100 tests. \xs -> repeatedly line1 xs == lines xs +++ OK, passed 100 tests. disjoint [1,2,3] [4,5] == True +++ OK, passed 100 tests. disjoint [1,2,3] [4,1] == False +++ OK, passed 100 tests. disjointOrd [1,2,3] [4,5] == True +++ OK, passed 100 tests. disjointOrd [1,2,3] [4,1] == False +++ OK, passed 100 tests. disjointOrdBy (compare `on` (`mod` 7)) [1,2,3] [4,5] == True +++ OK, passed 100 tests. disjointOrdBy (compare `on` (`mod` 7)) [1,2,3] [4,8] == False +++ OK, passed 100 tests. anySame [1,1,2] == True +++ OK, passed 100 tests. anySame [1,2,3] == False +++ OK, passed 100 tests. anySame (1:2:1:undefined) == True +++ OK, passed 100 tests. anySame [] == False +++ OK, passed 100 tests. \xs -> anySame xs == (length (nub xs) < length xs) +++ OK, passed 100 tests. allSame [1,1,2] == False +++ OK, passed 100 tests. allSame [1,1,1] == True +++ OK, passed 100 tests. allSame [1] == True +++ OK, passed 100 tests. allSame [] == True +++ OK, passed 100 tests. allSame (1:1:2:undefined) == False +++ OK, passed 100 tests. \xs -> allSame xs == (length (nub xs) <= 1) +++ OK, passed 100 tests. headDef 1 [] == 1 +++ OK, passed 100 tests. headDef 1 [2,3,4] == 2 +++ OK, passed 100 tests. \x xs -> headDef x xs == fromMaybe x (listToMaybe xs) +++ OK, passed 100 tests. lastDef 1 [] == 1 +++ OK, passed 100 tests. lastDef 1 [2,3,4] == 4 +++ OK, passed 100 tests. \x xs -> lastDef x xs == last (x:xs) +++ OK, passed 100 tests. [2,3,4] !? 1 == Just 3 +++ OK, passed 100 tests. [2,3,4] !? (-1) == Nothing +++ OK, passed 100 tests. [] !? 0 == Nothing +++ OK, passed 100 tests. notNull [] == False +++ OK, passed 100 tests. notNull [1] == True +++ OK, passed 100 tests. \xs -> notNull xs == not (null xs) +++ OK, passed 100 tests. list 1 (\v _ -> v - 2) [5,6,7] == 3 +++ OK, passed 100 tests. list 1 (\v _ -> v - 2) [] == 1 +++ OK, passed 100 tests. \nil cons xs -> maybe nil (uncurry cons) (uncons xs) == list nil cons xs +++ OK, passed 100 tests. unsnoc "test" == Just ("tes",'t') +++ OK, passed 100 tests. unsnoc "" == Nothing +++ OK, passed 100 tests. \xs -> unsnoc xs == if null xs then Nothing else Just (init xs, last xs) +++ OK, passed 100 tests. cons 't' "est" == "test" +++ OK, passed 100 tests. \x xs -> uncons (cons x xs) == Just (x,xs) +++ OK, passed 100 tests. snoc "tes" 't' == "test" +++ OK, passed 100 tests. \xs x -> unsnoc (snoc xs x) == Just (xs,x) +++ OK, passed 100 tests. enumerate == [False, True] +++ OK, passed 100 tests. takeEnd 3 "hello" == "llo" +++ OK, passed 100 tests. takeEnd 5 "bye" == "bye" +++ OK, passed 100 tests. takeEnd (-1) "bye" == "" +++ OK, passed 100 tests. \i xs -> takeEnd i xs `isSuffixOf` xs +++ OK, passed 100 tests. \i xs -> length (takeEnd i xs) == min (max 0 i) (length xs) +++ OK, passed 100 tests. dropEnd 3 "hello" == "he" +++ OK, passed 100 tests. dropEnd 5 "bye" == "" +++ OK, passed 100 tests. dropEnd (-1) "bye" == "bye" +++ OK, passed 100 tests. \i xs -> dropEnd i xs `isPrefixOf` xs +++ OK, passed 100 tests. \i xs -> length (dropEnd i xs) == max 0 (length xs - max 0 i) +++ OK, passed 100 tests. \i -> take 3 (dropEnd 5 [i..]) == take 3 [i..] +++ OK, passed 100 tests. splitAtEnd 3 "hello" == ("he","llo") +++ OK, passed 100 tests. splitAtEnd 3 "he" == ("", "he") +++ OK, passed 100 tests. \i xs -> uncurry (++) (splitAt i xs) == xs +++ OK, passed 100 tests. \i xs -> splitAtEnd i xs == (dropEnd i xs, takeEnd i xs) +++ OK, passed 100 tests. \i xs -> zip [i..] xs == zipFrom i xs +++ OK, passed 100 tests. zipFrom False [1..3] == [(False,1),(True, 2)] +++ OK, passed 100 tests. \i xs -> zipWithFrom (,) i xs == zipFrom i xs +++ OK, passed 100 tests. concatUnzip [("a","AB"),("bc","C")] == ("abc","ABC") +++ OK, passed 100 tests. concatUnzip3 [("a","AB",""),("bc","C","123")] == ("abc","ABC","123") +++ OK, passed 100 tests. takeWhileEnd even [2,3,4,6] == [4,6] +++ OK, passed 100 tests. trim " hello " == "hello" +++ OK, passed 100 tests. trimStart " hello " == "hello " +++ OK, passed 100 tests. trimEnd " hello " == " hello" +++ OK, passed 100 tests. \s -> trim s == trimEnd (trimStart s) +++ OK, passed 100 tests. lower "This is A TEST" == "this is a test" +++ OK, passed 100 tests. lower "" == "" +++ OK, passed 100 tests. upper "This is A TEST" == "THIS IS A TEST" +++ OK, passed 100 tests. upper "" == "" +++ OK, passed 100 tests. word1 "" == ("", "") +++ OK, passed 100 tests. word1 "keyword rest of string" == ("keyword","rest of string") +++ OK, passed 100 tests. word1 " keyword\n rest of string" == ("keyword","rest of string") +++ OK, passed 100 tests. \s -> fst (word1 s) == concat (take 1 $ words s) +++ OK, passed 100 tests. \s -> words (snd $ word1 s) == drop 1 (words s) +++ OK, passed 100 tests. line1 "" == ("", "") +++ OK, passed 100 tests. line1 "test" == ("test","") +++ OK, passed 100 tests. line1 "test\n" == ("test","") +++ OK, passed 100 tests. line1 "test\nrest" == ("test","rest") +++ OK, passed 100 tests. line1 "test\nrest\nmore" == ("test","rest\nmore") +++ OK, passed 100 tests. escapeHTML "this is a test" == "this is a test" +++ OK, passed 100 tests. escapeHTML "\"g&t\"" == "<b>"g&t"</n>" +++ OK, passed 100 tests. escapeHTML "t'was another test" == "t'was another test" +++ OK, passed 100 tests. \xs -> unescapeHTML (escapeHTML xs) == xs +++ OK, passed 100 tests. escapeJSON "this is a test" == "this is a test" +++ OK, passed 100 tests. escapeJSON "\ttab\nnewline\\" == "\\ttab\\nnewline\\\\" +++ OK, passed 100 tests. escapeJSON "\ESC[0mHello" == "\\u001b[0mHello" +++ OK, passed 100 tests. \xs -> unescapeJSON (escapeJSON xs) == xs +++ OK, passed 100 tests. groupOn abs [1,-1,2] == [[1,-1], [2]] +++ OK, passed 100 tests. groupOnKey abs [1,-1,2] == [(1, [1,-1]), (2, [2])] +++ OK, passed 100 tests. maximumOn id [] == undefined +++ OK, passed 100 tests. maximumOn length ["test","extra","a"] == "extra" +++ OK, passed 100 tests. minimumOn id [] == undefined +++ OK, passed 100 tests. minimumOn length ["test","extra","a"] == "a" +++ OK, passed 100 tests. groupSort [(1,'t'),(3,'t'),(2,'e'),(2,'s')] == [(1,"t"),(2,"es"),(3,"t")] +++ OK, passed 100 tests. \xs -> map fst (groupSort xs) == sort (nub (map fst xs)) +++ OK, passed 100 tests. \xs -> concatMap snd (groupSort xs) == map snd (sortOn fst xs) +++ OK, passed 100 tests. groupSortOn length ["test","of","sized","item"] == [["of"],["test","item"],["sized"]] +++ OK, passed 100 tests. groupSortBy (compare `on` length) ["test","of","sized","item"] == [["of"],["test","item"],["sized"]] +++ OK, passed 100 tests. sum' [1, 2, 3] == 6 +++ OK, passed 100 tests. sumOn' read ["1", "2", "3"] == 6 +++ OK, passed 100 tests. product' [1, 2, 4] == 8 +++ OK, passed 100 tests. productOn' read ["1", "2", "4"] == 8 +++ OK, passed 100 tests. merge "ace" "bd" == "abcde" +++ OK, passed 100 tests. \xs ys -> merge (sort xs) (sort ys) == sort (xs ++ ys) +++ OK, passed 100 tests. replace "el" "_" "Hello Bella" == "H_lo B_la" +++ OK, passed 100 tests. replace "el" "e" "Hello" == "Helo" +++ OK, passed 100 tests. replace "" "x" "Hello" == "xHxexlxlxox" +++ OK, passed 100 tests. replace "" "x" "" == "x" +++ OK, passed 100 tests. \xs ys -> replace xs xs ys == ys +++ OK, passed 100 tests. breakEnd isLower "youRE" == ("you","RE") +++ OK, passed 100 tests. breakEnd isLower "youre" == ("youre","") +++ OK, passed 100 tests. breakEnd isLower "YOURE" == ("","YOURE") +++ OK, passed 100 tests. \f xs -> breakEnd (not . f) xs == spanEnd f xs +++ OK, passed 100 tests. spanEnd isUpper "youRE" == ("you","RE") +++ OK, passed 100 tests. spanEnd (not . isSpace) "x y z" == ("x y ","z") +++ OK, passed 100 tests. \f xs -> uncurry (++) (spanEnd f xs) == xs +++ OK, passed 100 tests. \f xs -> spanEnd f xs == swap (both reverse (span f (reverse xs))) +++ OK, passed 100 tests. wordsBy (== ':') "::xyz:abc::123::" == ["xyz","abc","123"] +++ OK, passed 100 tests. \s -> wordsBy isSpace s == words s +++ OK, passed 100 tests. linesBy (== ':') "::xyz:abc::123::" == ["","","xyz","abc","","123",""] +++ OK, passed 100 tests. \s -> linesBy (== '\n') s == lines s +++ OK, passed 100 tests. linesBy (== ';') "my;list;here;" == ["my","list","here"] +++ OK, passed 100 tests. firstJust id [Nothing,Just 3] == Just 3 +++ OK, passed 100 tests. firstJust id [Nothing,Nothing] == Nothing +++ OK, passed 100 tests. drop1 "" == "" +++ OK, passed 100 tests. drop1 "test" == "est" +++ OK, passed 100 tests. \xs -> drop 1 xs == drop1 xs +++ OK, passed 100 tests. dropEnd1 "" == "" +++ OK, passed 100 tests. dropEnd1 "test" == "tes" +++ OK, passed 100 tests. \xs -> dropEnd 1 xs == dropEnd1 xs +++ OK, passed 100 tests. mconcatMap Sum [1,2,3] == Sum 6 +++ OK, passed 100 tests. \f xs -> mconcatMap f xs == concatMap f xs +++ OK, passed 100 tests. breakOn "::" "a::b::c" == ("a", "::b::c") +++ OK, passed 100 tests. breakOn "/" "foobar" == ("foobar", "") +++ OK, passed 100 tests. \needle haystack -> let (prefix,match) = breakOn needle haystack in prefix ++ match == haystack +++ OK, passed 100 tests. breakOnEnd "::" "a::b::c" == ("a::b::", "c") +++ OK, passed 100 tests. splitOn "\r\n" "a\r\nb\r\nd\r\ne" == ["a","b","d","e"] +++ OK, passed 100 tests. splitOn "aaa" "aaaXaaaXaaaXaaa" == ["","X","X","X",""] +++ OK, passed 100 tests. splitOn "x" "x" == ["",""] +++ OK, passed 100 tests. splitOn "x" "" == [""] +++ OK, passed 100 tests. \s x -> s /= "" ==> intercalate s (splitOn s x) == x +++ OK, passed 100 tests; 17 discarded. \c x -> splitOn [c] x == split (==c) x +++ OK, passed 100 tests. split (== 'a') "aabbaca" == ["","","bb","c",""] +++ OK, passed 100 tests. split (== 'a') "" == [""] +++ OK, passed 100 tests. split (== ':') "::xyz:abc::123::" == ["","","xyz","abc","","123","",""] +++ OK, passed 100 tests. split (== ',') "my,list,here" == ["my","list","here"] +++ OK, passed 100 tests. dropWhileEnd isSpace "ab cde " == "ab cde" +++ OK, passed 100 tests. dropWhileEnd' isSpace "ab cde " == "ab cde" +++ OK, passed 100 tests. last (dropWhileEnd even [undefined,3]) == undefined +++ OK, passed 100 tests. last (dropWhileEnd' even [undefined,3]) == 3 +++ OK, passed 100 tests. head (dropWhileEnd even (3:undefined)) == 3 +++ OK, passed 100 tests. head (dropWhileEnd' even (3:undefined)) == undefined +++ OK, passed 100 tests. dropPrefix "Mr. " "Mr. Men" == "Men" +++ OK, passed 100 tests. dropPrefix "Mr. " "Dr. Men" == "Dr. Men" +++ OK, passed 100 tests. dropSuffix "!" "Hello World!" == "Hello World" +++ OK, passed 100 tests. dropSuffix "!" "Hello World!!" == "Hello World!" +++ OK, passed 100 tests. dropSuffix "!" "Hello World." == "Hello World." +++ OK, passed 100 tests. stripSuffix "bar" "foobar" == Just "foo" +++ OK, passed 100 tests. stripSuffix "" "baz" == Just "baz" +++ OK, passed 100 tests. stripSuffix "foo" "quux" == Nothing +++ OK, passed 100 tests. stripInfix "::" "a::b::c" == Just ("a", "b::c") +++ OK, passed 100 tests. stripInfix "/" "foobar" == Nothing +++ OK, passed 100 tests. stripInfixEnd "::" "a::b::c" == Just ("a::b", "c") +++ OK, passed 100 tests. chunksOf 3 "my test" == ["my ","tes","t"] +++ OK, passed 100 tests. chunksOf 3 "mytest" == ["myt","est"] +++ OK, passed 100 tests. chunksOf 8 "" == [] +++ OK, passed 100 tests. chunksOf 0 "test" == undefined +++ OK, passed 100 tests. nubSort "this is a test" == " aehist" +++ OK, passed 100 tests. \xs -> nubSort xs == nub (sort xs) +++ OK, passed 100 tests. nubSortOn length ["a","test","of","this"] == ["a","of","test"] +++ OK, passed 100 tests. nubSortBy (compare `on` length) ["a","test","of","this"] == ["a","of","test"] +++ OK, passed 100 tests. nubOrd "this is a test" == "this ae" +++ OK, passed 100 tests. nubOrd (take 4 ("this" ++ undefined)) == "this" +++ OK, passed 100 tests. \xs -> nubOrd xs == nub xs +++ OK, passed 100 tests. nubOrdOn length ["a","test","of","this"] == ["a","test","of"] +++ OK, passed 100 tests. nubOrdBy (compare `on` length) ["a","test","of","this"] == ["a","test","of"] +++ OK, passed 100 tests. zipWithLongest (,) "a" "xyz" == [(Just 'a', Just 'x'), (Nothing, Just 'y'), (Nothing, Just 'z')] +++ OK, passed 100 tests. zipWithLongest (,) "a" "x" == [(Just 'a', Just 'x')] +++ OK, passed 100 tests. zipWithLongest (,) "" "x" == [(Nothing, Just 'x')] +++ OK, passed 100 tests. comparingLength [1,2,3] [False] == GT +++ OK, passed 100 tests. comparingLength [1,2] "ab" == EQ +++ OK, passed 100 tests. \(xs :: [Int]) (ys :: [Int]) -> comparingLength xs ys == Data.Ord.comparing length xs ys +++ OK, passed 100 tests. comparingLength [1,2] (1:2:3:undefined) == LT +++ OK, passed 100 tests. comparingLength (1:2:3:undefined) [1,2] == GT +++ OK, passed 100 tests. mwhen True "test" == "test" +++ OK, passed 100 tests. mwhen False "test" == "" +++ OK, passed 100 tests. first succ (1,"test") == (2,"test") +++ OK, passed 100 tests. second reverse (1,"test") == (1,"tset") +++ OK, passed 100 tests. firstM (\x -> [x-1, x+1]) (1,"test") == [(0,"test"),(2,"test")] +++ OK, passed 100 tests. secondM (\x -> [reverse x, x]) (1,"test") == [(1,"tset"),(1,"test")] +++ OK, passed 100 tests. (succ *** reverse) (1,"test") == (2,"tset") +++ OK, passed 100 tests. (succ &&& pred) 1 == (2,0) +++ OK, passed 100 tests. dupe 12 == (12, 12) +++ OK, passed 100 tests. both succ (1,2) == (2,3) +++ OK, passed 100 tests. first3 succ (1,1,1) == (2,1,1) +++ OK, passed 100 tests. second3 succ (1,1,1) == (1,2,1) +++ OK, passed 100 tests. third3 succ (1,1,1) == (1,1,2) +++ OK, passed 100 tests. \x -> readVersion (showVersion x) == x +++ OK, passed 100 tests. readVersion "hello" == undefined +++ OK, passed 100 tests. showDP 4 pi == "3.1416" +++ OK, passed 100 tests. showDP 0 pi == "3" +++ OK, passed 100 tests. showDP 2 3 == "3.00" +++ OK, passed 100 tests. withTempDir $ \dir -> do writeFile (dir "foo.txt") ""; withCurrentDirectory dir $ doesFileExist "foo.txt" +++ OK, passed 100 tests. withTempDir $ \dir -> do writeFile (dir "test.txt") ""; (== [dir "test.txt"]) <$> listContents dir +++ OK, passed 100 tests. listTest listContents ["bar.txt","foo/baz.txt","zoo"] ["bar.txt","foo","zoo"] +++ OK, passed 100 tests. listTest listDirectories ["bar.txt","foo/baz.txt","zoo"] ["foo"] +++ OK, passed 100 tests. listTest listFiles ["bar.txt","foo/baz.txt","zoo"] ["bar.txt","zoo"] +++ OK, passed 100 tests. listTest listFilesRecursive ["bar.txt","zoo","foo" "baz.txt"] ["bar.txt","zoo","foo" "baz.txt"] +++ OK, passed 100 tests. listTest (listFilesInside $ pure . not . isPrefixOf "." . takeFileName) ["bar.txt","foo" "baz.txt",".foo" "baz2.txt", "zoo"] ["bar.txt","zoo","foo" "baz.txt"] +++ OK, passed 100 tests. listTest (listFilesInside $ const $ pure False) ["bar.txt"] [] +++ OK, passed 100 tests. isWindows == (os == "mingw32") +++ OK, passed 100 tests. \(filter isHexDigit -> s) -> fmap (== s) $ withTempFile $ \file -> do writeFile file s; readFile' file +++ OK, passed 100 tests. \s -> withTempFile $ \file -> do writeFileUTF8 file s; fmap (== s) $ readFileUTF8' file +++ OK, passed 100 tests. \(ASCIIString s) -> withTempFile $ \file -> do writeFileBinary file s; fmap (== s) $ readFileBinary' file +++ OK, passed 100 tests. captureOutput (print 1) == pure ("1\n",()) +++ OK, passed 100 tests. withTempFile doesFileExist == pure True +++ OK, passed 100 tests. (doesFileExist =<< withTempFile pure) == pure False +++ OK, passed 100 tests. withTempFile readFile' == pure "" +++ OK, passed 100 tests. withTempDir doesDirectoryExist == pure True +++ OK, passed 100 tests. (doesDirectoryExist =<< withTempDir pure) == pure False +++ OK, passed 100 tests. withTempDir listFiles == pure [] +++ OK, passed 100 tests. fileEq "does_not_exist1" "does_not_exist2" == undefined +++ OK, passed 100 tests. fileEq "does_not_exist" "does_not_exist" == undefined +++ OK, passed 100 tests. withTempFile $ \f1 -> fileEq "does_not_exist" f1 == undefined +++ OK, passed 100 tests. withTempFile $ \f1 -> withTempFile $ \f2 -> fileEq f1 f2 +++ OK, passed 100 tests. withTempFile $ \f1 -> withTempFile $ \f2 -> writeFile f1 "a" >> writeFile f2 "a" >> fileEq f1 f2 +++ OK, passed 100 tests. withTempFile $ \f1 -> withTempFile $ \f2 -> writeFile f1 "a" >> writeFile f2 "b" >> notM (fileEq f1 f2) +++ OK, passed 100 tests. fmap (round . fst) (duration $ sleep 1) == pure 1 +++ OK, passed 100 tests. timeout (-3) (print 1) == pure Nothing +++ OK, passed 100 tests. timeout 0.1 (print 1) == fmap Just (print 1) +++ OK, passed 100 tests. do (t, _) <- duration $ timeout 0.1 $ sleep 1000; print t; pure $ t < 1 0.100352142 +++ OK, passed 100 tests. timeout 0.1 (sleep 2 >> print 1) == pure Nothing +++ OK, passed 100 tests. showDuration 3.435 == "3.44s" +++ OK, passed 100 tests. showDuration 623.8 == "10m24s" +++ OK, passed 100 tests. showDuration 62003.8 == "17h13m" +++ OK, passed 100 tests. showDuration 1e8 == "27777h47m" +++ OK, passed 100 tests. do f <- offsetTime; xs <- replicateM 10 f; pure $ xs == sort xs +++ OK, passed 100 tests. do (a,_) <- duration $ sleep 1; pure $ a >= 1 && a <= 1.5 +++ OK, passed 100 tests. Extra export +++ OK, passed 100 tests. withTempFile ....done withTempDir ....done retry +++ OK, passed 100 tests. barrier Success (325 tests) Test suite extra-test: PASS Test suite logged to: dist/test/extra-1.8.1-extra-test.log 1 of 1 test suites (1 of 1 test cases) passed. Running phase: haddockPhase Preprocessing library for extra-1.8.1... Running Haddock on library for extra-1.8.1... [ 1 of 22] Compiling Data.IORef.Extra ( src/Data/IORef/Extra.hs, nothing ) [ 2 of 22] Compiling Data.Monoid.Extra ( src/Data/Monoid/Extra.hs, nothing ) [ 3 of 22] Compiling Data.Tuple.Extra ( src/Data/Tuple/Extra.hs, nothing ) [ 4 of 22] Compiling Data.Typeable.Extra ( src/Data/Typeable/Extra.hs, nothing ) [ 5 of 22] Compiling Numeric.Extra ( src/Numeric/Extra.hs, nothing ) [ 6 of 22] Compiling Partial ( src/Partial.hs, nothing ) [ 7 of 22] Compiling Data.List.Extra ( src/Data/List/Extra.hs, nothing ) [ 8 of 22] Compiling Data.Version.Extra ( src/Data/Version/Extra.hs, nothing ) [ 9 of 22] Compiling Data.List.NonEmpty.Extra ( src/Data/List/NonEmpty/Extra.hs, nothing ) [10 of 22] Compiling Data.Either.Extra ( src/Data/Either/Extra.hs, nothing ) [11 of 22] Compiling Control.Exception.Extra ( src/Control/Exception/Extra.hs, nothing ) [12 of 22] Compiling Control.Monad.Extra ( src/Control/Monad/Extra.hs, nothing ) [13 of 22] Compiling Data.Foldable.Extra ( src/Data/Foldable/Extra.hs, nothing ) [14 of 22] Compiling Control.Concurrent.Extra ( src/Control/Concurrent/Extra.hs, nothing ) [15 of 22] Compiling System.Directory.Extra ( src/System/Directory/Extra.hs, nothing ) [16 of 22] Compiling System.Environment.Extra ( src/System/Environment/Extra.hs, nothing ) [17 of 22] Compiling System.IO.Extra ( src/System/IO/Extra.hs, nothing ) [18 of 22] Compiling System.Info.Extra ( src/System/Info/Extra.hs, nothing ) [19 of 22] Compiling System.Process.Extra ( src/System/Process/Extra.hs, nothing ) [20 of 22] Compiling System.Time.Extra ( src/System/Time/Extra.hs, nothing ) [21 of 22] Compiling Extra ( src/Extra.hs, nothing ) [22 of 22] Compiling Text.Read.Extra ( src/Text/Read/Extra.hs, nothing ) Haddock coverage: 100% ( 6 / 6) in 'Data.IORef.Extra' 100% ( 4 / 4) in 'Data.Monoid.Extra' Warning: 'Arrow' is out of scope. If you qualify the identifier, haddock can try to link it anyway. 100% ( 22 / 22) in 'Data.Tuple.Extra' 100% ( 2 / 2) in 'Data.Typeable.Extra' 100% ( 7 / 7) in 'Numeric.Extra' Warning: '(:)' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'unzip' is ambiguous. It is defined * in ‘GHC.Internal.Data.Functor’ * in ‘GHC.Internal.List’ 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 ‘GHC.Internal.List’ Warning: 'firstJustM' is out of scope. If you qualify the identifier, haddock can try to link it anyway. 100% ( 85 / 85) in 'Data.List.Extra' Warning: 'Version' is ambiguous. It is defined * in ‘GHC.Internal.Data.Version’ * in ‘GHC.Internal.Data.Version’ 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 ‘GHC.Internal.Data.Version’ 100% ( 3 / 3) in 'Data.Version.Extra' Warning: 'length' is ambiguous. It is defined * in ‘Data.List.NonEmpty’ * in ‘GHC.Internal.Data.Foldable’ 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 ‘GHC.Internal.Data.Foldable’ 100% ( 23 / 23) in 'Data.List.NonEmpty.Extra' Warning: 'fromJust' is out of scope. If you qualify the identifier, haddock can try to link it anyway. 100% ( 11 / 11) in 'Data.Either.Extra' Warning: 'ErrorCall' is ambiguous. It is defined * in ‘GHC.Internal.Exception’ * in ‘GHC.Internal.Exception’ 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 ‘GHC.Internal.Exception’ Warning: 'AssertionFailed' is ambiguous. It is defined * in ‘GHC.Internal.IO.Exception’ * in ‘GHC.Internal.IO.Exception’ 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 ‘GHC.Internal.IO.Exception’ Warning: 'SomeException' is ambiguous. It is defined * in ‘GHC.Internal.Exception.Type’ * in ‘GHC.Internal.Exception.Type’ 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 ‘GHC.Internal.Exception.Type’ 100% ( 21 / 21) in 'Control.Exception.Extra' Warning: 'partition' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'mconcatMap' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'find' is out of scope. If you qualify the identifier, haddock can try to link it anyway. 100% ( 40 / 40) in 'Control.Monad.Extra' 92% ( 13 / 14) in 'Data.Foldable.Extra' Missing documentation for: Module header Warning: 'Lock' is ambiguous. It is defined * at src/Control/Concurrent/Extra.hs:106:16 * at src/Control/Concurrent/Extra.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 src/Control/Concurrent/Extra.hs:106:1 Warning: 'Var' is ambiguous. It is defined * at src/Control/Concurrent/Extra.hs:146:17 * at src/Control/Concurrent/Extra.hs:146: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/Control/Concurrent/Extra.hs:146:1 Warning: 'Barrier' is ambiguous. It is defined * at src/Control/Concurrent/Extra.hs:210:21 * at src/Control/Concurrent/Extra.hs:210: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/Control/Concurrent/Extra.hs:210:1 100% ( 27 / 27) in 'Control.Concurrent.Extra' 100% ( 8 / 8) in 'System.Directory.Extra' 100% ( 2 / 2) in 'System.Environment.Extra' 100% ( 26 / 26) in 'System.IO.Extra' 100% ( 4 / 4) in 'System.Info.Extra' 100% ( 5 / 5) in 'System.Process.Extra' 100% ( 8 / 8) in 'System.Time.Extra' 100% (270 /270) in 'Extra' 100% ( 2 / 2) in 'Text.Read.Extra' Documentation created: dist/doc/html/extra/, dist/doc/html/extra/extra.txt Preprocessing test suite 'extra-test' for extra-1.8.1... Running phase: installPhase Installing library in /nix/store/miyki6v5ygp6ppwpgpm72g2prkn91iwy-extra-1.8.1/lib/ghc-9.10.3/lib/aarch64-linux-ghc-9.10.3-eb55/extra-1.8.1-jjuG7v1cG6AVcrvHU58OC Running phase: fixupPhase shrinking RPATHs of ELF executables and libraries in /nix/store/miyki6v5ygp6ppwpgpm72g2prkn91iwy-extra-1.8.1 shrinking /nix/store/miyki6v5ygp6ppwpgpm72g2prkn91iwy-extra-1.8.1/lib/ghc-9.10.3/lib/aarch64-linux-ghc-9.10.3-eb55/libHSextra-1.8.1-jjuG7v1cG6AVcrvHU58OC-ghc9.10.3.so checking for references to /build/ in /nix/store/miyki6v5ygp6ppwpgpm72g2prkn91iwy-extra-1.8.1... patching script interpreter paths in /nix/store/miyki6v5ygp6ppwpgpm72g2prkn91iwy-extra-1.8.1 stripping (with command strip and flags -S -p) in /nix/store/miyki6v5ygp6ppwpgpm72g2prkn91iwy-extra-1.8.1/lib shrinking RPATHs of ELF executables and libraries in /nix/store/rbqx31j64mrzkfaw0qz4jlw9nbi4a0y5-extra-1.8.1-doc checking for references to /build/ in /nix/store/rbqx31j64mrzkfaw0qz4jlw9nbi4a0y5-extra-1.8.1-doc... patching script interpreter paths in /nix/store/rbqx31j64mrzkfaw0qz4jlw9nbi4a0y5-extra-1.8.1-doc