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.Y1tmRW
Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.mdgPzQ
+ 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.DipVp2
+ 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.mc0umx
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/rust-rand_os0.1-0.1.3-build
+ CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FFLAGS
+ FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn'
+ export RUSTFLAGS
+ LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ 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 2024
   Compiling libc v0.2.171
   Compiling rand_core v0.4.2
     Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/libc-0.2.171/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,test)' --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=42efa26aba98bd78 -C extra-filename=-5121e35c8cbfbca6 --out-dir /home/pterjan/rpmbuild/BUILD/rust-rand_os0.1-0.1.3-build/rand_os-0.1.3/target/rpm/build/libc-5121e35c8cbfbca6 -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,test)' --check-cfg 'cfg(feature, values("alloc", "serde", "serde1", "serde_derive", "std"))' -C metadata=95f680ab69b405ec -C extra-filename=-6306011bd1e19a56 --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-5121e35c8cbfbca6/build-script-build`
     Running `/usr/bin/rustc --crate-name libc --edition=2021 /usr/share/cargo/registry/libc-0.2.171/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,test)' --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=725a75cc44332baf -C extra-filename=-8db1b84232c234ea --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_old_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(linux_time_bits64)' --check-cfg 'cfg(target_os,values("switch","aix","ohos","hurd","rtems","visionos","nuttx","cygwin"))' --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,test)' --check-cfg 'cfg(feature, values("log"))' -C metadata=fe431dc7c0ec9d1b -C extra-filename=-f9a47114acd7c865 --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-8db1b84232c234ea.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-6306011bd1e19a56.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 <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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 <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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 <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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 <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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 <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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 <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, and `unknown` and 8 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 <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, and `unknown` and 8 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 <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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 <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, and `unknown` and 8 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 <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, and `unknown` and 8 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 <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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 <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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 <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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 <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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_INIT;
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_INIT;
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: creating a shared reference to mutable static is discouraged
  --> src/random_device.rs:34:26
   |
34 |     let mutex = unsafe { READ_RNG_FILE.as_ref().unwrap() };
   |                          ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
   |
   = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
   = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
   = note: `#[warn(static_mut_refs)]` on by default

warning: creating a shared reference to mutable static is discouraged
  --> src/random_device.rs:48:26
   |
48 |     let mutex = unsafe { READ_RNG_FILE.as_ref().unwrap() };
   |                          ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
   |
   = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
   = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives

warning: `rand_os` (lib) generated 21 warnings (run `cargo fix --lib -p rand_os` to apply 2 suggestions)
    Finished `rpm` profile [optimized + debuginfo] target(s) in 2.41s
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.LaHBWO
+ 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
+ CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FFLAGS
+ FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn'
+ export RUSTFLAGS
+ LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ 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
+ /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
+ grep -w -E -v 'Cargo.(lock|toml.orig)'
+ 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
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.IUTzpM
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/rust-rand_os0.1-0.1.3-build
+ CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FFLAGS
+ FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn'
+ export RUSTFLAGS
+ LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ 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 2024
       Fresh libc v0.2.171
       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 <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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 <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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 <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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 <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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 <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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 <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, and `unknown` and 8 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 <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, and `unknown` and 8 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 <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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 <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, and `unknown` and 8 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 <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, and `unknown` and 8 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 <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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 <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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 <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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 <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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_INIT;
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_INIT;
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: creating a shared reference to mutable static is discouraged
  --> src/random_device.rs:34:26
   |
34 |     let mutex = unsafe { READ_RNG_FILE.as_ref().unwrap() };
   |                          ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
   |
   = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
   = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
   = note: `#[warn(static_mut_refs)]` on by default

warning: creating a shared reference to mutable static is discouraged
  --> src/random_device.rs:48:26
   |
48 |     let mutex = unsafe { READ_RNG_FILE.as_ref().unwrap() };
   |                          ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
   |
   = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
   = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives

warning: `rand_os` (lib) generated 21 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,test)' --check-cfg 'cfg(feature, values("log"))' -C metadata=a5c62c6a7cd692d1 -C extra-filename=-62a5d62396003b41 --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-8db1b84232c234ea.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-6306011bd1e19a56.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-f9a47114acd7c865.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,test)' --check-cfg 'cfg(feature, values("log"))' -C metadata=67848b60d93bcd61 -C extra-filename=-2725ce46ef865642 --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-8db1b84232c234ea.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-6306011bd1e19a56.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`, `amdgpu`, `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 <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
   = note: `#[warn(unexpected_cfgs)]` on by default

warning: `rand_os` (lib test) generated 21 warnings (21 duplicates)
warning: `rand_os` (test "mod") generated 1 warning
    Finished `rpm` profile [optimized + debuginfo] target(s) in 1.73s
     Running `/home/pterjan/rpmbuild/BUILD/rust-rand_os0.1-0.1.3-build/rand_os-0.1.3/target/rpm/deps/rand_os-2725ce46ef865642`

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-62a5d62396003b41`

running 4 tests
test test_os_rng ... ok
test test_os_rng_empty ... ok
test test_os_rng_huge ... ok
test test_os_rng_tasks ... ok

test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

   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-8db1b84232c234ea.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-6306011bd1e19a56.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-f9a47114acd7c865.rlib -C embed-bitcode=no --check-cfg 'cfg(docsrs,test)' --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.35s

+ 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+default-devel-0.1.3-0.1.mga10.noarch.rpm
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-devel-0.1.3-0.1.mga10.noarch.rpm
Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.80l32P
+ 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!