Mock Version: 3.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/rust-rand_core0.2.spec'], chrootPath='/var/lib/mock/fedora-rawhide-aarch64-1665925115.384826/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.9zys00ej:/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.9zys00ej:/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', '53a28835500b4eacbff87daf62ea2b5d', '-D', '/var/lib/mock/fedora-rawhide-aarch64-1665925115.384826/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.9zys00ej:/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 aarch64 --nodeps /builddir/build/SPECS/rust-rand_core0.2.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: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1665878400 Wrote: /builddir/build/SRPMS/rust-rand_core0.2-0.2.1-1.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --target aarch64 --nodeps /builddir/build/SPECS/rust-rand_core0.2.spec'], chrootPath='/var/lib/mock/fedora-rawhide-aarch64-1665925115.384826/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.9zys00ej:/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.9zys00ej:/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', 'eb930a309ce24a30a4f10d94cb40375a', '-D', '/var/lib/mock/fedora-rawhide-aarch64-1665925115.384826/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.9zys00ej:/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 aarch64 --nodeps /builddir/build/SPECS/rust-rand_core0.2.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: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1665878400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.BNof03 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rand_core-0.2.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/rand_core-0.2.1.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd rand_core-0.2.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + 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.NvB3Oy + umask 022 + cd /builddir/build/BUILD + cd rand_core-0.2.1 + /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-rand_core0.2-0.2.1-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 aarch64 --nodeps /builddir/build/SPECS/rust-rand_core0.2.spec'], chrootPath='/var/lib/mock/fedora-rawhide-aarch64-1665925115.384826/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.9zys00ej:/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.9zys00ej:/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', '56fcc21529ae47119ad5b073c0dd1171', '-D', '/var/lib/mock/fedora-rawhide-aarch64-1665925115.384826/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.9zys00ej:/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 aarch64 --nodeps /builddir/build/SPECS/rust-rand_core0.2.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: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1665878400 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.jgXC6X + umask 022 + cd /builddir/build/BUILD + cd rand_core-0.2.1 + /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.l8uiqA + 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 -mbranch-protection=standard -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 -mbranch-protection=standard -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 -mbranch-protection=standard -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 -mbranch-protection=standard -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 rand_core-0.2.1 + /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 -j4 -Z avoid-dev-deps --release Compiling rand_core v0.2.1 (/builddir/build/BUILD/rand_core-0.2.1) Running `/usr/bin/rustc --crate-name rand_core 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="alloc"' --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=3430fc2770b846c6 -C extra-filename=-3430fc2770b846c6 --out-dir /builddir/build/BUILD/rand_core-0.2.1/target/release/deps -L dependency=/builddir/build/BUILD/rand_core-0.2.1/target/release/deps -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: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:392:24 | 392 | impl std::io::Read for RngCore { | ^^^^^^^ | = 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` | 392 - impl std::io::Read for RngCore { 392 + impl std::io::Read for dyn RngCore { | warning: trait objects without an explicit `dyn` are deprecated --> src/error.rs:97:23 | 97 | cause: Option>, | ^^^^^^^^^^^^^^^^^^^^^^ | = 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` | 97 - cause: Option>, 97 + cause: Option>, | warning: trait objects without an explicit `dyn` are deprecated --> src/error.rs:122:27 | 122 | where E: Into> | ^^^^^^^^^^^^^^^^^^^^^^ | = 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` | 122 - where E: Into> 122 + where E: Into> | warning: trait objects without an explicit `dyn` are deprecated --> src/error.rs:139:48 | 139 | pub fn take_cause(&mut self) -> Option> { | ^^^^^^^^^^^^^^^^^^^^^^ | = 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` | 139 - pub fn take_cause(&mut self) -> Option> { 139 + pub fn take_cause(&mut self) -> Option> { | warning: trait objects without an explicit `dyn` are deprecated --> src/error.rs:162:32 | 162 | fn cause(&self) -> Option<&stdError> { | ^^^^^^^^ | = 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` | 162 - fn cause(&self) -> Option<&stdError> { 162 + fn cause(&self) -> Option<&dyn stdError> { | warning: trait objects without an explicit `dyn` are deprecated --> src/error.rs:163:52 | 163 | self.cause.as_ref().map(|e| e.as_ref() as &stdError) | ^^^^^^^^ | = 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` | 163 - self.cause.as_ref().map(|e| e.as_ref() as &stdError) 163 + self.cause.as_ref().map(|e| e.as_ref() as &dyn stdError) | warning: `rand_core` (lib) generated 6 warnings Finished release [optimized] target(s) in 0.91s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.xzZKV2 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rust-rand_core0.2-0.2.1-1.fc38.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rust-rand_core0.2-0.2.1-1.fc38.aarch64 ++ dirname /builddir/build/BUILDROOT/rust-rand_core0.2-0.2.1-1.fc38.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rust-rand_core0.2-0.2.1-1.fc38.aarch64 + 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 -mbranch-protection=standard -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 -mbranch-protection=standard -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 -mbranch-protection=standard -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 -mbranch-protection=standard -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 rand_core-0.2.1 + 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=rand_core ++ /usr/bin/cargo-inspector --version Cargo.toml + CRATE_VERSION=0.2.1 + REG_DIR=/builddir/build/BUILDROOT/rust-rand_core0.2-0.2.1-1.fc38.aarch64/usr/share/cargo/registry/rand_core-0.2.1 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-rand_core0.2-0.2.1-1.fc38.aarch64/usr/share/cargo/registry/rand_core-0.2.1 + 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 + grep -w -E -v 'Cargo.(lock|toml.orig)' + xargs -d '\n' /usr/bin/cp --parents -a -t /builddir/build/BUILDROOT/rust-rand_core0.2-0.2.1-1.fc38.aarch64/usr/share/cargo/registry/rand_core-0.2.1 warning: No (git) VCS found for `/builddir/build/BUILD/rand_core-0.2.1` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /builddir/build/BUILDROOT/rust-rand_core0.2-0.2.1-1.fc38.aarch64/usr/share/cargo/registry/rand_core-0.2.1/Cargo.toml + /usr/bin/rm -f /builddir/build/BUILDROOT/rust-rand_core0.2-0.2.1-1.fc38.aarch64/usr/share/cargo/registry/rand_core-0.2.1/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.9LH89J + 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 -mbranch-protection=standard -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 -mbranch-protection=standard -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 -mbranch-protection=standard -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 -mbranch-protection=standard -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 rand_core-0.2.1 + /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 -j4 -Z avoid-dev-deps --release --no-fail-fast warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:392:24 | 392 | impl std::io::Read for RngCore { | ^^^^^^^ | = 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` | 392 - impl std::io::Read for RngCore { 392 + impl std::io::Read for dyn RngCore { | warning: trait objects without an explicit `dyn` are deprecated --> src/error.rs:97:23 | 97 | cause: Option>, | ^^^^^^^^^^^^^^^^^^^^^^ | = 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` | 97 - cause: Option>, 97 + cause: Option>, | warning: trait objects without an explicit `dyn` are deprecated --> src/error.rs:122:27 | 122 | where E: Into> | ^^^^^^^^^^^^^^^^^^^^^^ | = 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` | 122 - where E: Into> 122 + where E: Into> | warning: trait objects without an explicit `dyn` are deprecated --> src/error.rs:139:48 | 139 | pub fn take_cause(&mut self) -> Option> { | ^^^^^^^^^^^^^^^^^^^^^^ | = 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` | 139 - pub fn take_cause(&mut self) -> Option> { 139 + pub fn take_cause(&mut self) -> Option> { | warning: trait objects without an explicit `dyn` are deprecated --> src/error.rs:162:32 | 162 | fn cause(&self) -> Option<&stdError> { | ^^^^^^^^ | = 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` | 162 - fn cause(&self) -> Option<&stdError> { 162 + fn cause(&self) -> Option<&dyn stdError> { | warning: trait objects without an explicit `dyn` are deprecated --> src/error.rs:163:52 | 163 | self.cause.as_ref().map(|e| e.as_ref() as &stdError) | ^^^^^^^^ | = 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` | 163 - self.cause.as_ref().map(|e| e.as_ref() as &stdError) 163 + self.cause.as_ref().map(|e| e.as_ref() as &dyn stdError) | warning: `rand_core` (lib) generated 6 warnings Compiling rand_core v0.2.1 (/builddir/build/BUILD/rand_core-0.2.1) Running `/usr/bin/rustc --crate-name rand_core 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="alloc"' --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=6640b8aa95170637 -C extra-filename=-6640b8aa95170637 --out-dir /builddir/build/BUILD/rand_core-0.2.1/target/release/deps -L dependency=/builddir/build/BUILD/rand_core-0.2.1/target/release/deps -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: `rand_core` (lib test) generated 6 warnings (6 duplicates) Finished release [optimized] target(s) in 0.85s Running `/builddir/build/BUILD/rand_core-0.2.1/target/release/deps/rand_core-6640b8aa95170637` running 1 test test le::test_read ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests rand_core Running `/usr/bin/rustdoc --crate-type lib --crate-name rand_core --test /builddir/build/BUILD/rand_core-0.2.1/src/lib.rs -L dependency=/builddir/build/BUILD/rand_core-0.2.1/target/release/deps -L dependency=/builddir/build/BUILD/rand_core-0.2.1/target/release/deps --extern rand_core=/builddir/build/BUILD/rand_core-0.2.1/target/release/deps/librand_core-3430fc2770b846c6.rlib -C embed-bitcode=no --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="std"' --error-format human` warning: unknown attribute `norun`. Did you mean `no_run`? --> /builddir/build/BUILD/rand_core-0.2.1/src/block.rs:11:1 | 11 | / //! The `BlockRngCore` trait and implementation helpers 12 | | //! 13 | | //! The [`BlockRngCore`] trait exists to assist in the implementation of RNGs 14 | | //! which generate a block of data in a cache instead of returning generated ... | 53 | | //! [`fill_bytes`]: ../trait.RngCore.html#tymethod.fill_bytes 54 | | //! [`ReseedingRng`]: ../../rand/rngs/adapter/struct.ReseedingRng.html | |______________________________________________________________________^ | = note: `#[warn(rustdoc::invalid_codeblock_attributes)]` on by default = help: the code block will either not be tested if not marked as a rust one or will be run (which you might not want) warning: 1 warning emitted running 3 tests test src/impls.rs - impls::fill_via_u32_chunks (line 122) ... ignored test src/lib.rs - RngCore (line 112) ... ok test src/lib.rs - SeedableRng::Seed (line 249) ... ok test result: ok. 2 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.37s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rust-rand_core0.2-devel-0.2.1-1.fc38.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.FDKiDo + umask 022 + cd /builddir/build/BUILD + cd rand_core-0.2.1 + DOCDIR=/builddir/build/BUILDROOT/rust-rand_core0.2-0.2.1-1.fc38.aarch64/usr/share/doc/rust-rand_core0.2-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-rand_core0.2-0.2.1-1.fc38.aarch64/usr/share/doc/rust-rand_core0.2-devel + cp -pr CHANGELOG.md /builddir/build/BUILDROOT/rust-rand_core0.2-0.2.1-1.fc38.aarch64/usr/share/doc/rust-rand_core0.2-devel + cp -pr README.md /builddir/build/BUILDROOT/rust-rand_core0.2-0.2.1-1.fc38.aarch64/usr/share/doc/rust-rand_core0.2-devel + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.NT4Iu1 + umask 022 + cd /builddir/build/BUILD + cd rand_core-0.2.1 + LICENSEDIR=/builddir/build/BUILDROOT/rust-rand_core0.2-0.2.1-1.fc38.aarch64/usr/share/licenses/rust-rand_core0.2-devel + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-rand_core0.2-0.2.1-1.fc38.aarch64/usr/share/licenses/rust-rand_core0.2-devel + cp -pr LICENSE-APACHE /builddir/build/BUILDROOT/rust-rand_core0.2-0.2.1-1.fc38.aarch64/usr/share/licenses/rust-rand_core0.2-devel + cp -pr LICENSE-MIT /builddir/build/BUILDROOT/rust-rand_core0.2-0.2.1-1.fc38.aarch64/usr/share/licenses/rust-rand_core0.2-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: crate(rand_core) = 0.2.1 rust-rand_core0.2-devel = 0.2.1-1.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo Processing files: rust-rand_core0.2+default-devel-0.2.1-1.fc38.noarch Provides: crate(rand_core/default) = 0.2.1 rust-rand_core0.2+default-devel = 0.2.1-1.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(rand_core) = 0.2.1 crate(rand_core/std) = 0.2.1 Processing files: rust-rand_core0.2+alloc-devel-0.2.1-1.fc38.noarch Provides: crate(rand_core/alloc) = 0.2.1 rust-rand_core0.2+alloc-devel = 0.2.1-1.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(rand_core) = 0.2.1 Processing files: rust-rand_core0.2+serde-devel-0.2.1-1.fc38.noarch Provides: crate(rand_core/serde) = 0.2.1 rust-rand_core0.2+serde-devel = 0.2.1-1.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(serde/default) >= 1.0.0 with crate(serde/default) < 2.0.0~) cargo crate(rand_core) = 0.2.1 Processing files: rust-rand_core0.2+serde1-devel-0.2.1-1.fc38.noarch Provides: crate(rand_core/serde1) = 0.2.1 rust-rand_core0.2+serde1-devel = 0.2.1-1.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(rand_core) = 0.2.1 crate(rand_core/serde) = 0.2.1 crate(rand_core/serde_derive) = 0.2.1 Processing files: rust-rand_core0.2+serde_derive-devel-0.2.1-1.fc38.noarch Provides: crate(rand_core/serde_derive) = 0.2.1 rust-rand_core0.2+serde_derive-devel = 0.2.1-1.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(serde_derive/default) >= 1.0.38 with crate(serde_derive/default) < 2.0.0~) cargo crate(rand_core) = 0.2.1 Processing files: rust-rand_core0.2+std-devel-0.2.1-1.fc38.noarch Provides: crate(rand_core/std) = 0.2.1 rust-rand_core0.2+std-devel = 0.2.1-1.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(rand_core) = 0.2.1 crate(rand_core/alloc) = 0.2.1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rust-rand_core0.2-0.2.1-1.fc38.aarch64 Wrote: /builddir/build/SRPMS/rust-rand_core0.2-0.2.1-1.fc38.src.rpm Wrote: /builddir/build/RPMS/rust-rand_core0.2+default-devel-0.2.1-1.fc38.noarch.rpm Wrote: /builddir/build/RPMS/rust-rand_core0.2+alloc-devel-0.2.1-1.fc38.noarch.rpm Wrote: /builddir/build/RPMS/rust-rand_core0.2+serde-devel-0.2.1-1.fc38.noarch.rpm Wrote: /builddir/build/RPMS/rust-rand_core0.2-devel-0.2.1-1.fc38.noarch.rpm Wrote: /builddir/build/RPMS/rust-rand_core0.2+serde1-devel-0.2.1-1.fc38.noarch.rpm Wrote: /builddir/build/RPMS/rust-rand_core0.2+serde_derive-devel-0.2.1-1.fc38.noarch.rpm Wrote: /builddir/build/RPMS/rust-rand_core0.2+std-devel-0.2.1-1.fc38.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.iWodOC + umask 022 + cd /builddir/build/BUILD + cd rand_core-0.2.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rust-rand_core0.2-0.2.1-1.fc38.aarch64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.z4HOih + umask 022 + cd /builddir/build/BUILD + rm -rf rand_core-0.2.1 rand_core-0.2.1.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0