Running phase: setupCompilerEnvironmentPhase Build with /nix/store/y48hvc1f09367cz5f03dcncv6n3lkf18-ghc-9.10.3. Running phase: unpackPhase unpacking source archive /nix/store/p37dsy0shv5hlnynhc1l831h8wx3i5li-syb-0.7.2.4.tar.gz source root is syb-0.7.2.4 setting SOURCE_DATE_EPOCH to timestamp 1000000000 of file "syb-0.7.2.4/tests/XML.hs" Running phase: patchPhase Running phase: compileBuildDriverPhase setupCompileFlags: -package-db=/build/tmp.SXZd4bSoAp/setup-package.conf.d -threaded [1 of 2] Compiling Main ( Setup.lhs, /build/tmp.SXZd4bSoAp/Main.o ) [2 of 2] Linking Setup Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase configureFlags: --verbose --prefix=/nix/store/slfsybj9xp2cbv552rsjz1c0as9673yh-syb-0.7.2.4 --libdir=$prefix/lib/$compiler/lib --libsubdir=$abi/$libname --docdir=/nix/store/hhw0s08i1ny7ifphhjqfha98hdsz8m7v-syb-0.7.2.4-doc/share/doc/syb-0.7.2.4 --with-gcc=gcc --package-db=/build/tmp.SXZd4bSoAp/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 syb-0.7.2.4... Dependency base >=4.0 && <5.0: using base-4.20.2.0 Dependency base: using base-4.20.2.0 Dependency containers: using containers-0.7 Dependency mtl: using mtl-2.3.1 Dependency syb: using syb-0.7.2.4 Dependency tasty: using tasty-1.5.4 Dependency tasty-hunit: using tasty-hunit-0.10.2 Source component graph: component lib component test:unit-tests dependency lib Configured component graph: component syb-0.7.2.4-iRK1xiT7Sy1Ze3SylKoOi include base-4.20.2.0-2363 component syb-0.7.2.4-1KZlrnwjK141Utt1jNlobb-unit-tests include base-4.20.2.0-2363 include containers-0.7-5389 include mtl-2.3.1-366e include syb-0.7.2.4-iRK1xiT7Sy1Ze3SylKoOi include tasty-1.5.4-BvvpoBNU3F8HGTXUJWxxre include tasty-hunit-0.10.2-Bz6nGhb9oZP5IRkSVV59qF Linked component graph: unit syb-0.7.2.4-iRK1xiT7Sy1Ze3SylKoOi include base-4.20.2.0-2363 Data.Generics=syb-0.7.2.4-iRK1xiT7Sy1Ze3SylKoOi:Data.Generics,Data.Generics.Aliases=syb-0.7.2.4-iRK1xiT7Sy1Ze3SylKoOi:Data.Generics.Aliases,Data.Generics.Basics=syb-0.7.2.4-iRK1xiT7Sy1Ze3SylKoOi:Data.Generics.Basics,Data.Generics.Builders=syb-0.7.2.4-iRK1xiT7Sy1Ze3SylKoOi:Data.Generics.Builders,Data.Generics.Instances=syb-0.7.2.4-iRK1xiT7Sy1Ze3SylKoOi:Data.Generics.Instances,Data.Generics.Schemes=syb-0.7.2.4-iRK1xiT7Sy1Ze3SylKoOi:Data.Generics.Schemes,Data.Generics.Text=syb-0.7.2.4-iRK1xiT7Sy1Ze3SylKoOi:Data.Generics.Text,Data.Generics.Twins=syb-0.7.2.4-iRK1xiT7Sy1Ze3SylKoOi:Data.Generics.Twins,Generics.SYB=syb-0.7.2.4-iRK1xiT7Sy1Ze3SylKoOi:Generics.SYB,Generics.SYB.Aliases=syb-0.7.2.4-iRK1xiT7Sy1Ze3SylKoOi:Generics.SYB.Aliases,Generics.SYB.Basics=syb-0.7.2.4-iRK1xiT7Sy1Ze3SylKoOi:Generics.SYB.Basics,Generics.SYB.Builders=syb-0.7.2.4-iRK1xiT7Sy1Ze3SylKoOi:Generics.SYB.Builders,Generics.SYB.Instances=syb-0.7.2.4-iRK1xiT7Sy1Ze3SylKoOi:Generics.SYB.Instances,Generics.SYB.Schemes=syb-0.7.2.4-iRK1xiT7Sy1Ze3SylKoOi:Generics.SYB.Schemes,Generics.SYB.Text=syb-0.7.2.4-iRK1xiT7Sy1Ze3SylKoOi:Generics.SYB.Text,Generics.SYB.Twins=syb-0.7.2.4-iRK1xiT7Sy1Ze3SylKoOi:Generics.SYB.Twins unit syb-0.7.2.4-1KZlrnwjK141Utt1jNlobb-unit-tests include base-4.20.2.0-2363 include containers-0.7-5389 include mtl-2.3.1-366e include syb-0.7.2.4-iRK1xiT7Sy1Ze3SylKoOi include tasty-1.5.4-BvvpoBNU3F8HGTXUJWxxre include tasty-hunit-0.10.2-Bz6nGhb9oZP5IRkSVV59qF Ready component graph: definite syb-0.7.2.4-iRK1xiT7Sy1Ze3SylKoOi depends base-4.20.2.0-2363 definite syb-0.7.2.4-1KZlrnwjK141Utt1jNlobb-unit-tests depends base-4.20.2.0-2363 depends containers-0.7-5389 depends mtl-2.3.1-366e depends syb-0.7.2.4-iRK1xiT7Sy1Ze3SylKoOi depends tasty-1.5.4-BvvpoBNU3F8HGTXUJWxxre depends tasty-hunit-0.10.2-Bz6nGhb9oZP5IRkSVV59qF Using Cabal-3.12.1.0 compiled by ghc-9.10 Using compiler: ghc-9.10.3 Using install prefix: /nix/store/slfsybj9xp2cbv552rsjz1c0as9673yh-syb-0.7.2.4 Executables installed in: /nix/store/slfsybj9xp2cbv552rsjz1c0as9673yh-syb-0.7.2.4/bin Libraries installed in: /nix/store/slfsybj9xp2cbv552rsjz1c0as9673yh-syb-0.7.2.4/lib/ghc-9.10.3/lib/x86_64-linux-ghc-9.10.3-ad9c/syb-0.7.2.4-iRK1xiT7Sy1Ze3SylKoOi Dynamic Libraries installed in: /nix/store/slfsybj9xp2cbv552rsjz1c0as9673yh-syb-0.7.2.4/lib/ghc-9.10.3/lib/x86_64-linux-ghc-9.10.3-ad9c Private executables installed in: /nix/store/slfsybj9xp2cbv552rsjz1c0as9673yh-syb-0.7.2.4/libexec/x86_64-linux-ghc-9.10.3-ad9c/syb-0.7.2.4 Data files installed in: /nix/store/slfsybj9xp2cbv552rsjz1c0as9673yh-syb-0.7.2.4/share/x86_64-linux-ghc-9.10.3-ad9c/syb-0.7.2.4 Documentation installed in: /nix/store/hhw0s08i1ny7ifphhjqfha98hdsz8m7v-syb-0.7.2.4-doc/share/doc/syb-0.7.2.4 Configuration files installed in: /nix/store/slfsybj9xp2cbv552rsjz1c0as9673yh-syb-0.7.2.4/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 syb-0.7.2.4... Building library for syb-0.7.2.4... [ 1 of 16] Compiling Data.Generics.Aliases ( src/Data/Generics/Aliases.hs, dist/build/Data/Generics/Aliases.o, dist/build/Data/Generics/Aliases.dyn_o ) [ 2 of 16] Compiling Data.Generics.Basics ( src/Data/Generics/Basics.hs, dist/build/Data/Generics/Basics.o, dist/build/Data/Generics/Basics.dyn_o ) [ 3 of 16] Compiling Data.Generics.Builders ( src/Data/Generics/Builders.hs, dist/build/Data/Generics/Builders.o, dist/build/Data/Generics/Builders.dyn_o ) [ 4 of 16] Compiling Data.Generics.Instances ( src/Data/Generics/Instances.hs, dist/build/Data/Generics/Instances.o, dist/build/Data/Generics/Instances.dyn_o ) [ 5 of 16] Compiling Data.Generics.Schemes ( src/Data/Generics/Schemes.hs, dist/build/Data/Generics/Schemes.o, dist/build/Data/Generics/Schemes.dyn_o ) [ 6 of 16] Compiling Data.Generics.Text ( src/Data/Generics/Text.hs, dist/build/Data/Generics/Text.o, dist/build/Data/Generics/Text.dyn_o ) [ 7 of 16] Compiling Data.Generics.Twins ( src/Data/Generics/Twins.hs, dist/build/Data/Generics/Twins.o, dist/build/Data/Generics/Twins.dyn_o ) src/Data/Generics/Twins.hs:224:17: 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"." | 224 | perkid a d = (tail a, unGT (head a) d) | ^^^^ src/Data/Generics/Twins.hs:224: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"." | 224 | perkid a d = (tail a, unGT (head a) d) | ^^^^ src/Data/Generics/Twins.hs:237:17: 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"." | 237 | perkid a d = (tail a, unGM (head a) d) | ^^^^ src/Data/Generics/Twins.hs:237: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"." | 237 | perkid a d = (tail a, unGM (head a) d) | ^^^^ src/Data/Generics/Twins.hs:249:17: 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"." | 249 | perkid a d = (tail a, unGQ (head a) d) | ^^^^ src/Data/Generics/Twins.hs:249: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"." | 249 | perkid a d = (tail a, unGQ (head a) d) | ^^^^ [ 8 of 16] Compiling Data.Generics ( src/Data/Generics.hs, dist/build/Data/Generics.o, dist/build/Data/Generics.dyn_o ) [ 9 of 16] Compiling Generics.SYB ( src/Generics/SYB.hs, dist/build/Generics/SYB.o, dist/build/Generics/SYB.dyn_o ) [10 of 16] Compiling Generics.SYB.Aliases ( src/Generics/SYB/Aliases.hs, dist/build/Generics/SYB/Aliases.o, dist/build/Generics/SYB/Aliases.dyn_o ) [11 of 16] Compiling Generics.SYB.Basics ( src/Generics/SYB/Basics.hs, dist/build/Generics/SYB/Basics.o, dist/build/Generics/SYB/Basics.dyn_o ) [12 of 16] Compiling Generics.SYB.Builders ( src/Generics/SYB/Builders.hs, dist/build/Generics/SYB/Builders.o, dist/build/Generics/SYB/Builders.dyn_o ) [13 of 16] Compiling Generics.SYB.Instances ( src/Generics/SYB/Instances.hs, dist/build/Generics/SYB/Instances.o, dist/build/Generics/SYB/Instances.dyn_o ) [14 of 16] Compiling Generics.SYB.Schemes ( src/Generics/SYB/Schemes.hs, dist/build/Generics/SYB/Schemes.o, dist/build/Generics/SYB/Schemes.dyn_o ) [15 of 16] Compiling Generics.SYB.Text ( src/Generics/SYB/Text.hs, dist/build/Generics/SYB/Text.o, dist/build/Generics/SYB/Text.dyn_o ) [16 of 16] Compiling Generics.SYB.Twins ( src/Generics/SYB/Twins.hs, dist/build/Generics/SYB/Twins.o, dist/build/Generics/SYB/Twins.dyn_o ) [ 1 of 16] Compiling Data.Generics.Aliases ( src/Data/Generics/Aliases.hs, dist/build/Data/Generics/Aliases.p_o ) [ 2 of 16] Compiling Data.Generics.Basics ( src/Data/Generics/Basics.hs, dist/build/Data/Generics/Basics.p_o ) [ 3 of 16] Compiling Data.Generics.Builders ( src/Data/Generics/Builders.hs, dist/build/Data/Generics/Builders.p_o ) [ 4 of 16] Compiling Data.Generics.Instances ( src/Data/Generics/Instances.hs, dist/build/Data/Generics/Instances.p_o ) [ 5 of 16] Compiling Data.Generics.Schemes ( src/Data/Generics/Schemes.hs, dist/build/Data/Generics/Schemes.p_o ) [ 6 of 16] Compiling Data.Generics.Text ( src/Data/Generics/Text.hs, dist/build/Data/Generics/Text.p_o ) [ 7 of 16] Compiling Data.Generics.Twins ( src/Data/Generics/Twins.hs, dist/build/Data/Generics/Twins.p_o ) src/Data/Generics/Twins.hs:224:17: 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"." | 224 | perkid a d = (tail a, unGT (head a) d) | ^^^^ src/Data/Generics/Twins.hs:224: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"." | 224 | perkid a d = (tail a, unGT (head a) d) | ^^^^ src/Data/Generics/Twins.hs:237:17: 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"." | 237 | perkid a d = (tail a, unGM (head a) d) | ^^^^ src/Data/Generics/Twins.hs:237: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"." | 237 | perkid a d = (tail a, unGM (head a) d) | ^^^^ src/Data/Generics/Twins.hs:249:17: 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"." | 249 | perkid a d = (tail a, unGQ (head a) d) | ^^^^ src/Data/Generics/Twins.hs:249: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"." | 249 | perkid a d = (tail a, unGQ (head a) d) | ^^^^ [ 8 of 16] Compiling Data.Generics ( src/Data/Generics.hs, dist/build/Data/Generics.p_o ) [ 9 of 16] Compiling Generics.SYB ( src/Generics/SYB.hs, dist/build/Generics/SYB.p_o ) [10 of 16] Compiling Generics.SYB.Aliases ( src/Generics/SYB/Aliases.hs, dist/build/Generics/SYB/Aliases.p_o ) [11 of 16] Compiling Generics.SYB.Basics ( src/Generics/SYB/Basics.hs, dist/build/Generics/SYB/Basics.p_o ) [12 of 16] Compiling Generics.SYB.Builders ( src/Generics/SYB/Builders.hs, dist/build/Generics/SYB/Builders.p_o ) [13 of 16] Compiling Generics.SYB.Instances ( src/Generics/SYB/Instances.hs, dist/build/Generics/SYB/Instances.p_o ) [14 of 16] Compiling Generics.SYB.Schemes ( src/Generics/SYB/Schemes.hs, dist/build/Generics/SYB/Schemes.p_o ) [15 of 16] Compiling Generics.SYB.Text ( src/Generics/SYB/Text.hs, dist/build/Generics/SYB/Text.p_o ) [16 of 16] Compiling Generics.SYB.Twins ( src/Generics/SYB/Twins.hs, dist/build/Generics/SYB/Twins.p_o ) Preprocessing test suite 'unit-tests' for syb-0.7.2.4... Building test suite 'unit-tests' for syb-0.7.2.4... [ 1 of 37] Compiling Builders ( tests/Builders.hs, dist/build/unit-tests/unit-tests-tmp/Builders.o ) [ 2 of 37] Compiling CompanyDatatypes ( tests/CompanyDatatypes.hs, dist/build/unit-tests/unit-tests-tmp/CompanyDatatypes.o ) [ 3 of 37] Compiling Bits ( tests/Bits.hs, dist/build/unit-tests/unit-tests-tmp/Bits.o ) [ 4 of 37] Compiling Datatype ( tests/Datatype.hs, dist/build/unit-tests/unit-tests-tmp/Datatype.o ) [ 5 of 37] Compiling Encode ( tests/Encode.hs, dist/build/unit-tests/unit-tests-tmp/Encode.o ) [ 6 of 37] Compiling Ext ( tests/Ext.hs, dist/build/unit-tests/unit-tests-tmp/Ext.o ) [ 7 of 37] Compiling Ext1 ( tests/Ext1.hs, dist/build/unit-tests/unit-tests-tmp/Ext1.o ) [ 8 of 37] Compiling Ext2 ( tests/Ext2.hs, dist/build/unit-tests/unit-tests-tmp/Ext2.o ) [ 9 of 37] Compiling FoldTree ( tests/FoldTree.hs, dist/build/unit-tests/unit-tests-tmp/FoldTree.o ) [10 of 37] Compiling FreeNames ( tests/FreeNames.hs, dist/build/unit-tests/unit-tests-tmp/FreeNames.o ) [11 of 37] Compiling GEq ( tests/GEq.hs, dist/build/unit-tests/unit-tests-tmp/GEq.o ) [12 of 37] Compiling GMapQAssoc ( tests/GMapQAssoc.hs, dist/build/unit-tests/unit-tests-tmp/GMapQAssoc.o ) [13 of 37] Compiling GRead ( tests/GRead.hs, dist/build/unit-tests/unit-tests-tmp/GRead.o ) [14 of 37] Compiling GRead2 ( tests/GRead2.hs, dist/build/unit-tests/unit-tests-tmp/GRead2.o ) [15 of 37] Compiling GShow ( tests/GShow.hs, dist/build/unit-tests/unit-tests-tmp/GShow.o ) [16 of 37] Compiling GShow2 ( tests/GShow2.hs, dist/build/unit-tests/unit-tests-tmp/GShow2.o ) [17 of 37] Compiling GZip ( tests/GZip.hs, dist/build/unit-tests/unit-tests-tmp/GZip.o ) [18 of 37] Compiling GenUpTo ( tests/GenUpTo.hs, dist/build/unit-tests/unit-tests-tmp/GenUpTo.o ) tests/GenUpTo.hs:61: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"." | 61 | cons = dataTypeConstrs (dataTypeOf (head result)) | ^^^^ tests/GenUpTo.hs:78: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"." | 78 | ty = dataTypeOf (head result) | ^^^^ [19 of 37] Compiling GetC ( tests/GetC.hs, dist/build/unit-tests/unit-tests-tmp/GetC.o ) [20 of 37] Compiling HList ( tests/HList.hs, dist/build/unit-tests/unit-tests-tmp/HList.o ) tests/HList.hs:40:13: 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"." | 40 | tailHList = tail | ^^^^ [21 of 37] Compiling HOPat ( tests/HOPat.hs, dist/build/unit-tests/unit-tests-tmp/HOPat.o ) [22 of 37] Compiling Labels ( tests/Labels.hs, dist/build/unit-tests/unit-tests-tmp/Labels.o ) [23 of 37] Compiling LocalQuantors ( tests/LocalQuantors.hs, dist/build/unit-tests/unit-tests-tmp/LocalQuantors.o ) [24 of 37] Compiling NestedDatatypes ( tests/NestedDatatypes.hs, dist/build/unit-tests/unit-tests-tmp/NestedDatatypes.o ) [25 of 37] Compiling Newtype ( tests/Newtype.hs, dist/build/unit-tests/unit-tests-tmp/Newtype.o ) [26 of 37] Compiling Paradise ( tests/Paradise.hs, dist/build/unit-tests/unit-tests-tmp/Paradise.o ) [27 of 37] Compiling Perm ( tests/Perm.hs, dist/build/unit-tests/unit-tests-tmp/Perm.o ) tests/Perm.hs:47:36: 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"." | 47 | else Just (tail x, head x) | ^^^^ tests/Perm.hs:47:44: 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"." | 47 | else Just (tail x, head x) | ^^^^ [28 of 37] Compiling Polymatch ( tests/Polymatch.hs, dist/build/unit-tests/unit-tests-tmp/Polymatch.o ) [29 of 37] Compiling Reify ( tests/Reify.hs, dist/build/unit-tests/unit-tests-tmp/Reify.o ) [30 of 37] Compiling Strings ( tests/Strings.hs, dist/build/unit-tests/unit-tests-tmp/Strings.o ) [31 of 37] Compiling Tree ( tests/Tree.hs, dist/build/unit-tests/unit-tests-tmp/Tree.o ) tests/Tree.hs:49:28: 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"." | 49 | perkid ts = const (tail ts, tree2data (head ts)) | ^^^^ tests/Tree.hs:49: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"." | 49 | perkid ts = const (tail ts, tree2data (head ts)) | ^^^^ [32 of 37] Compiling Twin ( tests/Twin.hs, dist/build/unit-tests/unit-tests-tmp/Twin.o ) [33 of 37] Compiling Typecase1 ( tests/Typecase1.hs, dist/build/unit-tests/unit-tests-tmp/Typecase1.o ) [34 of 37] Compiling Typecase2 ( tests/Typecase2.hs, dist/build/unit-tests/unit-tests-tmp/Typecase2.o ) [35 of 37] Compiling Where ( tests/Where.hs, dist/build/unit-tests/unit-tests-tmp/Where.o ) [36 of 37] Compiling XML ( tests/XML.hs, dist/build/unit-tests/unit-tests-tmp/XML.o ) tests/XML.hs:159:36: 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"." | 159 | else Just (tail x, head x) | ^^^^ tests/XML.hs:159:44: 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"." | 159 | else Just (tail x, head x) | ^^^^ [37 of 37] Compiling Main ( tests/Main.hs, dist/build/unit-tests/unit-tests-tmp/Main.o ) [38 of 38] Linking dist/build/unit-tests/unit-tests Running phase: checkPhase Running 1 test suites... Test suite unit-tests: RUNNING... All Datatype: OK FoldTree: OK GetC: OK GMapQAssoc: OK GRead: OK GShow: OK GShow2: OK HList: OK HOPat: OK Labels: OK Newtype: OK Perm: OK Twin: OK Typecase1: OK Typecase2: OK Where: OK XML: OK Tree: OK Strings: OK Reify: OK Paradise: OK GZip: OK GEq: OK GenUpTo: OK FreeNames: OK Ext1: OK Ext2: OK Bits: OK (0.06s) Builders: OK All 29 tests passed (0.07s) Test suite unit-tests: PASS Test suite logged to: dist/test/syb-0.7.2.4-unit-tests.log 1 of 1 test suites (1 of 1 test cases) passed. Running phase: haddockPhase Preprocessing library for syb-0.7.2.4... Running Haddock on library for syb-0.7.2.4... [ 1 of 16] Compiling Data.Generics.Aliases ( src/Data/Generics/Aliases.hs, nothing ) [ 2 of 16] Compiling Data.Generics.Basics ( src/Data/Generics/Basics.hs, nothing ) [ 3 of 16] Compiling Data.Generics.Builders ( src/Data/Generics/Builders.hs, nothing ) [ 4 of 16] Compiling Data.Generics.Instances ( src/Data/Generics/Instances.hs, nothing ) [ 5 of 16] Compiling Data.Generics.Schemes ( src/Data/Generics/Schemes.hs, nothing ) [ 6 of 16] Compiling Data.Generics.Text ( src/Data/Generics/Text.hs, nothing ) [ 7 of 16] Compiling Data.Generics.Twins ( src/Data/Generics/Twins.hs, nothing ) src/Data/Generics/Twins.hs:224:17: 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"." | 224 | perkid a d = (tail a, unGT (head a) d) | ^^^^ src/Data/Generics/Twins.hs:224: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"." | 224 | perkid a d = (tail a, unGT (head a) d) | ^^^^ src/Data/Generics/Twins.hs:237:17: 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"." | 237 | perkid a d = (tail a, unGM (head a) d) | ^^^^ src/Data/Generics/Twins.hs:237: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"." | 237 | perkid a d = (tail a, unGM (head a) d) | ^^^^ src/Data/Generics/Twins.hs:249:17: 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"." | 249 | perkid a d = (tail a, unGQ (head a) d) | ^^^^ src/Data/Generics/Twins.hs:249: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"." | 249 | perkid a d = (tail a, unGQ (head a) d) | ^^^^ [ 8 of 16] Compiling Data.Generics ( src/Data/Generics.hs, nothing ) [ 9 of 16] Compiling Generics.SYB ( src/Generics/SYB.hs, nothing ) [10 of 16] Compiling Generics.SYB.Aliases ( src/Generics/SYB/Aliases.hs, nothing ) [11 of 16] Compiling Generics.SYB.Basics ( src/Generics/SYB/Basics.hs, nothing ) [12 of 16] Compiling Generics.SYB.Builders ( src/Generics/SYB/Builders.hs, nothing ) [13 of 16] Compiling Generics.SYB.Instances ( src/Generics/SYB/Instances.hs, nothing ) [14 of 16] Compiling Generics.SYB.Schemes ( src/Generics/SYB/Schemes.hs, nothing ) [15 of 16] Compiling Generics.SYB.Text ( src/Generics/SYB/Text.hs, nothing ) [16 of 16] Compiling Generics.SYB.Twins ( src/Generics/SYB/Twins.hs, nothing ) Haddock coverage: Warning: 'Generic'' is ambiguous. It is defined * at src/Data/Generics/Aliases.hs:510:19 * at src/Data/Generics/Aliases.hs:510: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/Data/Generics/Aliases.hs:510:1 100% ( 60 / 60) in 'Data.Generics.Aliases' 100% ( 2 / 2) in 'Data.Generics.Basics' 100% ( 3 / 3) in 'Data.Generics.Builders' 100% ( 1 / 1) in 'Data.Generics.Instances' 100% ( 19 / 19) in 'Data.Generics.Schemes' 100% ( 6 / 6) in 'Data.Generics.Text' 100% ( 17 / 17) in 'Data.Generics.Twins' 100% ( 8 / 8) in 'Data.Generics' 100% ( 2 / 2) in 'Generics.SYB' 100% ( 2 / 2) in 'Generics.SYB.Aliases' 100% ( 2 / 2) in 'Generics.SYB.Basics' 100% ( 2 / 2) in 'Generics.SYB.Builders' 100% ( 1 / 1) in 'Generics.SYB.Instances' 100% ( 2 / 2) in 'Generics.SYB.Schemes' 100% ( 2 / 2) in 'Generics.SYB.Text' 100% ( 2 / 2) in 'Generics.SYB.Twins' Documentation created: dist/doc/html/syb/, dist/doc/html/syb/syb.txt Preprocessing test suite 'unit-tests' for syb-0.7.2.4... Running phase: installPhase Installing library in /nix/store/slfsybj9xp2cbv552rsjz1c0as9673yh-syb-0.7.2.4/lib/ghc-9.10.3/lib/x86_64-linux-ghc-9.10.3-ad9c/syb-0.7.2.4-iRK1xiT7Sy1Ze3SylKoOi Running phase: fixupPhase shrinking RPATHs of ELF executables and libraries in /nix/store/slfsybj9xp2cbv552rsjz1c0as9673yh-syb-0.7.2.4 shrinking /nix/store/slfsybj9xp2cbv552rsjz1c0as9673yh-syb-0.7.2.4/lib/ghc-9.10.3/lib/x86_64-linux-ghc-9.10.3-ad9c/libHSsyb-0.7.2.4-iRK1xiT7Sy1Ze3SylKoOi-ghc9.10.3.so checking for references to /build/ in /nix/store/slfsybj9xp2cbv552rsjz1c0as9673yh-syb-0.7.2.4... patching script interpreter paths in /nix/store/slfsybj9xp2cbv552rsjz1c0as9673yh-syb-0.7.2.4 stripping (with command strip and flags -S -p) in /nix/store/slfsybj9xp2cbv552rsjz1c0as9673yh-syb-0.7.2.4/lib shrinking RPATHs of ELF executables and libraries in /nix/store/hhw0s08i1ny7ifphhjqfha98hdsz8m7v-syb-0.7.2.4-doc checking for references to /build/ in /nix/store/hhw0s08i1ny7ifphhjqfha98hdsz8m7v-syb-0.7.2.4-doc... patching script interpreter paths in /nix/store/hhw0s08i1ny7ifphhjqfha98hdsz8m7v-syb-0.7.2.4-doc