Mock Version: 3.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/rust-buf_redux.spec'], chrootPath='/var/lib/mock/fedora-rawhide-ppc64le-1665975984.041170/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.wzby8tri:/etc/resolv.conf', '--bind=/dev/btrfs-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.wzby8tri:/etc/resolv.conf', '--bind=/dev/btrfs-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', '0962c4ba98e441ed9c1cc640a3d28ca4', '-D', '/var/lib/mock/fedora-rawhide-ppc64le-1665975984.041170/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.wzby8tri:/etc/resolv.conf', '--bind=/dev/btrfs-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/rust-buf_redux.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=1665964800 Wrote: /builddir/build/SRPMS/rust-buf_redux-0.8.4-1.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --target ppc64le --nodeps /builddir/build/SPECS/rust-buf_redux.spec'], chrootPath='/var/lib/mock/fedora-rawhide-ppc64le-1665975984.041170/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.wzby8tri:/etc/resolv.conf', '--bind=/dev/btrfs-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=TrueraiseExc=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.wzby8tri:/etc/resolv.conf', '--bind=/dev/btrfs-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', '6a015902efd7443dbc7074da2d09aa4f', '-D', '/var/lib/mock/fedora-rawhide-ppc64le-1665975984.041170/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.wzby8tri:/etc/resolv.conf', '--bind=/dev/btrfs-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 -br --target ppc64le --nodeps /builddir/build/SPECS/rust-buf_redux.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=1665964800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.p42vns + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf buf_redux-0.8.4 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/buf_redux-0.8.4.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd buf_redux-0.8.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/buf_redux-minimum-alloc.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + set -eu + /usr/bin/mkdir -p .cargo + cat + /usr/bin/rm -f Cargo.lock + /usr/bin/rm -f Cargo.toml.orig + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.yELEuB + umask 022 + cd /builddir/build/BUILD + cd buf_redux-0.8.4 + /usr/bin/cargo-inspector -BR Cargo.toml + /usr/bin/cargo-inspector -TR Cargo.toml + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-buf_redux-0.8.4-1.fc38.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --target ppc64le --nodeps /builddir/build/SPECS/rust-buf_redux.spec'], chrootPath='/var/lib/mock/fedora-rawhide-ppc64le-1665975984.041170/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.wzby8tri:/etc/resolv.conf', '--bind=/dev/btrfs-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=TrueraiseExc=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.wzby8tri:/etc/resolv.conf', '--bind=/dev/btrfs-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', '6f5fea91f9f04af3a068646cf14f42d9', '-D', '/var/lib/mock/fedora-rawhide-ppc64le-1665975984.041170/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.wzby8tri:/etc/resolv.conf', '--bind=/dev/btrfs-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 -br --target ppc64le --nodeps /builddir/build/SPECS/rust-buf_redux.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=1665964800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.lP6riA + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf buf_redux-0.8.4 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/buf_redux-0.8.4.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd buf_redux-0.8.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/buf_redux-minimum-alloc.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + set -eu + /usr/bin/mkdir -p .cargo + cat + /usr/bin/rm -f Cargo.lock + /usr/bin/rm -f Cargo.toml.orig + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.rhPMQE + umask 022 + cd /builddir/build/BUILD + cd buf_redux-0.8.4 + /usr/bin/cargo-inspector -BR Cargo.toml + /usr/bin/cargo-inspector -TR Cargo.toml + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-buf_redux-0.8.4-1.fc38.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --target ppc64le --nodeps /builddir/build/SPECS/rust-buf_redux.spec'], chrootPath='/var/lib/mock/fedora-rawhide-ppc64le-1665975984.041170/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.wzby8tri:/etc/resolv.conf', '--bind=/dev/btrfs-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.wzby8tri:/etc/resolv.conf', '--bind=/dev/btrfs-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', 'a7a4be47f41542939473002450f7f412', '-D', '/var/lib/mock/fedora-rawhide-ppc64le-1665975984.041170/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.wzby8tri:/etc/resolv.conf', '--bind=/dev/btrfs-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 -ba --noprep --target ppc64le --nodeps /builddir/build/SPECS/rust-buf_redux.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=1665964800 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.n06fCv + umask 022 + cd /builddir/build/BUILD + cd buf_redux-0.8.4 + /usr/bin/cargo-inspector -BR Cargo.toml + /usr/bin/cargo-inspector -TR Cargo.toml + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.7X7O8U + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -flto=auto -ffat-lto-objects -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 -flto=auto -ffat-lto-objects -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 -flto=auto -ffat-lto-objects -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 + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd buf_redux-0.8.4 + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' /usr/bin/cargo build -j5 -Z avoid-dev-deps --release Compiling libc v0.2.134 Compiling memchr v2.5.0 Running `/usr/bin/rustc --crate-name build_script_build /usr/share/cargo/registry/libc-0.2.134/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="std"' --cfg 'feature="use_std"' -C metadata=1c0235f2377bf88f -C extra-filename=-1c0235f2377bf88f --out-dir /builddir/build/BUILD/buf_redux-0.8.4/target/release/build/libc-1c0235f2377bf88f -L dependency=/builddir/build/BUILD/buf_redux-0.8.4/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling safemem v0.3.3 Running `/usr/bin/rustc --crate-name build_script_build --edition=2018 /usr/share/cargo/registry/memchr-2.5.0/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=8d27018ea620c2eb -C extra-filename=-8d27018ea620c2eb --out-dir /builddir/build/BUILD/buf_redux-0.8.4/target/release/build/memchr-8d27018ea620c2eb -L dependency=/builddir/build/BUILD/buf_redux-0.8.4/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name safemem /usr/share/cargo/registry/safemem-0.3.3/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=6c5c32ee4473491a -C extra-filename=-6c5c32ee4473491a --out-dir /builddir/build/BUILD/buf_redux-0.8.4/target/release/deps -L dependency=/builddir/build/BUILD/buf_redux-0.8.4/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/builddir/build/BUILD/buf_redux-0.8.4/target/release/build/memchr-8d27018ea620c2eb/build-script-build` Running `/usr/bin/rustc --crate-name memchr --edition=2018 /usr/share/cargo/registry/memchr-2.5.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=faedf4eb6628d15a -C extra-filename=-faedf4eb6628d15a --out-dir /builddir/build/BUILD/buf_redux-0.8.4/target/release/deps -L dependency=/builddir/build/BUILD/buf_redux-0.8.4/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/builddir/build/BUILD/buf_redux-0.8.4/target/release/build/libc-1c0235f2377bf88f/build-script-build` Running `/usr/bin/rustc --crate-name libc /usr/share/cargo/registry/libc-0.2.134/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="std"' --cfg 'feature="use_std"' -C metadata=7efb28377e5de713 -C extra-filename=-7efb28377e5de713 --out-dir /builddir/build/BUILD/buf_redux-0.8.4/target/release/deps -L dependency=/builddir/build/BUILD/buf_redux-0.8.4/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn --cfg freebsd11 --cfg libc_priv_mod_use --cfg libc_union --cfg libc_const_size_of --cfg libc_align --cfg libc_int128 --cfg libc_core_cvoid --cfg libc_packedN --cfg libc_cfg_target_vendor --cfg libc_non_exhaustive --cfg libc_ptr_addr_of --cfg libc_underscore_const_names --cfg libc_const_extern_fn` Compiling slice-deque v0.2.4 Running `/usr/bin/rustc --crate-name slice_deque --edition=2018 /usr/share/cargo/registry/slice-deque-0.2.4/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="use_std"' -C metadata=9fc9d0e51bb61b16 -C extra-filename=-9fc9d0e51bb61b16 --out-dir /builddir/build/BUILD/buf_redux-0.8.4/target/release/deps -L dependency=/builddir/build/BUILD/buf_redux-0.8.4/target/release/deps --extern libc=/builddir/build/BUILD/buf_redux-0.8.4/target/release/deps/liblibc-7efb28377e5de713.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling buf_redux v0.8.4 (/builddir/build/BUILD/buf_redux-0.8.4) Running `/usr/bin/rustc --crate-name buf_redux src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="slice-deque"' -C metadata=359766843373c834 -C extra-filename=-359766843373c834 --out-dir /builddir/build/BUILD/buf_redux-0.8.4/target/release/deps -L dependency=/builddir/build/BUILD/buf_redux-0.8.4/target/release/deps --extern memchr=/builddir/build/BUILD/buf_redux-0.8.4/target/release/deps/libmemchr-faedf4eb6628d15a.rmeta --extern safemem=/builddir/build/BUILD/buf_redux-0.8.4/target/release/deps/libsafemem-6c5c32ee4473491a.rmeta --extern slice_deque=/builddir/build/BUILD/buf_redux-0.8.4/target/release/deps/libslice_deque-9fc9d0e51bb61b16.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` warning: trailing semicolon in macro used in expression position --> src/policy.rs:25:57 | 25 | ($val:expr) => ( return $crate::policy::DoRead($val); ); | ^ ... 118 | if buffer.len() >= self.0 { do_read!(false) } | --------------- in this macro invocation | = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #79813 = note: macro invocations at the end of a block are treated as expressions = note: to ignore the value produced by the macro, add a semicolon after the invocation of `do_read` = note: this warning originates in the macro `do_read` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() --> src/lib.rs:868:23 | 868 | error::Error::description(self.error()) | ^^^^^^^^^^^ | = note: `#[warn(deprecated)]` on by default warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:1273:42 | 1273 | static DROP_ERR_HANDLER: RefCell> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(bare_trait_objects)]` on by default = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 1273 - static DROP_ERR_HANDLER: RefCell> 1273 + static DROP_ERR_HANDLER: RefCell> | warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:1273:50 | 1273 | static DROP_ERR_HANDLER: RefCell> | ^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 1273 - static DROP_ERR_HANDLER: RefCell> 1273 + static DROP_ERR_HANDLER: RefCell> | warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:1286:18 | 1286 | where F: Fn(&mut Write, &mut Buffer, io::Error) | ^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 1286 - where F: Fn(&mut Write, &mut Buffer, io::Error) 1286 + where F: Fn(&mut dyn Write, &mut Buffer, io::Error) | warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:373:45 | 373 | pub fn boxed<'a>(self) -> BufReader, P> where R: 'a { | ^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 373 - pub fn boxed<'a>(self) -> BufReader, P> where R: 'a { 373 + pub fn boxed<'a>(self) -> BufReader, P> where R: 'a { | warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:871:32 | 871 | fn cause(&self) -> Option<&error::Error> { | ^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 871 - fn cause(&self) -> Option<&error::Error> { 871 + fn cause(&self) -> Option<&dyn error::Error> { | warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:374:24 | 374 | let inner: Box = Box::new(self.inner); | ^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 374 - let inner: Box = Box::new(self.inner); 374 + let inner: Box = Box::new(self.inner); | warning: variable does not need to be mutable --> src/lib.rs:1050:17 | 1050 | let mut buf = unsafe { self.buf.write_buf() }; | ----^^^ | | | help: remove this `mut` | = note: `#[warn(unused_mut)]` on by default warning: variable does not need to be mutable --> src/lib.rs:1068:17 | 1068 | let mut buf = self.buf.write_buf(); | ----^^^ | | | help: remove this `mut` warning: `buf_redux` (lib) generated 10 warnings Finished release [optimized] target(s) in 2.98s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.8G6hDN + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rust-buf_redux-0.8.4-1.fc38.ppc64le '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rust-buf_redux-0.8.4-1.fc38.ppc64le ++ dirname /builddir/build/BUILDROOT/rust-buf_redux-0.8.4-1.fc38.ppc64le + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rust-buf_redux-0.8.4-1.fc38.ppc64le + CFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -flto=auto -ffat-lto-objects -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 -flto=auto -ffat-lto-objects -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 -flto=auto -ffat-lto-objects -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 + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd buf_redux-0.8.4 + set -eu + /usr/bin/cargo-inspector --target-kinds Cargo.toml ++ printf 'lib\nrlib\nproc-macro' + grep -q -F -x 'lib rlib proc-macro' ++ /usr/bin/cargo-inspector --name Cargo.toml + CRATE_NAME=buf_redux ++ /usr/bin/cargo-inspector --version Cargo.toml + CRATE_VERSION=0.8.4 + REG_DIR=/builddir/build/BUILDROOT/rust-buf_redux-0.8.4-1.fc38.ppc64le/usr/share/cargo/registry/buf_redux-0.8.4 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-buf_redux-0.8.4-1.fc38.ppc64le/usr/share/cargo/registry/buf_redux-0.8.4 + gawk -i inplace -v INPLACE_SUFFIX=.deps '/^\[((.+\.)?((dev|build)-)?dependencies|features)/{f=1;next} /^\[/{f=0}; !f' Cargo.toml + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' /usr/bin/cargo package -l + xargs -d '\n' /usr/bin/cp --parents -a -t /builddir/build/BUILDROOT/rust-buf_redux-0.8.4-1.fc38.ppc64le/usr/share/cargo/registry/buf_redux-0.8.4 + grep -w -E -v 'Cargo.(lock|toml.orig)' warning: No (git) VCS found for `/builddir/build/BUILD/buf_redux-0.8.4` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /builddir/build/BUILDROOT/rust-buf_redux-0.8.4-1.fc38.ppc64le/usr/share/cargo/registry/buf_redux-0.8.4/Cargo.toml + /usr/bin/rm -f /builddir/build/BUILDROOT/rust-buf_redux-0.8.4-1.fc38.ppc64le/usr/share/cargo/registry/buf_redux-0.8.4/Cargo.toml.deps + echo '{"files":{},"package":""}' + /usr/bin/cargo-inspector --target-kinds Cargo.toml + grep -q -F -x bin + /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/redhat/brp-strip-lto /usr/bin/strip + /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 Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.qy8g1O + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -flto=auto -ffat-lto-objects -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 -flto=auto -ffat-lto-objects -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 -flto=auto -ffat-lto-objects -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 + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd buf_redux-0.8.4 + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' /usr/bin/cargo test -j5 -Z avoid-dev-deps --release --no-fail-fast Fresh safemem v0.3.3 Fresh libc v0.2.134 Fresh memchr v2.5.0 Fresh slice-deque v0.2.4 warning: trailing semicolon in macro used in expression position --> src/policy.rs:25:57 | 25 | ($val:expr) => ( return $crate::policy::DoRead($val); ); | ^ ... 118 | if buffer.len() >= self.0 { do_read!(false) } | --------------- in this macro invocation | = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #79813 = note: macro invocations at the end of a block are treated as expressions = note: to ignore the value produced by the macro, add a semicolon after the invocation of `do_read` = note: this warning originates in the macro `do_read` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() --> src/lib.rs:868:23 | 868 | error::Error::description(self.error()) | ^^^^^^^^^^^ | = note: `#[warn(deprecated)]` on by default warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:1273:42 | 1273 | static DROP_ERR_HANDLER: RefCell> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(bare_trait_objects)]` on by default = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 1273 - static DROP_ERR_HANDLER: RefCell> 1273 + static DROP_ERR_HANDLER: RefCell> | warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:1273:50 | 1273 | static DROP_ERR_HANDLER: RefCell> | ^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 1273 - static DROP_ERR_HANDLER: RefCell> 1273 + static DROP_ERR_HANDLER: RefCell> | warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:1286:18 | 1286 | where F: Fn(&mut Write, &mut Buffer, io::Error) | ^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 1286 - where F: Fn(&mut Write, &mut Buffer, io::Error) 1286 + where F: Fn(&mut dyn Write, &mut Buffer, io::Error) | warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:373:45 | 373 | pub fn boxed<'a>(self) -> BufReader, P> where R: 'a { | ^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 373 - pub fn boxed<'a>(self) -> BufReader, P> where R: 'a { 373 + pub fn boxed<'a>(self) -> BufReader, P> where R: 'a { | warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:871:32 | 871 | fn cause(&self) -> Option<&error::Error> { | ^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 871 - fn cause(&self) -> Option<&error::Error> { 871 + fn cause(&self) -> Option<&dyn error::Error> { | warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:374:24 | 374 | let inner: Box = Box::new(self.inner); | ^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 374 - let inner: Box = Box::new(self.inner); 374 + let inner: Box = Box::new(self.inner); | warning: variable does not need to be mutable --> src/lib.rs:1050:17 | 1050 | let mut buf = unsafe { self.buf.write_buf() }; | ----^^^ | | | help: remove this `mut` | = note: `#[warn(unused_mut)]` on by default warning: variable does not need to be mutable --> src/lib.rs:1068:17 | 1068 | let mut buf = self.buf.write_buf(); | ----^^^ | | | help: remove this `mut` Compiling buf_redux v0.8.4 (/builddir/build/BUILD/buf_redux-0.8.4) warning: `buf_redux` (lib) generated 10 warnings Running `/usr/bin/rustc --crate-name buf_redux src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no --test --cfg 'feature="default"' --cfg 'feature="slice-deque"' -C metadata=31638c20ac72f33f -C extra-filename=-31638c20ac72f33f --out-dir /builddir/build/BUILD/buf_redux-0.8.4/target/release/deps -L dependency=/builddir/build/BUILD/buf_redux-0.8.4/target/release/deps --extern memchr=/builddir/build/BUILD/buf_redux-0.8.4/target/release/deps/libmemchr-faedf4eb6628d15a.rlib --extern safemem=/builddir/build/BUILD/buf_redux-0.8.4/target/release/deps/libsafemem-6c5c32ee4473491a.rlib --extern slice_deque=/builddir/build/BUILD/buf_redux-0.8.4/target/release/deps/libslice_deque-9fc9d0e51bb61b16.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` warning: unused import: `DEFAULT_BUF_SIZE` --> src/ringbuf_tests.rs:25:25 | 25 | use {Buffer, BufReader, DEFAULT_BUF_SIZE}; | ^^^^^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default warning: unused macro definition: `assert_capacity` --> src/ringbuf_tests.rs:29:14 | 29 | macro_rules! assert_capacity { | ^^^^^^^^^^^^^^^ | = note: `#[warn(unused_macros)]` on by default warning: unused variable: `buf` --> src/ringbuf_tests.rs:50:9 | 50 | let buf = Buffer::with_capacity_ringbuf(4 * 1024); | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` | = note: `#[warn(unused_variables)]` on by default warning: `buf_redux` (lib test) generated 13 warnings (10 duplicates) Finished release [optimized] target(s) in 3.75s Running `/builddir/build/BUILD/buf_redux-0.8.4/target/release/deps/buf_redux-31638c20ac72f33f` running 29 tests test policy::test::test_flush_at_least ... ok test policy::test::test_flush_on ... ok test policy::test::test_min_buffered ... ok test ringbuf_tests::test_buffer_new ... ok test ringbuf_tests::test_buffer_with_cap ... ok test policy::test::test_flush_exact ... ok test buffer::std_buf::read_into_full ... ok test policy::test::test_flush_on_newline ... ok test ringbuf_tests::issue_8 ... ok test ringbuf_tests::test_buffered_reader ... ok test ringbuf_tests::test_buffered_reader_seek ... ok test ringbuf_tests::test_lines ... ok test ringbuf_tests::test_mirror_boundary ... ok test ringbuf_tests::test_read_until ... ok test ringbuf_tests::test_short_reads ... ok test ringbuf_tests::test_read_line ... ok test std_tests::test_buf_writer_drops_once ... ok test std_tests::test_buffered_reader ... ok test std_tests::test_buffered_reader_seek ... ok test std_tests::test_buffered_reader_seek_underflow ... ok test ringbuf_tests::test_buffered_reader_seek_underflow ... ok test std_tests::test_buffered_writer_seek ... ok test std_tests::test_buffered_writer ... ok test std_tests::test_line_buffer ... ok test std_tests::test_lines ... ok test std_tests::test_read_line ... ok test std_tests::test_short_reads ... ok test std_tests::test_read_until ... ok test std_tests::test_buffered_writer_inner_flushes ... ok test result: ok. 29 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests buf_redux Running `/usr/bin/rustdoc --crate-type lib --crate-name buf_redux --test /builddir/build/BUILD/buf_redux-0.8.4/src/lib.rs -L dependency=/builddir/build/BUILD/buf_redux-0.8.4/target/release/deps -L dependency=/builddir/build/BUILD/buf_redux-0.8.4/target/release/deps --extern buf_redux=/builddir/build/BUILD/buf_redux-0.8.4/target/release/deps/libbuf_redux-359766843373c834.rlib --extern memchr=/builddir/build/BUILD/buf_redux-0.8.4/target/release/deps/libmemchr-faedf4eb6628d15a.rlib --extern safemem=/builddir/build/BUILD/buf_redux-0.8.4/target/release/deps/libsafemem-6c5c32ee4473491a.rlib --extern slice_deque=/builddir/build/BUILD/buf_redux-0.8.4/target/release/deps/libslice_deque-9fc9d0e51bb61b16.rlib -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="slice-deque"' --error-format human` running 1 test test src/policy.rs - policy::MinBuffered (line 78) ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.35s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rust-buf_redux-devel-0.8.4-1.fc38.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.R0bwDn + umask 022 + cd /builddir/build/BUILD + cd buf_redux-0.8.4 + DOCDIR=/builddir/build/BUILDROOT/rust-buf_redux-0.8.4-1.fc38.ppc64le/usr/share/doc/rust-buf_redux-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-buf_redux-0.8.4-1.fc38.ppc64le/usr/share/doc/rust-buf_redux-devel + cp -pr README.md /builddir/build/BUILDROOT/rust-buf_redux-0.8.4-1.fc38.ppc64le/usr/share/doc/rust-buf_redux-devel + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.LVlJ9E + umask 022 + cd /builddir/build/BUILD + cd buf_redux-0.8.4 + LICENSEDIR=/builddir/build/BUILDROOT/rust-buf_redux-0.8.4-1.fc38.ppc64le/usr/share/licenses/rust-buf_redux-devel + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-buf_redux-0.8.4-1.fc38.ppc64le/usr/share/licenses/rust-buf_redux-devel + cp -pr LICENSE-APACHE /builddir/build/BUILDROOT/rust-buf_redux-0.8.4-1.fc38.ppc64le/usr/share/licenses/rust-buf_redux-devel + cp -pr LICENSE-MIT /builddir/build/BUILDROOT/rust-buf_redux-0.8.4-1.fc38.ppc64le/usr/share/licenses/rust-buf_redux-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: crate(buf_redux) = 0.8.4 rust-buf_redux-devel = 0.8.4-1.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(memchr/default) >= 2.0.0 with crate(memchr/default) < 3.0.0~) (crate(safemem/default) >= 0.3.0 with crate(safemem/default) < 0.4.0~) cargo Processing files: rust-buf_redux+default-devel-0.8.4-1.fc38.noarch Provides: crate(buf_redux/default) = 0.8.4 rust-buf_redux+default-devel = 0.8.4-1.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(buf_redux) = 0.8.4 crate(buf_redux/slice-deque) = 0.8.4 Processing files: rust-buf_redux+nightly-devel-0.8.4-1.fc38.noarch Provides: crate(buf_redux/nightly) = 0.8.4 rust-buf_redux+nightly-devel = 0.8.4-1.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(slice-deque/unstable) >= 0.2.0 with crate(slice-deque/unstable) < 0.3.0~) cargo crate(buf_redux) = 0.8.4 Processing files: rust-buf_redux+slice-deque-devel-0.8.4-1.fc38.noarch Provides: crate(buf_redux/slice-deque) = 0.8.4 rust-buf_redux+slice-deque-devel = 0.8.4-1.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(slice-deque/default) >= 0.2.0 with crate(slice-deque/default) < 0.3.0~) cargo crate(buf_redux) = 0.8.4 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rust-buf_redux-0.8.4-1.fc38.ppc64le Wrote: /builddir/build/SRPMS/rust-buf_redux-0.8.4-1.fc38.src.rpm Wrote: /builddir/build/RPMS/rust-buf_redux+slice-deque-devel-0.8.4-1.fc38.noarch.rpm Wrote: /builddir/build/RPMS/rust-buf_redux+default-devel-0.8.4-1.fc38.noarch.rpm Wrote: /builddir/build/RPMS/rust-buf_redux+nightly-devel-0.8.4-1.fc38.noarch.rpm Wrote: /builddir/build/RPMS/rust-buf_redux-devel-0.8.4-1.fc38.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Tr4K9p + umask 022 + cd /builddir/build/BUILD + cd buf_redux-0.8.4 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rust-buf_redux-0.8.4-1.fc38.ppc64le + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.JPuPYK + umask 022 + cd /builddir/build/BUILD + rm -rf buf_redux-0.8.4 buf_redux-0.8.4.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0