Resolving dependencies... Build profile: -w ghc-9.6.3 -O0 In order, the following will be built (use -v for more details): - pathtype-0.8.1.3 (first run) Configuring pathtype-0.8.1.3... Preprocessing library for pathtype-0.8.1.3.. Building library for pathtype-0.8.1.3.. [ 1 of 17] Compiling System.Path.Internal.Separator ( src/System/Path/Internal/Separator.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/pathtype-0.8.1.3/noopt/build/System/Path/Internal/Separator.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/pathtype-0.8.1.3/noopt/build/System/Path/Internal/Separator.dyn_o ) [ 2 of 17] Compiling System.Path.Internal.System ( src/System/Path/Internal/System.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/pathtype-0.8.1.3/noopt/build/System/Path/Internal/System.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/pathtype-0.8.1.3/noopt/build/System/Path/Internal/System.dyn_o ) src/System/Path/Internal/System.hs:4:1: warning: [-Wunused-imports] The import of Control.Applicative is redundant except perhaps to import instances from Control.Applicative To import instances alone, use: import Control.Applicative() | 4 | import Control.Applicative ((<$>)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 3 of 17] Compiling System.Path.Internal.Component ( src/System/Path/Internal/Component.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/pathtype-0.8.1.3/noopt/build/System/Path/Internal/Component.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/pathtype-0.8.1.3/noopt/build/System/Path/Internal/Component.dyn_o ) src/System/Path/Internal/Component.hs:7:1: warning: [-Wunused-imports] The import of Control.Applicative is redundant except perhaps to import instances from Control.Applicative To import instances alone, use: import Control.Applicative() | 7 | import Control.Applicative ((<$>)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 4 of 17] Compiling System.Path.Internal.Part ( src/System/Path/Internal/Part.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/pathtype-0.8.1.3/noopt/build/System/Path/Internal/Part.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/pathtype-0.8.1.3/noopt/build/System/Path/Internal/Part.dyn_o ) [ 5 of 17] Compiling System.Path.Internal.PartClass ( src/System/Path/Internal/PartClass.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/pathtype-0.8.1.3/noopt/build/System/Path/Internal/PartClass.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/pathtype-0.8.1.3/noopt/build/System/Path/Internal/PartClass.dyn_o ) [ 6 of 17] Compiling System.Path.Internal ( src/System/Path/Internal.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/pathtype-0.8.1.3/noopt/build/System/Path/Internal.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/pathtype-0.8.1.3/noopt/build/System/Path/Internal.dyn_o ) src/System/Path/Internal.hs:169:1: warning: [-Wunused-imports] The import of <$, <$>, liftA2 from module Control.Applicative is redundant | 169 | import Control.Applicative (Const(Const), liftA2, (<$>), (<$)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/System/Path/Internal.hs:181:1: warning: [-Wunused-imports] The import of Monoid, mappend, mconcat, mempty from module Data.Monoid is redundant | 181 | import Data.Monoid (Monoid(mempty, mappend, mconcat), Endo(Endo), appEndo) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/System/Path/Internal.hs:182:1: warning: [-Wunused-imports] The import of <> from module Data.Semigroup is redundant | 182 | import Data.Semigroup (Semigroup(sconcat, (<>)), ) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/System/Path/Internal.hs:1002:5: warning: [-Wnoncanonical-monoid-instances] Noncanonical mappend definition detected in the instance declaration for Monoid (Path os ar fd). mappend will eventually be removed in favour of (<>) Either remove definition for mappend (recommended) or define as mappend = (<>) See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/semigroup-monoid | 1002 | mappend (Path r pcs0 _dir) (Path _rel pcs1 d) = Path r (pcs0 ++ pcs1) d | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 7 of 17] Compiling System.Path.Generic ( src/System/Path/Generic.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/pathtype-0.8.1.3/noopt/build/System/Path/Generic.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/pathtype-0.8.1.3/noopt/build/System/Path/Generic.dyn_o ) [ 8 of 17] Compiling System.Path.ModificationTime ( directory/post-incl-1.2/System/Path/ModificationTime.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/pathtype-0.8.1.3/noopt/build/System/Path/ModificationTime.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/pathtype-0.8.1.3/noopt/build/System/Path/ModificationTime.dyn_o ) [ 9 of 17] Compiling System.Path.Part ( src/System/Path/Part.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/pathtype-0.8.1.3/noopt/build/System/Path/Part.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/pathtype-0.8.1.3/noopt/build/System/Path/Part.dyn_o ) [10 of 17] Compiling System.Path.PartClass ( src/System/Path/PartClass.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/pathtype-0.8.1.3/noopt/build/System/Path/PartClass.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/pathtype-0.8.1.3/noopt/build/System/Path/PartClass.dyn_o ) [11 of 17] Compiling System.Path.RegularExpression ( src/System/Path/RegularExpression.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/pathtype-0.8.1.3/noopt/build/System/Path/RegularExpression.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/pathtype-0.8.1.3/noopt/build/System/Path/RegularExpression.dyn_o ) src/System/Path/RegularExpression.hs:5:29: warning: [-Wunused-imports] The import of liftA2 from module Control.Applicative is redundant | 5 | import Control.Applicative (liftA2, (<|>)) | ^^^^^^ src/System/Path/RegularExpression.hs:8:1: warning: [-Wunused-imports] The import of Data.Monoid is redundant except perhaps to import instances from Data.Monoid To import instances alone, use: import Data.Monoid() | 8 | import Data.Monoid (Monoid, mempty, mappend) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/System/Path/RegularExpression.hs:9:1: warning: [-Wunused-imports] The import of Data.Semigroup is redundant except perhaps to import instances from Data.Semigroup To import instances alone, use: import Data.Semigroup() | 9 | import Data.Semigroup (Semigroup, (<>)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [12 of 17] Compiling System.Path.Posix ( src/System/Path/Posix.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/pathtype-0.8.1.3/noopt/build/System/Path/Posix.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/pathtype-0.8.1.3/noopt/build/System/Path/Posix.dyn_o ) [13 of 17] Compiling System.Path.Host ( posix/System/Path/Host.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/pathtype-0.8.1.3/noopt/build/System/Path/Host.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/pathtype-0.8.1.3/noopt/build/System/Path/Host.dyn_o ) [14 of 17] Compiling System.Path ( src/System/Path.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/pathtype-0.8.1.3/noopt/build/System/Path.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/pathtype-0.8.1.3/noopt/build/System/Path.dyn_o ) [15 of 17] Compiling System.Path.IO ( src/System/Path/IO.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/pathtype-0.8.1.3/noopt/build/System/Path/IO.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/pathtype-0.8.1.3/noopt/build/System/Path/IO.dyn_o ) src/System/Path/IO.hs:100:1: warning: [-Wunused-imports] The import of Control.Applicative is redundant except perhaps to import instances from Control.Applicative To import instances alone, use: import Control.Applicative() | 100 | import Control.Applicative ((<$>)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [16 of 17] Compiling System.Path.Directory ( src/System/Path/Directory.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/pathtype-0.8.1.3/noopt/build/System/Path/Directory.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/pathtype-0.8.1.3/noopt/build/System/Path/Directory.dyn_o ) src/System/Path/Directory.hs:75:1: warning: [-Wunused-imports] The import of Control.Applicative is redundant except perhaps to import instances from Control.Applicative To import instances alone, use: import Control.Applicative() | 75 | import Control.Applicative ((<$>)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [17 of 17] Compiling System.Path.Windows ( src/System/Path/Windows.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/pathtype-0.8.1.3/noopt/build/System/Path/Windows.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/pathtype-0.8.1.3/noopt/build/System/Path/Windows.dyn_o ) src/System/Path/Windows.hs:42:1: warning: [-Wunused-imports] The import of Data.Monoid is redundant except perhaps to import instances from Data.Monoid To import instances alone, use: import Data.Monoid() | 42 | import Data.Monoid (mempty, (<>)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Preprocessing test suite 'test' for pathtype-0.8.1.3.. Building test suite 'test' for pathtype-0.8.1.3.. [1 of 3] Compiling Test.Posix.System.Path.Internal ( test/Test/Posix/System/Path/Internal.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/pathtype-0.8.1.3/noopt/build/test/test-tmp/Test/Posix/System/Path/Internal.o ) [2 of 3] Compiling Test.Windows.System.Path.Internal ( test/Test/Windows/System/Path/Internal.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/pathtype-0.8.1.3/noopt/build/test/test-tmp/Test/Windows/System/Path/Internal.o ) [3 of 3] Compiling Main ( test/Test.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/pathtype-0.8.1.3/noopt/build/test/test-tmp/Main.o ) [4 of 4] Linking /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/pathtype-0.8.1.3/noopt/build/test/test Running 1 test suites... Test suite test: RUNNING... Test suite test: PASS Test suite logged to: /home/builder/builder-dir/build-cache/tmp-install/reports/pathtype-0.8.1.3.test Writing: pathtype-0.8.1.3-inplace/System.Path.Windows.hs.html Writing: pathtype-0.8.1.3-inplace/System.Path.Posix.hs.html Writing: hpc_index.html Writing: hpc_index_fun.html Writing: hpc_index_alt.html Writing: hpc_index_exp.html Test coverage report written to /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/pathtype-0.8.1.3/noopt/hpc/vanilla/html/test/hpc_index.html 1 of 1 test suites (1 of 1 test cases) passed. Writing: pathtype-0.8.1.3-inplace/System.Path.Windows.hs.html Writing: pathtype-0.8.1.3-inplace/System.Path.Posix.hs.html Writing: hpc_index.html Writing: hpc_index_fun.html Writing: hpc_index_alt.html Writing: hpc_index_exp.html Package coverage report written to /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/pathtype-0.8.1.3/noopt/hpc/vanilla/html/pathtype-0.8.1.3/hpc_index.html