Mock Version: 6.1 Mock Version: 6.1 Mock Version: 6.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/ghc-haskell-src-exts.spec'], chrootPath='/var/lib/mock/f43-build-58965346-6569507/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.8ramihs3:/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.8ramihs3:/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', 'd63dda0c17f64c3084af43d90daa350a', '-D', '/var/lib/mock/f43-build-58965346-6569507/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.8ramihs3:/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 aarch64 --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: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1740268800 Wrote: /builddir/build/SRPMS/ghc-haskell-src-exts-1.23.1-22.fc43.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/ghc-haskell-src-exts.spec'], chrootPath='/var/lib/mock/f43-build-58965346-6569507/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.8ramihs3:/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.8ramihs3:/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', 'e57f6249c2894b1b9177060794f7aa25', '-D', '/var/lib/mock/f43-build-58965346-6569507/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.8ramihs3:/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 aarch64 --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: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1740268800 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.P4PVT0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.r8wCHz + 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.yRC0e5 + 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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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 + echo '==== Build haskell-src-exts-1.23.1 ====' + '[' -f Setup.hs -o -f Setup.lhs ']' + '[' -d /usr/lib64/ghc-9.8.4/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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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.8.4/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-mbranch-protection=standard -optc-fasynchronous-unwind-tables -optc-fstack-clash-protection -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 -j12 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 src/Language/Haskell/Exts/Extension.hs:690:8: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Prelude, but defined in GHC.List): "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty." | 690 | [ (head str, (str, 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: [GHC-22705] [-Wnoncanonical-monad-instances] Noncanonical ‘(>>)’ definition detected in the instance declaration for ‘Monad (DocM s)’. ‘(>>)’ will eventually be removed in favour of ‘(*>)’ Suggested fix: 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: [GHC-22705] [-Wnoncanonical-monad-instances] Noncanonical ‘return’ definition detected in the instance declaration for ‘Monad (DocM s)’. ‘return’ will eventually be removed in favour of ‘pure’ Suggested fix: 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/Comments.hs:146:40: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Prelude, but defined in GHC.List): "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty." | 146 | let end = srcSpanEnd $ srcInfoSpan $ head srcs | ^^^^ src/Language/Haskell/Exts/ParseMonad.hs:101:3: warning: [GHC-22705] [-Wnoncanonical-monad-instances] Noncanonical ‘return’ definition detected in the instance declaration for ‘Monad ParseResult’. ‘return’ will eventually be removed in favour of ‘pure’ Suggested fix: 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: [GHC-22705] [-Wnoncanonical-monad-instances] Noncanonical ‘pure = return’ definition detected in the instance declaration for ‘Applicative P’. Suggested fix: 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: [GHC-22705] [-Wnoncanonical-monad-instances] Noncanonical ‘return’ definition detected in the instance declaration for ‘Monad P’. ‘return’ will eventually be removed in favour of ‘pure’ Suggested fix: 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:279:36: warning: [GHC-63394] [-Wx-partial] In the use of ‘tail’ (imported from Prelude, but defined in GHC.List): "This is a partial function, it throws an error on empty lists. Replace it with drop 1, or use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty." | 279 | removeSuffix l = reverse $ tail $ dropWhile ('.'/=) $ reverse l | ^^^^ src/Language/Haskell/Exts/ParseMonad.hs:357:5: warning: [GHC-22705] [-Wnoncanonical-monad-instances] Noncanonical ‘pure = return’ definition detected in the instance declaration for ‘Applicative (Lex r)’. Suggested fix: 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: [GHC-22705] [-Wnoncanonical-monad-instances] Noncanonical ‘return’ definition detected in the instance declaration for ‘Monad (Lex r)’. ‘return’ will eventually be removed in favour of ‘pure’ Suggested fix: 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: [GHC-22705] [-Wnoncanonical-monad-instances] Noncanonical ‘(>>)’ definition detected in the instance declaration for ‘Monad (Lex r)’. ‘(>>)’ will eventually be removed in favour of ‘(*>)’ Suggested fix: 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) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [10 of 18] Compiling Language.Haskell.Exts.ParseUtils 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 src/Language/Haskell/Exts/InternalLexer.hs:392:18: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Prelude, but defined in GHC.List): "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty." | 392 | if null s || head s /= c then fail msg else discard 1 | ^^^^ [12 of 18] Compiling Language.Haskell.Exts.Lexer [13 of 18] Compiling Language.Haskell.Exts.InternalParser src/Language/Haskell/Exts/InternalLexer.hs:1112:32: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Prelude, but defined in GHC.List): "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty." | 1112 | not (isHSymbol $ head cs) && | ^^^^ src/Language/Haskell/Exts/InternalLexer.hs:1113:30: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Prelude, but defined in GHC.List): "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty." | 1113 | not (isIdent $ head cs) && MagicHash `elem` exts -> do | ^^^^ [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: [GHC-22705] [-Wnoncanonical-monad-instances] Noncanonical ‘pure = return’ definition detected in the instance declaration for ‘Applicative EP’. Suggested fix: 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: [GHC-22705] [-Wnoncanonical-monad-instances] Noncanonical ‘return’ definition detected in the instance declaration for ‘Monad EP’. ‘return’ will eventually be removed in favour of ‘pure’ Suggested fix: 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:635:45: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Prelude, but defined in GHC.List): "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty." | 635 | maybeEP (\kd -> printStringAt (pos (head (srcInfoPoints l))) "::" >> exactPC kd) mk | ^^^^ 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:763:45: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Prelude, but defined in GHC.List): "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty." | 763 | maybeEP (\bs -> printStringAt (pos (head pts)) "where" >> exactPC bs) mbs | ^^^^ src/Language/Haskell/Exts/ExactPrint.hs:1198:26: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Prelude, but defined in GHC.List): "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty." | 1198 | [] -> exactPC $ head ihs | ^^^^ src/Language/Haskell/Exts/ExactPrint.hs:1222:49: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Prelude, but defined in GHC.List): "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty." | 1222 | maybeEP (\kd -> printStringAt (pos (head pts)) "::" >> exactPC kd) mk | ^^^^ 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 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Language/Haskell/Exts/ExactPrint.hs:1850:41: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Prelude, but defined in GHC.List): "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty." | 1850 | maybeEP (\bs -> printStringAt (pos (head (srcInfoPoints l))) "where" >> exactPC bs) mbs | ^^^^ src/Language/Haskell/Exts/ExactPrint.hs:1863:42: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Prelude, but defined in GHC.List): "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty." | 1863 | maybeEP (\bds -> printStringAt (pos (head pts)) "where" >> exactPC bds) mbinds | ^^^^ src/Language/Haskell/Exts/ExactPrint.hs:1875:42: warning: [GHC-63394] [-Wx-partial] In the use of[ ‘head’ (imported from Prelude, but defined in GHC.List): "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty." | 1875 | maybeEP (\bds -> printStringAt (pos (head whPt)) "where" >> exactPC bds) mbinds | ^^^^ 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: [GHC-40910] [-Wunused-matches] Defined but not used: ‘x’ | 27 | classify (x:xs) = Comment:classify xs | ^ src/Language/Preprocessor/Unlit.hs:46:17: warning: [GHC-40910] [-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: [GHC-40910] [-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: [GHC-40910] [-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: [GHC-40910] [-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: [GHC-40910] [-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: [GHC-40910] [-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: [GHC-40910] [-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: [GHC-40910] [-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: [GHC-40910] [-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: [GHC-40910] [-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: [GHC-40910] [-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: [GHC-40910] [-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: [GHC-40910] [-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: [GHC-40910] [-Wunused-matches] Defined but not used: ‘file’ | 55 | adjacent file n _ [] = [] | ^^^^ src/Language/Preprocessor/Unlit.hs:55:15: warning: [GHC-40910] [-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 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:)) | ^ 18] Compiling Language.Haskell.Exts [ 1 of 18] Compiling Language.Haskell.Exts.Extension src/Language/Haskell/Exts/Extension.hs:690:8: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Prelude, but defined in GHC.List): "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty." | 690 | [ (head str, (str, 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: [GHC-22705] [-Wnoncanonical-monad-instances] Noncanonical ‘(>>)’ definition detected in the instance declaration for ‘Monad (DocM s)’. ‘(>>)’ will eventually be removed in favour of ‘(*>)’ Suggested fix: 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: [GHC-22705] [-Wnoncanonical-monad-instances] Noncanonical ‘return’ definition detected in the instance declaration for ‘Monad (DocM s)’. ‘return’ will eventually be removed in favour of ‘pure’ Suggested fix: 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 src/Language/Haskell/Exts/Comments.hs:146:40: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Prelude, but defined in[ 9 of 18] Compiling Language.Haskell.Exts.ParseMonad GHC.List): "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty." | 146 | let end = srcSpanEnd $ srcInfoSpan $ head srcs | ^^^^ src/Language/Haskell/Exts/ParseMonad.hs:101:3: warning: [GHC-22705] [-Wnoncanonical-monad-instances] Noncanonical ‘return’ definition detected in the instance declaration for ‘Monad ParseResult’. ‘return’ will eventually be removed in favour of ‘pure’ Suggested fix: 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: [GHC-22705] [-Wnoncanonical-monad-instances] Noncanonical ‘pure = return’ definition detected in the instance declaration for ‘Applicative P’. Suggested fix: 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: [GHC-22705] [-Wnoncanonical-monad-instances] Noncanonical ‘return’ definition detected in the instance declaration for ‘Monad P’. ‘return’ will eventually be removed in favour of ‘pure’ Suggested fix: 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:279:36: warning: [GHC-63394] [-Wx-partial] In the use of ‘tail’ (imported from Prelude, but defined in GHC.List): "This is a partial function, it throws an error on empty lists. Replace it with drop 1, or use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty." | 279 | removeSuffix l = reverse $ tail $ dropWhile ('.'/=) $ reverse l | ^^^^ src/Language/Haskell/Exts/ParseMonad.hs:357:5: warning: [GHC-22705] [-Wnoncanonical-monad-instances] Noncanonical ‘pure = return’ definition detected in the instance declaration for ‘Applicative (Lex r)’. Suggested fix: 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: [GHC-22705] [-Wnoncanonical-monad-instances] Noncanonical ‘return’ definition detected in the instance declaration for ‘Monad (Lex r)’. ‘return’ will eventually be removed in favour of ‘pure’ Suggested fix: 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: [GHC-22705] [-Wnoncanonical-monad-instances] Noncanonical ‘(>>)’ definition detected in the instance declaration for ‘Monad (Lex r)’. ‘(>>)’ will eventually be removed in favour of ‘(*>)’ Suggested fix: 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[10 of 18] Compiling Language.Haskell.Exts.ParseUtils ‘[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 src/Language/Haskell/Exts/InternalLexer.hs:392:18: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Prelude, but defined in GHC.List): "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty." | 392 | if null s || head s /= c then fail msg else discard 1 | ^^^^ src/Language/Haskell/Exts/InternalLexer.hs:1112:32: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Prelude, but defined in GHC.List): "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty." | 1112 | not (isHSymbol $ head cs) && | ^^^^ src/Language/Haskell/Exts/InternalLexer.hs:1113:30: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Prelude, but defined in GHC.List): "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty." | 1113 | not (isIdent $ head cs) && MagicHash `elem` exts -> do | ^^^^ [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: [GHC-22705] [-Wnoncanonical-monad-instances] Noncanonical ‘pure = return’ definition detected in the instance declaration for ‘Applicative EP’. Suggested fix: 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: [GHC-22705] [-Wnoncanonical-monad-instances] Noncanonical ‘return’ definition detected in the instance declaration for ‘Monad EP’. ‘return’ will eventually be removed in favour of ‘pure’ Suggested fix: 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:635:45: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Prelude, but defined in GHC.List): "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty." | 635 | maybeEP (\kd -> printStringAt (pos (head (srcInfoPoints l))) "::" >> exactPC kd) mk | ^^^^ 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:763:45: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Prelude, but defined in GHC.List): "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty." | 763 | maybeEP (\bs -> printStringAt (pos (head pts)) "where" >> exactPC bs) mbs | ^^^^ src/Language/Haskell/Exts/ExactPrint.hs:1198:26: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Prelude, but defined in GHC.List): "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty." | 1198 | [] -> exactPC $ head ihs | ^^^^ src/Language/Haskell/Exts/ExactPrint.hs:1222:49: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Prelude, but defined in GHC.List): "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty." | 1222 | maybeEP (\kd -> printStringAt (pos (head pts)) "::" >> exactPC kd) mk | ^^^^ 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 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Language/Haskell/Exts/ExactPrint.hs:1850:41: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Prelude, but defined in GHC.List): "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty." | 1850 | maybeEP (\bs -> printStringAt (pos (head (srcInfoPoints l))) "where" >> exactPC bs) mbs | ^^^^ src/Language/Haskell/Exts/ExactPrint.hs:1863:42: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Prelude, but defined in GHC.List): "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty." | 1863 | maybeEP (\bds -> printStringAt (pos (head pts)) "where" >> exactPC bds) mbinds | ^^^^ src/Language/Haskell/Exts/ExactPrint.hs:1875:42: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Prelude, but defined in GHC.List): "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty." | 1875 | maybeEP (\bds -> printStringAt (pos (head whPt)) "where" >> exactPC bds) mbinds | ^^^^ [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: [GHC-40910] [-Wunused-matches] Defined but not used: ‘x’ | 27 | classify (x:xs) = Comment:classify xs | ^ src/Language/Preprocessor/Unlit.hs:46:17: warning: [GHC-40910] [-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: [GHC-40910] [-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: [GHC-40910] [-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: [GHC-40910] [-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: [GHC-40910] [-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: [GHC-40910] [-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: [GHC-40910] [-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: [GHC-40910] [-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: [GHC-40910] [-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: [GHC-40910] [-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: [GHC-40910] [-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: [GHC-40910] [-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: [GHC-40910] [-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: [GHC-40910] [-Wunused-matches] Defined but not used: ‘file’ | 55 | adjacent file n _ [] = [] | ^^^^ src/Language/Preprocessor/Unlit.hs:55:15: warning: [GHC-40910] [-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] 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:)) | ^ Compiling Language.Haskell.Exts + '[' -n dist/build/libHShaskell-src-exts-1.23.1-3NTSL0hWOIzFUQqiEjxlSj-ghc9.8.4.so ']' + '[' -x Setup ']' + LANG=C.utf8 + ./Setup haddock --html --hyperlink-source --hoogle Preprocessing library for haskell-src-exts-1.23.1.. Running Haddock on library for haskell-src-exts-1.23.1.. Warning: The documentation for the following packages are not installed. No links will be generated to these packages: array-0.5.8.0, base-4.19.2.0, deepseq-1.5.1.0, ghc-bignum-1.3, ghc-prim-0.11.0, pretty-1.1.3.6 Warning: --source-* options are ignored when --hyperlinked-source is enabled. [ 1 of 18] Compiling Language.Haskell.Exts.Extension ( src/Language/Haskell/Exts/Extension.hs, nothing ) src/Language/Haskell/Exts/Extension.hs:690:8: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Prelude, but defined in GHC.List): "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty." | 690 | [ (head str, (str, extension)) | ^^^^ [ 2 of 18] Compiling Language.Haskell.Exts.ExtScheme ( src/Language/Haskell/Exts/ExtScheme.hs, nothing ) [ 3 of 18] Compiling Language.Haskell.Exts.SrcLoc ( src/Language/Haskell/Exts/SrcLoc.hs, nothing ) [ 4 of 18] Compiling Language.Haskell.Exts.Syntax ( src/Language/Haskell/Exts/Syntax.hs, nothing ) [ 5 of 18] Compiling Language.Haskell.Exts.ParseSyntax ( src/Language/Haskell/Exts/ParseSyntax.hs, nothing ) [ 6 of 18] Compiling Language.Haskell.Exts.Pretty ( src/Language/Haskell/Exts/Pretty.hs, nothing ) src/Language/Haskell/Exts/Pretty.hs:119:9: warning: [GHC-22705] [-Wnoncanonical-monad-instances] Noncanonical ‘(>>)’ definition detected in the instance declaration for ‘Monad (DocM s)’. ‘(>>)’ will eventually be removed in favour of ‘(*>)’ Suggested fix: 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: [GHC-22705] [-Wnoncanonical-monad-instances] Noncanonical ‘return’ definition detected in the instance declaration for ‘Monad (DocM s)’. ‘return’ will eventually be removed in favour of ‘pure’ Suggested fix: 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 ( src/Language/Haskell/Exts/Fixity.hs, nothing ) [ 8 of 18] Compiling Language.Haskell.Exts.Comments ( src/Language/Haskell/Exts/Comments.hs, nothing ) src/Language/Haskell/Exts/Comments.hs:146:40: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Prelude, but defined in GHC.List): "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty." | 146 | let end = srcSpanEnd $ srcInfoSpan $ head srcs | ^^^^ [ 9 of 18] Compiling Language.Haskell.Exts.ParseMonad ( src/Language/Haskell/Exts/ParseMonad.hs, nothing ) src/Language/Haskell/Exts/ParseMonad.hs:101:3: warning: [GHC-22705] [-Wnoncanonical-monad-instances] Noncanonical ‘return’ definition detected in the instance declaration for ‘Monad ParseResult’. ‘return’ will eventually be removed in favour of ‘pure’ Suggested fix: 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: [GHC-22705] [-Wnoncanonical-monad-instances] Noncanonical ‘pure = return’ definition detected in the instance declaration for ‘Applicative P’. Suggested fix: 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: [GHC-22705] [-Wnoncanonical-monad-instances] Noncanonical ‘return’ definition detected in the instance declaration for ‘Monad P’. ‘return’ will eventually be removed in favour of ‘pure’ Suggested fix: 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:279:36: warning: [GHC-63394] [-Wx-partial] In the use of ‘tail’ (imported from Prelude, but defined in GHC.List): "This is a partial function, it throws an error on empty lists. Replace it with drop 1, or use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty." | 279 | removeSuffix l = reverse $ tail $ dropWhile ('.'/=) $ reverse l | ^^^^ src/Language/Haskell/Exts/ParseMonad.hs:357:5: warning: [GHC-22705] [-Wnoncanonical-monad-instances] Noncanonical ‘pure = return’ definition detected in the instance declaration for ‘Applicative (Lex r)’. Suggested fix: 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: [GHC-22705] [-Wnoncanonical-monad-instances] Noncanonical ‘return’ definition detected in the instance declaration for ‘Monad (Lex r)’. ‘return’ will eventually be removed in favour of ‘pure’ Suggested fix: 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: [GHC-22705] [-Wnoncanonical-monad-instances] Noncanonical ‘(>>)’ definition detected in the instance declaration for ‘Monad (Lex r)’. ‘(>>)’ will eventually be removed in favour of ‘(*>)’ Suggested fix: 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) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [10 of 18] Compiling Language.Haskell.Exts.ParseUtils ( src/Language/Haskell/Exts/ParseUtils.hs, nothing ) [11 of 18] Compiling Language.Haskell.Exts.InternalLexer ( src/Language/Haskell/Exts/InternalLexer.hs, nothing ) src/Language/Haskell/Exts/InternalLexer.hs:392:18: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Prelude, but defined in GHC.List): "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty." | 392 | if null s || head s /= c then fail msg else discard 1 | ^^^^ src/Language/Haskell/Exts/InternalLexer.hs:1112:32: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Prelude, but defined in GHC.List): "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty." | 1112 | not (isHSymbol $ head cs) && | ^^^^ src/Language/Haskell/Exts/InternalLexer.hs:1113:30: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Prelude, but defined in GHC.List): "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty." | 1113 | not (isIdent $ head cs) && MagicHash `elem` exts -> do | ^^^^ [12 of 18] Compiling Language.Haskell.Exts.Lexer ( src/Language/Haskell/Exts/Lexer.hs, nothing ) [13 of 18] Compiling Language.Haskell.Exts.InternalParser ( dist/build/Language/Haskell/Exts/InternalParser.hs, nothing ) [14 of 18] Compiling Language.Haskell.Exts.Parser ( src/Language/Haskell/Exts/Parser.hs, nothing ) [15 of 18] Compiling Language.Haskell.Exts.ExactPrint ( src/Language/Haskell/Exts/ExactPrint.hs, nothing ) src/Language/Haskell/Exts/ExactPrint.hs:50:3: warning: [GHC-22705] [-Wnoncanonical-monad-instances] Noncanonical ‘pure = return’ definition detected in the instance declaration for ‘Applicative EP’. Suggested fix: 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: [GHC-22705] [-Wnoncanonical-monad-instances] Noncanonical ‘return’ definition detected in the instance declaration for ‘Monad EP’. ‘return’ will eventually be removed in favour of ‘pure’ Suggested fix: 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:635:45: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Prelude, but defined in GHC.List): "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty." | 635 | maybeEP (\kd -> printStringAt (pos (head (srcInfoPoints l))) "::" >> exactPC kd) mk | ^^^^ src/Language/Haskell/Exts/ExactPrint.hs:763:45: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Prelude, but defined in GHC.List): "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty." | 763 | maybeEP (\bs -> printStringAt (pos (head pts)) "where" >> exactPC bs) mbs | ^^^^ src/Language/Haskell/Exts/ExactPrint.hs:1198:26: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Prelude, but defined in GHC.List): "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty." | 1198 | [] -> exactPC $ head ihs | ^^^^ src/Language/Haskell/Exts/ExactPrint.hs:1222:49: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Prelude, but defined in GHC.List): "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty." | 1222 | maybeEP (\kd -> printStringAt (pos (head pts)) "::" >> exactPC kd) mk | ^^^^ src/Language/Haskell/Exts/ExactPrint.hs:1850:41: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Prelude, but defined in GHC.List): "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty." | 1850 | maybeEP (\bs -> printStringAt (pos (head (srcInfoPoints l))) "where" >> exactPC bs) mbs | ^^^^ src/Language/Haskell/Exts/ExactPrint.hs:1863:42: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Prelude, but defined in GHC.List): "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty." | 1863 | maybeEP (\bds -> printStringAt (pos (head pts)) "where" >> exactPC bds) mbinds | ^^^^ src/Language/Haskell/Exts/ExactPrint.hs:1875:42: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Prelude, but defined in GHC.List): "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty." | 1875 | maybeEP (\bds -> printStringAt (pos (head whPt)) "where" >> exactPC bds) mbinds | ^^^^ [16 of 18] Compiling Language.Haskell.Exts.Build ( src/Language/Haskell/Exts/Build.hs, nothing ) [17 of 18] Compiling Language.Preprocessor.Unlit ( src/Language/Preprocessor/Unlit.hs, nothing ) 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: [GHC-40910] [-Wunused-matches] Defined but not used: ‘x’ | 27 | classify (x:xs) = Comment:classify xs | ^ src/Language/Preprocessor/Unlit.hs:46:17: warning: [GHC-40910] [-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: [GHC-40910] [-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: [GHC-40910] [-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: [GHC-40910] [-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: [GHC-40910] [-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: [GHC-40910] [-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: [GHC-40910] [-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: [GHC-40910] [-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: [GHC-40910] [-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: [GHC-40910] [-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: [GHC-40910] [-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: [GHC-40910] [-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: [GHC-40910] [-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: [GHC-40910] [-Wunused-matches] Defined but not used: ‘file’ | 55 | adjacent file n _ [] = [] | ^^^^ src/Language/Preprocessor/Unlit.hs:55:15: warning: [GHC-40910] [-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 | ^ 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:)) | ^ [18 of 18] Compiling Language.Haskell.Exts ( src/Language/Haskell/Exts.hs, nothing ) Haddock coverage: Warning: 'capi' is out of scope. If you qualify the identifier, haddock can try to link it anyway. 65% ( 13 / 20) in 'Language.Haskell.Exts.Extension' Missing documentation for: Language (src/Language/Haskell/Exts/Extension.hs:86) knownLanguages (src/Language/Haskell/Exts/Extension.hs:106) classifyLanguage (src/Language/Haskell/Exts/Extension.hs:109) prettyLanguage (src/Language/Haskell/Exts/Extension.hs:115) KnownExtension (src/Language/Haskell/Exts/Extension.hs:135) ghcDefault (src/Language/Haskell/Exts/Extension.hs:647) toExtensionList (src/Language/Haskell/Exts/Extension.hs:726) Warning: 'SrcSpanInfo' is ambiguous. It is defined * at src/Language/Haskell/Exts/SrcLoc.hs:98:20 * at src/Language/Haskell/Exts/SrcLoc.hs:98: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/Language/Haskell/Exts/SrcLoc.hs:98:1 Warning: 'SrcSpan' is ambiguous. It is defined * at src/Language/Haskell/Exts/SrcLoc.hs:42:16 * at src/Language/Haskell/Exts/SrcLoc.hs:42: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/Language/Haskell/Exts/SrcLoc.hs:42:1 Warning: 'SrcInfoSpan' is out of scope. If you qualify the identifier, haddock can try to link it anyway. 87% ( 21 / 24) in 'Language.Haskell.Exts.SrcLoc' Missing documentation for: showInt (src/Language/Haskell/Exts/SrcLoc.hs:22) noLoc (src/Language/Haskell/Exts/SrcLoc.hs:39) spanSize (src/Language/Haskell/Exts/SrcLoc.hs:87) Warning: 'forall' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'FieldDecl' is ambiguous. It is defined * at src/Language/Haskell/Exts/Syntax.hs:544:20 * at src/Language/Haskell/Exts/Syntax.hs:544: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/Language/Haskell/Exts/Syntax.hs:544:1 65% ( 99 /152) in 'Language.Haskell.Exts.Syntax' Missing documentation for: PatternSynDirection (src/Language/Haskell/Exts/Syntax.hs:346) ResultSig (src/Language/Haskell/Exts/Syntax.hs:389) Unpackedness (src/Language/Haskell/Exts/Syntax.hs:605) Role (src/Language/Haskell/Exts/Syntax.hs:373) MaybePromotedName (src/Language/Haskell/Exts/Syntax.hs:655) prelude_mod (src/Language/Haskell/Exts/Syntax.hs:1010) main_mod (src/Language/Haskell/Exts/Syntax.hs:1011) main_name (src/Language/Haskell/Exts/Syntax.hs:1014) unit_con_name (src/Language/Haskell/Exts/Syntax.hs:1017) tuple_con_name (src/Language/Haskell/Exts/Syntax.hs:1020) list_con_name (src/Language/Haskell/Exts/Syntax.hs:1023) list_cons_name (src/Language/Haskell/Exts/Syntax.hs:1026) unboxed_singleton_con_name (src/Language/Haskell/Exts/Syntax.hs:1029) unit_con (src/Language/Haskell/Exts/Syntax.hs:1032) tuple_con (src/Language/Haskell/Exts/Syntax.hs:1035) unboxed_singleton_con (src/Language/Haskell/Exts/Syntax.hs:1038) as_name (src/Language/Haskell/Exts/Syntax.hs:1041) qualified_name (src/Language/Haskell/Exts/Syntax.hs:1042) hiding_name (src/Language/Haskell/Exts/Syntax.hs:1043) minus_name (src/Language/Haskell/Exts/Syntax.hs:1044) bang_name (src/Language/Haskell/Exts/Syntax.hs:1045) dot_name (src/Language/Haskell/Exts/Syntax.hs:1046) star_name (src/Language/Haskell/Exts/Syntax.hs:1047) export_name (src/Language/Haskell/Exts/Syntax.hs:1056) safe_name (src/Language/Haskell/Exts/Syntax.hs:1057) unsafe_name (src/Language/Haskell/Exts/Syntax.hs:1058) interruptible_name (src/Language/Haskell/Exts/Syntax.hs:1059) threadsafe_name (src/Language/Haskell/Exts/Syntax.hs:1060) stdcall_name (src/Language/Haskell/Exts/Syntax.hs:1061) ccall_name (src/Language/Haskell/Exts/Syntax.hs:1062) cplusplus_name (src/Language/Haskell/Exts/Syntax.hs:1063) dotnet_name (src/Language/Haskell/Exts/Syntax.hs:1064) jvm_name (src/Language/Haskell/Exts/Syntax.hs:1065) js_name (src/Language/Haskell/Exts/Syntax.hs:1066) javascript_name (src/Language/Haskell/Exts/Syntax.hs:1067) capi_name (src/Language/Haskell/Exts/Syntax.hs:1068) forall_name (src/Language/Haskell/Exts/Syntax.hs:1069) family_name (src/Language/Haskell/Exts/Syntax.hs:1070) role_name (src/Language/Haskell/Exts/Syntax.hs:1071) hole_name (src/Language/Haskell/Exts/Syntax.hs:1050) stock_name (src/Language/Haskell/Exts/Syntax.hs:1072) anyclass_name (src/Language/Haskell/Exts/Syntax.hs:1073) via_name (src/Language/Haskell/Exts/Syntax.hs:1074) unit_tycon_name (src/Language/Haskell/Exts/Syntax.hs:1077) fun_tycon_name (src/Language/Haskell/Exts/Syntax.hs:1078) list_tycon_name (src/Language/Haskell/Exts/Syntax.hs:1079) tuple_tycon_name (src/Language/Haskell/Exts/Syntax.hs:1083) unboxed_singleton_tycon_name (src/Language/Haskell/Exts/Syntax.hs:1080) unit_tycon (src/Language/Haskell/Exts/Syntax.hs:1086) fun_tycon (src/Language/Haskell/Exts/Syntax.hs:1087) list_tycon (src/Language/Haskell/Exts/Syntax.hs:1088) tuple_tycon (src/Language/Haskell/Exts/Syntax.hs:1092) unboxed_singleton_tycon (src/Language/Haskell/Exts/Syntax.hs:1089) Warning: 'PPHsMode' is ambiguous. It is defined * at src/Language/Haskell/Exts/Pretty.hs:63:17 * at src/Language/Haskell/Exts/Pretty.hs:63: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/Language/Haskell/Exts/Pretty.hs:63:1 Warning: Language.Haskell.Exts.Pretty: Couldn't find .haddock for export Style Warning: Language.Haskell.Exts.Pretty: Couldn't find .haddock for export style Warning: Language.Haskell.Exts.Pretty: Couldn't find .haddock for export Mode 77% ( 14 / 18) in 'Language.Haskell.Exts.Pretty' Missing documentation for: Style style Mode Indent (src/Language/Haskell/Exts/Pretty.hs:58) 75% ( 9 / 12) in 'Language.Haskell.Exts.Fixity' Missing documentation for: infix_ (src/Language/Haskell/Exts/Fixity.hs:188) infixl_ (src/Language/Haskell/Exts/Fixity.hs:187) infixr_ (src/Language/Haskell/Exts/Fixity.hs:186) Warning: 'Module' is ambiguous. It is defined * at src/Language/Haskell/Exts/Syntax.hs:187:7 * at src/Language/Haskell/Exts/Syntax.hs:186: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/Language/Haskell/Exts/Syntax.hs:186:1 Warning: 'SrcSpanInfo' is ambiguous. It is defined * at src/Language/Haskell/Exts/SrcLoc.hs:98:20 * at src/Language/Haskell/Exts/SrcLoc.hs:98: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/Language/Haskell/Exts/SrcLoc.hs:98:1 Warning: 'Comment' is ambiguous. It is defined * at src/Language/Haskell/Exts/Comments.hs:52:16 * at src/Language/Haskell/Exts/Comments.hs:52: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/Language/Haskell/Exts/Comments.hs:52:1 100% ( 4 / 4) in 'Language.Haskell.Exts.Comments' Warning: 'ParseMode' is ambiguous. It is defined * at src/Language/Haskell/Exts/ParseMonad.hs:147:18 * at src/Language/Haskell/Exts/ParseMonad.hs:147: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/Language/Haskell/Exts/ParseMonad.hs:147:1 Warning: 'Prelude' is out of scope. If you qualify the identifier, haddock can try to link it anyway. 66% ( 4 / 6) in 'Language.Haskell.Exts.Lexer' Missing documentation for: Token (src/Language/Haskell/Exts/InternalLexer.hs:37) showToken (src/Language/Haskell/Exts/InternalLexer.hs:1320) Warning: 'SrcSpanInfo' is ambiguous. It is defined * at src/Language/Haskell/Exts/SrcLoc.hs:98:20 * at src/Language/Haskell/Exts/SrcLoc.hs:98: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/Language/Haskell/Exts/SrcLoc.hs:98:1 Warning: 'ParseMode' is ambiguous. It is defined * at src/Language/Haskell/Exts/ParseMonad.hs:147:18 * at src/Language/Haskell/Exts/ParseMonad.hs:147: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/Language/Haskell/Exts/ParseMonad.hs:147:1 93% ( 42 / 45) in 'Language.Haskell.Exts.Parser' Missing documentation for: unListOf (src/Language/Haskell/Exts/Parser.hs:250) PragmasAndModuleHead (src/Language/Haskell/Exts/Parser.hs:192) ModuleHeadAndImports (src/Language/Haskell/Exts/Parser.hs:212) 66% ( 2 / 3) in 'Language.Haskell.Exts.ExactPrint' Missing documentation for: ExactP (src/Language/Haskell/Exts/ExactPrint.hs:224) 100% ( 49 / 49) in 'Language.Haskell.Exts.Build' 88% ( 23 / 26) in 'Language.Haskell.Exts' Missing documentation for: Token (src/Language/Haskell/Exts/InternalLexer.hs:37) parseFileWithComments (src/Language/Haskell/Exts.hs:75) parseFileContentsWithComments (src/Language/Haskell/Exts.hs:116) Warning: Language.Haskell.Exts.Extension: could not find link destinations for: - GHC.Enum.enumFrom - GHC.Enum.enumFromThen - GHC.Enum.enumFromTo - GHC.Enum.enumFromThenTo - GHC.Classes.== - GHC.Classes.>= - GHC.Enum.Bounded - GHC.Enum.Enum - GHC.Classes.Eq - GHC.Base.Monad - Data.Data.Data - GHC.Classes.Ord - GHC.Read.Read - GHC.Show.Show - Data.Typeable.Internal.Typeable - GHC.Types.Bool - GHC.Base.String - GHC.Types.Int - GHC.Maybe.Maybe - GHC.Types.Ordering - GHC.List.zipWith - GHC.Enum.maxBound - GHC.Enum.minBound - GHC.Enum.fromEnum - GHC.Enum.pred - GHC.Enum.succ - GHC.Enum.toEnum - GHC.Read.readList - GHC.Read.readsPrec - GHC.Show.show - GHC.Show.showList - GHC.Show.showsPrec - GHC.Show.ShowS - Text.ParserCombinators.ReadP.ReadS - GHC.Classes./= - GHC.Classes.< - GHC.Classes.<= - GHC.Classes.> - GHC.Classes.compare - GHC.Classes.max - GHC.Classes.min - GHC.Base.MonadPlus - Text.ParserCombinators.ReadPrec.ReadPrec - Data.Data.Constr - Data.Data.dataCast1 - Data.Data.dataCast2 - Data.Data.dataTypeOf - Data.Data.gfoldl - Data.Data.gmapM - Data.Data.gmapMo - Data.Data.gmapMp - Data.Data.gmapQ - Data.Data.gmapQi - Data.Data.gmapQl - Data.Data.gmapQr - Data.Data.gmapT - Data.Data.gunfold - Data.Data.toConstr - Data.Data.DataType - GHC.Read.readListPrec - GHC.Read.readPrec Warning: Language.Haskell.Exts.SrcLoc: could not find link destinations for: - GHC.Classes.== - GHC.Classes.>= - GHC.Classes.Eq - GHC.Base.Monad - Data.Data.Data - GHC.Classes.Ord - GHC.Show.Show - Data.Typeable.Internal.Typeable - GHC.Generics.Generic - GHC.Types.Bool - GHC.Base.String - GHC.Types.Int - GHC.Maybe.Maybe - GHC.Types.Ordering - GHC.Generics.:*: - GHC.Generics.Rec0 - GHC.Generics.D1 - GHC.Generics.C1 - GHC.Generics.S1 - GHC.Generics.Rep - GHC.Types.False - GHC.Maybe.Nothing - GHC.Maybe.Just - GHC.Types.True - GHC.Generics.PrefixI - GHC.Generics.NoSourceUnpackedness - GHC.Generics.NoSourceStrictness - GHC.Generics.DecidedLazy - GHC.Generics.MetaData - GHC.Generics.MetaCons - GHC.Generics.MetaSel - GHC.Show.show - GHC.Show.showList - GHC.Show.showsPrec - GHC.Show.ShowS - GHC.Classes./= - GHC.Classes.< - GHC.Classes.<= - GHC.Classes.> - GHC.Classes.compare - GHC.Classes.max - GHC.Classes.min - GHC.Base.MonadPlus - Data.Data.Constr - Data.Data.dataCast1 - Data.Data.dataCast2 - Data.Data.dataTypeOf - Data.Data.gfoldl - Data.Data.gmapM - Data.Data.gmapMo - Data.Data.gmapMp - Data.Data.gmapQ - Data.Data.gmapQi - Data.Data.gmapQl - Data.Data.gmapQr - Data.Data.gmapT - Data.Data.gunfold - Data.Data.toConstr - Data.Data.DataType - GHC.Generics.from - GHC.Generics.to - Language.Haskell.Exts.SrcLoc.Rep_SrcSpanInfo - Language.Haskell.Exts.SrcLoc.Rep_Loc - Language.Haskell.Exts.SrcLoc.Rep_SrcSpan - Language.Haskell.Exts.SrcLoc.Rep_SrcLoc - Language.Haskell.Exts.Pretty.pretty - Language.Haskell.Exts.Pretty.prettyPrec - Language.Haskell.Exts.Pretty.Doc - Language.Haskell.Exts.ParseMonad.P - Language.Haskell.Exts.ParseMonad.parser Warning: Language.Haskell.Exts.Syntax: could not find link destinations for: - GHC.Classes.== - GHC.Classes.>= - GHC.Base.fmap - GHC.Classes.Eq - GHC.Base.Monad - Data.Data.Data - GHC.Base.Functor - GHC.Num.Num - GHC.Classes.Ord - GHC.Show.Show - Data.Typeable.Internal.Typeable - Control.Monad.Fail.MonadFail - GHC.Base.Applicative - Data.Foldable.Foldable - Data.Traversable.Traversable - GHC.Generics.Generic - GHC.Base.Monoid - GHC.Types.Bool - GHC.Base.String - GHC.Types.Char - GHC.Types.Int - GHC.Num.Integer.Integer - GHC.Maybe.Maybe - GHC.Types.Ordering - GHC.Real.Rational - GHC.Types.Type - GHC.Generics.U1 - GHC.Generics.:+: - GHC.Generics.:*: - GHC.Generics.Rec0 - GHC.Generics.D1 - GHC.Generics.C1 - GHC.Generics.S1 - GHC.Generics.Rep - GHC.Types.Symbol - GHC.Types.False - GHC.Maybe.Nothing - GHC.Maybe.Just - GHC.Types.True - GHC.Generics.PrefixI - GHC.Generics.NoSourceUnpackedness - GHC.Generics.NoSourceStrictness - GHC.Generics.DecidedLazy - GHC.Generics.MetaData - GHC.Generics.MetaCons - GHC.Generics.MetaSel - Data.Foldable.elem - Data.Foldable.foldMap - Data.Foldable.foldl - Data.Foldable.foldl1 - Data.Foldable.foldr - Data.Foldable.foldr1 - Data.Foldable.length - Data.Foldable.maximum - Data.Foldable.minimum - Data.Foldable.null - Data.Foldable.product - Data.Foldable.sum - Data.Traversable.mapM - Data.Traversable.sequence - Data.Traversable.sequenceA - Data.Traversable.traverse - GHC.Base.<$ - GHC.Show.show - GHC.Show.showList - GHC.Show.showsPrec - GHC.Show.ShowS - GHC.Classes./= - GHC.Classes.< - GHC.Classes.<= - GHC.Classes.> - GHC.Classes.compare - GHC.Classes.max - GHC.Classes.min - GHC.Base.MonadPlus - Data.Foldable.foldl' - Data.Data.Constr - Data.Data.dataCast1 - Data.Data.dataCast2 - Data.Data.dataTypeOf - Data.Data.gfoldl - Data.Data.gmapM - Data.Data.gmapMo - Data.Data.gmapMp - Data.Data.gmapQ - Data.Data.gmapQi - Data.Data.gmapQl - Data.Data.gmapQr - Data.Data.gmapT - Data.Data.gunfold - Data.Data.toConstr - Data.Data.DataType - Data.Foldable.fold - Data.Foldable.foldMap' - Data.Foldable.foldr' - Data.Foldable.toList - GHC.Generics.from - GHC.Generics.to - Language.Haskell.Exts.Syntax.Rep_Module - Language.Haskell.Exts.Syntax.Rep_ModulePragma - Language.Haskell.Exts.Syntax.Rep_Alt - Language.Haskell.Exts.Syntax.Rep_Pat - Language.Haskell.Exts.Syntax.Rep_PatField - Language.Haskell.Exts.Syntax.Rep_RPat - Language.Haskell.Exts.Syntax.Rep_Stmt - Language.Haskell.Exts.Syntax.Rep_Exp - Language.Haskell.Exts.Syntax.Rep_FieldUpdate - Language.Haskell.Exts.Syntax.Rep_QualStmt - Language.Haskell.Exts.Syntax.Rep_Splice - Language.Haskell.Exts.Syntax.Rep_Bracket - Language.Haskell.Exts.Syntax.Rep_Type - Language.Haskell.Exts.Syntax.Rep_Context - Language.Haskell.Exts.Syntax.Rep_Asst - Language.Haskell.Exts.Syntax.Rep_TyVarBind - Language.Haskell.Exts.Syntax.Rep_Promoted - Language.Haskell.Exts.Syntax.Rep_Decl - Language.Haskell.Exts.Syntax.Rep_Rule - Language.Haskell.Exts.Syntax.Rep_RuleVar - Language.Haskell.Exts.Syntax.Rep_Rhs - Language.Haskell.Exts.Syntax.Rep_GuardedRhs - Language.Haskell.Exts.Syntax.Rep_InstDecl - Language.Haskell.Exts.Syntax.Rep_GadtDecl - Language.Haskell.Exts.Syntax.Rep_FieldDecl - Language.Haskell.Exts.Syntax.Rep_QualConDecl - Language.Haskell.Exts.Syntax.Rep_ConDecl - Language.Haskell.Exts.Syntax.Rep_Deriving - Language.Haskell.Exts.Syntax.Rep_DerivStrategy - Language.Haskell.Exts.Syntax.Rep_InstRule - Language.Haskell.Exts.Syntax.Rep_InstHead - Language.Haskell.Exts.Syntax.Rep_ClassDecl - Language.Haskell.Exts.Syntax.Rep_DeclHead - Language.Haskell.Exts.Syntax.Rep_ResultSig - Language.Haskell.Exts.Syntax.Rep_TypeEqn - Language.Haskell.Exts.Syntax.Rep_Match - Language.Haskell.Exts.Syntax.Rep_Binds - Language.Haskell.Exts.Syntax.Rep_IPBind - Language.Haskell.Exts.Syntax.Rep_Annotation - Language.Haskell.Exts.Syntax.Rep_PatternSynDirection - Language.Haskell.Exts.Syntax.Rep_XAttr - Language.Haskell.Exts.Syntax.Rep_PXAttr - Language.Haskell.Exts.Syntax.Rep_RPatOp - Language.Haskell.Exts.Syntax.Rep_ModuleHead - Language.Haskell.Exts.Syntax.Rep_WarningText - Language.Haskell.Exts.Syntax.Rep_Activation - Language.Haskell.Exts.Syntax.Rep_Overlap - Language.Haskell.Exts.Syntax.Rep_Tool - Language.Haskell.Exts.Syntax.Rep_CallConv - Language.Haskell.Exts.Syntax.Rep_Safety - Language.Haskell.Exts.Syntax.Rep_XName - Language.Haskell.Exts.Syntax.Rep_Sign - Language.Haskell.Exts.Syntax.Rep_Literal - Language.Haskell.Exts.Syntax.Rep_FunDep - Language.Haskell.Exts.Syntax.Rep_QOp - Language.Haskell.Exts.Syntax.Rep_ExportSpecList - Language.Haskell.Exts.Syntax.Rep_ExportSpec - Language.Haskell.Exts.Syntax.Rep_MaybePromotedName - Language.Haskell.Exts.Syntax.Rep_QName - Language.Haskell.Exts.Syntax.Rep_SpecialCon - Language.Haskell.Exts.Syntax.Rep_Boxed - Language.Haskell.Exts.Syntax.Rep_Unpackedness - Language.Haskell.Exts.Syntax.Rep_BangType - Language.Haskell.Exts.Syntax.Rep_InjectivityInfo - Language.Haskell.Exts.Syntax.Rep_DataOrNew - Language.Haskell.Exts.Syntax.Rep_Role - Language.Haskell.Exts.Syntax.Rep_BooleanFormula - Language.Haskell.Exts.Syntax.Rep_Assoc - Language.Haskell.Exts.Syntax.Rep_ImportDecl - Language.Haskell.Exts.Syntax.Rep_ImportSpecList - Language.Haskell.Exts.Syntax.Rep_ImportSpec - Language.Haskell.Exts.Syntax.Rep_Namespace - Language.Haskell.Exts.Syntax.Rep_EWildcard - Language.Haskell.Exts.Syntax.Rep_CName - Language.Haskell.Exts.Syntax.Rep_Op - Language.Haskell.Exts.Syntax.Rep_IPName - Language.Haskell.Exts.Syntax.Rep_Name - Language.Haskell.Exts.Syntax.Rep_ModuleName - Language.Haskell.Exts.Pretty.pretty - Language.Haskell.Exts.Pretty.prettyPrec - Language.Haskell.Exts.Pretty.Doc - Language.Haskell.Exts.ParseMonad.P - Language.Haskell.Exts.ParseMonad.parser - Language.Haskell.Exts.ExactPrint.exactP - Language.Haskell.Exts.ExactPrint.EP Warning: Language.Haskell.Exts.Pretty: could not find link destinations for: - GHC.Classes.== - GHC.Classes.Eq - GHC.Show.Show - GHC.Generics.Generic - GHC.Types.Bool - GHC.Base.String - GHC.Types.Float - GHC.Types.Int - GHC.Types.Type - GHC.Generics.U1 - GHC.Generics.:+: - GHC.Generics.:*: - GHC.Generics.Rec0 - GHC.Generics.D1 - GHC.Generics.C1 - GHC.Generics.S1 - GHC.Generics.Rep - GHC.Types.False - GHC.Maybe.Just - GHC.Types.True - GHC.Generics.PrefixI - GHC.Generics.NoSourceUnpackedness - GHC.Generics.NoSourceStrictness - GHC.Generics.DecidedLazy - GHC.Generics.MetaData - GHC.Generics.MetaCons - GHC.Generics.MetaSel - GHC.Show.show - GHC.Show.showList - GHC.Show.showsPrec - GHC.Show.ShowS - GHC.Classes./= - GHC.Generics.from - GHC.Generics.to - Text.PrettyPrint.HughesPJ.Doc - Text.PrettyPrint.Annotated.HughesPJ.Rep_Mode - Text.PrettyPrint.Annotated.HughesPJ.Rep_Style - Language.Haskell.Exts.Pretty.pretty - Language.Haskell.Exts.Pretty.prettyPrec - Language.Haskell.Exts.Pretty.Doc Warning: Language.Haskell.Exts.Fixity: could not find link destinations for: - GHC.Classes.== - GHC.Classes.>= - GHC.Classes.Eq - GHC.Base.Monad - Data.Data.Data - GHC.Classes.Ord - GHC.Show.Show - Data.Typeable.Internal.Typeable - Control.Monad.Fail.MonadFail - GHC.Types.Bool - GHC.Base.String - GHC.Types.Int - GHC.Maybe.Maybe - GHC.Types.Ordering - GHC.Types.Type - GHC.Show.show - GHC.Show.showList - GHC.Show.showsPrec - GHC.Show.ShowS - GHC.Classes./= - GHC.Classes.< - GHC.Classes.<= - GHC.Classes.> - GHC.Classes.compare - GHC.Classes.max - GHC.Classes.min - GHC.Base.MonadPlus - Data.Data.Constr - Data.Data.dataCast1 - Data.Data.dataCast2 - Data.Data.dataTypeOf - Data.Data.gfoldl - Data.Data.gmapM - Data.Data.gmapMo - Data.Data.gmapMp - Data.Data.gmapQ - Data.Data.gmapQi - Data.Data.gmapQl - Data.Data.gmapQr - Data.Data.gmapT - Data.Data.gunfold - Data.Data.toConstr - Data.Data.DataType Warning: Language.Haskell.Exts.Comments: could not find link destinations for: - GHC.Classes.== - GHC.Classes.Eq - GHC.Base.Monad - Data.Data.Data - GHC.Show.Show - Data.Typeable.Internal.Typeable - Data.Traversable.Traversable - GHC.Types.Bool - GHC.Base.String - GHC.Types.Int - GHC.Maybe.Maybe - GHC.Types.True - GHC.Show.show - GHC.Show.showList - GHC.Show.showsPrec - GHC.Show.ShowS - GHC.Classes./= - GHC.Base.MonadPlus - Data.Data.Constr - Data.Data.dataCast1 - Data.Data.dataCast2 - Data.Data.dataTypeOf - Data.Data.gfoldl - Data.Data.gmapM - Data.Data.gmapMo - Data.Data.gmapMp - Data.Data.gmapQ - Data.Data.gmapQi - Data.Data.gmapQl - Data.Data.gmapQr - Data.Data.gmapT - Data.Data.gunfold - Data.Data.toConstr - Data.Data.DataType Warning: Language.Haskell.Exts.Lexer: could not find link destinations for: - GHC.Classes.== - GHC.Classes.>= - GHC.Classes.Eq - GHC.Classes.Ord - GHC.Show.Show - GHC.Generics.Generic - GHC.Types.Bool - GHC.Base.String - GHC.Types.Char - GHC.Types.Int - GHC.Num.Integer.Integer - GHC.Maybe.Maybe - GHC.Types.Ordering - GHC.Real.Rational - GHC.Generics.:*: - GHC.Generics.Rec0 - GHC.Generics.D1 - GHC.Generics.C1 - GHC.Generics.S1 - GHC.Generics.Rep - GHC.Types.False - GHC.Maybe.Just - GHC.Types.True - GHC.Generics.PrefixI - GHC.Generics.NoSourceUnpackedness - GHC.Generics.NoSourceStrictness - GHC.Generics.DecidedLazy - GHC.Generics.MetaData - GHC.Generics.MetaCons - GHC.Generics.MetaSel - GHC.Show.show - GHC.Show.showList - GHC.Show.showsPrec - GHC.Show.ShowS - GHC.Classes./= - GHC.Classes.< - GHC.Classes.<= - GHC.Classes.> - GHC.Classes.compare - GHC.Classes.max - GHC.Classes.min - GHC.Generics.from - GHC.Generics.to - Language.Haskell.Exts.SrcLoc.Rep_Loc Warning: Language.Haskell.Exts.Parser: could not find link destinations for: - GHC.Classes.== - GHC.Classes.>= - GHC.Base.>>= - GHC.Base.>> - GHC.Base.fmap - GHC.Base.return - Control.Monad.Fail.fail - GHC.Base.<> - GHC.Base.mempty - GHC.Base.mappend - GHC.Base.mconcat - GHC.Base.<*> - GHC.Base.pure - GHC.Base.*> - GHC.Classes.Eq - GHC.Real.Integral - GHC.Base.Monad - Data.Data.Data - GHC.Base.Functor - GHC.Classes.Ord - GHC.Show.Show - Data.Typeable.Internal.Typeable - Control.Monad.Fail.MonadFail - GHC.Base.Applicative - GHC.Base.Semigroup - GHC.Base.Monoid - GHC.Types.Bool - GHC.Base.String - GHC.Types.Int - GHC.Maybe.Maybe - GHC.Types.Ordering - GHC.Base.NonEmpty - GHC.Types.Type - GHC.Types.False - GHC.Maybe.Nothing - GHC.Types.True - GHC.Err.undefined - GHC.Base.<* - GHC.Base.liftA2 - GHC.Base.<$ - GHC.Show.show - GHC.Show.showList - GHC.Show.showsPrec - GHC.Show.ShowS - GHC.Classes./= - GHC.Classes.< - GHC.Classes.<= - GHC.Classes.> - GHC.Classes.compare - GHC.Classes.max - GHC.Classes.min - GHC.Base.MonadPlus - Data.Data.Constr - Data.Data.dataCast1 - Data.Data.dataCast2 - Data.Data.dataTypeOf - Data.Data.gfoldl - Data.Data.gmapM - Data.Data.gmapMo - Data.Data.gmapMp - Data.Data.gmapQ - Data.Data.gmapQi - Data.Data.gmapQl - Data.Data.gmapQr - Data.Data.gmapT - Data.Data.gunfold - Data.Data.toConstr - Data.Data.DataType - GHC.Base.sconcat - GHC.Base.stimes - Language.Haskell.Exts.ParseMonad.P - Language.Haskell.Exts.ParseMonad.parser Warning: Language.Haskell.Exts.ExactPrint: could not find link destinations for: - GHC.Base.String - GHC.Types.Type - Language.Haskell.Exts.ExactPrint.exactP - Language.Haskell.Exts.ExactPrint.EP Warning: Language.Haskell.Exts.Build: could not find link destinations for: - GHC.Base.String - GHC.Types.Char - GHC.Types.Int - GHC.Num.Integer.Integer - GHC.Maybe.Maybe Warning: Language.Haskell.Exts: could not find link destinations for: - GHC.Classes.== - GHC.Classes.Eq - GHC.Show.Show - GHC.Types.Bool - GHC.Base.String - GHC.Types.Char - GHC.Types.Int - GHC.Num.Integer.Integer - GHC.Maybe.Maybe - GHC.Real.Rational - GHC.Types.IO - GHC.Maybe.Nothing - GHC.IO.FilePath - GHC.Show.show - GHC.Show.showList - GHC.Show.showsPrec - GHC.Show.ShowS - GHC.Classes./= Documentation created: dist/doc/html/haskell-src-exts/, dist/doc/html/haskell-src-exts/haskell-src-exts.txt + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.009ROK + 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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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.8.4/lib/haskell-src-exts-1.23.1 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup register --gen-pkg-config + '[' -d /usr/lib64/ghc-9.8.4/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.8.4/lib/package.conf.d/haskell-src-exts-1.23.1.conf + '[' -d /usr/lib64/ghc-9.8.4/lib ']' + subsubdir=/lib + '[' '!' -f /builddir/build/BUILD/ghc-haskell-src-exts-1.23.1-build/BUILDROOT/usr/lib64/ghc-9.8.4/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 + pkgdir=/builddir/build/BUILD/ghc-haskell-src-exts-1.23.1-build/BUILDROOT/usr/lib64/ghc-9.8.4/lib/haskell-src-exts-1.23.1 + '[' '!' -d /builddir/build/BUILD/ghc-haskell-src-exts-1.23.1-build/BUILDROOT/usr/lib64/ghc-9.8.4/lib/haskell-src-exts-1.23.1 ']' + '[' -d /builddir/build/BUILD/ghc-haskell-src-exts-1.23.1-build/BUILDROOT/usr/lib64/ghc-9.8.4/lib/haskell-src-exts-1.23.1 ']' + find /builddir/build/BUILD/ghc-haskell-src-exts-1.23.1-build/BUILDROOT/usr/lib64/ghc-9.8.4/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.8.4/lib/package.conf.d/haskell-src-exts-1.23.1.conf + for i in /builddir/build/BUILD/ghc-haskell-src-exts-1.23.1-build/BUILDROOT/usr/lib64/ghc-9.8.4${subsubdir}/libHShaskell-src-exts-1.23.1-*ghc9.8.4.so + '[' -x /builddir/build/BUILD/ghc-haskell-src-exts-1.23.1-build/BUILDROOT/usr/lib64/ghc-9.8.4/lib/libHShaskell-src-exts-1.23.1-3NTSL0hWOIzFUQqiEjxlSj-ghc9.8.4.so ']' + case "$i" in + echo /builddir/build/BUILD/ghc-haskell-src-exts-1.23.1-build/BUILDROOT/usr/lib64/ghc-9.8.4/lib/libHShaskell-src-exts-1.23.1-3NTSL0hWOIzFUQqiEjxlSj-ghc9.8.4.so + 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 ']' + echo /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.8.4/lib/libHShaskell-src-exts-1.23.1-3NTSL0hWOIzFUQqiEjxlSj-ghc9.8.4.so ++ sed -e 's@^/builddir/build/BUILD/ghc-haskell-src-exts-1.23.1-build/BUILDROOT/usr/lib64/ghc-9.8.4/lib/libHShaskell-src-exts-1.23.1-3NTSL0hWOIzFUQqiEjxlSj-ghc9.8.4.so: R.*PATH=@@' + rpath=/usr/lib64/ghc-9.8.4/lib/aarch64-linux-ghc-9.8.4 + 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 + /usr/lib/rpm/redhat/brp-python-rpm-in-distinfo + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j12 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-determinism --brp -j12 /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.8.4/lib/haskell-src-exts-1.23.1/libHShaskell-src-exts-1.23.1-3NTSL0hWOIzFUQqiEjxlSj.a: replacing with normalized version /builddir/build/BUILD/ghc-haskell-src-exts-1.23.1-build/BUILDROOT/usr/lib64/ghc-9.8.4/lib/haskell-src-exts-1.23.1/libHShaskell-src-exts-1.23.1-3NTSL0hWOIzFUQqiEjxlSj_p.a: replacing with normalized version Scanned 20 directories and 128 files, processed 62 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-22.fc43.aarch64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.QVMQiF + 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-22.fc43 ghc-haskell-src-exts(aarch-64) = 1.23.1-22.fc43 libHShaskell-src-exts-1.23.1-3NTSL0hWOIzFUQqiEjxlSj-ghc9.8.4.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.8.0-dd30-ghc9.8.4.so()(64bit) libHSbase-4.19.2.0-5123-ghc9.8.4.so()(64bit) libHSdeepseq-1.5.1.0-6e21-ghc9.8.4.so()(64bit) libHSghc-bignum-1.3-a3fd-ghc9.8.4.so()(64bit) libHSghc-prim-0.11.0-0834-ghc9.8.4.so()(64bit) libHSpretty-1.1.3.6-d1ee-ghc9.8.4.so()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(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-22.fc43.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.wKCE7H + 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-3NTSL0hWOIzFUQqiEjxlSj) ghc-haskell-src-exts-devel = 1.23.1-22.fc43 ghc-haskell-src-exts-devel(aarch-64) = 1.23.1-22.fc43 ghc-haskell-src-exts-static = 1.23.1-22.fc43 ghc-haskell-src-exts-static(aarch-64) = 1.23.1-22.fc43 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.8.0-dd30) ghc-devel(base-4.19.2.0-5123) ghc-devel(ghc-prim-0.11.0-0834) ghc-devel(pretty-1.1.3.6-d1ee) Processing files: ghc-haskell-src-exts-doc-1.23.1-22.fc43.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.xg7bCO + 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-doc + 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-doc + 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-doc + RPM_EC=0 ++ jobs -p + exit 0 Provides: ghc-haskell-src-exts-doc = 1.23.1-22.fc43 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: ghc-haskell-src-exts-prof-1.23.1-22.fc43.aarch64 Provides: ghc-haskell-src-exts-prof = 1.23.1-22.fc43 ghc-haskell-src-exts-prof(aarch-64) = 1.23.1-22.fc43 ghc-prof(haskell-src-exts-1.23.1-3NTSL0hWOIzFUQqiEjxlSj) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ghc-prof(array-0.5.8.0-dd30) ghc-prof(base-4.19.2.0-5123) ghc-prof(ghc-prim-0.11.0-0834) ghc-prof(pretty-1.1.3.6-d1ee) Supplements: (ghc-haskell-src-exts-devel and ghc-prof) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILD/ghc-haskell-src-exts-1.23.1-build/BUILDROOT Wrote: /builddir/build/RPMS/ghc-haskell-src-exts-1.23.1-22.fc43.aarch64.rpm Wrote: /builddir/build/RPMS/ghc-haskell-src-exts-devel-1.23.1-22.fc43.aarch64.rpm Wrote: /builddir/build/RPMS/ghc-haskell-src-exts-doc-1.23.1-22.fc43.noarch.rpm Wrote: /builddir/build/RPMS/ghc-haskell-src-exts-prof-1.23.1-22.fc43.aarch64.rpm Child return code was: 0