Mock Version: 6.5 Mock Version: 6.5 Mock Version: 6.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/ghc-cmdargs.spec'], chrootPath='/var/lib/mock/f45-build-10091-413/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=864000uid=995gid=135user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.yny_jdss:/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.yny_jdss:/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', '815217d0be844d3382e8e5474d93bca2', '-D', '/var/lib/mock/f45-build-10091-413/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.yny_jdss:/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 riscv64 --nodeps /builddir/build/SPECS/ghc-cmdargs.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1784160000 Wrote: /builddir/build/SRPMS/ghc-cmdargs-0.10.22-13.fc45.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/ghc-cmdargs.spec'], chrootPath='/var/lib/mock/f45-build-10091-413/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=864000uid=995gid=135user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.yny_jdss:/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.yny_jdss:/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', '1c4b3df2187c4a57a88e353537187d0c', '-D', '/var/lib/mock/f45-build-10091-413/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.yny_jdss:/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 riscv64 --nodeps /builddir/build/SPECS/ghc-cmdargs.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1784160000 Executing(mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.C0wseN Creating(rpmbuild.env): /builddir/build/BUILD/ghc-cmdargs-0.10.22-build/rpmbuild.env RPM_SOURCE_DIR="/builddir/build/SOURCES" RPM_BUILD_DIR="/builddir/build/BUILD/ghc-cmdargs-0.10.22-build" RPM_OPT_FLAGS="-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer" RPM_LD_FLAGS="-Wl,-z,relro -Wl,--as-needed -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 " RPM_ARCH="riscv64" RPM_OS="linux" RPM_BUILD_NCPUS="8" RPM_SPECPARTS_DIR="/builddir/build/BUILD/ghc-cmdargs-0.10.22-build/SPECPARTS" export RPM_SOURCE_DIR RPM_BUILD_DIR RPM_OPT_FLAGS RPM_ARCH RPM_OS RPM_BUILD_NCPUS RPM_SPECPARTS_DIR RPM_LD_FLAGS RPM_DOC_DIR="/usr/share/doc" export RPM_DOC_DIR RPM_PACKAGE_NAME="ghc-cmdargs" RPM_PACKAGE_VERSION="0.10.22" RPM_PACKAGE_RELEASE="13.fc45" export RPM_PACKAGE_NAME RPM_PACKAGE_VERSION RPM_PACKAGE_RELEASE LANG=C.UTF-8 export LANG unset CDPATH DISPLAY ||: unset DEBUGINFOD_URLS ||: unset RPM_CONFIG_DIR ||: RPM_BUILD_ROOT="/builddir/build/BUILD/ghc-cmdargs-0.10.22-build/BUILDROOT" export RPM_BUILD_ROOT PKG_CONFIG_PATH="${PKG_CONFIG_PATH}:/usr/lib64/pkgconfig:/usr/share/pkgconfig" export PKG_CONFIG_PATH CONFIG_SITE=${CONFIG_SITE:-NONE} export CONFIG_SITE Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ZsLBho + umask 022 + cd /builddir/build/BUILD/ghc-cmdargs-0.10.22-build + cd /builddir/build/BUILD/ghc-cmdargs-0.10.22-build + rm -rf cmdargs-0.10.22 + /usr/bin/rpmuncompress -x /builddir/build/SOURCES/cmdargs-0.10.22.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd cmdargs-0.10.22 + /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.pSfyHw + umask 022 + cd /builddir/build/BUILD/ghc-cmdargs-0.10.22-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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -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 -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 cmdargs-0.10.22 ++ 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 CHANGES.txt -a -x CHANGES.txt ']' ==== Build cmdargs-0.10.22 ==== + for f in $(ls | grep -i -e '^\(ANNOUNCE\|AUTHORS\|CHANGELOG\|CHANGES\|CONTRIBUTORS\|README\|TODO\)') + '[' -f README.md -a -x README.md ']' + echo + echo '==== Build cmdargs-0.10.22 ====' + '[' -f Setup.hs -o -f Setup.lhs ']' + '[' -d /usr/lib64/ghc-9.10.3/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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ++ sed -e 's/ / -optc/g' ++ echo ' -Wl,-z,relro' -Wl,--as-needed -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-cmdargs '--libsubdir=$compiler/lib/$pkgid' '--datasubdir=$pkgid' '--libexecsubdir=$pkgid' --ghc --dynlibdir=/usr/lib64/ghc-9.10.3/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-march=rva23u64 -optc-mabi=lp64d -optc-fasynchronous-unwind-tables -optc-fno-omit-frame-pointer -optc-mno-omit-leaf-frame-pointer -optl-Wl,-z,relro -optl-Wl,--as-needed -optl-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -optl-Wl,--build-id=sha1' --enable-shared --htmldir=/usr/share/doc/ghc/html/libraries/cmdargs-0.10.22 --global Configuring cmdargs-0.10.22... + '[' -x Setup ']' + LANG=C.utf8 + ./Setup build -j8 Preprocessing library for cmdargs-0.10.22... Building library for cmdargs-0.10.22... [ 1 of 25] Compiling Data.Generics.Any Data/Generics/Any.hs:21:22: warning: [GHC-63394] [-Wx-partial] In the use of ‘tail’ (imported from Data.List, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Replace it with 'drop' 1, or use pattern matching or 'GHC.Internal.Data.List.uncons' instead. Consider refactoring to use "Data.List.NonEmpty"." | 21 | where y = init $ tail x | ^^^^ Data/Generics/Any.hs:102:32: warning: [GHC-63394] [-Wx-partial] In the use of ‘tail’ (imported from Data.List, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Replace it with 'drop' 1, or use pattern matching or 'GHC.Internal.Data.List.uncons' instead. Consider refactoring to use "Data.List.NonEmpty"." | 102 | put $ tail cs | ^^^^ Data/Generics/Any.hs:103:45: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Data.List, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | 103 | return $ fromAny $ head cs | ^^^^ [ 2 of 25] Compiling Data.Generics.Any.Prelude [ 3 of 25] Compiling System.Console.CmdArgs.Annotate System/Console/CmdArgs/Annotate.hs:81:22: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Data.List, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | 81 | return $ head $ | ^^^^ System/Console/CmdArgs/Annotate.hs:148:14: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Data.List, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | 148 | return $ head xs | ^^^^ [ 4 of 25] Compiling System.Console.CmdArgs.Default [ 5 of 25] Compiling System.Console.CmdArgs.Explicit.ExpandArgsAt [ 6 of 25] Compiling System.Console.CmdArgs.Explicit.SplitJoin [ 7 of 25] Compiling System.Console.CmdArgs.Explicit.Type [ 8 of 25] Compiling System.Console.CmdArgs.Explicit.Process System/Console/CmdArgs/Explicit/Process.hs:74:44: warning: [GHC-63394] [-Wx-partial] In the use of ‘tail’ (imported from Data.List, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Replace it with 'drop' 1, or use pattern matching or 'GHC.Internal.Data.List.uncons' instead. Consider refactoring to use "Data.List.NonEmpty"." | 74 | | null b -> upd s{args=tail ys} $ flagValue flag $ head ys | ^^^^ System/Console/CmdArgs/Explicit/Process.hs:74:72: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Data.List, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | 74 | | null b -> upd s{args=tail ys} $ flagValue flag $ head ys | ^^^^ System/Console/CmdArgs/Explicit/Process.hs:75:61: warning: [GHC-63394] [-Wx-partial] In the use of ‘tail’ (imported from Data.List, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Replace it with 'drop' 1, or use pattern matching or 'GHC.Internal.Data.List.uncons' instead. Consider refactoring to use "Data.List.NonEmpty"." | 75 | | otherwise -> upd s $ flagValue flag $ tail b | ^^^^ System/Console/CmdArgs/Explicit/Process.hs:77:55: warning: [GHC-63394] [-Wx-partial] In the use of ‘tail’ (imported from Data.List, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Replace it with 'drop' 1, or use pattern matching or 'GHC.Internal.Data.List.uncons' instead. Consider refactoring to use "Data.List.NonEmpty"." | 77 | | otherwise -> upd s $ flagValue flag $ tail b | ^^^^ System/Console/CmdArgs/Explicit/Process.hs:91:46: warning: [GHC-63394] [-Wx-partial] In the use of ‘tail’ (imported from Data.List, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Replace it with 'drop' 1, or use pattern matching or 'GHC.Internal.Data.List.uncons' instead. Consider refactoring to use "Data.List.NonEmpty"." | 91 | | null xs -> upd s_{args=tail ys} $ flagValue flag $ head ys | ^^^^ System/Console/CmdArgs/Explicit/Process.hs:91:74: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Data.List, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | 91 | | null xs -> upd s_{args=tail ys} $ flagValue flag $ head ys | ^^^^ System/Console/CmdArgs/Explicit/Process.hs:92:99: warning: [GHC-63394] [-Wx-partial] In the use of ‘tail’ (imported from Data.List, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Replace it with 'drop' 1, or use pattern matching or 'GHC.Internal.Data.List.uncons' instead. Consider refactoring to use "Data.List.NonEmpty"." | 92 | | otherwise -> upd s_{args=ys} $ flagValue flag $ if "=" `isPrefixOf` xs then tail xs else xs | ^^^^ System/Console/CmdArgs/Explicit/Process.hs:94:101: warning: [GHC-63394] [-Wx-partial] In the use of ‘tail’ (imported from Data.List, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Replace it with 'drop' 1, or use pattern matching or 'GHC.Internal.Data.List.uncons' instead. Consider refactoring to use "Data.List.NonEmpty"." | 94 | | otherwise -> upd s_{args=ys} $ flagValue flag $ if "=" `isPrefixOf` xs then tail xs else xs | ^^^^ System/Console/CmdArgs/Explicit/Process.hs:95:87: warning: [GHC-63394] [-Wx-partial] In the use of ‘tail’ (imported from Data.List, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Replace it with 'drop' 1, or use pattern matching or 'GHC.Internal.Data.List.uncons' instead. Consider refactoring to use "Data.List.NonEmpty"." | 95 | FlagOptRare x | "=" `isPrefixOf` xs -> upd s_{args=ys} $ flagValue flag $ tail xs | ^^^^ System/Console/CmdArgs/Explicit/Process.hs:149:22: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Data.List, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | 149 | match op = [(head ys,v) | (xs,v) <- names, let ys = filter (op value) xs, ys /= []] | ^^^^ [ 9 of 25] Compiling System.Console.CmdArgs.Explicit.Complete System/Console/CmdArgs/Explicit/Complete.hs:52:15: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Data.List, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | 52 | now = head $ next ++ [""] [10 of 25] Compiling System.Console.CmdArgs.Helper | ^^^^ [11 of 25] Compiling System.Console.CmdArgs.Implicit.Ann [12 of 25] Compiling System.Console.CmdArgs.Implicit.UI [13 of 25] Compiling System.Console.CmdArgs.Text System/Console/CmdArgs/Text.hs:91:32: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Data.List, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | [14 of 25] Compiling System.Console.CmdArgs.Explicit.Help 91 | cs = map (\x -> (fst $ head x, map maximum $ transpose $ map snd x)) $ | ^^^^ System/Console/CmdArgs/Explicit/Help.hs:83:59: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Data.List, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | 83 | helpText pre HelpFormatBash x = map Line $ completeBash $ head $ modeNames x ++ ["unknown"] | ^^^^ System/Console/CmdArgs/Explicit/Help.hs:84:57: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Data.List, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | 84 | helpText pre HelpFormatZsh x = map Line $ completeZsh $ head $ modeNames x ++ ["unknown"] | ^^^^ System/Console/CmdArgs/Explicit/Help.hs:154:46: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Data.List, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | 154 | add x y = if null x then x else (head x ++ y) : tail x | ^^^^ System/Console/CmdArgs/Explicit/Help.hs:154:61: warning: [GHC-63394] [-Wx-partial] In the use of ‘tail’ (imported from Data.List, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Replace it with 'drop' 1, or use pattern matching or 'GHC.Internal.Data.List.uncons' instead. Consider refactoring to use "Data.List.NonEmpty"." | 154 | add x y = if null x then x else (head x ++ y) : tail x | ^^^^ [15 of 25] Compiling System.Console.CmdArgs.Verbosity [16 of 25] Compiling System.Console.CmdArgs.Implicit.Type [17 of 25] Compiling System.Console.CmdArgs.Explicit System/Console/CmdArgs/Explicit.hs:112:79: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Prelude, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | 112 | let var = mplus (lookup ("CMDARGS_HELPER_" ++ show (map toUpper $ head $ modeNames m ++ [nam])) env) | ^^^^ [18 of 25] Compiling System.Console.CmdArgs.Implicit.Reader System/Console/CmdArgs/Implicit/Reader.hs:35:16: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Data.List, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | 35 | let down = head . children | ^^^^ System/Console/CmdArgs/Implicit/Reader.hs:82:42: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Data.List, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | 82 | | otherwise = Right $ snd $ head ys | ^^^^ System/Console/CmdArgs/Implicit/Reader.hs:92:67: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Data.List, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | 92 | if n == 1 then fmap (recompose x . return) $ readerRead_ (head $ filter ((==) 1 . readerParts) rs) s | ^^^^ [19 of 25] Compiling System.Console.CmdArgs.Implicit.Local System/Console/CmdArgs/Implicit/Local.hs:120:58: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Data.List, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | 120 | where prog = map toLower $ typeShell $ fromCapture $ head xs | ^^^^ System/Console/CmdArgs/Implicit/Local.hs:220:24: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Data.List, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | 220 | flagAnn a x = errFlag (head $ words $ show x) $ show a | ^^^^ [20 of 25] Compiling System.Console.CmdArgs.Implicit.Reform [21 of 25] Compiling System.Console.CmdArgs.Implicit.Global System/Console/CmdArgs/Implicit/Global.hs:35:38: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Data.List, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | 35 | collapse x | length ms == 1 = (snd $ head ms){modeNames=[progProgram x]} | ^^^^ System/Console/CmdArgs/Implicit/Global.hs:37:27: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Data.List, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | 37 | | otherwise = (head $ map zeroMode auto ++ map (emptyMode . snd) ms) | ^^^^ System/Console/CmdArgs/Implicit/Global.hs:143:19: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Data.List, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | 143 | com = map head $ filter ((== length (progModes p)) . length) $ group $ sort | ^^^^ System/Console/CmdArgs/Implicit/Global.hs:193:74: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Data.List, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | 193 | mapModes1 f pre m = m{modeGroupModes = fmap (mapModes0 f (pre ++ head (modeNames m) ++ " ")) $ modeGroupModes m} | ^^^^ System/Console/CmdArgs/Implicit/Global.hs:204:68: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Data.List, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | 204 | f flg = if concatMap flagNames hlp == flagNames flg then head hlp else flg | ^^^^ System/Console/CmdArgs/Implicit/Global.hs:218:65: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Data.List, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | 218 | toMode xs x = x{modeMode = (modeMode x){modeNames=["["++head xs++"]" | modeDefault x] ++ xs}} | ^^^^ [22 of 25] Compiling System.Console.CmdArgs.Implicit [23 of 25] Compiling System.Console.CmdArgs.Quote [24 of 25] Compiling System.Console.CmdArgs [25 of 25] Compiling System.Console.CmdArgs.GetOpt + '[' -n dist/build/libHScmdargs-0.10.22-InbNZlr0F7W775Ef4vL4Ud-ghc9.10.3.so ']' + '[' -x Setup ']' + LANG=C.utf8 + ./Setup haddock --html --hyperlink-source --hoogle Preprocessing library for cmdargs-0.10.22... Running Haddock on library for cmdargs-0.10.22... 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.20.2.0, bytestring-0.12.2.0, deepseq-1.5.0.0, directory-1.3.8.5, exceptions-0.10.9, filepath-1.5.4.0, ghc-bignum-1.3, ghc-boot-th-9.10.3, ghc-internal-9.1003.0, ghc-prim-0.12.0, mtl-2.3.1, os-string-2.0.7, pretty-1.1.3.6, process-1.6.26.1, stm-2.5.3.1, template-haskell-2.22.0.0, time-1.12.2, transformers-0.6.1.1, unix-2.8.7.0 [ 1 of 25] Compiling Data.Generics.Any ( Data/Generics/Any.hs, /tmp/ghc291_0/ghc_4.o, /tmp/ghc291_0/ghc_4.dyn_o ) Data/Generics/Any.hs:21:22: warning: [GHC-63394] [-Wx-partial] In the use of ‘tail’ (imported from Data.List, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Replace it with 'drop' 1, or use pattern matching or 'GHC.Internal.Data.List.uncons' instead. Consider refactoring to use "Data.List.NonEmpty"." | 21 | where y = init $ tail x | ^^^^ Data/Generics/Any.hs:102:32: warning: [GHC-63394] [-Wx-partial] In the use of ‘tail’ (imported from Data.List, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Replace it with 'drop' 1, or use pattern matching or 'GHC.Internal.Data.List.uncons' instead. Consider refactoring to use "Data.List.NonEmpty"." | 102 | put $ tail cs | ^^^^ Data/Generics/Any.hs:103:45: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Data.List, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | 103 | return $ fromAny $ head cs | ^^^^ [ 2 of 25] Compiling Data.Generics.Any.Prelude ( Data/Generics/Any/Prelude.hs, /tmp/ghc291_0/ghc_6.o, /tmp/ghc291_0/ghc_6.dyn_o ) [ 3 of 25] Compiling System.Console.CmdArgs.Annotate ( System/Console/CmdArgs/Annotate.hs, /tmp/ghc291_0/ghc_8.o, /tmp/ghc291_0/ghc_8.dyn_o ) System/Console/CmdArgs/Annotate.hs:81:22: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Data.List, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | 81 | return $ head $ | ^^^^ System/Console/CmdArgs/Annotate.hs:148:14: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Data.List, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | 148 | return $ head xs | ^^^^ [ 4 of 25] Compiling System.Console.CmdArgs.Default ( System/Console/CmdArgs/Default.hs, /tmp/ghc291_0/ghc_10.o, /tmp/ghc291_0/ghc_10.dyn_o ) [ 5 of 25] Compiling System.Console.CmdArgs.Explicit.ExpandArgsAt ( System/Console/CmdArgs/Explicit/ExpandArgsAt.hs, /tmp/ghc291_0/ghc_16.o, /tmp/ghc291_0/ghc_16.dyn_o ) [ 6 of 25] Compiling System.Console.CmdArgs.Explicit.SplitJoin ( System/Console/CmdArgs/Explicit/SplitJoin.hs, /tmp/ghc291_0/ghc_22.o, /tmp/ghc291_0/ghc_22.dyn_o ) [ 7 of 25] Compiling System.Console.CmdArgs.Explicit.Type ( System/Console/CmdArgs/Explicit/Type.hs, /tmp/ghc291_0/ghc_24.o, /tmp/ghc291_0/ghc_24.dyn_o ) [ 8 of 25] Compiling System.Console.CmdArgs.Explicit.Process ( System/Console/CmdArgs/Explicit/Process.hs, /tmp/ghc291_0/ghc_20.o, /tmp/ghc291_0/ghc_20.dyn_o ) System/Console/CmdArgs/Explicit/Process.hs:74:44: warning: [GHC-63394] [-Wx-partial] In the use of ‘tail’ (imported from Data.List, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Replace it with 'drop' 1, or use pattern matching or 'GHC.Internal.Data.List.uncons' instead. Consider refactoring to use "Data.List.NonEmpty"." | 74 | | null b -> upd s{args=tail ys} $ flagValue flag $ head ys | ^^^^ System/Console/CmdArgs/Explicit/Process.hs:74:72: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Data.List, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | 74 | | null b -> upd s{args=tail ys} $ flagValue flag $ head ys | ^^^^ System/Console/CmdArgs/Explicit/Process.hs:75:61: warning: [GHC-63394] [-Wx-partial] In the use of ‘tail’ (imported from Data.List, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Replace it with 'drop' 1, or use pattern matching or 'GHC.Internal.Data.List.uncons' instead. Consider refactoring to use "Data.List.NonEmpty"." | 75 | | otherwise -> upd s $ flagValue flag $ tail b | ^^^^ System/Console/CmdArgs/Explicit/Process.hs:77:55: warning: [GHC-63394] [-Wx-partial] In the use of ‘tail’ (imported from Data.List, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Replace it with 'drop' 1, or use pattern matching or 'GHC.Internal.Data.List.uncons' instead. Consider refactoring to use "Data.List.NonEmpty"." | 77 | | otherwise -> upd s $ flagValue flag $ tail b | ^^^^ System/Console/CmdArgs/Explicit/Process.hs:91:46: warning: [GHC-63394] [-Wx-partial] In the use of ‘tail’ (imported from Data.List, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Replace it with 'drop' 1, or use pattern matching or 'GHC.Internal.Data.List.uncons' instead. Consider refactoring to use "Data.List.NonEmpty"." | 91 | | null xs -> upd s_{args=tail ys} $ flagValue flag $ head ys | ^^^^ System/Console/CmdArgs/Explicit/Process.hs:91:74: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Data.List, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | 91 | | null xs -> upd s_{args=tail ys} $ flagValue flag $ head ys | ^^^^ System/Console/CmdArgs/Explicit/Process.hs:92:99: warning: [GHC-63394] [-Wx-partial] In the use of ‘tail’ (imported from Data.List, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Replace it with 'drop' 1, or use pattern matching or 'GHC.Internal.Data.List.uncons' instead. Consider refactoring to use "Data.List.NonEmpty"." | 92 | | otherwise -> upd s_{args=ys} $ flagValue flag $ if "=" `isPrefixOf` xs then tail xs else xs | ^^^^ System/Console/CmdArgs/Explicit/Process.hs:94:101: warning: [GHC-63394] [-Wx-partial] In the use of ‘tail’ (imported from Data.List, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Replace it with 'drop' 1, or use pattern matching or 'GHC.Internal.Data.List.uncons' instead. Consider refactoring to use "Data.List.NonEmpty"." | 94 | | otherwise -> upd s_{args=ys} $ flagValue flag $ if "=" `isPrefixOf` xs then tail xs else xs | ^^^^ System/Console/CmdArgs/Explicit/Process.hs:95:87: warning: [GHC-63394] [-Wx-partial] In the use of ‘tail’ (imported from Data.List, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Replace it with 'drop' 1, or use pattern matching or 'GHC.Internal.Data.List.uncons' instead. Consider refactoring to use "Data.List.NonEmpty"." | 95 | FlagOptRare x | "=" `isPrefixOf` xs -> upd s_{args=ys} $ flagValue flag $ tail xs | ^^^^ System/Console/CmdArgs/Explicit/Process.hs:149:22: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Data.List, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | 149 | match op = [(head ys,v) | (xs,v) <- names, let ys = filter (op value) xs, ys /= []] | ^^^^ [ 9 of 25] Compiling System.Console.CmdArgs.Explicit.Complete ( System/Console/CmdArgs/Explicit/Complete.hs, /tmp/ghc291_0/ghc_14.o, /tmp/ghc291_0/ghc_14.dyn_o ) System/Console/CmdArgs/Explicit/Complete.hs:52:15: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Data.List, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | 52 | now = head $ next ++ [""] | ^^^^ [10 of 25] Compiling System.Console.CmdArgs.Helper ( System/Console/CmdArgs/Helper.hs, /tmp/ghc291_0/ghc_26.o, /tmp/ghc291_0/ghc_26.dyn_o ) [11 of 25] Compiling System.Console.CmdArgs.Implicit.Ann ( System/Console/CmdArgs/Implicit/Ann.hs, /tmp/ghc291_0/ghc_30.o, /tmp/ghc291_0/ghc_30.dyn_o ) [12 of 25] Compiling System.Console.CmdArgs.Implicit.UI ( System/Console/CmdArgs/Implicit/UI.hs, /tmp/ghc291_0/ghc_42.o, /tmp/ghc291_0/ghc_42.dyn_o ) [13 of 25] Compiling System.Console.CmdArgs.Text ( System/Console/CmdArgs/Text.hs, /tmp/ghc291_0/ghc_44.o, /tmp/ghc291_0/ghc_44.dyn_o ) System/Console/CmdArgs/Text.hs:91:32: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Data.List, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | 91 | cs = map (\x -> (fst $ head x, map maximum $ transpose $ map snd x)) $ | ^^^^ [14 of 25] Compiling System.Console.CmdArgs.Explicit.Help ( System/Console/CmdArgs/Explicit/Help.hs, /tmp/ghc291_0/ghc_18.o, /tmp/ghc291_0/ghc_18.dyn_o ) System/Console/CmdArgs/Explicit/Help.hs:83:59: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Data.List, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | 83 | helpText pre HelpFormatBash x = map Line $ completeBash $ head $ modeNames x ++ ["unknown"] | ^^^^ System/Console/CmdArgs/Explicit/Help.hs:84:57: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Data.List, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | 84 | helpText pre HelpFormatZsh x = map Line $ completeZsh $ head $ modeNames x ++ ["unknown"] | ^^^^ System/Console/CmdArgs/Explicit/Help.hs:154:46: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Data.List, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | 154 | add x y = if null x then x else (head x ++ y) : tail x | ^^^^ System/Console/CmdArgs/Explicit/Help.hs:154:61: warning: [GHC-63394] [-Wx-partial] In the use of ‘tail’ (imported from Data.List, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Replace it with 'drop' 1, or use pattern matching or 'GHC.Internal.Data.List.uncons' instead. Consider refactoring to use "Data.List.NonEmpty"." | 154 | add x y = if null x then x else (head x ++ y) : tail x | ^^^^ [15 of 25] Compiling System.Console.CmdArgs.Verbosity ( System/Console/CmdArgs/Verbosity.hs, /tmp/ghc291_0/ghc_46.o, /tmp/ghc291_0/ghc_46.dyn_o ) [16 of 25] Compiling System.Console.CmdArgs.Implicit.Type ( System/Console/CmdArgs/Implicit/Type.hs, /tmp/ghc291_0/ghc_40.o, /tmp/ghc291_0/ghc_40.dyn_o ) [17 of 25] Compiling System.Console.CmdArgs.Explicit ( System/Console/CmdArgs/Explicit.hs, /tmp/ghc291_0/ghc_12.o, /tmp/ghc291_0/ghc_12.dyn_o ) System/Console/CmdArgs/Explicit.hs:112:79: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Prelude, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | 112 | let var = mplus (lookup ("CMDARGS_HELPER_" ++ show (map toUpper $ head $ modeNames m ++ [nam])) env) | ^^^^ [18 of 25] Compiling System.Console.CmdArgs.Implicit.Reader ( System/Console/CmdArgs/Implicit/Reader.hs, /tmp/ghc291_0/ghc_36.o, /tmp/ghc291_0/ghc_36.dyn_o ) System/Console/CmdArgs/Implicit/Reader.hs:35:16: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Data.List, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | 35 | let down = head . children | ^^^^ System/Console/CmdArgs/Implicit/Reader.hs:82:42: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Data.List, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | 82 | | otherwise = Right $ snd $ head ys | ^^^^ System/Console/CmdArgs/Implicit/Reader.hs:92:67: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Data.List, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | 92 | if n == 1 then fmap (recompose x . return) $ readerRead_ (head $ filter ((==) 1 . readerParts) rs) s | ^^^^ [19 of 25] Compiling System.Console.CmdArgs.Implicit.Local ( System/Console/CmdArgs/Implicit/Local.hs, /tmp/ghc291_0/ghc_34.o, /tmp/ghc291_0/ghc_34.dyn_o ) System/Console/CmdArgs/Implicit/Local.hs:120:58: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Data.List, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | 120 | where prog = map toLower $ typeShell $ fromCapture $ head xs | ^^^^ System/Console/CmdArgs/Implicit/Local.hs:220:24: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Data.List, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | 220 | flagAnn a x = errFlag (head $ words $ show x) $ show a | ^^^^ [20 of 25] Compiling System.Console.CmdArgs.Implicit.Reform ( System/Console/CmdArgs/Implicit/Reform.hs, /tmp/ghc291_0/ghc_38.o, /tmp/ghc291_0/ghc_38.dyn_o ) [21 of 25] Compiling System.Console.CmdArgs.Implicit.Global ( System/Console/CmdArgs/Implicit/Global.hs, /tmp/ghc291_0/ghc_32.o, /tmp/ghc291_0/ghc_32.dyn_o ) System/Console/CmdArgs/Implicit/Global.hs:35:38: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Data.List, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | 35 | collapse x | length ms == 1 = (snd $ head ms){modeNames=[progProgram x]} | ^^^^ System/Console/CmdArgs/Implicit/Global.hs:37:27: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Data.List, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | 37 | | otherwise = (head $ map zeroMode auto ++ map (emptyMode . snd) ms) | ^^^^ System/Console/CmdArgs/Implicit/Global.hs:143:19: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Data.List, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | 143 | com = map head $ filter ((== length (progModes p)) . length) $ group $ sort | ^^^^ System/Console/CmdArgs/Implicit/Global.hs:193:74: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Data.List, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | 193 | mapModes1 f pre m = m{modeGroupModes = fmap (mapModes0 f (pre ++ head (modeNames m) ++ " ")) $ modeGroupModes m} | ^^^^ System/Console/CmdArgs/Implicit/Global.hs:204:68: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Data.List, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | 204 | f flg = if concatMap flagNames hlp == flagNames flg then head hlp else flg | ^^^^ System/Console/CmdArgs/Implicit/Global.hs:218:65: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Data.List, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | 218 | toMode xs x = x{modeMode = (modeMode x){modeNames=["["++head xs++"]" | modeDefault x] ++ xs}} | ^^^^ [22 of 25] Compiling System.Console.CmdArgs.Implicit ( System/Console/CmdArgs/Implicit.hs, /tmp/ghc291_0/ghc_28.o, /tmp/ghc291_0/ghc_28.dyn_o ) [23 of 25] Compiling System.Console.CmdArgs.Quote ( System/Console/CmdArgs/Quote.hs, nothing ) [24 of 25] Compiling System.Console.CmdArgs ( System/Console/CmdArgs.hs, nothing ) [25 of 25] Compiling System.Console.CmdArgs.GetOpt ( System/Console/CmdArgs/GetOpt.hs, nothing ) Haddock coverage: Warning: 'RecConError' is ambiguous. It is defined * in ‘GHC.Internal.Control.Exception.Base’ * in ‘GHC.Internal.Control.Exception.Base’ You may be able to disambiguate the identifier by qualifying it or by specifying the type/value namespace explicitly. Defaulting to the one defined in ‘GHC.Internal.Control.Exception.Base’ 100% ( 17 / 17) in 'System.Console.CmdArgs.Annotate' 100% ( 2 / 2) in 'System.Console.CmdArgs.Default' Warning: 'getArgs' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'Mode' is ambiguous. It is defined * at System/Console/CmdArgs/Explicit/Type.hs:81:15 * at System/Console/CmdArgs/Explicit/Type.hs:81: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 System/Console/CmdArgs/Explicit/Type.hs:81:1 Warning: 'helpText' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'expandArgsAt' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'Mode' is ambiguous. It is defined * at System/Console/CmdArgs/Explicit/Type.hs:81:15 * at System/Console/CmdArgs/Explicit/Type.hs:81: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 System/Console/CmdArgs/Explicit/Type.hs:81:1 100% ( 8 / 8) in 'System.Console.CmdArgs.Helper' Warning: 'flag' is out of scope. If you qualify the identifier, haddock can try to link it anyway. 100% ( 5 / 5) in 'System.Console.CmdArgs.Text' 100% ( 8 / 8) in 'System.Console.CmdArgs.Verbosity' Warning: 'Mode' is ambiguous. It is defined * at System/Console/CmdArgs/Explicit/Type.hs:81:15 * at System/Console/CmdArgs/Explicit/Type.hs:81: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 System/Console/CmdArgs/Explicit/Type.hs:81:1 Warning: 'Group' is ambiguous. It is defined * at System/Console/CmdArgs/Explicit/Type.hs:42:16 * at System/Console/CmdArgs/Explicit/Type.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 System/Console/CmdArgs/Explicit/Type.hs:42:1 100% ( 48 / 48) in 'System.Console.CmdArgs.Explicit' Warning: 'process' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'CmdArgs' is ambiguous. It is defined * at System/Console/CmdArgs/Implicit/Type.hs:19:18 * at System/Console/CmdArgs/Implicit/Type.hs:19: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 System/Console/CmdArgs/Implicit/Type.hs:19:1 Warning: System.Console.CmdArgs.Implicit: Couldn't find .haddock for export Data Warning: System.Console.CmdArgs.Implicit: Couldn't find .haddock for export Typeable 96% ( 48 / 50) in 'System.Console.CmdArgs.Implicit' Missing documentation for: Data Typeable 100% ( 9 / 9) in 'System.Console.CmdArgs.Quote' 100% ( 2 / 2) in 'System.Console.CmdArgs' Warning: 'Mode' is ambiguous. It is defined * at System/Console/CmdArgs/Explicit/Type.hs:81:15 * at System/Console/CmdArgs/Explicit/Type.hs:81: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 System/Console/CmdArgs/Explicit/Type.hs:81:1 Warning: System.Console.CmdArgs.GetOpt: Couldn't find .haddock for export OptDescr Warning: System.Console.CmdArgs.GetOpt: Couldn't find .haddock for export ArgDescr 75% ( 6 / 8) in 'System.Console.CmdArgs.GetOpt' Missing documentation for: OptDescr ArgDescr Warning: System.Console.CmdArgs.Annotate: could not find link destinations for: - GHC.Internal.Base.fmap - GHC.Internal.Base.Functor - GHC.Internal.Show.Show - GHC.Internal.Base.String - GHC.Types.Int - GHC.Types.Type - GHC.Internal.Base.<$ - GHC.Internal.Show.show - GHC.Internal.Show.showList - GHC.Internal.Show.showsPrec - GHC.Internal.Show.ShowS - GHC.Internal.Control.Exception.Base.RecConError Warning: System.Console.CmdArgs.Default: could not find link destinations for: - GHC.Types.Bool - GHC.Types.Double - GHC.Types.Float - GHC.Types.Int - GHC.Internal.Int.Int8 - GHC.Internal.Int.Int16 - GHC.Internal.Int.Int32 - GHC.Internal.Int.Int64 - GHC.Num.Integer.Integer - GHC.Internal.Maybe.Maybe - GHC.Types.Word - GHC.Internal.Word.Word8 - GHC.Internal.Word.Word16 - GHC.Internal.Word.Word32 - GHC.Internal.Word.Word64 Warning: System.Console.CmdArgs.Helper: could not find link destinations for: - GHC.Internal.Base.String - GHC.Types.IO - GHC.Internal.Data.Either.Either Warning: System.Console.CmdArgs.Text: could not find link destinations for: - GHC.Classes.== - GHC.Classes.>= - GHC.Classes.Eq - GHC.Classes.Ord - GHC.Internal.Read.Read - GHC.Internal.Show.Show - GHC.Types.Bool - GHC.Internal.Base.String - GHC.Types.Int - GHC.Types.Ordering - GHC.Internal.Read.readList - GHC.Internal.Read.readsPrec - GHC.Internal.Show.show - GHC.Internal.Show.showList - GHC.Internal.Show.showsPrec - GHC.Internal.Show.ShowS - GHC.Internal.Text.ParserCombinators.ReadP.ReadS - GHC.Classes./= - GHC.Classes.< - GHC.Classes.<= - GHC.Classes.> - GHC.Classes.compare - GHC.Classes.max - GHC.Classes.min - GHC.Internal.Text.ParserCombinators.ReadPrec.ReadPrec - GHC.Internal.Read.readPrec - GHC.Internal.Read.readListPrec Warning: System.Console.CmdArgs.Verbosity: could not find link destinations for: - GHC.Internal.Enum.enumFrom - GHC.Internal.Enum.enumFromThen - GHC.Internal.Enum.enumFromTo - GHC.Internal.Enum.enumFromThenTo - GHC.Classes.== - GHC.Classes.>= - GHC.Internal.Enum.Bounded - GHC.Internal.Enum.Enum - GHC.Classes.Eq - GHC.Internal.Base.Monad - GHC.Classes.Ord - GHC.Internal.Read.Read - GHC.Internal.Show.Show - GHC.Types.Bool - GHC.Internal.Base.String - GHC.Types.Int - GHC.Internal.Maybe.Maybe - GHC.Types.Ordering - GHC.Types.IO - GHC.Internal.Enum.maxBound - GHC.Internal.Enum.minBound - GHC.Internal.Enum.fromEnum - GHC.Internal.Enum.pred - GHC.Internal.Enum.succ - GHC.Internal.Enum.toEnum - GHC.Internal.Read.readList - GHC.Internal.Read.readsPrec - GHC.Internal.Show.show - GHC.Internal.Show.showList - GHC.Internal.Show.showsPrec - GHC.Internal.Show.ShowS - GHC.Internal.Text.ParserCombinators.ReadP.ReadS - GHC.Classes./= - GHC.Classes.< - GHC.Classes.<= - GHC.Classes.> - GHC.Classes.compare - GHC.Classes.max - GHC.Classes.min - GHC.Internal.Data.Data.Constr - GHC.Internal.Data.Data.dataCast1 - GHC.Internal.Data.Data.dataCast2 - GHC.Internal.Data.Data.dataTypeOf - GHC.Internal.Data.Data.gfoldl - GHC.Internal.Data.Data.gmapM - GHC.Internal.Data.Data.gmapMo - GHC.Internal.Data.Data.gmapMp - GHC.Internal.Data.Data.gmapQ - GHC.Internal.Data.Data.gmapQi - GHC.Internal.Data.Data.gmapQl - GHC.Internal.Data.Data.gmapQr - GHC.Internal.Data.Data.gmapT - GHC.Internal.Data.Data.gunfold - GHC.Internal.Data.Data.toConstr - GHC.Internal.Data.Data.DataType - GHC.Internal.Base.MonadPlus - GHC.Internal.Text.ParserCombinators.ReadPrec.ReadPrec - GHC.Internal.Read.readPrec - GHC.Internal.Read.readListPrec Warning: System.Console.CmdArgs.Explicit: could not find link destinations for: - GHC.Internal.Enum.enumFrom - GHC.Internal.Enum.enumFromThen - GHC.Internal.Enum.enumFromTo - GHC.Internal.Enum.enumFromThenTo - GHC.Classes.== - GHC.Classes.>= - GHC.Internal.Base.fmap - GHC.Internal.Base.<> - GHC.Internal.Base.mempty - GHC.Internal.Base.mappend - GHC.Internal.Base.mconcat - GHC.Internal.Enum.Bounded - GHC.Internal.Enum.Enum - GHC.Classes.Eq - GHC.Internal.Real.Integral - GHC.Internal.Base.Functor - GHC.Classes.Ord - GHC.Internal.Read.Read - GHC.Internal.Show.Show - GHC.Internal.Base.Semigroup - GHC.Internal.Base.Monoid - GHC.Types.Bool - GHC.Internal.Base.String - GHC.Types.Int - GHC.Internal.Maybe.Maybe - GHC.Types.Ordering - GHC.Types.IO - GHC.Internal.Data.Either.Either - GHC.Internal.Base.NonEmpty - GHC.Types.Type - GHC.Types.True - GHC.Internal.Base.<$ - GHC.Internal.Enum.maxBound - GHC.Internal.Enum.minBound - GHC.Internal.Enum.fromEnum - GHC.Internal.Enum.pred - GHC.Internal.Enum.succ - GHC.Internal.Enum.toEnum - GHC.Internal.IO.FilePath - GHC.Internal.Read.readList - GHC.Internal.Read.readsPrec - GHC.Internal.Show.show - GHC.Internal.Show.showList - GHC.Internal.Show.showsPrec - GHC.Internal.Show.ShowS - GHC.Internal.Text.ParserCombinators.ReadP.ReadS - GHC.Classes./= - GHC.Classes.< - GHC.Classes.<= - GHC.Classes.> - GHC.Classes.compare - GHC.Classes.max - GHC.Classes.min - GHC.Internal.Base.sconcat - GHC.Internal.Base.stimes - GHC.Internal.Text.ParserCombinators.ReadPrec.ReadPrec - GHC.Internal.Read.readPrec - GHC.Internal.Read.readListPrec - GHC.Internal.System.Environment.getArgs Warning: System.Console.CmdArgs.Implicit: could not find link destinations for: - GHC.Classes.== - GHC.Classes.>= - GHC.Internal.Base.fmap - GHC.Classes.Eq - GHC.Internal.Real.Integral - GHC.Internal.Base.Monad - GHC.Internal.Base.Functor - GHC.Classes.Ord - GHC.Internal.Show.Show - GHC.Internal.Ix.Ix - GHC.Types.Bool - GHC.Internal.Base.String - GHC.Types.Char - GHC.Types.Double - GHC.Types.Float - GHC.Types.Int - GHC.Internal.Int.Int8 - GHC.Internal.Int.Int16 - GHC.Internal.Int.Int32 - GHC.Internal.Int.Int64 - GHC.Num.Integer.Integer - GHC.Num.Natural.Natural - GHC.Internal.Maybe.Maybe - GHC.Types.Ordering - GHC.Internal.Real.Ratio - GHC.Types.~~ - GHC.Types.IO - GHC.Types.Word - GHC.Internal.Word.Word8 - GHC.Internal.Word.Word16 - GHC.Internal.Word.Word32 - GHC.Internal.Word.Word64 - GHC.Internal.Ptr.Ptr - GHC.Internal.Data.Either.Either - GHC.Internal.Base.Void - GHC.Internal.Base.NonEmpty - GHC.Types.Type - GHC.Internal.Generics.V1 - GHC.Internal.Generics.U1 - GHC.Internal.Generics.Par1 - GHC.Internal.Generics.Rec1 - GHC.Internal.Generics.K1 - GHC.Internal.Generics.M1 - GHC.Internal.Generics.:+: - GHC.Internal.Generics.:*: - GHC.Internal.Generics.:.: - GHC.Types.Coercible - Language.Haskell.TH.Syntax.Exp - Language.Haskell.TH.Syntax.Match - Language.Haskell.TH.Syntax.Clause - Language.Haskell.TH.Syntax.Pat - Language.Haskell.TH.Syntax.Stmt - Language.Haskell.TH.Syntax.Con - Language.Haskell.TH.Syntax.Type - Language.Haskell.TH.Syntax.Dec - Language.Haskell.TH.Syntax.Name - Language.Haskell.TH.Syntax.FunDep - Language.Haskell.TH.Syntax.RuleBndr - Language.Haskell.TH.Syntax.TySynEqn - Language.Haskell.TH.Syntax.InjectivityAnn - Language.Haskell.TH.Syntax.Overlap - Language.Haskell.TH.Syntax.DerivClause - Language.Haskell.TH.Syntax.DerivStrategy - Language.Haskell.TH.Syntax.ModName - GHC.Internal.Foreign.C.ConstPtr.ConstPtr - GHC.Tuple.Solo - GHC.Internal.Base.<$ - GHC.Internal.Show.show - GHC.Internal.Show.showList - GHC.Internal.Show.showsPrec - GHC.Internal.Show.ShowS - GHC.Classes./= - GHC.Classes.< - GHC.Classes.<= - GHC.Classes.> - GHC.Classes.compare - GHC.Classes.max - GHC.Classes.min - GHC.Internal.Data.Data.Constr - GHC.Internal.Data.Data.dataCast1 - GHC.Internal.Data.Data.dataCast2 - GHC.Internal.Data.Data.dataTypeOf - GHC.Internal.Data.Data.gfoldl - GHC.Internal.Data.Data.gmapM - GHC.Internal.Data.Data.gmapMo - GHC.Internal.Data.Data.gmapMp - GHC.Internal.Data.Data.gmapQ - GHC.Internal.Data.Data.gmapQi - GHC.Internal.Data.Data.gmapQl - GHC.Internal.Data.Data.gmapQr - GHC.Internal.Data.Data.gmapT - GHC.Internal.Data.Data.gunfold - GHC.Internal.Data.Data.toConstr - GHC.Internal.Data.Data.DataType - GHC.Internal.Data.Proxy.Proxy - GHC.Internal.Data.Type.Equality.:~: - GHC.Internal.Data.Type.Equality.:~~: - GHC.Internal.Base.MonadPlus - GHC.Internal.Arr.Array - GHC.Internal.Data.Functor.Const.Const - GHC.Internal.Data.Functor.Identity.Identity - GHC.Internal.Data.Semigroup.Internal.All - GHC.Internal.Data.Semigroup.Internal.Alt - GHC.Internal.Data.Semigroup.Internal.Any - GHC.Internal.Data.Monoid.Ap - GHC.Internal.Generics.Associativity - GHC.Internal.Data.Type.Coercion.Coercion - GHC.Internal.Generics.DecidedStrictness - GHC.Internal.Data.Ord.Down - GHC.Internal.Data.Semigroup.Internal.Dual - GHC.Internal.Data.Monoid.First - GHC.Internal.Generics.Fixity - GHC.Internal.ForeignPtr.ForeignPtr - GHC.Internal.Foreign.Ptr.IntPtr - GHC.Internal.Data.Monoid.Last - GHC.Internal.Data.Semigroup.Internal.Product - GHC.Internal.Generics.SourceStrictness - GHC.Internal.Generics.SourceUnpackedness - GHC.Internal.Data.Semigroup.Internal.Sum - GHC.Internal.Data.Version.Version - GHC.Internal.Foreign.Ptr.WordPtr - Data.Semigroup.Arg - Data.Semigroup.First - Data.Semigroup.Last - Data.Semigroup.Max - Data.Semigroup.Min - Data.Semigroup.WrappedMonoid - System.Console.CmdArgs.Implicit.Type.CmdArgsPrivate - Data.Array.Byte.ByteArray - Data.Array.Byte.MutableByteArray - Data.Functor.Compose.Compose - Data.Fixed.Fixed - Data.Functor.Product.Product - Data.Functor.Sum.Sum - Data.Complex.Complex - Language.Haskell.TH.Syntax.AnnLookup - Language.Haskell.TH.Syntax.AnnTarget - Language.Haskell.TH.Syntax.Bang - Language.Haskell.TH.Syntax.BndrVis - Language.Haskell.TH.Syntax.Body - Language.Haskell.TH.Syntax.Callconv - Language.Haskell.TH.Syntax.DecidedStrictness - Language.Haskell.TH.Syntax.DocLoc - Language.Haskell.TH.Syntax.FamilyResultSig - Language.Haskell.TH.Syntax.Fixity - Language.Haskell.TH.Syntax.FixityDirection - Language.Haskell.TH.Syntax.Foreign - Language.Haskell.TH.Syntax.Guard - Language.Haskell.TH.Syntax.Info - Language.Haskell.TH.Syntax.Inline - Language.Haskell.TH.Syntax.Lit - Language.Haskell.TH.Syntax.Loc - Language.Haskell.TH.Syntax.ModuleInfo - Language.Haskell.TH.Syntax.NameSpace - Language.Haskell.TH.Syntax.NamespaceSpecifier - Language.Haskell.TH.Syntax.PatSynArgs - Language.Haskell.TH.Syntax.PatSynDir - Language.Haskell.TH.Syntax.Phases - Language.Haskell.TH.Syntax.Pragma - Language.Haskell.TH.Syntax.Range - Language.Haskell.TH.Syntax.Role - Language.Haskell.TH.Syntax.RuleMatch - Language.Haskell.TH.Syntax.Safety - Language.Haskell.TH.Syntax.SourceStrictness - Language.Haskell.TH.Syntax.SourceUnpackedness - Language.Haskell.TH.Syntax.Specificity - Language.Haskell.TH.Syntax.TyLit - Language.Haskell.TH.Syntax.TyVarBndr - Language.Haskell.TH.Syntax.TypeFamilyHead - Language.Haskell.TH.Syntax.Bytes - Language.Haskell.TH.Syntax.Module - Language.Haskell.TH.Syntax.NameFlavour - Language.Haskell.TH.Syntax.OccName - Language.Haskell.TH.Syntax.PkgName - Control.Applicative.WrappedArrow - Control.Applicative.WrappedMonad - Data.Functor.Constant.Constant Warning: System.Console.CmdArgs.Quote: could not find link destinations for: - GHC.Types.IO - Language.Haskell.TH.Syntax.Q - Language.Haskell.TH.Syntax.Dec - GHC.Internal.Show.show Warning: System.Console.CmdArgs.GetOpt: could not find link destinations for: - GHC.Internal.Base.fmap - GHC.Internal.Base.Functor - GHC.Internal.Base.String - GHC.Types.Char - GHC.Internal.Maybe.Maybe - GHC.Types.Type - GHC.Internal.Base.<$ Documentation created: dist/doc/html/cmdargs/, dist/doc/html/cmdargs/cmdargs.txt + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Fr6obu + umask 022 + cd /builddir/build/BUILD/ghc-cmdargs-0.10.22-build + '[' /builddir/build/BUILD/ghc-cmdargs-0.10.22-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/ghc-cmdargs-0.10.22-build/BUILDROOT ++ dirname /builddir/build/BUILD/ghc-cmdargs-0.10.22-build/BUILDROOT + mkdir -p /builddir/build/BUILD/ghc-cmdargs-0.10.22-build + mkdir /builddir/build/BUILD/ghc-cmdargs-0.10.22-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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -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 -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 cmdargs-0.10.22 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup copy --destdir=/builddir/build/BUILD/ghc-cmdargs-0.10.22-build/BUILDROOT Installing library in /builddir/build/BUILD/ghc-cmdargs-0.10.22-build/BUILDROOT/usr/lib64/ghc-9.10.3/lib/cmdargs-0.10.22 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup register --gen-pkg-config + '[' -d /usr/lib64/ghc-9.10.3/lib ']' + subsubdir=/lib + '[' -d cmdargs-0.10.22.conf ']' + install -D --mode=0644 cmdargs-0.10.22.conf /builddir/build/BUILD/ghc-cmdargs-0.10.22-build/BUILDROOT/usr/lib64/ghc-9.10.3/lib/package.conf.d/cmdargs-0.10.22.conf + '[' -d /usr/lib64/ghc-9.10.3/lib ']' + subsubdir=/lib + '[' '!' -f /builddir/build/BUILD/ghc-cmdargs-0.10.22-build/BUILDROOT/usr/lib64/ghc-9.10.3/lib/package.conf.d/cmdargs-0.10.22.conf ']' + rm -f ghc-cmdargs.files ghc-cmdargs-doc.files + touch ghc-cmdargs.files ghc-cmdargs-doc.files + pkgdir=/builddir/build/BUILD/ghc-cmdargs-0.10.22-build/BUILDROOT/usr/lib64/ghc-9.10.3/lib/cmdargs-0.10.22 + '[' '!' -d /builddir/build/BUILD/ghc-cmdargs-0.10.22-build/BUILDROOT/usr/lib64/ghc-9.10.3/lib/cmdargs-0.10.22 ']' + '[' -d /builddir/build/BUILD/ghc-cmdargs-0.10.22-build/BUILDROOT/usr/lib64/ghc-9.10.3/lib/cmdargs-0.10.22 ']' + find /builddir/build/BUILD/ghc-cmdargs-0.10.22-build/BUILDROOT/usr/lib64/ghc-9.10.3/lib/cmdargs-0.10.22 -type d -fprintf ghc-cmdargs-devel.files '%%dir %p\n' -o '(' -name '*.p_hi' -o -name '*.p_dyn_hi' -o -name 'libHS*_p.a' ')' -fprint ghc-cmdargs-prof.files -o -fprint ghc-cmdargs-devel.files + ls /builddir/build/BUILD/ghc-cmdargs-0.10.22-build/BUILDROOT/usr/lib64/ghc-9.10.3/lib/package.conf.d/cmdargs-0.10.22.conf + for i in /builddir/build/BUILD/ghc-cmdargs-0.10.22-build/BUILDROOT/usr/lib64/ghc-9.10.3${subsubdir}/libHScmdargs-0.10.22-*ghc9.10.3.so + '[' -x /builddir/build/BUILD/ghc-cmdargs-0.10.22-build/BUILDROOT/usr/lib64/ghc-9.10.3/lib/libHScmdargs-0.10.22-InbNZlr0F7W775Ef4vL4Ud-ghc9.10.3.so ']' + case "$i" in + echo /builddir/build/BUILD/ghc-cmdargs-0.10.22-build/BUILDROOT/usr/lib64/ghc-9.10.3/lib/libHScmdargs-0.10.22-InbNZlr0F7W775Ef4vL4Ud-ghc9.10.3.so + haddock_dir=/usr/share/doc/ghc/html/libraries/cmdargs-0.10.22 + '[' -d /builddir/build/BUILD/ghc-cmdargs-0.10.22-build/BUILDROOT/usr/share/doc/ghc/html/libraries/cmdargs-0.10.22 ']' + echo /usr/share/doc/ghc/html/libraries/cmdargs-0.10.22 + for i in ghc-cmdargs.files ghc-cmdargs-devel.files ghc-cmdargs-doc.files ghc-cmdargs-prof.files + '[' -f ghc-cmdargs.files ']' + sed -i -e 's!/builddir/build/BUILD/ghc-cmdargs-0.10.22-build/BUILDROOT!!g' ghc-cmdargs.files + for i in ghc-cmdargs.files ghc-cmdargs-devel.files ghc-cmdargs-doc.files ghc-cmdargs-prof.files + '[' -f ghc-cmdargs-devel.files ']' + sed -i -e 's!/builddir/build/BUILD/ghc-cmdargs-0.10.22-build/BUILDROOT!!g' ghc-cmdargs-devel.files + for i in ghc-cmdargs.files ghc-cmdargs-devel.files ghc-cmdargs-doc.files ghc-cmdargs-prof.files + '[' -f ghc-cmdargs-doc.files ']' + sed -i -e 's!/builddir/build/BUILD/ghc-cmdargs-0.10.22-build/BUILDROOT!!g' ghc-cmdargs-doc.files + for i in ghc-cmdargs.files ghc-cmdargs-devel.files ghc-cmdargs-doc.files ghc-cmdargs-prof.files + '[' -f ghc-cmdargs-prof.files ']' + sed -i -e 's!/builddir/build/BUILD/ghc-cmdargs-0.10.22-build/BUILDROOT!!g' ghc-cmdargs-prof.files + echo 'deleting rpaths:' deleting rpaths: + type chrpath ++ find /builddir/build/BUILD/ghc-cmdargs-0.10.22-build/BUILDROOT -type f -executable -exec sh -c 'file {} | grep -q '\''dynamically linked'\''' ';' -print + for i in $(find /builddir/build/BUILD/ghc-cmdargs-0.10.22-build/BUILDROOT -type f -executable -exec sh -c "file {} | grep -q 'dynamically linked'" \; -print) ++ chrpath /builddir/build/BUILD/ghc-cmdargs-0.10.22-build/BUILDROOT/usr/lib64/ghc-9.10.3/lib/libHScmdargs-0.10.22-InbNZlr0F7W775Ef4vL4Ud-ghc9.10.3.so ++ sed -e 's@^/builddir/build/BUILD/ghc-cmdargs-0.10.22-build/BUILDROOT/usr/lib64/ghc-9.10.3/lib/libHScmdargs-0.10.22-InbNZlr0F7W775Ef4vL4Ud-ghc9.10.3.so: R.*PATH=@@' + rpath=/usr/lib64/ghc-9.10.3/lib/riscv64-linux-ghc-9.10.3 + case "$rpath" in + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + COMPRESS='gzip -9 -n' + COMPRESS_EXT=.gz + /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/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 -j8 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-det --brp -j8 /builddir/build/BUILD/ghc-cmdargs-0.10.22-build/BUILDROOT /builddir/build/BUILD/ghc-cmdargs-0.10.22-build/BUILDROOT/usr/lib64/ghc-9.10.3/lib/cmdargs-0.10.22/libHScmdargs-0.10.22-InbNZlr0F7W775Ef4vL4Ud.a: replacing with normalized version Scanned 24 directories and 127 files, processed 63 inodes, 1 modified (1 replaced + 0 rewritten), 0 unsupported format, 0 errors + /usr/bin/linkdupes --brp /builddir/build/BUILD/ghc-cmdargs-0.10.22-build/BUILDROOT/usr Scanned 23 directories and 127 files, considered 127 files, read 0 files, linked 0 files, 0 errors sum of sizes of linked files: 0 bytes Reading /builddir/build/BUILD/ghc-cmdargs-0.10.22-build/SPECPARTS/rpm-debuginfo.specpart Processing files: ghc-cmdargs-0.10.22-13.fc45.riscv64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.tMGgv0 + umask 022 + cd /builddir/build/BUILD/ghc-cmdargs-0.10.22-build + cd cmdargs-0.10.22 + LICENSEDIR=/builddir/build/BUILD/ghc-cmdargs-0.10.22-build/BUILDROOT/usr/share/licenses/ghc-cmdargs + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILD/ghc-cmdargs-0.10.22-build/BUILDROOT/usr/share/licenses/ghc-cmdargs + cp -pr /builddir/build/BUILD/ghc-cmdargs-0.10.22-build/cmdargs-0.10.22/LICENSE /builddir/build/BUILD/ghc-cmdargs-0.10.22-build/BUILDROOT/usr/share/licenses/ghc-cmdargs + RPM_EC=0 ++ jobs -p + exit 0 Provides: ghc-cmdargs = 0.10.22-13.fc45 ghc-cmdargs(riscv-64) = 0.10.22-13.fc45 libHScmdargs-0.10.22-InbNZlr0F7W775Ef4vL4Ud-ghc9.10.3.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-inplace-ghc9.10.3.so()(64bit) libHSbase-4.20.2.0-inplace-ghc9.10.3.so()(64bit) libHSbytestring-0.12.2.0-inplace-ghc9.10.3.so()(64bit) libHSdeepseq-1.5.0.0-inplace-ghc9.10.3.so()(64bit) libHSdirectory-1.3.8.5-inplace-ghc9.10.3.so()(64bit) libHSexceptions-0.10.9-inplace-ghc9.10.3.so()(64bit) libHSfilepath-1.5.4.0-inplace-ghc9.10.3.so()(64bit) libHSghc-bignum-1.3-inplace-ghc9.10.3.so()(64bit) libHSghc-boot-th-9.10.3-inplace-ghc9.10.3.so()(64bit) libHSghc-internal-9.1003.0-inplace-ghc9.10.3.so()(64bit) libHSghc-prim-0.12.0-inplace-ghc9.10.3.so()(64bit) libHSmtl-2.3.1-inplace-ghc9.10.3.so()(64bit) libHSos-string-2.0.7-inplace-ghc9.10.3.so()(64bit) libHSpretty-1.1.3.6-inplace-ghc9.10.3.so()(64bit) libHSprocess-1.6.26.1-inplace-ghc9.10.3.so()(64bit) libHSstm-2.5.3.1-inplace-ghc9.10.3.so()(64bit) libHStemplate-haskell-2.22.0.0-inplace-ghc9.10.3.so()(64bit) libHStime-1.12.2-inplace-ghc9.10.3.so()(64bit) libHStransformers-0.6.1.1-inplace-ghc9.10.3.so()(64bit) libHSunix-2.8.7.0-inplace-ghc9.10.3.so()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libgmp.so.10()(64bit) libm.so.6()(64bit) rtld(GNU_HASH) Processing files: ghc-cmdargs-devel-0.10.22-13.fc45.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.tqw2SI + umask 022 + cd /builddir/build/BUILD/ghc-cmdargs-0.10.22-build + cd cmdargs-0.10.22 + DOCDIR=/builddir/build/BUILD/ghc-cmdargs-0.10.22-build/BUILDROOT/usr/share/doc/ghc-cmdargs-devel + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILD/ghc-cmdargs-0.10.22-build/BUILDROOT/usr/share/doc/ghc-cmdargs-devel + cp -pr /builddir/build/BUILD/ghc-cmdargs-0.10.22-build/cmdargs-0.10.22/README.md /builddir/build/BUILD/ghc-cmdargs-0.10.22-build/BUILDROOT/usr/share/doc/ghc-cmdargs-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: ghc-cmdargs-devel = 0.10.22-13.fc45 ghc-cmdargs-devel(riscv-64) = 0.10.22-13.fc45 ghc-cmdargs-static = 0.10.22-13.fc45 ghc-cmdargs-static(riscv-64) = 0.10.22-13.fc45 ghc-devel(cmdargs-0.10.22-InbNZlr0F7W775Ef4vL4Ud) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ghc-devel(base-4.20.2.0-inplace) ghc-devel(filepath-1.5.4.0-inplace) ghc-devel(process-1.6.26.1-inplace) ghc-devel(template-haskell-2.22.0.0-inplace) ghc-devel(transformers-0.6.1.1-inplace) Processing files: ghc-cmdargs-doc-0.10.22-13.fc45.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.cyAZTI + umask 022 + cd /builddir/build/BUILD/ghc-cmdargs-0.10.22-build + cd cmdargs-0.10.22 + LICENSEDIR=/builddir/build/BUILD/ghc-cmdargs-0.10.22-build/BUILDROOT/usr/share/licenses/ghc-cmdargs-doc + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILD/ghc-cmdargs-0.10.22-build/BUILDROOT/usr/share/licenses/ghc-cmdargs-doc + cp -pr /builddir/build/BUILD/ghc-cmdargs-0.10.22-build/cmdargs-0.10.22/LICENSE /builddir/build/BUILD/ghc-cmdargs-0.10.22-build/BUILDROOT/usr/share/licenses/ghc-cmdargs-doc + RPM_EC=0 ++ jobs -p + exit 0 Provides: ghc-cmdargs-doc = 0.10.22-13.fc45 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILD/ghc-cmdargs-0.10.22-build/BUILDROOT Wrote: /builddir/build/RPMS/ghc-cmdargs-0.10.22-13.fc45.riscv64.rpm Wrote: /builddir/build/RPMS/ghc-cmdargs-doc-0.10.22-13.fc45.noarch.rpm Wrote: /builddir/build/RPMS/ghc-cmdargs-devel-0.10.22-13.fc45.riscv64.rpm Child return code was: 0