Mock Version: 3.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target s390x --nodeps /builddir/build/SPECS/rust-buf_redux.spec'], chrootPath='/var/lib/mock/fedora-rawhide-s390x-1665975997.040334/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.d_vndg7w:/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.d_vndg7w:/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', '2b993e54bb8246f08e80e73770fb76b3', '-D', '/var/lib/mock/fedora-rawhide-s390x-1665975997.040334/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.d_vndg7w:/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 s390x --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: s390x Building for target s390x 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 s390x --nodeps /builddir/build/SPECS/rust-buf_redux.spec'], chrootPath='/var/lib/mock/fedora-rawhide-s390x-1665975997.040334/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.d_vndg7w:/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.d_vndg7w:/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', '974d65c7a9a04c7d9de5fcb3ae1f0613', '-D', '/var/lib/mock/fedora-rawhide-s390x-1665975997.040334/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.d_vndg7w:/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 s390x --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: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1665964800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.8VkoGJ + 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.jn0w2K + 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 s390x --nodeps /builddir/build/SPECS/rust-buf_redux.spec'], chrootPath='/var/lib/mock/fedora-rawhide-s390x-1665975997.040334/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.d_vndg7w:/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.d_vndg7w:/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', '94b7e9e6722b490b800a16c80192a8a3', '-D', '/var/lib/mock/fedora-rawhide-s390x-1665975997.040334/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.d_vndg7w:/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 s390x --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: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1665964800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.bJEUvt + 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.IWXhVr + 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 s390x --nodeps /builddir/build/SPECS/rust-buf_redux.spec'], chrootPath='/var/lib/mock/fedora-rawhide-s390x-1665975997.040334/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.d_vndg7w:/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.d_vndg7w:/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', '10da95b9c50f4f6999e3f20c7f0afb2c', '-D', '/var/lib/mock/fedora-rawhide-s390x-1665975997.040334/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.d_vndg7w:/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 s390x --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: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1665964800 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.kpLZnD + 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.jBLn57 + 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 -march=z13 -mtune=z14 -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 -march=z13 -mtune=z14 -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 -march=z13 -mtune=z14 -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 -march=z13 -mtune=z14 -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 -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=491831f775410cfd -C extra-filename=-491831f775410cfd --out-dir /builddir/build/BUILD/buf_redux-0.8.4/target/release/build/libc-491831f775410cfd -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=808ffd59221f5355 -C extra-filename=-808ffd59221f5355 --out-dir /builddir/build/BUILD/buf_redux-0.8.4/target/release/build/memchr-808ffd59221f5355 -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=1a96a653820c671c -C extra-filename=-1a96a653820c671c --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-808ffd59221f5355/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=81675fdc381dd76f -C extra-filename=-81675fdc381dd76f --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-491831f775410cfd/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=6671a0c62332d64b -C extra-filename=-6671a0c62332d64b --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=43be5971ef9c292c -C extra-filename=-43be5971ef9c292c --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-6671a0c62332d64b.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=499276967188c3c5 -C extra-filename=-499276967188c3c5 --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-81675fdc381dd76f.rmeta --extern safemem=/builddir/build/BUILD/buf_redux-0.8.4/target/release/deps/libsafemem-1a96a653820c671c.rmeta --extern slice_deque=/builddir/build/BUILD/buf_redux-0.8.4/target/release/deps/libslice_deque-43be5971ef9c292c.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.11s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.SS1G0i + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rust-buf_redux-0.8.4-1.fc38.s390x '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rust-buf_redux-0.8.4-1.fc38.s390x ++ dirname /builddir/build/BUILDROOT/rust-buf_redux-0.8.4-1.fc38.s390x + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rust-buf_redux-0.8.4-1.fc38.s390x + 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 -march=z13 -mtune=z14 -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 -march=z13 -mtune=z14 -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 -march=z13 -mtune=z14 -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 -march=z13 -mtune=z14 -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.s390x/usr/share/cargo/registry/buf_redux-0.8.4 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-buf_redux-0.8.4-1.fc38.s390x/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.s390x/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.s390x/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.s390x/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.aNUXBC + 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 -march=z13 -mtune=z14 -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 -march=z13 -mtune=z14 -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 -march=z13 -mtune=z14 -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 -march=z13 -mtune=z14 -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 -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 = 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 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=313de87fed48d297 -C extra-filename=-313de87fed48d297 --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-81675fdc381dd76f.rlib --extern safemem=/builddir/build/BUILD/buf_redux-0.8.4/target/release/deps/libsafemem-1a96a653820c671c.rlib --extern slice_deque=/builddir/build/BUILD/buf_redux-0.8.4/target/release/deps/libslice_deque-43be5971ef9c292c.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.62s Running `/builddir/build/BUILD/buf_redux-0.8.4/target/release/deps/buf_redux-313de87fed48d297` running 29 tests test policy::test::test_flush_at_least ... ok test buffer::std_buf::read_into_full ... 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::issue_8 ... ok test ringbuf_tests::test_buffer_new ... ok test ringbuf_tests::test_buffer_with_cap ... ok test ringbuf_tests::test_buffered_reader ... ok test ringbuf_tests::test_buffered_reader_seek ... ok test ringbuf_tests::test_buffered_reader_seek_underflow ... ok test ringbuf_tests::test_lines ... ok test ringbuf_tests::test_mirror_boundary ... ok test ringbuf_tests::test_read_line ... 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_inner_flushes ... ok test std_tests::test_buffered_writer_seek ... 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_read_until ... ok test std_tests::test_short_reads ... ok test policy::test::test_flush_exact ... 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-499276967188c3c5.rlib --extern memchr=/builddir/build/BUILD/buf_redux-0.8.4/target/release/deps/libmemchr-81675fdc381dd76f.rlib --extern safemem=/builddir/build/BUILD/buf_redux-0.8.4/target/release/deps/libsafemem-1a96a653820c671c.rlib --extern slice_deque=/builddir/build/BUILD/buf_redux-0.8.4/target/release/deps/libslice_deque-43be5971ef9c292c.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.25s + 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.2xI2hX + umask 022 + cd /builddir/build/BUILD + cd buf_redux-0.8.4 + DOCDIR=/builddir/build/BUILDROOT/rust-buf_redux-0.8.4-1.fc38.s390x/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.s390x/usr/share/doc/rust-buf_redux-devel + cp -pr README.md /builddir/build/BUILDROOT/rust-buf_redux-0.8.4-1.fc38.s390x/usr/share/doc/rust-buf_redux-devel + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.MqIdgp + umask 022 + cd /builddir/build/BUILD + cd buf_redux-0.8.4 + LICENSEDIR=/builddir/build/BUILDROOT/rust-buf_redux-0.8.4-1.fc38.s390x/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.s390x/usr/share/licenses/rust-buf_redux-devel + cp -pr LICENSE-APACHE /builddir/build/BUILDROOT/rust-buf_redux-0.8.4-1.fc38.s390x/usr/share/licenses/rust-buf_redux-devel + cp -pr LICENSE-MIT /builddir/build/BUILDROOT/rust-buf_redux-0.8.4-1.fc38.s390x/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.s390x 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-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 Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.b9juN5 + 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.s390x + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.OA3jTr + 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