Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/ghc-bitarray.spec'], chrootPath='/var/lib/mock/fedora-rawhide-ppc64le-1671856323.556903/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.rrfqxilb:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.rrfqxilb:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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', '030918ca9c45439c999574aa92ff5c0a', '-D', '/var/lib/mock/fedora-rawhide-ppc64le-1671856323.556903/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.rrfqxilb:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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 --target ppc64le --nodeps /builddir/build/SPECS/ghc-bitarray.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: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1658361600 Wrote: /builddir/build/SRPMS/ghc-bitarray-0.0.1.1-11.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/ghc-bitarray.spec'], chrootPath='/var/lib/mock/fedora-rawhide-ppc64le-1671856323.556903/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.rrfqxilb:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.rrfqxilb:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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', '8c19d71e11b94e88820039b2b3d138ac', '-D', '/var/lib/mock/fedora-rawhide-ppc64le-1671856323.556903/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.rrfqxilb:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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 --target ppc64le --nodeps /builddir/build/SPECS/ghc-bitarray.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: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1658361600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.mmA8kt + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf bitarray-0.0.1.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/bitarray-0.0.1.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd bitarray-0.0.1.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp -bp /builddir/build/SOURCES/bitarray-0.0.1.1.cabal bitarray.cabal + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.KahTN7 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + 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 bitarray-0.0.1.1 ++ ls ++ grep -i -e '^\(ANNOUNCE\|AUTHORS\|CHANGELOG\|CHANGES\|CONTRIBUTORS\|README\|TODO\)' + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + export 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + '[' -f Setup.hs -o -f Setup.lhs ']' + '[' -x Setup ']' + ghc --make -package Cabal -no-user-package-db -dynamic Setup [1 of 1] Compiling Main ( Setup.lhs, Setup.o ) Linking Setup ... + LANG=C.utf8 + ./Setup --version Cabal library version 3.2.1.0 + '[' -x Setup ']' + LANG=C.utf8 ++ echo ' -O2' -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ++ 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-bitarray '--libsubdir=$compiler/$pkgid' '--datasubdir=$pkgid' '--libexecsubdir=$pkgid' --ghc --dynlibdir=/usr/lib64 --global '--ghc-options= -optc-O2 -optc-fexceptions -optc-g -optc-grecord-gcc-switches -optc-pipe -optc-Wall -optc-Werror=format-security -optc-Wp,-D_FORTIFY_SOURCE=2 -optc-Wp,-D_GLIBCXX_ASSERTIONS -optc-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -optc-fstack-protector-strong -optc-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -optc-m64 -optc-mcpu=power8 -optc-mtune=power8 -optc-fasynchronous-unwind-tables -optc-fstack-clash-protection -optl-Wl,-z,relro -optl-Wl,--as-needed -optl-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -optl-Wl,--build-id=sha1 -fhide-source-paths' -p --enable-shared --htmldir=/usr/share/doc/ghc/html/libraries/bitarray-0.0.1.1 --global Configuring bitarray-0.0.1.1... + '[' -x Setup ']' + LANG=C.utf8 + ./Setup build Preprocessing library for bitarray-0.0.1.1.. Building library for bitarray-0.0.1.1.. [1 of 4] Compiling Data.BitArray.Immutable [2 of 4] Compiling Data.BitArray.IO Data/BitArray/IO.hs:49:5: warning: [-Wname-shadowing] This binding for ‘words’ shadows the existing binding imported from ‘Prelude’ at Data/BitArray/IO.hs:4:8-23 (and originally defined in ‘base-4.14.3.0:Data.OldList’) | 49 | words <- newArray (0,k-1) w | ^^^^^ [3 of 4] Compiling Data.BitArray.ST Data/BitArray/ST.hs:51:5: warning: [-Wname-shadowing] This binding for ‘words’ shadows the existing binding imported from ‘Prelude’ at Data/BitArray/ST.hs:4:8-23 (and originally defined in ‘base-4.14.3.0:Data.OldList’) | 51 | words <- newArray (0,k-1) w | ^^^^^ [4 of 4] Compiling Data.BitArray Data/BitArray.hs:28:1: warning: [-Wunused-imports] The import of ‘Data.Word’ is redundant except perhaps to import instances from ‘Data.Word’ To import instances alone, use: import Data.Word() | 28 | import Data.Word | ^^^^^^^^^^^^^^^^ Data/BitArray.hs:37:1: warning: [-Worphans] Orphan instance: instance Eq BitArray To avoid this move the instance declaration to the module of the class or of the type, or wrap the type with a newtype and declare the instance on the new type. | 37 | instance Eq BitArray where | ^^^^^^^^^^^^^^^^^^^^^^^^^^... Data/BitArray.hs:40:1: warning: [-Worphans] Orphan instance: instance Ord BitArray To avoid this move the instance declaration to the module of the class or of the type, or wrap the type with a newtype and declare the instance on the new type. | 40 | instance Ord BitArray where | ^^^^^^^^^^^^^^^^^^^^^^^^^^^... Data/BitArray.hs:43:1: warning: [-Worphans] Orphan instance: instance Show BitArray To avoid this move the instance declaration to the module of the class or of the type, or wrap the type with a newtype and declare the instance on the new type. | 43 | instance Show BitArray where | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^... Data/BitArray.hs:71:1: warning: SPECIALISE pragma for non-overloaded function ‘accumBitArray’ | 71 | {-# SPECIALIZE accumBitArray :: (Bool -> Bool -> Bool) -> Bool -> (Int,Int) -> [(Int,Bool)] -> BitArray #-} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Data/BitArray.hs:86:10: warning: [-Wname-shadowing] This binding for ‘bs’ shadows the existing binding bound at Data/BitArray.hs:82:20 | 86 | worker bs = convert (take 64 bs) : worker (drop 64 bs) | ^^ Data/BitArray.hs:87:11: warning: [-Wname-shadowing] This binding for ‘bs’ shadows the existing binding bound at Data/BitArray.hs:82:20 | 87 | convert bs = fst $ foldl f (0,1) bs | ^^ [1 of 4] Compiling Data.BitArray.Immutable [2 of 4] Compiling Data.BitArray.IO Data/BitArray/IO.hs:49:5: warning: [-Wname-shadowing] This binding for ‘words’ shadows the existing binding imported from ‘Prelude’ at Data/BitArray/IO.hs:4:8-23 (and originally defined in ‘base-4.14.3.0:Data.OldList’) | 49 | words <- newArray (0,k-1) w | ^^^^^ [3 of 4] Compiling Data.BitArray.ST Data/BitArray/ST.hs:51:5: warning: [-Wname-shadowing] This binding for ‘words’ shadows the existing binding imported from ‘Prelude’ at Data/BitArray/ST.hs:4:8-23 (and originally defined in ‘base-4.14.3.0:Data.OldList’) | 51 | words <- newArray (0,k-1) w | ^^^^^ [4 of 4] Compiling Data.BitArray Data/BitArray.hs:28:1: warning: [-Wunused-imports] The import of ‘Data.Word’ is redundant except perhaps to import instances from ‘Data.Word’ To import instances alone, use: import Data.Word() | 28 | import Data.Word | ^^^^^^^^^^^^^^^^ Data/BitArray.hs:37:1: warning: [-Worphans] Orphan instance: instance Eq BitArray To avoid this move the instance declaration to the module of the class or of the type, or wrap the type with a newtype and declare the instance on the new type. | 37 | instance Eq BitArray where | ^^^^^^^^^^^^^^^^^^^^^^^^^^... Data/BitArray.hs:40:1: warning: [-Worphans] Orphan instance: instance Ord BitArray To avoid this move the instance declaration to the module of the class or of the type, or wrap the type with a newtype and declare the instance on the new type. | 40 | instance Ord BitArray where | ^^^^^^^^^^^^^^^^^^^^^^^^^^^... Data/BitArray.hs:43:1: warning: [-Worphans] Orphan instance: instance Show BitArray To avoid this move the instance declaration to the module of the class or of the type, or wrap the type with a newtype and declare the instance on the new type. | 43 | instance Show BitArray where | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^... Data/BitArray.hs:71:1: warning: SPECIALISE pragma for non-overloaded function ‘accumBitArray’ | 71 | {-# SPECIALIZE accumBitArray :: (Bool -> Bool -> Bool) -> Bool -> (Int,Int) -> [(Int,Bool)] -> BitArray #-} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Data/BitArray.hs:86:10: warning: [-Wname-shadowing] This binding for ‘bs’ shadows the existing binding bound at Data/BitArray.hs:82:20 | 86 | worker bs = convert (take 64 bs) : worker (drop 64 bs) | ^^ Data/BitArray.hs:87:11: warning: [-Wname-shadowing] This binding for ‘bs’ shadows the existing binding bound at Data/BitArray.hs:82:20 | 87 | convert bs = fst $ foldl f (0,1) bs | ^^ + '[' -n dist/build/libHSbitarray-0.0.1.1-5Lqyfd7vb6yGq930GfC8FG-ghc8.10.7.so ']' + '[' -x Setup ']' + LANG=C.utf8 + ./Setup haddock --html --hyperlink-source --hoogle Preprocessing library for bitarray-0.0.1.1.. Running Haddock on library for bitarray-0.0.1.1.. Warning: The documentation for the following packages are not installed. No links will be generated to these packages: array-0.5.4.0, base-4.14.3.0, ghc-prim-0.6.1, integer-gmp-1.0.3.0 Warning: --source-* options are ignored when --hyperlinked-source is enabled. Data/BitArray/IO.hs:49:5: warning: [-Wname-shadowing] This binding for ‘words’ shadows the existing binding imported from ‘Prelude’ at Data/BitArray/IO.hs:4:8-23 (and originally defined in ‘base-4.14.3.0:Data.OldList’) | 49 | words <- newArray (0,k-1) w | ^^^^^ Data/BitArray/ST.hs:51:5: warning: [-Wname-shadowing] This binding for ‘words’ shadows the existing binding imported from ‘Prelude’ at Data/BitArray/ST.hs:4:8-23 (and originally defined in ‘base-4.14.3.0:Data.OldList’) | 51 | words <- newArray (0,k-1) w | ^^^^^ Data/BitArray.hs:28:1: warning: [-Wunused-imports] The import of ‘Data.Word’ is redundant except perhaps to import instances from ‘Data.Word’ To import instances alone, use: import Data.Word() | 28 | import Data.Word | ^^^^^^^^^^^^^^^^ Data/BitArray.hs:37:1: warning: [-Worphans] Orphan instance: instance Eq BitArray To avoid this move the instance declaration to the module of the class or of the type, or wrap the type with a newtype and declare the instance on the new type. | 37 | instance Eq BitArray where | ^^^^^^^^^^^^^^^^^^^^^^^^^^... Data/BitArray.hs:40:1: warning: [-Worphans] Orphan instance: instance Ord BitArray To avoid this move the instance declaration to the module of the class or of the type, or wrap the type with a newtype and declare the instance on the new type. | 40 | instance Ord BitArray where | ^^^^^^^^^^^^^^^^^^^^^^^^^^^... Data/BitArray.hs:43:1: warning: [-Worphans] Orphan instance: instance Show BitArray To avoid this move the instance declaration to the module of the class or of the type, or wrap the type with a newtype and declare the instance on the new type. | 43 | instance Show BitArray where | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^... Data/BitArray.hs:71:1: warning: SPECIALISE pragma for non-overloaded function ‘accumBitArray’ | 71 | {-# SPECIALIZE accumBitArray :: (Bool -> Bool -> Bool) -> Bool -> (Int,Int) -> [(Int,Bool)] -> BitArray #-} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Data/BitArray.hs:86:10: warning: [-Wname-shadowing] This binding for ‘bs’ shadows the existing binding bound at Data/BitArray.hs:82:20 | 86 | worker bs = convert (take 64 bs) : worker (drop 64 bs) | ^^ Data/BitArray.hs:87:11: warning: [-Wname-shadowing] This binding for ‘bs’ shadows the existing binding bound at Data/BitArray.hs:82:20 | 87 | convert bs = fst $ foldl f (0,1) bs | ^^ Haddock coverage: 14% ( 2 / 14) in 'Data.BitArray.IO' Missing documentation for: IOBitArray (Data/BitArray/IO.hs:34) getBitArrayBounds (Data/BitArray/IO.hs:42) newBitArray (Data/BitArray/IO.hs:45) readBit (Data/BitArray/IO.hs:58) writeBit (Data/BitArray/IO.hs:69) unsafeReadBit (Data/BitArray/IO.hs:63) unsafeWriteBit (Data/BitArray/IO.hs:74) unsafeFlipBit (Data/BitArray/IO.hs:89) thawBitArray (Data/BitArray/IO.hs:101) unsafeThawBitArray (Data/BitArray/IO.hs:105) freezeBitArray (Data/BitArray/IO.hs:109) unsafeFreezeBitArray (Data/BitArray/IO.hs:113) 14% ( 2 / 14) in 'Data.BitArray.ST' Missing documentation for: STBitArray (Data/BitArray/ST.hs:36) getBitArrayBounds (Data/BitArray/ST.hs:44) newBitArray (Data/BitArray/ST.hs:47) readBit (Data/BitArray/ST.hs:60) writeBit (Data/BitArray/ST.hs:71) unsafeReadBit (Data/BitArray/ST.hs:65) unsafeWriteBit (Data/BitArray/ST.hs:76) unsafeFlipBit (Data/BitArray/ST.hs:91) thawBitArray (Data/BitArray/ST.hs:103) unsafeThawBitArray (Data/BitArray/ST.hs:107) freezeBitArray (Data/BitArray/ST.hs:111) unsafeFreezeBitArray (Data/BitArray/ST.hs:115) 50% ( 7 / 14) in 'Data.BitArray' Missing documentation for: bitArrayBounds (Data/BitArray.hs:48) lookupBit (Data/BitArray.hs:51) unsafeLookupBit (Data/BitArray.hs:56) accumBitArray (Data/BitArray.hs:72) bits (Data/BitArray.hs:90) bits01 (Data/BitArray.hs:100) listBitArray01 (Data/BitArray.hs:97) Warning: Data.BitArray.IO: could not find link destinations for: - GHC.Types.IO - GHC.Types.Int - GHC.Types.Bool Warning: Data.BitArray.ST: could not find link destinations for: - GHC.ST.ST - GHC.Types.Int - GHC.Types.Bool Warning: Data.BitArray: could not find link destinations for: - GHC.Word.Word64 - GHC.Classes.Eq - GHC.Classes.== - GHC.Types.Bool - GHC.Classes./= - GHC.Classes.Ord - GHC.Classes.compare - GHC.Types.Ordering - GHC.Classes.< - GHC.Classes.<= - GHC.Classes.> - GHC.Classes.>= - GHC.Classes.max - GHC.Classes.min - GHC.Show.Show - GHC.Show.showsPrec - GHC.Types.Int - GHC.Show.ShowS - GHC.Show.show - GHC.Base.String - GHC.Show.showList - GHC.Types.False Documentation created: dist/doc/html/bitarray/index.html, dist/doc/html/bitarray/bitarray.txt + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ZEu4E3 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ghc-bitarray-0.0.1.1-11.fc38.ppc64le '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ghc-bitarray-0.0.1.1-11.fc38.ppc64le ++ dirname /builddir/build/BUILDROOT/ghc-bitarray-0.0.1.1-11.fc38.ppc64le + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ghc-bitarray-0.0.1.1-11.fc38.ppc64le + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + 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 bitarray-0.0.1.1 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup copy --destdir=/builddir/build/BUILDROOT/ghc-bitarray-0.0.1.1-11.fc38.ppc64le Installing library in /builddir/build/BUILDROOT/ghc-bitarray-0.0.1.1-11.fc38.ppc64le/usr/lib64/ghc-8.10.7/bitarray-0.0.1.1 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup register --gen-pkg-config + '[' -d bitarray-0.0.1.1.conf ']' + install -D --mode=0644 bitarray-0.0.1.1.conf /builddir/build/BUILDROOT/ghc-bitarray-0.0.1.1-11.fc38.ppc64le/usr/lib64/ghc-8.10.7/package.conf.d/bitarray-0.0.1.1.conf ++ ls /builddir/build/BUILDROOT/ghc-bitarray-0.0.1.1-11.fc38.ppc64le/usr/lib64/ghc-8.10.7/package.conf.d/bitarray-0.0.1.1.conf + '[' -z /builddir/build/BUILDROOT/ghc-bitarray-0.0.1.1-11.fc38.ppc64le/usr/lib64/ghc-8.10.7/package.conf.d/bitarray-0.0.1.1.conf ']' + rm -f ghc-bitarray.files ghc-bitarray-doc.files + touch ghc-bitarray.files ghc-bitarray-doc.files + for i in /builddir/build/BUILDROOT/ghc-bitarray-0.0.1.1-11.fc38.ppc64le/usr/lib64/libHSbitarray-0.0.1.1-*ghc8.10.7.so + '[' -x /builddir/build/BUILDROOT/ghc-bitarray-0.0.1.1-11.fc38.ppc64le/usr/lib64/libHSbitarray-0.0.1.1-5Lqyfd7vb6yGq930GfC8FG-ghc8.10.7.so ']' + echo /builddir/build/BUILDROOT/ghc-bitarray-0.0.1.1-11.fc38.ppc64le/usr/lib64/libHSbitarray-0.0.1.1-5Lqyfd7vb6yGq930GfC8FG-ghc8.10.7.so + pkgdir=/usr/lib64/ghc-8.10.7/bitarray-0.0.1.1 + '[' -d /builddir/build/BUILDROOT/ghc-bitarray-0.0.1.1-11.fc38.ppc64le/usr/lib64/ghc-8.10.7/bitarray-0.0.1.1 ']' + find /builddir/build/BUILDROOT/ghc-bitarray-0.0.1.1-11.fc38.ppc64le/usr/lib64/ghc-8.10.7/bitarray-0.0.1.1 -type d -fprintf ghc-bitarray-devel.files '%%dir %p\n' -o '(' -name '*.p_hi' -o -name 'libHS*_p.a' ')' -fprint ghc-bitarray-prof.files -o -fprint ghc-bitarray-devel.files + ls /builddir/build/BUILDROOT/ghc-bitarray-0.0.1.1-11.fc38.ppc64le/usr/lib64/ghc-8.10.7/package.conf.d/bitarray-0.0.1.1.conf + haddock_dir=/usr/share/doc/ghc/html/libraries/bitarray-0.0.1.1 + '[' -d /builddir/build/BUILDROOT/ghc-bitarray-0.0.1.1-11.fc38.ppc64le/usr/share/doc/ghc/html/libraries/bitarray-0.0.1.1 ']' + echo /usr/share/doc/ghc/html/libraries/bitarray-0.0.1.1 + for i in ghc-bitarray.files ghc-bitarray-devel.files ghc-bitarray-doc.files ghc-bitarray-prof.files + '[' -f ghc-bitarray.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-bitarray-0.0.1.1-11.fc38.ppc64le!!g' ghc-bitarray.files + for i in ghc-bitarray.files ghc-bitarray-devel.files ghc-bitarray-doc.files ghc-bitarray-prof.files + '[' -f ghc-bitarray-devel.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-bitarray-0.0.1.1-11.fc38.ppc64le!!g' ghc-bitarray-devel.files + for i in ghc-bitarray.files ghc-bitarray-devel.files ghc-bitarray-doc.files ghc-bitarray-prof.files + '[' -f ghc-bitarray-doc.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-bitarray-0.0.1.1-11.fc38.ppc64le!!g' ghc-bitarray-doc.files + for i in ghc-bitarray.files ghc-bitarray-devel.files ghc-bitarray-doc.files ghc-bitarray-prof.files + '[' -f ghc-bitarray-prof.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-bitarray-0.0.1.1-11.fc38.ppc64le!!g' ghc-bitarray-prof.files + echo 'running ghc_delete_rpaths:' running ghc_delete_rpaths: + type chrpath ++ find /builddir/build/BUILDROOT/ghc-bitarray-0.0.1.1-11.fc38.ppc64le -type f -executable -exec sh -c 'file {} | grep -q '\''dynamically linked'\''' ';' -print + for i in $(find /builddir/build/BUILDROOT/ghc-bitarray-0.0.1.1-11.fc38.ppc64le -type f -executable -exec sh -c "file {} | grep -q 'dynamically linked'" \; -print) + '[' -x /builddir/build/BUILDROOT/ghc-bitarray-0.0.1.1-11.fc38.ppc64le/usr/lib64/libHSbitarray-0.0.1.1-5Lqyfd7vb6yGq930GfC8FG-ghc8.10.7.so ']' + chrpath -d /builddir/build/BUILDROOT/ghc-bitarray-0.0.1.1-11.fc38.ppc64le/usr/lib64/libHSbitarray-0.0.1.1-5Lqyfd7vb6yGq930GfC8FG-ghc8.10.7.so + /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-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: ghc-bitarray-0.0.1.1-11.fc38.ppc64le Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.JPgwh5 + umask 022 + cd /builddir/build/BUILD + cd bitarray-0.0.1.1 + LICENSEDIR=/builddir/build/BUILDROOT/ghc-bitarray-0.0.1.1-11.fc38.ppc64le/usr/share/licenses/ghc-bitarray + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ghc-bitarray-0.0.1.1-11.fc38.ppc64le/usr/share/licenses/ghc-bitarray + cp -pr LICENSE /builddir/build/BUILDROOT/ghc-bitarray-0.0.1.1-11.fc38.ppc64le/usr/share/licenses/ghc-bitarray + RPM_EC=0 ++ jobs -p + exit 0 Provides: ghc-bitarray = 0.0.1.1-11.fc38 ghc-bitarray(ppc-64) = 0.0.1.1-11.fc38 libHSbitarray-0.0.1.1-5Lqyfd7vb6yGq930GfC8FG-ghc8.10.7.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.4.0-ghc8.10.7.so()(64bit) libHSbase-4.14.3.0-ghc8.10.7.so()(64bit) libHSghc-prim-0.6.1-ghc8.10.7.so()(64bit) libHSinteger-gmp-1.0.3.0-ghc8.10.7.so()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libgmp.so.10()(64bit) libm.so.6()(64bit) rtld(GNU_HASH) Processing files: ghc-bitarray-devel-0.0.1.1-11.fc38.ppc64le Provides: ghc-bitarray-devel = 0.0.1.1-11.fc38 ghc-bitarray-devel(ppc-64) = 0.0.1.1-11.fc38 ghc-bitarray-static = 0.0.1.1-11.fc38 ghc-bitarray-static(ppc-64) = 0.0.1.1-11.fc38 ghc-devel(bitarray-0.0.1.1-5Lqyfd7vb6yGq930GfC8FG) 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.4.0) ghc-devel(base-4.14.3.0) Processing files: ghc-bitarray-doc-0.0.1.1-11.fc38.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.6NKocS + umask 022 + cd /builddir/build/BUILD + cd bitarray-0.0.1.1 + LICENSEDIR=/builddir/build/BUILDROOT/ghc-bitarray-0.0.1.1-11.fc38.ppc64le/usr/share/licenses/ghc-bitarray-doc + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ghc-bitarray-0.0.1.1-11.fc38.ppc64le/usr/share/licenses/ghc-bitarray-doc + cp -pr LICENSE /builddir/build/BUILDROOT/ghc-bitarray-0.0.1.1-11.fc38.ppc64le/usr/share/licenses/ghc-bitarray-doc + RPM_EC=0 ++ jobs -p + exit 0 Provides: ghc-bitarray-doc = 0.0.1.1-11.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: ghc-bitarray-prof-0.0.1.1-11.fc38.ppc64le Provides: ghc-bitarray-prof = 0.0.1.1-11.fc38 ghc-bitarray-prof(ppc-64) = 0.0.1.1-11.fc38 ghc-prof(bitarray-0.0.1.1-5Lqyfd7vb6yGq930GfC8FG) 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.4.0) ghc-prof(base-4.14.3.0) Supplements: (ghc-bitarray-devel and ghc-prof) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ghc-bitarray-0.0.1.1-11.fc38.ppc64le Wrote: /builddir/build/RPMS/ghc-bitarray-0.0.1.1-11.fc38.ppc64le.rpm Wrote: /builddir/build/RPMS/ghc-bitarray-doc-0.0.1.1-11.fc38.noarch.rpm Wrote: /builddir/build/RPMS/ghc-bitarray-devel-0.0.1.1-11.fc38.ppc64le.rpm Wrote: /builddir/build/RPMS/ghc-bitarray-prof-0.0.1.1-11.fc38.ppc64le.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Rq4ZH0 + umask 022 + cd /builddir/build/BUILD + cd bitarray-0.0.1.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ghc-bitarray-0.0.1.1-11.fc38.ppc64le + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.aBaJ9V + umask 022 + cd /builddir/build/BUILD + rm -rf bitarray-0.0.1.1 bitarray-0.0.1.1.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0