D: [iurt_root_command] chroot Building target platforms: noarch Building for target noarch Installing /home/pterjan/rpmbuild/SRPMS/rust-rand_os0.1-0.1.3-0.1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.pvQWFT + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-rand_os0.1-0.1.3-build + test -d /home/pterjan/rpmbuild/BUILD/rust-rand_os0.1-0.1.3-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/rust-rand_os0.1-0.1.3-build + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/rust-rand_os0.1-0.1.3-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-rand_os0.1-0.1.3-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-rand_os0.1-0.1.3-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.yFzFPJ + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-rand_os0.1-0.1.3-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/rust-rand_os0.1-0.1.3-build + rm -rf rand_os-0.1.3 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/rand_os-0.1.3.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd rand_os-0.1.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/rand_os-fix-metadata-auto.diff + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/rand_os-fix-metadata.diff + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + set -euo pipefail + /usr/bin/mkdir -p target/rpm + /usr/bin/ln -s rpm target/release + /usr/bin/rm -rf .cargo/ + /usr/bin/mkdir -p .cargo + cat + 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 /home/pterjan/rpmbuild/tmp/rpm-tmp.375eJP + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-rand_os0.1-0.1.3-build + cd rand_os-0.1.3 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.uYDwQk + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-rand_os0.1-0.1.3-build + cd rand_os-0.1.3 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' /usr/bin/cargo build -j16 -Z avoid-dev-deps --profile rpm warning: no edition set: defaulting to the 2015 edition while the latest is 2021 Compiling libc v0.2.168 Compiling rand_core v0.4.2 Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/libc-0.2.168/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"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("align", "const-extern-fn", "default", "extra_traits", "rustc-dep-of-std", "rustc-std-workspace-core", "std", "use_std"))' -C metadata=f42b49d70ff2f22b -C extra-filename=-f42b49d70ff2f22b --out-dir /home/pterjan/rpmbuild/BUILD/rust-rand_os0.1-0.1.3-build/rand_os-0.1.3/target/rpm/build/libc-f42b49d70ff2f22b -L dependency=/home/pterjan/rpmbuild/BUILD/rust-rand_os0.1-0.1.3-build/rand_os-0.1.3/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name rand_core --edition=2015 /usr/share/cargo/registry/rand_core-0.4.2/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 -C codegen-units=1 -C debuginfo=2 --cfg 'feature="alloc"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("alloc", "serde", "serde1", "serde_derive", "std"))' -C metadata=655dae335e3684af -C extra-filename=-655dae335e3684af --out-dir /home/pterjan/rpmbuild/BUILD/rust-rand_os0.1-0.1.3-build/rand_os-0.1.3/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-rand_os0.1-0.1.3-build/rand_os-0.1.3/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/home/pterjan/rpmbuild/BUILD/rust-rand_os0.1-0.1.3-build/rand_os-0.1.3/target/rpm/build/libc-f42b49d70ff2f22b/build-script-build` Running `/usr/bin/rustc --crate-name libc --edition=2021 /usr/share/cargo/registry/libc-0.2.168/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 -C codegen-units=1 -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("align", "const-extern-fn", "default", "extra_traits", "rustc-dep-of-std", "rustc-std-workspace-core", "std", "use_std"))' -C metadata=823392d1629734b9 -C extra-filename=-823392d1629734b9 --out-dir /home/pterjan/rpmbuild/BUILD/rust-rand_os0.1-0.1.3-build/rand_os-0.1.3/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-rand_os0.1-0.1.3-build/rand_os-0.1.3/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg freebsd11 --cfg libc_const_extern_fn --check-cfg 'cfg(emscripten_new_stat_abi)' --check-cfg 'cfg(espidf_time32)' --check-cfg 'cfg(freebsd10)' --check-cfg 'cfg(freebsd11)' --check-cfg 'cfg(freebsd12)' --check-cfg 'cfg(freebsd13)' --check-cfg 'cfg(freebsd14)' --check-cfg 'cfg(freebsd15)' --check-cfg 'cfg(libc_const_extern_fn)' --check-cfg 'cfg(libc_deny_warnings)' --check-cfg 'cfg(libc_thread_local)' --check-cfg 'cfg(libc_ctest)' --check-cfg 'cfg(target_os,values("switch","aix","ohos","hurd","rtems","visionos","nuttx"))' --check-cfg 'cfg(target_env,values("illumos","wasi","aix","ohos"))' --check-cfg 'cfg(target_arch,values("loongarch64","mips32r6","mips64r6","csky"))'` Compiling rand_os v0.1.3 (/home/pterjan/rpmbuild/BUILD/rust-rand_os0.1-0.1.3-build/rand_os-0.1.3) Running `/usr/bin/rustc --crate-name rand_os --edition=2015 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 -C codegen-units=1 -C debuginfo=2 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("log"))' -C metadata=fc7474ad3c58cdf2 -C extra-filename=-fc7474ad3c58cdf2 --out-dir /home/pterjan/rpmbuild/BUILD/rust-rand_os0.1-0.1.3-build/rand_os-0.1.3/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-rand_os0.1-0.1.3-build/rand_os-0.1.3/target/rpm/deps --extern libc=/home/pterjan/rpmbuild/BUILD/rust-rand_os0.1-0.1.3-build/rand_os-0.1.3/target/rpm/deps/liblibc-823392d1629734b9.rmeta --extern rand_core=/home/pterjan/rpmbuild/BUILD/rust-rand_os0.1-0.1.3-build/rand_os-0.1.3/target/rpm/deps/librand_core-655dae335e3684af.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: unexpected `cfg` condition value: `stdweb` --> src/lib.rs:129:13 | 129 | #![cfg_attr(feature = "stdweb", recursion_limit="128")] | ^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `log` = help: consider adding `stdweb` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition value: `wasm-bindgen` --> src/lib.rs:137:11 | 137 | feature = "wasm-bindgen"))] | ^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `log` = help: consider adding `wasm-bindgen` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `wasm-bindgen` --> src/lib.rs:140:15 | 140 | not(feature = "wasm-bindgen"), | ^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `log` = help: consider adding `wasm-bindgen` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `stdweb` --> src/lib.rs:141:11 | 141 | feature = "stdweb"))] | ^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `log` = help: consider adding `stdweb` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `wasm-bindgen` --> src/lib.rs:340:9 | 340 | not(feature = "wasm-bindgen"), | ^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `log` = help: consider adding `wasm-bindgen` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `stdweb` --> src/lib.rs:341:9 | 341 | not(feature = "stdweb"), | ^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `log` = help: consider adding `stdweb` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `bitrig` --> src/lib.rs:366:5 | 366 | target_os = "bitrig", | ^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `redox`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, `vita`, `vxworks`, and `wasi` and 4 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("bitrig"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"bitrig\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `cloudabi` --> src/lib.rs:367:5 | 367 | target_os = "cloudabi", | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `redox`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, `vita`, `vxworks`, and `wasi` and 4 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("cloudabi"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"cloudabi\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `wasm-bindgen` --> src/lib.rs:389:11 | 389 | #[cfg(all(feature = "wasm-bindgen", target_arch = "wasm32"))] | ^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `log` = help: consider adding `wasm-bindgen` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `bitrig` --> src/lib.rs:300:14 | 300 | mod_use!(cfg(target_os = "bitrig"), openbsd_bitrig); | ^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `redox`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, `vita`, `vxworks`, and `wasi` and 4 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("bitrig"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"bitrig\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `cloudabi` --> src/lib.rs:301:14 | 301 | mod_use!(cfg(target_os = "cloudabi"), cloudabi); | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `redox`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, `vita`, `vxworks`, and `wasi` and 4 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("cloudabi"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"cloudabi\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `wasm-bindgen` --> src/lib.rs:321:9 | 321 | feature = "wasm-bindgen" | ^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `log` = help: consider adding `wasm-bindgen` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `wasm-bindgen` --> src/lib.rs:330:13 | 330 | not(feature = "wasm-bindgen"), | ^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `log` = help: consider adding `wasm-bindgen` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `stdweb` --> src/lib.rs:331:9 | 331 | feature = "stdweb", | ^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `log` = help: consider adding `stdweb` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred --> src/random_device.rs:17:30 | 17 | use std::sync::{Once, Mutex, ONCE_INIT}; | ^^^^^^^^^ | = note: `#[warn(deprecated)]` on by default warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred --> src/random_device.rs:21:30 | 21 | static READ_RNG_ONCE: Once = ONCE_INIT; | ^^^^^^^^^ | help: replace the use of the deprecated constant | 21 | static READ_RNG_ONCE: Once = Once::new(); | ~~~~~~~~~~~ warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred --> src/linux_android.rs:24:23 | 24 | use std::sync::{Once, ONCE_INIT}; | ^^^^^^^^^ warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred --> src/linux_android.rs:165:28 | 165 | static CHECKER: Once = ONCE_INIT; | ^^^^^^^^^ | help: replace the use of the deprecated constant | 165 | static CHECKER: Once = Once::new(); | ~~~~~~~~~~~ warning: method `method_str` is never used --> src/lib.rs:280:8 | 258 | trait OsRngImpl where Self: Sized { | --------- method in this trait ... 280 | fn method_str(&self) -> &'static str; | ^^^^^^^^^^ | = note: `#[warn(dead_code)]` on by default warning: `rand_os` (lib) generated 19 warnings (run `cargo fix --lib -p rand_os` to apply 2 suggestions) Finished `rpm` profile [optimized + debuginfo] target(s) in 1.84s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.mo9djh + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-rand_os0.1-0.1.3-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/rust-rand_os0.1-0.1.3-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/rust-rand_os0.1-0.1.3-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/rust-rand_os0.1-0.1.3-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/rust-rand_os0.1-0.1.3-build + mkdir /home/pterjan/rpmbuild/BUILD/rust-rand_os0.1-0.1.3-build/BUILDROOT + cd rand_os-0.1.3 + '[' 1 -eq 1 ']' + set -euo pipefail ++ /usr/bin/cargo2rpm --path Cargo.toml is-lib + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' ++ /usr/bin/cargo2rpm --path Cargo.toml name + CRATE_NAME=rand_os ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=0.1.3 + REG_DIR=/home/pterjan/rpmbuild/BUILD/rust-rand_os0.1-0.1.3-build/BUILDROOT/usr/share/cargo/registry/rand_os-0.1.3 + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-rand_os0.1-0.1.3-build/BUILDROOT/usr/share/cargo/registry/rand_os-0.1.3 + /usr/bin/awk -i inplace -v INPLACE_SUFFIX=.deps '/^\[((.+\.)?((dev|build)-)?dependencies|features)/{f=1;next} /^\[/{f=0}; !f' Cargo.toml + xargs -d '\n' /usr/bin/cp --parents -a -t /home/pterjan/rpmbuild/BUILD/rust-rand_os0.1-0.1.3-build/BUILDROOT/usr/share/cargo/registry/rand_os-0.1.3 + grep -w -E -v 'Cargo.(lock|toml.orig)' + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' /usr/bin/cargo package -l warning: no (git) VCS found for `/home/pterjan/rpmbuild/BUILD/rust-rand_os0.1-0.1.3-build/rand_os-0.1.3` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /home/pterjan/rpmbuild/BUILD/rust-rand_os0.1-0.1.3-build/BUILDROOT/usr/share/cargo/registry/rand_os-0.1.3/Cargo.toml + /usr/bin/rm -f /home/pterjan/rpmbuild/BUILD/rust-rand_os0.1-0.1.3-build/BUILDROOT/usr/share/cargo/registry/rand_os-0.1.3/Cargo.toml.deps + echo '{"files":{},"package":""}' ++ /usr/bin/cargo2rpm --path Cargo.toml is-bin + '[' 0 -eq 1 ']' + /usr/lib/rpm/check-buildroot + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-mangle-shebangs + env -u SOURCE_DATE_EPOCH /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j16 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Rn4UIY + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-rand_os0.1-0.1.3-build + cd rand_os-0.1.3 + '[' 1 -eq 1 ']' + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' /usr/bin/cargo test -j16 -Z avoid-dev-deps --profile rpm --no-fail-fast warning: no edition set: defaulting to the 2015 edition while the latest is 2021 Fresh libc v0.2.168 Fresh rand_core v0.4.2 warning: unexpected `cfg` condition value: `stdweb` --> src/lib.rs:129:13 | 129 | #![cfg_attr(feature = "stdweb", recursion_limit="128")] | ^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `log` = help: consider adding `stdweb` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition value: `wasm-bindgen` --> src/lib.rs:137:11 | 137 | feature = "wasm-bindgen"))] | ^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `log` = help: consider adding `wasm-bindgen` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `wasm-bindgen` --> src/lib.rs:140:15 | 140 | not(feature = "wasm-bindgen"), | ^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `log` = help: consider adding `wasm-bindgen` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `stdweb` --> src/lib.rs:141:11 | 141 | feature = "stdweb"))] | ^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `log` = help: consider adding `stdweb` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `wasm-bindgen` --> src/lib.rs:340:9 | 340 | not(feature = "wasm-bindgen"), | ^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `log` = help: consider adding `wasm-bindgen` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `stdweb` --> src/lib.rs:341:9 | 341 | not(feature = "stdweb"), | ^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `log` = help: consider adding `stdweb` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `bitrig` --> src/lib.rs:366:5 | 366 | target_os = "bitrig", | ^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `redox`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, `vita`, `vxworks`, and `wasi` and 4 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("bitrig"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"bitrig\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `cloudabi` --> src/lib.rs:367:5 | 367 | target_os = "cloudabi", | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `redox`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, `vita`, `vxworks`, and `wasi` and 4 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("cloudabi"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"cloudabi\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `wasm-bindgen` --> src/lib.rs:389:11 | 389 | #[cfg(all(feature = "wasm-bindgen", target_arch = "wasm32"))] | ^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `log` = help: consider adding `wasm-bindgen` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `bitrig` --> src/lib.rs:300:14 | 300 | mod_use!(cfg(target_os = "bitrig"), openbsd_bitrig); | ^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `redox`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, `vita`, `vxworks`, and `wasi` and 4 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("bitrig"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"bitrig\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `cloudabi` --> src/lib.rs:301:14 | 301 | mod_use!(cfg(target_os = "cloudabi"), cloudabi); | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `redox`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, `vita`, `vxworks`, and `wasi` and 4 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("cloudabi"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"cloudabi\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `wasm-bindgen` --> src/lib.rs:321:9 | 321 | feature = "wasm-bindgen" | ^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `log` = help: consider adding `wasm-bindgen` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `wasm-bindgen` --> src/lib.rs:330:13 | 330 | not(feature = "wasm-bindgen"), | ^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `log` = help: consider adding `wasm-bindgen` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `stdweb` --> src/lib.rs:331:9 | 331 | feature = "stdweb", | ^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `log` = help: consider adding `stdweb` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred --> src/random_device.rs:17:30 | 17 | use std::sync::{Once, Mutex, ONCE_INIT}; | ^^^^^^^^^ | = note: `#[warn(deprecated)]` on by default warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred --> src/random_device.rs:21:30 | 21 | static READ_RNG_ONCE: Once = ONCE_INIT; | ^^^^^^^^^ | help: replace the use of the deprecated constant | 21 | static READ_RNG_ONCE: Once = Once::new(); | ~~~~~~~~~~~ warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred --> src/linux_android.rs:24:23 | 24 | use std::sync::{Once, ONCE_INIT}; | ^^^^^^^^^ warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred --> src/linux_android.rs:165:28 | 165 | static CHECKER: Once = ONCE_INIT; | ^^^^^^^^^ | help: replace the use of the deprecated constant | 165 | static CHECKER: Once = Once::new(); | ~~~~~~~~~~~ warning: method `method_str` is never used --> src/lib.rs:280:8 | 258 | trait OsRngImpl where Self: Sized { | --------- method in this trait ... 280 | fn method_str(&self) -> &'static str; | ^^^^^^^^^^ | = note: `#[warn(dead_code)]` on by default warning: `rand_os` (lib) generated 19 warnings (run `cargo fix --lib -p rand_os` to apply 2 suggestions) Compiling rand_os v0.1.3 (/home/pterjan/rpmbuild/BUILD/rust-rand_os0.1-0.1.3-build/rand_os-0.1.3) Running `/usr/bin/rustc --crate-name mod --edition=2015 tests/mod.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --test --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("log"))' -C metadata=879fddc3e9f765d2 -C extra-filename=-879fddc3e9f765d2 --out-dir /home/pterjan/rpmbuild/BUILD/rust-rand_os0.1-0.1.3-build/rand_os-0.1.3/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-rand_os0.1-0.1.3-build/rand_os-0.1.3/target/rpm/deps --extern libc=/home/pterjan/rpmbuild/BUILD/rust-rand_os0.1-0.1.3-build/rand_os-0.1.3/target/rpm/deps/liblibc-823392d1629734b9.rlib --extern rand_core=/home/pterjan/rpmbuild/BUILD/rust-rand_os0.1-0.1.3-build/rand_os-0.1.3/target/rpm/deps/librand_core-655dae335e3684af.rlib --extern rand_os=/home/pterjan/rpmbuild/BUILD/rust-rand_os0.1-0.1.3-build/rand_os-0.1.3/target/rpm/deps/librand_os-fc7474ad3c58cdf2.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name rand_os --edition=2015 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 -C codegen-units=1 -C debuginfo=2 --test --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("log"))' -C metadata=bfe445d36f8a35fd -C extra-filename=-bfe445d36f8a35fd --out-dir /home/pterjan/rpmbuild/BUILD/rust-rand_os0.1-0.1.3-build/rand_os-0.1.3/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-rand_os0.1-0.1.3-build/rand_os-0.1.3/target/rpm/deps --extern libc=/home/pterjan/rpmbuild/BUILD/rust-rand_os0.1-0.1.3-build/rand_os-0.1.3/target/rpm/deps/liblibc-823392d1629734b9.rlib --extern rand_core=/home/pterjan/rpmbuild/BUILD/rust-rand_os0.1-0.1.3-build/rand_os-0.1.3/target/rpm/deps/librand_core-655dae335e3684af.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: unexpected `cfg` condition value: `asmjs` --> tests/mod.rs:44:39 | 44 | #[cfg(not(any(target_arch = "wasm32", target_arch = "asmjs")))] | ^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_arch` are: `aarch64`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_arch, values("asmjs"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_arch, values(\"asmjs\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: `rand_os` (lib test) generated 19 warnings (19 duplicates) warning: `rand_os` (test "mod") generated 1 warning Finished `rpm` profile [optimized + debuginfo] target(s) in 2.20s Running `/home/pterjan/rpmbuild/BUILD/rust-rand_os0.1-0.1.3-build/rand_os-0.1.3/target/rpm/deps/rand_os-bfe445d36f8a35fd` running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running `/home/pterjan/rpmbuild/BUILD/rust-rand_os0.1-0.1.3-build/rand_os-0.1.3/target/rpm/deps/mod-879fddc3e9f765d2` running 4 tests test test_os_rng ... ok test test_os_rng_huge ... ok test test_os_rng_empty ... ok test test_os_rng_tasks ... ok test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.15s Doc-tests rand_os Running `/usr/bin/rustdoc --edition=2015 --crate-type lib --color auto --crate-name rand_os --test src/lib.rs --test-run-directory /home/pterjan/rpmbuild/BUILD/rust-rand_os0.1-0.1.3-build/rand_os-0.1.3 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-rand_os0.1-0.1.3-build/rand_os-0.1.3/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-rand_os0.1-0.1.3-build/rand_os-0.1.3/target/rpm/deps --extern libc=/home/pterjan/rpmbuild/BUILD/rust-rand_os0.1-0.1.3-build/rand_os-0.1.3/target/rpm/deps/liblibc-823392d1629734b9.rlib --extern rand_core=/home/pterjan/rpmbuild/BUILD/rust-rand_os0.1-0.1.3-build/rand_os-0.1.3/target/rpm/deps/librand_core-655dae335e3684af.rlib --extern rand_os=/home/pterjan/rpmbuild/BUILD/rust-rand_os0.1-0.1.3-build/rand_os-0.1.3/target/rpm/deps/librand_os-fc7474ad3c58cdf2.rlib -C embed-bitcode=no --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("log"))' --error-format human` running 1 test test src/lib.rs - (line 24) ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.38s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rust-rand_os0.1-devel-0.1.3-0.1.mga10.noarch warning: File listed twice: /usr/share/cargo/registry/rand_os-0.1.3/CHANGELOG.md warning: File listed twice: /usr/share/cargo/registry/rand_os-0.1.3/COPYRIGHT warning: File listed twice: /usr/share/cargo/registry/rand_os-0.1.3/LICENSE-APACHE warning: File listed twice: /usr/share/cargo/registry/rand_os-0.1.3/LICENSE-MIT warning: File listed twice: /usr/share/cargo/registry/rand_os-0.1.3/README.md Provides: crate(rand_os) = 0.1.3 rust-rand_os0.1-devel = 0.1.3-0.1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(libc/default) >= 0.2.0 crate(rand_core/default) >= 0.4.0 crate(rand_core/std) >= 0.4.0 Processing files: rust-rand_os0.1+default-devel-0.1.3-0.1.mga10.noarch Provides: crate(rand_os/default) = 0.1.3 rust-rand_os0.1+default-devel = 0.1.3-0.1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(rand_os) = 0.1.3 Processing files: rust-rand_os0.1+log-devel-0.1.3-0.1.mga10.noarch Provides: crate(rand_os/log) = 0.1.3 rust-rand_os0.1+log-devel = 0.1.3-0.1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(log/default) >= 0.4.0 crate(rand_os) = 0.1.3 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/rust-rand_os0.1-0.1.3-build/BUILDROOT Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-rand_os0.1+log-devel-0.1.3-0.1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-rand_os0.1+default-devel-0.1.3-0.1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-rand_os0.1-devel-0.1.3-0.1.mga10.noarch.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.plyxW2 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-rand_os0.1-0.1.3-build + test -d /home/pterjan/rpmbuild/BUILD/rust-rand_os0.1-0.1.3-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/rust-rand_os0.1-0.1.3-build + rm -rf /home/pterjan/rpmbuild/BUILD/rust-rand_os0.1-0.1.3-build + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: File listed twice: /usr/share/cargo/registry/rand_os-0.1.3/CHANGELOG.md File listed twice: /usr/share/cargo/registry/rand_os-0.1.3/COPYRIGHT File listed twice: /usr/share/cargo/registry/rand_os-0.1.3/LICENSE-APACHE File listed twice: /usr/share/cargo/registry/rand_os-0.1.3/LICENSE-MIT File listed twice: /usr/share/cargo/registry/rand_os-0.1.3/README.md D: [iurt_root_command] Success!