Mock Version: 5.9 Mock Version: 5.9 Mock Version: 5.9 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/ghc-haskell-src-exts.spec'], chrootPath='/var/lib/mock/f42-build-55850884-6539266/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.iivovggg:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.iivovggg:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '3cb5ba91e12d4a98a881267e7a2b3c5e', '-D', '/var/lib/mock/f42-build-55850884-6539266/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.iivovggg:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/ghc-haskell-src-exts.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1722816000 Wrote: /builddir/build/SRPMS/ghc-haskell-src-exts-1.23.1-20.fc42.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/ghc-haskell-src-exts.spec'], chrootPath='/var/lib/mock/f42-build-55850884-6539266/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.iivovggg:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.iivovggg:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '390bd3c9d06442fbaa0431947c9f2916', '-D', '/var/lib/mock/f42-build-55850884-6539266/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.iivovggg:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/ghc-haskell-src-exts.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1722816000 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.GkobyD + umask 022 + cd /builddir/build/BUILD/ghc-haskell-src-exts-1.23.1-build + test -d /builddir/build/BUILD/ghc-haskell-src-exts-1.23.1-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/ghc-haskell-src-exts-1.23.1-build + /usr/bin/rm -rf /builddir/build/BUILD/ghc-haskell-src-exts-1.23.1-build + /usr/bin/mkdir -p /builddir/build/BUILD/ghc-haskell-src-exts-1.23.1-build + /usr/bin/mkdir -p /builddir/build/BUILD/ghc-haskell-src-exts-1.23.1-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.qH7PVR + umask 022 + cd /builddir/build/BUILD/ghc-haskell-src-exts-1.23.1-build + cd /builddir/build/BUILD/ghc-haskell-src-exts-1.23.1-build + rm -rf haskell-src-exts-1.23.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/haskell-src-exts-1.23.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd haskell-src-exts-1.23.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.PX8hFz + umask 022 + cd /builddir/build/BUILD/ghc-haskell-src-exts-1.23.1-build + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd haskell-src-exts-1.23.1 ++ ls ++ grep -i -e '^\(ANNOUNCE\|AUTHORS\|CHANGELOG\|CHANGES\|CONTRIBUTORS\|README\|TODO\)' + for f in $(ls | grep -i -e '^\(ANNOUNCE\|AUTHORS\|CHANGELOG\|CHANGES\|CONTRIBUTORS\|README\|TODO\)') + '[' -f CHANGELOG -a -x CHANGELOG ']' ==== Build haskell-src-exts-1.23.1 ==== + for f in $(ls | grep -i -e '^\(ANNOUNCE\|AUTHORS\|CHANGELOG\|CHANGES\|CONTRIBUTORS\|README\|TODO\)') + '[' -f README.md -a -x README.md ']' + echo -e '\n==== Build haskell-src-exts-1.23.1 ====' + '[' -f Setup.hs -o -f Setup.lhs ']' + '[' -d /usr/lib64/ghc-9.6.6/lib ']' + subsubdir=/lib + '[' -x Setup ']' + ghc --make -package Cabal -no-user-package-db -dynamic Setup [1 of 2] Compiling Main ( Setup.hs, Setup.o ) [2 of 2] Linking Setup + LANG=C.utf8 ++ echo ' -O2' -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ++ sed -e 's/ / -optc/g' ++ echo ' -Wl,-z,relro' -Wl,--as-needed -Wl,-z,pack-relative-relocs -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ++ sed -e 's/ / -optl/g' + ./Setup configure --prefix=/usr --libdir=/usr/lib64 --docdir=/usr/share/licenses/ghc-haskell-src-exts '--libsubdir=$compiler/lib/$pkgid' '--datasubdir=$pkgid' '--libexecsubdir=$pkgid' --ghc --dynlibdir=/usr/lib64/ghc-9.6.6/lib --global '--ghc-options=-fhide-source-paths -optc-O2 -optc-fexceptions -optc-g -optc-grecord-gcc-switches -optc-pipe -optc-Wall -optc-Werror=format-security -optc-Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -optc-Wp,-D_GLIBCXX_ASSERTIONS -optc-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -optc-fstack-protector-strong -optc-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -optc-m64 -optc-march=x86-64 -optc-mtune=generic -optc-fasynchronous-unwind-tables -optc-fstack-clash-protection -optc-fcf-protection -optc-mtls-dialect=gnu2 -optc-fno-omit-frame-pointer -optc-mno-omit-leaf-frame-pointer -optl-Wl,-z,relro -optl-Wl,--as-needed -optl-Wl,-z,pack-relative-relocs -optl-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -optl-Wl,--build-id=sha1' --enable-library-profiling --enable-shared --htmldir=/usr/share/doc/ghc/html/libraries/haskell-src-exts-1.23.1 --global Configuring haskell-src-exts-1.23.1... + '[' -x Setup ']' + LANG=C.utf8 + ./Setup build -j6 Preprocessing library for haskell-src-exts-1.23.1.. unused rules: 3 Building library for haskell-src-exts-1.23.1.. [ 1 of 18] Compiling Language.Haskell.Exts.Extension [ 2 of 18] Compiling Language.Haskell.Exts.ExtScheme [ 3 of 18] Compiling Language.Haskell.Exts.SrcLoc [ 4 of 18] Compiling Language.Haskell.Exts.Syntax [ 5 of 18] Compiling Language.Haskell.Exts.ParseSyntax [ 6 of 18] Compiling Language.Haskell.Exts.Pretty src/Language/Haskell/Exts/Pretty.hs:119:9: warning: [-Wnoncanonical-monad-instances] Noncanonical ‘(>>)’ definition detected in the instance declaration for ‘Monad (DocM s)’. ‘(>>)’ will eventually be removed in favour of ‘(*>)’ Either remove definition for ‘(>>)’ (recommended) or define as ‘(>>) = (*>)’ See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return | 119 | (>>) = then_DocM | ^^^^^^^^^^^^^^^^ src/Language/Haskell/Exts/Pretty.hs:120:9: warning: [-Wnoncanonical-monad-instances] Noncanonical ‘return’ definition detected in the instance declaration for ‘Monad (DocM s)’. ‘return’ will eventually be removed in favour of ‘pure’ Either remove definition for ‘return’ (recommended) or define as ‘return = pure’ See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return | 120 | return = retDocM | ^^^^^^^^^^^^^^^^ [ 7 of 18] Compiling Language.Haskell.Exts.Fixity [ 8 of 18] Compiling Language.Haskell.Exts.Comments [ 9 of 18] Compiling Language.Haskell.Exts.ParseMonad src/Language/Haskell/Exts/ParseMonad.hs:101:3: warning: [-Wnoncanonical-monad-instances] Noncanonical ‘return’ definition detected in the instance declaration for ‘Monad ParseResult’. ‘return’ will eventually be removed in favour of ‘pure’ Either remove definition for ‘return’ (recommended) or define as ‘return = pure’ See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return | 101 | return = ParseOk | ^^^^^^^^^^^^^^^^ src/Language/Haskell/Exts/ParseMonad.hs:245:3: warning: [-Wnoncanonical-monad-instances] Noncanonical ‘pure = return’ definition detected in the instance declaration for ‘Applicative P’. Move definition from ‘return’ to ‘pure’ See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return | 245 | pure = return | ^^^^^^^^^^^^^ src/Language/Haskell/Exts/ParseMonad.hs:249:5: warning: [-Wnoncanonical-monad-instances] Noncanonical ‘return’ definition detected in the instance declaration for ‘Monad P’. ‘return’ will eventually be removed in favour of ‘pure’ Either remove definition for ‘return’ (recommended) or define as ‘return = pure’ See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return | 249 | return a = P $ \_i _x _y _l _ch s _m -> Ok s a | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Language/Haskell/Exts/ParseMonad.hs:357:5: warning: [-Wnoncanonical-monad-instances] Noncanonical ‘pure = return’ definition detected in the instance declaration for ‘Applicative (Lex r)’. Move definition from ‘return’ to ‘pure’ See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return | 357 | pure = return | ^^^^^^^^^^^^^ src/Language/Haskell/Exts/ParseMonad.hs:361:5: warning: [-Wnoncanonical-monad-instances] Noncanonical ‘return’ definition detected in the instance declaration for ‘Monad (Lex r)’. ‘return’ will eventually be removed in favour of ‘pure’ Either remove definition for ‘return’ (recommended) or define as ‘return = pure’ See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return | 361 | return a = Lex $ \k -> k a | ^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Language/Haskell/Exts/ParseMonad.hs:363:5: warning: [-Wnoncanonical-monad-instances] Noncanonical ‘(>>)’ definition detected in the instance declaration for ‘Monad (Lex r)’. ‘(>>)’ will eventually be removed in favour of ‘(*>)’ Either remove definition for ‘(>>)’ (recommended) or define as ‘(>>) = (*>)’ See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return | 363 | Lex v >> Lex w = Lex $ \k -> v (\_ -> w k) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Language/Haskell/Exts/ParseMonad.hs:380:32: warning[10 of 18] Compiling Language.Haskell.Exts.ParseUtils : [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘[Char]’ not matched: [] | 380 | -> let (newCh:rest)= if n > 0 then drop (n-1) r else (ch:r) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Language/Haskell/Exts/ParseMonad.hs:401:29: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a lambda abstraction: Patterns of type ‘[Char]’, ‘Int’ not matched: [] _ | 401 | lexTab = Lex $ \cont -> P $ \(_:r) x -> runP (cont ()) r (nextTab x) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Language/Haskell/Exts/ParseUtils.hs:824:43: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘[Pat L]’ not matched: [] | 824 | else let (a:bs) = ps | ^^^^^^^^^^^ src/Language/Haskell/Exts/ParseUtils.hs:856:44: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘[SrcSpan]’ not matched: [] [_] (_:_:_:_) | 856 | let [x,y] = srcInfoPoints l | ^^^^^^^^^^^^^^^^^^^^^^^ src/Language/Haskell/Exts/ParseUtils.hs:906:7: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘[SrcSpan]’ not matched: [] | 906 | let (b:_) = srcInfoPoints loc in return (name,typ,b) | ^^^^^^^^^^^^^^^^^^^^^^^^^ src/Language/Haskell/Exts/ParseUtils.hs:1289:17: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a lambda abstraction: Patterns of type ‘(Int, Either SrcSpan (CName L))’ not matched: (_, (Right _)) | 1289 | (\(n,Left s) -> EWildcard (noInfoSpan s) n) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [11 of 18] Compiling Language.Haskell.Exts.InternalLexer [12 of 18] Compiling Language.Haskell.Exts.Lexer [13 of 18] Compiling Language.Haskell.Exts.InternalParser [14 of 18] Compiling Language.Haskell.Exts.Parser [15 of 18] Compiling Language.Haskell.Exts.ExactPrint src/Language/Haskell/Exts/ExactPrint.hs:50:3: warning: [-Wnoncanonical-monad-instances] Noncanonical ‘pure = return’ definition detected in the instance declaration for ‘Applicative EP’. Move definition from ‘return’ to ‘pure’ See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return | 50 | pure = return | ^^^^^^^^^^^^^ src/Language/Haskell/Exts/ExactPrint.hs:54:3: warning: [-Wnoncanonical-monad-instances] Noncanonical ‘return’ definition detected in the instance declaration for ‘Monad EP’. ‘return’ will eventually be removed in favour of ‘pure’ Either remove definition for ‘return’ (recommended) or define as ‘return = pure’ See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return | 54 | return x = EP $ \l cs -> (x, l, cs, id) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Language/Haskell/Exts/ExactPrint.hs:381:18: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘[SrcSpan]’ not matched: [] | 381 | let (x:pts') = pts | ^^^^^^^^^^^^^^ src/Language/Haskell/Exts/ExactPrint.hs:702:21: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘[SrcSpan]’ not matched: [] | 702 | let (p:pts') = pts | ^^^^^^^^^^^^^^ src/Language/Haskell/Exts/ExactPrint.hs:742:13: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘[SrcSpan]’ not matched: [] | 742 | let (pat:pts) = srcInfoPoints l | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Language/Haskell/Exts/ExactPrint.hs:1748:13: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘[SrcSpan]’ not matched: [] | 1748 | let (opt:pts) = srcInfoPoints l | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [16 of 18] Compiling Language.Haskell.Exts.Build [17 of 18] Compiling Language.Preprocessor.Unlit src/Language/Preprocessor/Unlit.hs:17:25: warning: [GHC-63397] [-Wname-shadowing] This binding for ‘x’ shadows the existing binding bound at src/Language/Preprocessor/Unlit.hs:14:17 | 17 | allProg (('\\':x):xs) | "end{code}"`isPrefixOf`x = Blank : classify xs | ^ src/Language/Preprocessor/Unlit.hs:17:28: warning: [GHC-63397] [-Wname-shadowing] This binding for ‘xs’ shadows the existing binding bound at src/Language/Preprocessor/Unlit.hs:14:20 | 17 | allProg (('\\':x):xs) | "end{code}"`isPrefixOf`x = Blank : classify xs | ^^ src/Language/Preprocessor/Unlit.hs:18:19: warning: [GHC-63397] [-Wname-shadowing] This binding for ‘x’ shadows the existing binding bound at src/Language/Preprocessor/Unlit.hs:14:17 | 18 | allProg (x:xs) = Program x:allProg xs | ^ src/Language/Preprocessor/Unlit.hs:18:21: warning: [GHC-63397] [-Wname-shadowing] This binding for ‘xs’ shadows the existing binding bound at src/Language/Preprocessor/Unlit.hs:14:20 | 18 | allProg (x:xs) = Program x:allProg xs | ^^ src/Language/Preprocessor/Unlit.hs:27:11: warning: [-Wunused-matches] Defined but not used: ‘x’ | 27 | classify (x:xs) = Comment:classify xs | ^ src/Language/Preprocessor/Unlit.hs:46:17: warning: [-Wunused-matches] Defined but not used: ‘y’ | 46 | adjacent file n y@(Program _) (x@Comment :xs) = error (message file n "program" "comment") | ^ src/Language/Preprocessor/Unlit.hs:46:32: warning: [-Wunused-matches] Defined but not used: ‘x’ | 46 | adjacent file n y@(Program _) (x@Comment :xs) = error (message file n "program" "comment") | ^ src/Language/Preprocessor/Unlit.hs:46:48: warning: [-Wunused-matches] Defined but not used: ‘xs’ | 46 | adjacent file n y@(Program _) (x@Comment :xs) = error (message file n "program" "comment") | ^^ src/Language/Preprocessor/Unlit.hs:47:10: warning: [-Wunused-matches] Defined but not used: ‘file’ | 47 | adjacent file n y@(Program _) (x@(Include i f):xs) = x: adjacent f i y xs | ^^^^ src/Language/Preprocessor/Unlit.hs:47:15: warning: [-Wunused-matches] Defined but not used: ‘n’ | 47 | adjacent file n y@(Program _) (x@(Include i f):xs) = x: adjacent f i y xs | ^ src/Language/Preprocessor/Unlit.hs:49:17: warning: [-Wunused-matches] Defined but not used: ‘y’ | 49 | adjacent file n y@Comment (x@(Program _) :xs) = error (message file n "comment" "program") | ^ src/Language/Preprocessor/Unlit.hs:49:32: warning: [-Wunused-matches] Defined but not used: ‘x’ | 49 | adjacent file n y@Comment (x@(Program _) :xs) = error (message file n "comment" "program") | ^ src/Language/Preprocessor/Unlit.hs:49:48: warning: [-Wunused-matches] Defined but not used: ‘xs’ | 49 | adjacent file n y@Comment (x@(Program _) :xs) = error (message file n "comment" "program") | ^^ src/Language/Preprocessor/Unlit.hs:50:10: warning: [-Wunused-matches] Defined but not used: ‘file’ | 50 | adjacent file n y@Comment (x@(Include i f):xs) = x: adjacent f i y xs | ^^^^ src/Language/Preprocessor/Unlit.hs:50:15: warning: [-Wunused-matches] Defined but not used: ‘n’ | 50 | adjacent file n y@Comment (x@(Include i f):xs) = x: adjacent f i y xs | ^ src/Language/Preprocessor/Unlit.hs:52:10: warning: [-Wunused-matches] Defined but not used: ‘file’ | 52 | adjacent file n y@Blank (x@(Include i f):xs) = x: adjacent f i y xs | ^^^^ src/Language/Preprocessor/Unlit.hs:52:15: warning: [-Wunused-matches] Defined but not used: ‘n’ | 52 | adjacent file n y@Blank (x@(Include i f):xs) = x: adjacent f i y xs | ^ src/Language/Preprocessor/Unlit.hs:54:34: warning: [-Wunused-matches] Defined but not used: ‘next’ | 54 | adjacent file n _ (x@next :xs) = x: adjacent file (n+1) x xs | ^^^^ src/Language/Preprocessor/Unlit.hs:55:10: warning: [-Wunused-matches] Defined but not used: ‘file’ | 55 | adjacent file n _ [] = [] | ^^^^ src/Language/Preprocessor/Unlit.hs:55:15: warning: [-Wunused-matches] Defined but not used: ‘n’ | 55 | adjacent file n _ [] = [] | ^ src/Language/Preprocessor/Unlit.hs:69:22: warning: [GHC-63397] [-Wname-shadowing] This binding for ‘s’ shadows the existing binding bound at src/Language/Preprocessor/Unlit.hs:66:9 | 69 | lines' ('\^M':'\n':s) acc = acc [] : lines' s id -- DOS | ^ src/Language/Preprocessor/Unlit.hs:70:17: warning: [GHC-63397] [-Wname-shadowing] This binding for ‘s’ shadows the existing binding bound at src/Language/Preprocessor/Unlit.hs:66:9 | 70 | lines' ('\^M':s) acc = acc [] : lines' s id -- MacOS | ^ src/Language/Preprocessor/Unlit.hs:71:16: warning: [GHC-63397] [-Wname-shadowing] This binding for ‘s’ shadows the existing binding bound at src/Language/Preprocessor/Unlit.hs:66:9 | 71 | lines' ('\n':s) acc = acc [] : lines' s id -- Unix | ^ [18 of 18] Compiling Language.Haskell.Exts src/Language/Preprocessor/Unlit.hs:72:13: warning: [GHC-63397] [-Wname-shadowing] This binding for ‘s’ shadows the existing binding bound at src/Language/Preprocessor/Unlit.hs:66:9 | 72 | lines' (c:s) acc = lines' s (acc . (c:)) | ^ [ 1 of 18] Compiling Language.Haskell.Exts.Extension [ 2 of 18] Compiling Language.Haskell.Exts.ExtScheme [ 3 of 18] Compiling Language.Haskell.Exts.SrcLoc [ 4 of 18] Compiling Language.Haskell.Exts.Syntax [ 5 of 18] Compiling Language.Haskell.Exts.ParseSyntax [ 6 of 18] Compiling Language.Haskell.Exts.Pretty src/Language/Haskell/Exts/Pretty.hs:119:9: warning: [-Wnoncanonical-monad-instances] Noncanonical ‘(>>)’ definition detected in the instance declaration for ‘Monad (DocM s)’. ‘(>>)’ will eventually be removed in favour of ‘(*>)’ Either remove definition for ‘(>>)’ (recommended) or define as ‘(>>) = (*>)’ See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return | 119 | (>>) = then_DocM | ^^^^^^^^^^^^^^^^ src/Language/Haskell/Exts/Pretty.hs:120:9: warning: [-Wnoncanonical-monad-instances] Noncanonical ‘return’ definition detected in the instance declaration for ‘Monad (DocM s)’. ‘return’ will eventually be removed in favour of ‘pure’ Either remove definition for ‘return’ (recommended) or define as ‘return = pure’ See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return | 120 | return = retDocM | ^^^^^^^^^^^^^^^^ [ 7 of 18] Compiling Language.Haskell.Exts.Fixity [ 8 of 18] Compiling Language.Haskell.Exts.Comments [ 9 of 18] Compiling Language.Haskell.Exts.ParseMonad src/Language/Haskell/Exts/ParseMonad.hs:101:3: warning: [-Wnoncanonical-monad-instances] Noncanonical ‘return’ definition detected in the instance declaration for ‘Monad ParseResult’. ‘return’ will eventually be removed in favour of ‘pure’ Either remove definition for ‘return’ (recommended) or define as ‘return = pure’ See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return | 101 | return = ParseOk | ^^^^^^^^^^^^^^^^ src/Language/Haskell/Exts/ParseMonad.hs:245:3: warning: [-Wnoncanonical-monad-instances] Noncanonical ‘pure = return’ definition detected in the instance declaration for ‘Applicative P’. Move definition from ‘return’ to ‘pure’ See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return | 245 | pure = return | ^^^^^^^^^^^^^ src/Language/Haskell/Exts/ParseMonad.hs:249:5: warning: [-Wnoncanonical-monad-instances] Noncanonical ‘return’ definition detected in the instance declaration for ‘Monad P’. ‘return’ will eventually be removed in favour of ‘pure’ Either remove definition for ‘return’ (recommended) or define as ‘return = pure’ See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return | 249 | return a = P $ \_i _x _y _l _ch s _m -> Ok s a | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Language/Haskell/Exts/ParseMonad.hs:357:5: warning: [-Wnoncanonical-monad-instances] Noncanonical ‘pure = return’ definition detected in the instance declaration for ‘Applicative (Lex r)’. Move definition from ‘return’ to ‘pure’ See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return | 357 | pure = return | ^^^^^^^^^^^^^ src/Language/Haskell/Exts/ParseMonad.hs:361:5: warning: [-Wnoncanonical-monad-instances] Noncanonical ‘return’ definition detected in the instance declaration for ‘Monad (Lex r)’. ‘return’ will eventually be removed in favour of ‘pure’ Either remove definition for ‘return’ (recommended) or define as ‘return = pure’ See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return | 361 | return a = Lex $ \k -> k a | ^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Language/Haskell/Exts/ParseMonad.hs:363:5: warning: [-Wnoncanonical-monad-instances] Noncanonical ‘(>>)’ definition detected in the instance declaration for[10 of 18] Compiling Language.Haskell.Exts.ParseUtils ‘Monad (Lex r)’. ‘(>>)’ will eventually be removed in favour of ‘(*>)’ Either remove definition for ‘(>>)’ (recommended) or define as ‘(>>) = (*>)’ See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return | 363 | Lex v >> Lex w = Lex $ \k -> v (\_ -> w k) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Language/Haskell/Exts/ParseMonad.hs:380:32: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘[Char]’ not matched: [] | 380 | -> let (newCh:rest)= if n > 0 then drop (n-1) r else (ch:r) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Language/Haskell/Exts/ParseMonad.hs:401:29: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a lambda abstraction: Patterns of type ‘[Char]’, ‘Int’ not matched: [] _ | 401 | lexTab = Lex $ \cont -> P $ \(_:r) x -> runP (cont ()) r (nextTab x) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Language/Haskell/Exts/ParseUtils.hs:824:43: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘[Pat L]’ not matched: [] | 824 | else let (a:bs) = ps | ^^^^^^^^^^^ src/Language/Haskell/Exts/ParseUtils.hs:856:44: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘[SrcSpan]’ not matched: [] [_] (_:_:_:_) | 856 | let [x,y] = srcInfoPoints l | ^^^^^^^^^^^^^^^^^^^^^^^ src/Language/Haskell/Exts/ParseUtils.hs:906:7: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘[SrcSpan]’ not matched: [] | 906 | let (b:_) = srcInfoPoints loc in return (name,typ,b) | ^^^^^^^^^^^^^^^^^^^^^^^^^ src/Language/Haskell/Exts/ParseUtils.hs:1289:17: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a lambda abstraction: Patterns of type ‘(Int, Either SrcSpan (CName L))’ not matched: (_, (Right _)) | 1289 | (\(n,Left s) -> EWildcard (noInfoSpan s) n) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [11 of 18] Compiling Language.Haskell.Exts.InternalLexer [12 of 18] Compiling Language.Haskell.Exts.Lexer [13 of 18] Compiling Language.Haskell.Exts.InternalParser [14 of 18] Compiling Language.Haskell.Exts.Parser [15 of 18] Compiling Language.Haskell.Exts.ExactPrint src/Language/Haskell/Exts/ExactPrint.hs:50:3: warning: [-Wnoncanonical-monad-instances] Noncanonical ‘pure = return’ definition detected in the instance declaration for ‘Applicative EP’. Move definition from ‘return’ to ‘pure’ See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return | 50 | pure = return | ^^^^^^^^^^^^^ src/Language/Haskell/Exts/ExactPrint.hs:54:3: warning: [-Wnoncanonical-monad-instances] Noncanonical ‘return’ definition detected in the instance declaration for ‘Monad EP’. ‘return’ will eventually be removed in favour of ‘pure’ Either remove definition for ‘return’ (recommended) or define as ‘return = pure’ See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return | 54 | return x = EP $ \l cs -> (x, l, cs, id) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Language/Haskell/Exts/ExactPrint.hs:381:18: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘[SrcSpan]’ not matched: [] | 381 | let (x:pts') = pts | ^^^^^^^^^^^^^^ src/Language/Haskell/Exts/ExactPrint.hs:702:21: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘[SrcSpan]’ not matched: [] | 702 | let (p:pts') = pts | ^^^^^^^^^^^^^^ src/Language/Haskell/Exts/ExactPrint.hs:742:13: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘[SrcSpan]’ not matched: [] | 742 | let (pat:pts) = srcInfoPoints l | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Language/Haskell/Exts/ExactPrint.hs:1748:13: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive[16 of 18] Compiling Language.Haskell.Exts.Build In a pattern binding: Patterns of type ‘[SrcSpan]’ not matched: [] | 1748 | let (opt:pts) = srcInfoPoints l | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [17 of 18] Compiling Language.Preprocessor.Unlit src/Language/Preprocessor/Unlit.hs:17:25: warning: [GHC-63397] [-Wname-shadowing] This binding for ‘x’ shadows the existing binding bound at src/Language/Preprocessor/Unlit.hs:14:17 | 17 | allProg (('\\':x):xs) | "end{code}"`isPrefixOf`x = Blank : classify xs | ^ src/Language/Preprocessor/Unlit.hs:17:28: warning: [GHC-63397] [-Wname-shadowing] This binding for ‘xs’ shadows the existing binding bound at src/Language/Preprocessor/Unlit.hs:14:20 | 17 | allProg (('\\':x):xs) | "end{code}"`isPrefixOf`x = Blank : classify xs | ^^ src/Language/Preprocessor/Unlit.hs:18:19: warning: [GHC-63397] [-Wname-shadowing] This binding for ‘x’ shadows the existing binding bound at src/Language/Preprocessor/Unlit.hs:14:17 | 18 | allProg (x:xs) = Program x:allProg xs | ^ src/Language/Preprocessor/Unlit.hs:18:21: warning: [GHC-63397] [-Wname-shadowing] This binding for ‘xs’ shadows the existing binding bound at src/Language/Preprocessor/Unlit.hs:14:20 | 18 | allProg (x:xs) = Program x:allProg xs | ^^ src/Language/Preprocessor/Unlit.hs:27:11: warning: [-Wunused-matches] Defined but not used: ‘x’ | 27 | classify (x:xs) = Comment:classify xs | ^ src/Language/Preprocessor/Unlit.hs:46:17: warning: [-Wunused-matches] Defined but not used: ‘y’ | 46 | adjacent file n y@(Program _) (x@Comment :xs) = error (message file n "program" "comment") | ^ src/Language/Preprocessor/Unlit.hs:46:32: warning: [-Wunused-matches] Defined but not used: ‘x’ | 46 | adjacent file n y@(Program _) (x@Comment :xs) = error (message file n "program" "comment") | ^ src/Language/Preprocessor/Unlit.hs:46:48: warning: [-Wunused-matches] Defined but not used: ‘xs’ | 46 | adjacent file n y@(Program _) (x@Comment :xs) = error (message file n "program" "comment") | ^^ src/Language/Preprocessor/Unlit.hs:47:10: warning: [-Wunused-matches] Defined but not used: ‘file’ | 47 | adjacent file n y@(Program _) (x@(Include i f):xs) = x: adjacent f i y xs | ^^^^ src/Language/Preprocessor/Unlit.hs:47:15: warning: [-Wunused-matches] Defined but not used: ‘n’ | 47 | adjacent file n y@(Program _) (x@(Include i f):xs) = x: adjacent f i y xs | ^ src/Language/Preprocessor/Unlit.hs:49:17: warning: [-Wunused-matches] Defined but not used: ‘y’ | 49 | adjacent file n y@Comment (x@(Program _) :xs) = error (message file n "comment" "program") | ^ src/Language/Preprocessor/Unlit.hs:49:32: warning: [-Wunused-matches] Defined but not used: ‘x’ | 49 | adjacent file n y@Comment (x@(Program _) :xs) = error (message file n "comment" "program") | ^ src/Language/Preprocessor/Unlit.hs:49:48: warning: [-Wunused-matches] Defined but not used: ‘xs’ | 49 | adjacent file n y@Comment (x@(Program _) :xs) = error (message file n "comment" "program") | ^^ src/Language/Preprocessor/Unlit.hs:50:10: warning: [-Wunused-matches] Defined but not used: ‘file’ | 50 | adjacent file n y@Comment (x@(Include i f):xs) = x: adjacent f i y xs | ^^^^ src/Language/Preprocessor/Unlit.hs:50:15: warning: [-Wunused-matches] Defined but not used: ‘n’ | 50 | adjacent file n y@Comment (x@(Include i f):xs) = x: adjacent f i y xs | ^ src/Language/Preprocessor/Unlit.hs:52:10: warning: [-Wunused-matches] Defined but not used: ‘file’ | 52 | adjacent file n y@Blank (x@(Include i f):xs) = x: adjacent f i y xs | ^^^^ src/Language/Preprocessor/Unlit.hs:52:15: warning: [-Wunused-matches] Defined but not used: ‘n’ | 52 | adjacent file n y@Blank (x@(Include i f):xs) = x: adjacent f i y xs | ^ src/Language/Preprocessor/Unlit.hs:54:34: warning: [-Wunused-matches] Defined but not used: ‘next’ | 54 | adjacent file n _ (x@next :xs) = x: adjacent file (n+1) x xs | ^^^^ src/Language/Preprocessor/Unlit.hs:55:10: warning: [-Wunused-matches] Defined but not used: ‘file’ | 55 | adjacent file n _ [] = [] | ^^^^ src/Language/Preprocessor/Unlit.hs:55:15: warning: [-Wunused-matches] Defined but not used: ‘n’ [18 of 18] Compiling Language.Haskell.Exts | 55 | adjacent file n _ [] = [] | ^ src/Language/Preprocessor/Unlit.hs:69:22: warning: [GHC-63397] [-Wname-shadowing] This binding for ‘s’ shadows the existing binding bound at src/Language/Preprocessor/Unlit.hs:66:9 | 69 | lines' ('\^M':'\n':s) acc = acc [] : lines' s id -- DOS | ^ src/Language/Preprocessor/Unlit.hs:70:17: warning: [GHC-63397] [-Wname-shadowing] This binding for ‘s’ shadows the existing binding bound at src/Language/Preprocessor/Unlit.hs:66:9 | 70 | lines' ('\^M':s) acc = acc [] : lines' s id -- MacOS | ^ src/Language/Preprocessor/Unlit.hs:71:16: warning: [GHC-63397] [-Wname-shadowing] This binding for ‘s’ shadows the existing binding bound at src/Language/Preprocessor/Unlit.hs:66:9 | 71 | lines' ('\n':s) acc = acc [] : lines' s id -- Unix | ^ src/Language/Preprocessor/Unlit.hs:72:13: warning: [GHC-63397] [-Wname-shadowing] This binding for ‘s’ shadows the existing binding bound at src/Language/Preprocessor/Unlit.hs:66:9 | 72 | lines' (c:s) acc = lines' s (acc . (c:)) | ^ + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.lA4crs + umask 022 + cd /builddir/build/BUILD/ghc-haskell-src-exts-1.23.1-build + '[' /builddir/build/BUILD/ghc-haskell-src-exts-1.23.1-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/ghc-haskell-src-exts-1.23.1-build/BUILDROOT ++ dirname /builddir/build/BUILD/ghc-haskell-src-exts-1.23.1-build/BUILDROOT + mkdir -p /builddir/build/BUILD/ghc-haskell-src-exts-1.23.1-build + mkdir /builddir/build/BUILD/ghc-haskell-src-exts-1.23.1-build/BUILDROOT + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd haskell-src-exts-1.23.1 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup copy --destdir=/builddir/build/BUILD/ghc-haskell-src-exts-1.23.1-build/BUILDROOT Installing library in /builddir/build/BUILD/ghc-haskell-src-exts-1.23.1-build/BUILDROOT/usr/lib64/ghc-9.6.6/lib/haskell-src-exts-1.23.1 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup register --gen-pkg-config + '[' -d /usr/lib64/ghc-9.6.6/lib ']' + subsubdir=/lib + '[' -d haskell-src-exts-1.23.1.conf ']' + install -D --mode=0644 haskell-src-exts-1.23.1.conf /builddir/build/BUILD/ghc-haskell-src-exts-1.23.1-build/BUILDROOT/usr/lib64/ghc-9.6.6/lib/package.conf.d/haskell-src-exts-1.23.1.conf + '[' -d /usr/lib64/ghc-9.6.6/lib ']' + subsubdir=/lib + '[' '!' -f /builddir/build/BUILD/ghc-haskell-src-exts-1.23.1-build/BUILDROOT/usr/lib64/ghc-9.6.6/lib/package.conf.d/haskell-src-exts-1.23.1.conf ']' + rm -f ghc-haskell-src-exts.files ghc-haskell-src-exts-doc.files + touch ghc-haskell-src-exts.files ghc-haskell-src-exts-doc.files + for i in /builddir/build/BUILD/ghc-haskell-src-exts-1.23.1-build/BUILDROOT/usr/lib64/ghc-9.6.6${subsubdir}/libHShaskell-src-exts-1.23.1-*ghc9.6.6.so + '[' -x /builddir/build/BUILD/ghc-haskell-src-exts-1.23.1-build/BUILDROOT/usr/lib64/ghc-9.6.6/lib/libHShaskell-src-exts-1.23.1-AH4Ip6Ctvxv6HZmnCjNeVF-ghc9.6.6.so ']' + echo /builddir/build/BUILD/ghc-haskell-src-exts-1.23.1-build/BUILDROOT/usr/lib64/ghc-9.6.6/lib/libHShaskell-src-exts-1.23.1-AH4Ip6Ctvxv6HZmnCjNeVF-ghc9.6.6.so + pkgdir=/builddir/build/BUILD/ghc-haskell-src-exts-1.23.1-build/BUILDROOT/usr/lib64/ghc-9.6.6/lib/haskell-src-exts-1.23.1 + '[' -d /builddir/build/BUILD/ghc-haskell-src-exts-1.23.1-build/BUILDROOT/usr/lib64/ghc-9.6.6/lib/haskell-src-exts-1.23.1 ']' + find /builddir/build/BUILD/ghc-haskell-src-exts-1.23.1-build/BUILDROOT/usr/lib64/ghc-9.6.6/lib/haskell-src-exts-1.23.1 -type d -fprintf ghc-haskell-src-exts-devel.files '%%dir %p\n' -o '(' -name '*.p_hi' -o -name 'libHS*_p.a' ')' -fprint ghc-haskell-src-exts-prof.files -o -fprint ghc-haskell-src-exts-devel.files + ls /builddir/build/BUILD/ghc-haskell-src-exts-1.23.1-build/BUILDROOT/usr/lib64/ghc-9.6.6/lib/package.conf.d/haskell-src-exts-1.23.1.conf + haddock_dir=/usr/share/doc/ghc/html/libraries/haskell-src-exts-1.23.1 + '[' -d /builddir/build/BUILD/ghc-haskell-src-exts-1.23.1-build/BUILDROOT/usr/share/doc/ghc/html/libraries/haskell-src-exts-1.23.1 ']' + for i in ghc-haskell-src-exts.files ghc-haskell-src-exts-devel.files ghc-haskell-src-exts-doc.files ghc-haskell-src-exts-prof.files + '[' -f ghc-haskell-src-exts.files ']' + sed -i -e 's!/builddir/build/BUILD/ghc-haskell-src-exts-1.23.1-build/BUILDROOT!!g' ghc-haskell-src-exts.files + for i in ghc-haskell-src-exts.files ghc-haskell-src-exts-devel.files ghc-haskell-src-exts-doc.files ghc-haskell-src-exts-prof.files + '[' -f ghc-haskell-src-exts-devel.files ']' + sed -i -e 's!/builddir/build/BUILD/ghc-haskell-src-exts-1.23.1-build/BUILDROOT!!g' ghc-haskell-src-exts-devel.files + for i in ghc-haskell-src-exts.files ghc-haskell-src-exts-devel.files ghc-haskell-src-exts-doc.files ghc-haskell-src-exts-prof.files + '[' -f ghc-haskell-src-exts-doc.files ']' + sed -i -e 's!/builddir/build/BUILD/ghc-haskell-src-exts-1.23.1-build/BUILDROOT!!g' ghc-haskell-src-exts-doc.files + for i in ghc-haskell-src-exts.files ghc-haskell-src-exts-devel.files ghc-haskell-src-exts-doc.files ghc-haskell-src-exts-prof.files + '[' -f ghc-haskell-src-exts-prof.files ']' + sed -i -e 's!/builddir/build/BUILD/ghc-haskell-src-exts-1.23.1-build/BUILDROOT!!g' ghc-haskell-src-exts-prof.files deleting rpaths: + echo 'deleting rpaths:' + type chrpath ++ find /builddir/build/BUILD/ghc-haskell-src-exts-1.23.1-build/BUILDROOT -type f -executable -exec sh -c 'file {} | grep -q '\''dynamically linked'\''' ';' -print + for i in $(find /builddir/build/BUILD/ghc-haskell-src-exts-1.23.1-build/BUILDROOT -type f -executable -exec sh -c "file {} | grep -q 'dynamically linked'" \; -print) ++ chrpath /builddir/build/BUILD/ghc-haskell-src-exts-1.23.1-build/BUILDROOT/usr/lib64/ghc-9.6.6/lib/libHShaskell-src-exts-1.23.1-AH4Ip6Ctvxv6HZmnCjNeVF-ghc9.6.6.so ++ sed -e 's@^/builddir/build/BUILD/ghc-haskell-src-exts-1.23.1-build/BUILDROOT/usr/lib64/ghc-9.6.6/lib/libHShaskell-src-exts-1.23.1-AH4Ip6Ctvxv6HZmnCjNeVF-ghc9.6.6.so: R.*PATH=@@' + rpath=/usr/lib64/ghc-9.6.6/lib/x86_64-linux-ghc-9.6.6 + case "$rpath" in + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j6 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-determinism --brp -j6 /builddir/build/BUILD/ghc-haskell-src-exts-1.23.1-build/BUILDROOT /builddir/build/BUILD/ghc-haskell-src-exts-1.23.1-build/BUILDROOT/usr/lib64/ghc-9.6.6/lib/haskell-src-exts-1.23.1/libHShaskell-src-exts-1.23.1-AH4Ip6Ctvxv6HZmnCjNeVF.a: replacing with normalized version /builddir/build/BUILD/ghc-haskell-src-exts-1.23.1-build/BUILDROOT/usr/lib64/ghc-9.6.6/lib/haskell-src-exts-1.23.1/libHShaskell-src-exts-1.23.1-AH4Ip6Ctvxv6HZmnCjNeVF_p.a: replacing with normalized version Scanned 14 directories and 59 files, processed 2 inodes, 2 modified (2 replaced + 0 rewritten), 0 unsupported format, 0 errors Reading /builddir/build/BUILD/ghc-haskell-src-exts-1.23.1-build/SPECPARTS/rpm-debuginfo.specpart Processing files: ghc-haskell-src-exts-1.23.1-20.fc42.x86_64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.djdhas + umask 022 + cd /builddir/build/BUILD/ghc-haskell-src-exts-1.23.1-build + cd haskell-src-exts-1.23.1 + LICENSEDIR=/builddir/build/BUILD/ghc-haskell-src-exts-1.23.1-build/BUILDROOT/usr/share/licenses/ghc-haskell-src-exts + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILD/ghc-haskell-src-exts-1.23.1-build/BUILDROOT/usr/share/licenses/ghc-haskell-src-exts + cp -pr /builddir/build/BUILD/ghc-haskell-src-exts-1.23.1-build/haskell-src-exts-1.23.1/LICENSE /builddir/build/BUILD/ghc-haskell-src-exts-1.23.1-build/BUILDROOT/usr/share/licenses/ghc-haskell-src-exts + RPM_EC=0 ++ jobs -p + exit 0 Provides: ghc-haskell-src-exts = 1.23.1-20.fc42 ghc-haskell-src-exts(x86-64) = 1.23.1-20.fc42 libHShaskell-src-exts-1.23.1-AH4Ip6Ctvxv6HZmnCjNeVF-ghc9.6.6.so()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libHSarray-0.5.6.0-ghc9.6.6.so()(64bit) libHSbase-4.18.2.1-ghc9.6.6.so()(64bit) libHSdeepseq-1.4.8.1-ghc9.6.6.so()(64bit) libHSghc-bignum-1.3-ghc9.6.6.so()(64bit) libHSghc-prim-0.10.0-ghc9.6.6.so()(64bit) libHSpretty-1.1.3.6-ghc9.6.6.so()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_ABI_DT_RELR)(64bit) libgmp.so.10()(64bit) libm.so.6()(64bit) rtld(GNU_HASH) Processing files: ghc-haskell-src-exts-devel-1.23.1-20.fc42.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.KUF4mH + umask 022 + cd /builddir/build/BUILD/ghc-haskell-src-exts-1.23.1-build + cd haskell-src-exts-1.23.1 + DOCDIR=/builddir/build/BUILD/ghc-haskell-src-exts-1.23.1-build/BUILDROOT/usr/share/doc/ghc-haskell-src-exts-devel + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILD/ghc-haskell-src-exts-1.23.1-build/BUILDROOT/usr/share/doc/ghc-haskell-src-exts-devel + cp -pr /builddir/build/BUILD/ghc-haskell-src-exts-1.23.1-build/haskell-src-exts-1.23.1/CHANGELOG /builddir/build/BUILD/ghc-haskell-src-exts-1.23.1-build/BUILDROOT/usr/share/doc/ghc-haskell-src-exts-devel + cp -pr /builddir/build/BUILD/ghc-haskell-src-exts-1.23.1-build/haskell-src-exts-1.23.1/README.md /builddir/build/BUILD/ghc-haskell-src-exts-1.23.1-build/BUILDROOT/usr/share/doc/ghc-haskell-src-exts-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: ghc-devel(haskell-src-exts-1.23.1-AH4Ip6Ctvxv6HZmnCjNeVF) ghc-haskell-src-exts-devel = 1.23.1-20.fc42 ghc-haskell-src-exts-devel(x86-64) = 1.23.1-20.fc42 ghc-haskell-src-exts-static = 1.23.1-20.fc42 ghc-haskell-src-exts-static(x86-64) = 1.23.1-20.fc42 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ghc-devel(array-0.5.6.0) ghc-devel(base-4.18.2.1) ghc-devel(ghc-prim-0.10.0) ghc-devel(pretty-1.1.3.6) Processing files: ghc-haskell-src-exts-doc-1.23.1-20.fc42.noarch RPM build errors: error: Empty %files file /builddir/build/BUILD/ghc-haskell-src-exts-1.23.1-build/haskell-src-exts-1.23.1/ghc-haskell-src-exts-doc.files Empty %files file /builddir/build/BUILD/ghc-haskell-src-exts-1.23.1-build/haskell-src-exts-1.23.1/ghc-haskell-src-exts-doc.files Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 390bd3c9d06442fbaa0431947c9f2916 -D /var/lib/mock/f42-build-55850884-6539266/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.iivovggg:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin \'--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"\' \'--setenv=PS1= \\s-\\v\\$ \' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c \'/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/ghc-haskell-src-exts.spec\'\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.13/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.13/site-packages/mockbuild/util.py", line 610, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M 390bd3c9d06442fbaa0431947c9f2916 -D /var/lib/mock/f42-build-55850884-6539266/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.iivovggg:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin '--setenv=PROMPT_COMMAND=printf "\033]0;\007"' '--setenv=PS1= \s-\v\$ ' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/ghc-haskell-src-exts.spec'