Mock Version: 3.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rust-buf_redux.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1665975981.831233/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7f12efd3b250>timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.z04m9kya:/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.z04m9kya:/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', 'c8b9b260466b46be89e7eba8120eed67', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1665975981.831233/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.z04m9kya:/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;<mock-chroot>\\007"', '--setenv=PS1=<mock-chroot> \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --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;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=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 x86_64 --nodeps /builddir/build/SPECS/rust-buf_redux.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1665975981.831233/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7f12efd3b250>timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.z04m9kya:/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.z04m9kya:/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', '090ab9bba57044d5bf61450bfe37427b', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1665975981.831233/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.z04m9kya:/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;<mock-chroot>\\007"', '--setenv=PS1=<mock-chroot> \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -br --target x86_64 --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;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1665964800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.oAeDp3 + 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.tJaeYh + 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 x86_64 --nodeps /builddir/build/SPECS/rust-buf_redux.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1665975981.831233/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7f12efd3b250>timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.z04m9kya:/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.z04m9kya:/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', '1fd978f6312e4de0b5c32327831e5888', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1665975981.831233/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.z04m9kya:/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;<mock-chroot>\\007"', '--setenv=PS1=<mock-chroot> \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -br --target x86_64 --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;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1665964800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.9W4HEf + 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.cupScd + 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 x86_64 --nodeps /builddir/build/SPECS/rust-buf_redux.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1665975981.831233/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7f12efd3b250>timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.z04m9kya:/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.z04m9kya:/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', '48192c7d702d438ab6f7467c2028cdb0', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1665975981.831233/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.z04m9kya:/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;<mock-chroot>\\007"', '--setenv=PS1=<mock-chroot> \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --target x86_64 --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;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1665964800 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.GyQIYt + 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.qnBKqH + 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -j2 -Z avoid-dev-deps --release Compiling libc v0.2.134 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=f1f8a229f0b8b2da -C extra-filename=-f1f8a229f0b8b2da --out-dir /builddir/build/BUILD/buf_redux-0.8.4/target/release/build/libc-f1f8a229f0b8b2da -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 memchr v2.5.0 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=0062bc42a422d085 -C extra-filename=-0062bc42a422d085 --out-dir /builddir/build/BUILD/buf_redux-0.8.4/target/release/build/memchr-0062bc42a422d085 -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 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=cffee7536ed89990 -C extra-filename=-cffee7536ed89990 --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-0062bc42a422d085/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=8a70e9953e18dc13 -C extra-filename=-8a70e9953e18dc13 --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 memchr_runtime_simd --cfg memchr_runtime_sse2 --cfg memchr_runtime_sse42 --cfg memchr_runtime_avx` Running `/builddir/build/BUILD/buf_redux-0.8.4/target/release/build/libc-f1f8a229f0b8b2da/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=dd542688941d066d -C extra-filename=-dd542688941d066d --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=59acc1954c5e02cc -C extra-filename=-59acc1954c5e02cc --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-dd542688941d066d.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=6d85d427e7ee91d1 -C extra-filename=-6d85d427e7ee91d1 --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-8a70e9953e18dc13.rmeta --extern safemem=/builddir/build/BUILD/buf_redux-0.8.4/target/release/deps/libsafemem-cffee7536ed89990.rmeta --extern slice_deque=/builddir/build/BUILD/buf_redux-0.8.4/target/release/deps/libslice_deque-59acc1954c5e02cc.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 <https://github.com/rust-lang/rust/issues/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<Box<Fn(&mut Write, &mut Buffer, io::Error)>> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = 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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> help: use `dyn` | 1273 - static DROP_ERR_HANDLER: RefCell<Box<Fn(&mut Write, &mut Buffer, io::Error)>> 1273 + static DROP_ERR_HANDLER: RefCell<Box<dyn Fn(&mut Write, &mut Buffer, io::Error)>> | warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:1273:50 | 1273 | static DROP_ERR_HANDLER: RefCell<Box<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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> help: use `dyn` | 1273 - static DROP_ERR_HANDLER: RefCell<Box<Fn(&mut Write, &mut Buffer, io::Error)>> 1273 + static DROP_ERR_HANDLER: RefCell<Box<Fn(&mut dyn Write, &mut Buffer, io::Error)>> | 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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> 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<Box<Read + 'a>, 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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> help: use `dyn` | 373 - pub fn boxed<'a>(self) -> BufReader<Box<Read + 'a>, P> where R: 'a { 373 + pub fn boxed<'a>(self) -> BufReader<Box<dyn Read + 'a>, 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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> 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<Read + 'a> = 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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> help: use `dyn` | 374 - let inner: Box<Read + 'a> = Box::new(self.inner); 374 + let inner: Box<dyn Read + 'a> = 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.29s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.LoMTxf + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rust-buf_redux-0.8.4-1.fc38.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rust-buf_redux-0.8.4-1.fc38.x86_64 ++ dirname /builddir/build/BUILDROOT/rust-buf_redux-0.8.4-1.fc38.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rust-buf_redux-0.8.4-1.fc38.x86_64 + 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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.x86_64/usr/share/cargo/registry/buf_redux-0.8.4 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-buf_redux-0.8.4-1.fc38.x86_64/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.x86_64/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.x86_64/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.x86_64/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.PuQHcn + 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -j2 -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 <https://github.com/rust-lang/rust/issues/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<Box<Fn(&mut Write, &mut Buffer, io::Error)>> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = 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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> help: use `dyn` | 1273 - static DROP_ERR_HANDLER: RefCell<Box<Fn(&mut Write, &mut Buffer, io::Error)>> 1273 + static DROP_ERR_HANDLER: RefCell<Box<dyn Fn(&mut Write, &mut Buffer, io::Error)>> | warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:1273:50 | 1273 | static DROP_ERR_HANDLER: RefCell<Box<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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> help: use `dyn` | 1273 - static DROP_ERR_HANDLER: RefCell<Box<Fn(&mut Write, &mut Buffer, io::Error)>> 1273 + static DROP_ERR_HANDLER: RefCell<Box<Fn(&mut dyn Write, &mut Buffer, io::Error)>> | 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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> 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<Box<Read + 'a>, 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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> help: use `dyn` | 373 - pub fn boxed<'a>(self) -> BufReader<Box<Read + 'a>, P> where R: 'a { 373 + pub fn boxed<'a>(self) -> BufReader<Box<dyn Read + 'a>, 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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> 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<Read + 'a> = 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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> help: use `dyn` | 374 - let inner: Box<Read + 'a> = Box::new(self.inner); 374 + let inner: Box<dyn Read + 'a> = 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 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 --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no --test --cfg 'feature="default"' --cfg 'feature="slice-deque"' -C metadata=40fe2968260cb5f7 -C extra-filename=-40fe2968260cb5f7 --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-8a70e9953e18dc13.rlib --extern safemem=/builddir/build/BUILD/buf_redux-0.8.4/target/release/deps/libsafemem-cffee7536ed89990.rlib --extern slice_deque=/builddir/build/BUILD/buf_redux-0.8.4/target/release/deps/libslice_deque-59acc1954c5e02cc.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.04s Running `/builddir/build/BUILD/buf_redux-0.8.4/target/release/deps/buf_redux-40fe2968260cb5f7` running 29 tests test policy::test::test_flush_at_least ... ok test buffer::std_buf::read_into_full ... ok test policy::test::test_flush_exact ... ok test policy::test::test_flush_on ... ok test policy::test::test_flush_on_newline ... ok test policy::test::test_min_buffered ... ok test ringbuf_tests::test_buffer_new ... ok test ringbuf_tests::issue_8 ... ok test ringbuf_tests::test_buffer_with_cap ... ok test ringbuf_tests::test_buffered_reader ... ok test ringbuf_tests::test_buffered_reader_seek_underflow ... ok test ringbuf_tests::test_lines ... ok test ringbuf_tests::test_buffered_reader_seek ... ok test ringbuf_tests::test_read_line ... ok test ringbuf_tests::test_mirror_boundary ... ok test ringbuf_tests::test_read_until ... ok test ringbuf_tests::test_short_reads ... 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 std_tests::test_buffered_writer ... ok test std_tests::test_buffered_writer_seek ... ok test std_tests::test_buffered_writer_inner_flushes ... ok test std_tests::test_line_buffer ... ok test std_tests::test_lines ... ok test std_tests::test_read_until ... ok test std_tests::test_read_line ... ok test std_tests::test_short_reads ... 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-6d85d427e7ee91d1.rlib --extern memchr=/builddir/build/BUILD/buf_redux-0.8.4/target/release/deps/libmemchr-8a70e9953e18dc13.rlib --extern safemem=/builddir/build/BUILD/buf_redux-0.8.4/target/release/deps/libsafemem-cffee7536ed89990.rlib --extern slice_deque=/builddir/build/BUILD/buf_redux-0.8.4/target/release/deps/libslice_deque-59acc1954c5e02cc.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.21s + 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.qzVh74 + umask 022 + cd /builddir/build/BUILD + cd buf_redux-0.8.4 + DOCDIR=/builddir/build/BUILDROOT/rust-buf_redux-0.8.4-1.fc38.x86_64/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.x86_64/usr/share/doc/rust-buf_redux-devel + cp -pr README.md /builddir/build/BUILDROOT/rust-buf_redux-0.8.4-1.fc38.x86_64/usr/share/doc/rust-buf_redux-devel + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.FUddrM + umask 022 + cd /builddir/build/BUILD + cd buf_redux-0.8.4 + LICENSEDIR=/builddir/build/BUILDROOT/rust-buf_redux-0.8.4-1.fc38.x86_64/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.x86_64/usr/share/licenses/rust-buf_redux-devel + cp -pr LICENSE-APACHE /builddir/build/BUILDROOT/rust-buf_redux-0.8.4-1.fc38.x86_64/usr/share/licenses/rust-buf_redux-devel + cp -pr LICENSE-MIT /builddir/build/BUILDROOT/rust-buf_redux-0.8.4-1.fc38.x86_64/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.x86_64 Wrote: /builddir/build/SRPMS/rust-buf_redux-0.8.4-1.fc38.src.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+slice-deque-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.bWxxzn + 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.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.fmSZGs + 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