D: [iurt_root_command] chroot Building target platforms: noarch Building for target noarch Installing /home/pterjan/rpmbuild/SRPMS/rust-rand0.8-0.8.5-1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.pTnY98 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.hNI8NZ + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-rand0.8-0.8.5-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/rust-rand0.8-0.8.5-build + rm -rf rand-0.8.5 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/rand-0.8.5.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd rand-0.8.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + 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.AFkea3 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-rand0.8-0.8.5-build + cd rand-0.8.5 + /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.lpXWtU + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-rand0.8-0.8.5-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-0.8.5 + '[' 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 Compiling libc v0.2.171 Compiling cfg-if v1.0.0 Compiling ppv-lite86 v0.2.17 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 --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=78dfc2c836562524 -C extra-filename=-2014d9a2c60152e2 --out-dir /home/pterjan/rpmbuild/BUILD/rust-rand0.8-0.8.5-build/rand-0.8.5/target/rpm/build/libc-2014d9a2c60152e2 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-rand0.8-0.8.5-build/rand-0.8.5/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 cfg_if --edition=2018 /usr/share/cargo/registry/cfg-if-1.0.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("compiler_builtins", "core", "rustc-dep-of-std"))' -C metadata=d0d5fe105289cea2 -C extra-filename=-ec6a769025b5f44f --out-dir /home/pterjan/rpmbuild/BUILD/rust-rand0.8-0.8.5-build/rand-0.8.5/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-rand0.8-0.8.5-build/rand-0.8.5/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 ppv_lite86 --edition=2018 /usr/share/cargo/registry/ppv-lite86-0.2.17/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="simd"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "no_simd", "simd", "std"))' -C metadata=8191e95c6e74c43a -C extra-filename=-72dd139700fae6d7 --out-dir /home/pterjan/rpmbuild/BUILD/rust-rand0.8-0.8.5-build/rand-0.8.5/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-rand0.8-0.8.5-build/rand-0.8.5/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-rand0.8-0.8.5-build/rand-0.8.5/target/rpm/build/libc-2014d9a2c60152e2/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 --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=6a148af2e207b573 -C extra-filename=-dd505a5ba0bad04e --out-dir /home/pterjan/rpmbuild/BUILD/rust-rand0.8-0.8.5-build/rand-0.8.5/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-rand0.8-0.8.5-build/rand-0.8.5/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 getrandom v0.2.15 Running `/usr/bin/rustc --crate-name getrandom --edition=2018 /usr/share/cargo/registry/getrandom-0.2.15/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="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("custom", "linux_disable_fallback", "rdrand", "std"))' -C metadata=ab8683d1b179a21e -C extra-filename=-9792f0e64407f4b7 --out-dir /home/pterjan/rpmbuild/BUILD/rust-rand0.8-0.8.5-build/rand-0.8.5/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-rand0.8-0.8.5-build/rand-0.8.5/target/rpm/deps --extern cfg_if=/home/pterjan/rpmbuild/BUILD/rust-rand0.8-0.8.5-build/rand-0.8.5/target/rpm/deps/libcfg_if-ec6a769025b5f44f.rmeta --extern libc=/home/pterjan/rpmbuild/BUILD/rust-rand0.8-0.8.5-build/rand-0.8.5/target/rpm/deps/liblibc-dd505a5ba0bad04e.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling rand_core v0.6.4 Running `/usr/bin/rustc --crate-name rand_core --edition=2018 /usr/share/cargo/registry/rand_core-0.6.4/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="alloc"' --cfg 'feature="getrandom"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "getrandom", "serde", "serde1", "std"))' -C metadata=f02171f29a3a550b -C extra-filename=-754d48fa32878947 --out-dir /home/pterjan/rpmbuild/BUILD/rust-rand0.8-0.8.5-build/rand-0.8.5/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-rand0.8-0.8.5-build/rand-0.8.5/target/rpm/deps --extern getrandom=/home/pterjan/rpmbuild/BUILD/rust-rand0.8-0.8.5-build/rand-0.8.5/target/rpm/deps/libgetrandom-9792f0e64407f4b7.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling rand_chacha v0.3.1 Running `/usr/bin/rustc --crate-name rand_chacha --edition=2018 /usr/share/cargo/registry/rand_chacha-0.3.1/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="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "serde", "serde1", "simd", "std"))' -C metadata=c48b5b8f5a2cbec6 -C extra-filename=-b84759aec9e73191 --out-dir /home/pterjan/rpmbuild/BUILD/rust-rand0.8-0.8.5-build/rand-0.8.5/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-rand0.8-0.8.5-build/rand-0.8.5/target/rpm/deps --extern ppv_lite86=/home/pterjan/rpmbuild/BUILD/rust-rand0.8-0.8.5-build/rand-0.8.5/target/rpm/deps/libppv_lite86-72dd139700fae6d7.rmeta --extern rand_core=/home/pterjan/rpmbuild/BUILD/rust-rand0.8-0.8.5-build/rand-0.8.5/target/rpm/deps/librand_core-754d48fa32878947.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling rand v0.8.5 (/home/pterjan/rpmbuild/BUILD/rust-rand0.8-0.8.5-build/rand-0.8.5) Running `/usr/bin/rustc --crate-name rand --edition=2018 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="default"' --cfg 'feature="getrandom"' --cfg 'feature="libc"' --cfg 'feature="rand_chacha"' --cfg 'feature="std"' --cfg 'feature="std_rng"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "default", "getrandom", "libc", "log", "min_const_gen", "nightly", "packed_simd", "rand_chacha", "serde", "serde1", "simd_support", "small_rng", "std", "std_rng"))' -C metadata=9960c5a1a17b8abc -C extra-filename=-9233595cb4888e9e --out-dir /home/pterjan/rpmbuild/BUILD/rust-rand0.8-0.8.5-build/rand-0.8.5/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-rand0.8-0.8.5-build/rand-0.8.5/target/rpm/deps --extern libc=/home/pterjan/rpmbuild/BUILD/rust-rand0.8-0.8.5-build/rand-0.8.5/target/rpm/deps/liblibc-dd505a5ba0bad04e.rmeta --extern rand_chacha=/home/pterjan/rpmbuild/BUILD/rust-rand0.8-0.8.5-build/rand-0.8.5/target/rpm/deps/librand_chacha-b84759aec9e73191.rmeta --extern rand_core=/home/pterjan/rpmbuild/BUILD/rust-rand0.8-0.8.5-build/rand-0.8.5/target/rpm/deps/librand_core-754d48fa32878947.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: unexpected `cfg` condition name: `doc_cfg` --> src/lib.rs:53:13 | 53 | #![cfg_attr(doc_cfg, feature(doc_cfg))] | ^^^^^^^ | = help: expected names are: `docsrs`, `feature`, and `test` and 31 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(doc_cfg)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition name: `doc_cfg` --> src/lib.rs:181:12 | 181 | #[cfg_attr(doc_cfg, doc(cfg(all(feature = "std", feature = "std_rng"))))] | ^^^^^^^ | = 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(doc_cfg)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `doc_cfg` --> src/distributions/mod.rs:116:12 | 116 | #[cfg_attr(doc_cfg, doc(cfg(feature = "alloc")))] | ^^^^^^^ | = 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(doc_cfg)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `features` --> src/distributions/distribution.rs:162:7 | 162 | #[cfg(features = "nightly")] | ^^^^^^^^^^^^^^^^^^^^ | = note: see for more information about checking conditional configuration help: there is a config with a similar name and value | 162 - #[cfg(features = "nightly")] 162 + #[cfg(feature = "nightly")] | warning: unexpected `cfg` condition name: `std` --> src/distributions/utils.rs:235:11 | 235 | #[cfg(not(std))] | ^^^ help: found config with similar value: `feature = "std"` | = 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(std)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(std)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `std` --> src/distributions/utils.rs:291:19 | 291 | #[cfg(not(std))] | ^^^ help: found config with similar value: `feature = "std"` ... 359 | scalar_float_impl!(f32, u32); | ---------------------------- in this macro invocation | = 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(std)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(std)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `scalar_float_impl` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `std` --> src/distributions/utils.rs:291:19 | 291 | #[cfg(not(std))] | ^^^ help: found config with similar value: `feature = "std"` ... 360 | scalar_float_impl!(f64, u64); | ---------------------------- in this macro invocation | = 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(std)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(std)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `scalar_float_impl` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `doc_cfg` --> src/distributions/weighted_index.rs:80:12 | 80 | #[cfg_attr(doc_cfg, doc(cfg(feature = "alloc")))] | ^^^^^^^ | = 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(doc_cfg)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `doc_cfg` --> src/distributions/weighted_index.rs:429:12 | 429 | #[cfg_attr(doc_cfg, doc(cfg(feature = "alloc")))] | ^^^^^^^ | = 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(doc_cfg)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `doc_cfg` --> src/rng.rs:395:12 | 395 | #[cfg_attr(doc_cfg, doc(cfg(feature = "min_const_gen")))] | ^^^^^^^ | = 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(doc_cfg)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `doc_cfg` --> src/rngs/mod.rs:99:12 | 99 | #[cfg_attr(doc_cfg, doc(cfg(feature = "std")))] | ^^^^^^^ | = 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(doc_cfg)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `doc_cfg` --> src/rngs/mod.rs:118:12 | 118 | #[cfg_attr(doc_cfg, doc(cfg(feature = "getrandom")))] | ^^^^^^^ | = 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(doc_cfg)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `doc_cfg` --> src/rngs/std.rs:32:12 | 32 | #[cfg_attr(doc_cfg, doc(cfg(feature = "std_rng")))] | ^^^^^^^ | = 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(doc_cfg)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `doc_cfg` --> src/rngs/thread.rs:60:12 | 60 | #[cfg_attr(doc_cfg, doc(cfg(all(feature = "std", feature = "std_rng"))))] | ^^^^^^^ | = 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(doc_cfg)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `doc_cfg` --> src/rngs/thread.rs:87:12 | 87 | #[cfg_attr(doc_cfg, doc(cfg(all(feature = "std", feature = "std_rng"))))] | ^^^^^^^ | = 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(doc_cfg)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `doc_cfg` --> src/seq/mod.rs:29:12 | 29 | #[cfg_attr(doc_cfg, doc(cfg(feature = "alloc")))] | ^^^^^^^ | = 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(doc_cfg)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `doc_cfg` --> src/seq/mod.rs:623:12 | 623 | #[cfg_attr(doc_cfg, doc(cfg(feature = "alloc")))] | ^^^^^^^ | = 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(doc_cfg)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `doc_cfg` --> src/seq/index.rs:276:12 | 276 | #[cfg_attr(doc_cfg, doc(cfg(feature = "std")))] | ^^^^^^^ | = 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(doc_cfg)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `doc_cfg` --> src/seq/mod.rs:114:16 | 114 | #[cfg_attr(doc_cfg, doc(cfg(feature = "alloc")))] | ^^^^^^^ | = 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(doc_cfg)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `doc_cfg` --> src/seq/mod.rs:142:16 | 142 | #[cfg_attr(doc_cfg, doc(cfg(feature = "alloc")))] | ^^^^^^^ | = 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(doc_cfg)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `doc_cfg` --> src/seq/mod.rs:170:16 | 170 | #[cfg_attr(doc_cfg, doc(cfg(feature = "alloc")))] | ^^^^^^^ | = 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(doc_cfg)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `doc_cfg` --> src/seq/mod.rs:219:16 | 219 | #[cfg_attr(doc_cfg, doc(cfg(feature = "std")))] | ^^^^^^^ | = 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(doc_cfg)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `doc_cfg` --> src/seq/mod.rs:465:16 | 465 | #[cfg_attr(doc_cfg, doc(cfg(feature = "alloc")))] | ^^^^^^^ | = 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(doc_cfg)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: trait `Float` is never used --> src/distributions/utils.rs:238:18 | 238 | pub(crate) trait Float: Sized { | ^^^^^ | = note: `#[warn(dead_code)]` on by default warning: associated items `lanes`, `extract`, and `replace` are never used --> src/distributions/utils.rs:247:8 | 245 | pub(crate) trait FloatAsSIMD: Sized { | ----------- associated items in this trait 246 | #[inline(always)] 247 | fn lanes() -> usize { | ^^^^^ ... 255 | fn extract(self, index: usize) -> Self { | ^^^^^^^ ... 260 | fn replace(self, index: usize, new_value: Self) -> Self { | ^^^^^^^ warning: method `all` is never used --> src/distributions/utils.rs:268:8 | 266 | pub(crate) trait BoolAsSIMD: Sized { | ---------- method in this trait 267 | fn any(self) -> bool; 268 | fn all(self) -> bool; | ^^^ warning: `rand` (lib) generated 26 warnings Finished `rpm` profile [optimized + debuginfo] target(s) in 3.01s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.N2Cvg9 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-rand0.8-0.8.5-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/rust-rand0.8-0.8.5-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/rust-rand0.8-0.8.5-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/rust-rand0.8-0.8.5-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/rust-rand0.8-0.8.5-build + mkdir /home/pterjan/rpmbuild/BUILD/rust-rand0.8-0.8.5-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-0.8.5 + '[' 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 ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=0.8.5 + REG_DIR=/home/pterjan/rpmbuild/BUILD/rust-rand0.8-0.8.5-build/BUILDROOT/usr/share/cargo/registry/rand-0.8.5 + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-rand0.8-0.8.5-build/BUILDROOT/usr/share/cargo/registry/rand-0.8.5 + /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 + xargs -d '\n' /usr/bin/cp --parents -a -t /home/pterjan/rpmbuild/BUILD/rust-rand0.8-0.8.5-build/BUILDROOT/usr/share/cargo/registry/rand-0.8.5 + grep -w -E -v 'Cargo.(lock|toml.orig)' warning: no (git) VCS found for `/home/pterjan/rpmbuild/BUILD/rust-rand0.8-0.8.5-build/rand-0.8.5` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /home/pterjan/rpmbuild/BUILD/rust-rand0.8-0.8.5-build/BUILDROOT/usr/share/cargo/registry/rand-0.8.5/Cargo.toml + /usr/bin/rm -f /home/pterjan/rpmbuild/BUILD/rust-rand0.8-0.8.5-build/BUILDROOT/usr/share/cargo/registry/rand-0.8.5/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.kfvN9n + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-rand0.8-0.8.5-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-0.8.5 + '[' 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 Fresh libc v0.2.171 Fresh cfg-if v1.0.0 Fresh getrandom v0.2.15 Fresh rand_core v0.6.4 Compiling serde v1.0.217 Fresh ppv-lite86 v0.2.17 Fresh rand_chacha v0.3.1 Compiling rand_pcg v0.3.1 warning: unexpected `cfg` condition name: `doc_cfg` --> src/lib.rs:53:13 | 53 | #![cfg_attr(doc_cfg, feature(doc_cfg))] | ^^^^^^^ | = help: expected names are: `docsrs`, `feature`, and `test` and 31 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(doc_cfg)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition name: `doc_cfg` --> src/lib.rs:181:12 | 181 | #[cfg_attr(doc_cfg, doc(cfg(all(feature = "std", feature = "std_rng"))))] | ^^^^^^^ | = 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(doc_cfg)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `doc_cfg` --> src/distributions/mod.rs:116:12 | 116 | #[cfg_attr(doc_cfg, doc(cfg(feature = "alloc")))] | ^^^^^^^ | = 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(doc_cfg)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `features` --> src/distributions/distribution.rs:162:7 | 162 | #[cfg(features = "nightly")] | ^^^^^^^^^^^^^^^^^^^^ | = note: see for more information about checking conditional configuration help: there is a config with a similar name and value | 162 - #[cfg(features = "nightly")] 162 + #[cfg(feature = "nightly")] | warning: unexpected `cfg` condition name: `std` --> src/distributions/utils.rs:235:11 | 235 | #[cfg(not(std))] | ^^^ help: found config with similar value: `feature = "std"` | = 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(std)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(std)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `std` --> src/distributions/utils.rs:291:19 | 291 | #[cfg(not(std))] | ^^^ help: found config with similar value: `feature = "std"` ... 359 | scalar_float_impl!(f32, u32); | ---------------------------- in this macro invocation | = 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(std)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(std)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `scalar_float_impl` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `std` --> src/distributions/utils.rs:291:19 | 291 | #[cfg(not(std))] | ^^^ help: found config with similar value: `feature = "std"` ... 360 | scalar_float_impl!(f64, u64); | ---------------------------- in this macro invocation | = 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(std)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(std)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `scalar_float_impl` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `doc_cfg` --> src/distributions/weighted_index.rs:80:12 | 80 | #[cfg_attr(doc_cfg, doc(cfg(feature = "alloc")))] | ^^^^^^^ | = 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(doc_cfg)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `doc_cfg` --> src/distributions/weighted_index.rs:429:12 | 429 | #[cfg_attr(doc_cfg, doc(cfg(feature = "alloc")))] | ^^^^^^^ | = 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(doc_cfg)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `doc_cfg` --> src/rng.rs:395:12 | 395 | #[cfg_attr(doc_cfg, doc(cfg(feature = "min_const_gen")))] | ^^^^^^^ | = 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(doc_cfg)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `doc_cfg` --> src/rngs/mod.rs:99:12 | 99 | #[cfg_attr(doc_cfg, doc(cfg(feature = "std")))] | ^^^^^^^ | = 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(doc_cfg)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `doc_cfg` --> src/rngs/mod.rs:118:12 | 118 | #[cfg_attr(doc_cfg, doc(cfg(feature = "getrandom")))] | ^^^^^^^ | = 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(doc_cfg)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `doc_cfg` --> src/rngs/std.rs:32:12 | 32 | #[cfg_attr(doc_cfg, doc(cfg(feature = "std_rng")))] | ^^^^^^^ | = 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(doc_cfg)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `doc_cfg` --> src/rngs/thread.rs:60:12 | 60 | #[cfg_attr(doc_cfg, doc(cfg(all(feature = "std", feature = "std_rng"))))] | ^^^^^^^ | = 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(doc_cfg)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `doc_cfg` --> src/rngs/thread.rs:87:12 | 87 | #[cfg_attr(doc_cfg, doc(cfg(all(feature = "std", feature = "std_rng"))))] | ^^^^^^^ | = 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(doc_cfg)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `doc_cfg` --> src/seq/mod.rs:29:12 | 29 | #[cfg_attr(doc_cfg, doc(cfg(feature = "alloc")))] | ^^^^^^^ | = 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(doc_cfg)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `doc_cfg` --> src/seq/mod.rs:623:12 | 623 | #[cfg_attr(doc_cfg, doc(cfg(feature = "alloc")))] | ^^^^^^^ | = 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(doc_cfg)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `doc_cfg` --> src/seq/index.rs:276:12 | 276 | #[cfg_attr(doc_cfg, doc(cfg(feature = "std")))] | ^^^^^^^ | = 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(doc_cfg)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `doc_cfg` --> src/seq/mod.rs:114:16 | 114 | #[cfg_attr(doc_cfg, doc(cfg(feature = "alloc")))] | ^^^^^^^ | = 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(doc_cfg)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `doc_cfg` --> src/seq/mod.rs:142:16 | 142 | #[cfg_attr(doc_cfg, doc(cfg(feature = "alloc")))] | ^^^^^^^ | = 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(doc_cfg)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `doc_cfg` --> src/seq/mod.rs:170:16 | 170 | #[cfg_attr(doc_cfg, doc(cfg(feature = "alloc")))] | ^^^^^^^ | = 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(doc_cfg)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `doc_cfg` --> src/seq/mod.rs:219:16 | 219 | #[cfg_attr(doc_cfg, doc(cfg(feature = "std")))] | ^^^^^^^ | = 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(doc_cfg)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `doc_cfg` --> src/seq/mod.rs:465:16 | 465 | #[cfg_attr(doc_cfg, doc(cfg(feature = "alloc")))] | ^^^^^^^ | = 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(doc_cfg)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: trait `Float` is never used --> src/distributions/utils.rs:238:18 | 238 | pub(crate) trait Float: Sized { | ^^^^^ | = note: `#[warn(dead_code)]` on by default warning: associated items `lanes`, `extract`, and `replace` are never used --> src/distributions/utils.rs:247:8 | 245 | pub(crate) trait FloatAsSIMD: Sized { | ----------- associated items in this trait 246 | #[inline(always)] 247 | fn lanes() -> usize { | ^^^^^ ... 255 | fn extract(self, index: usize) -> Self { | ^^^^^^^ ... 260 | fn replace(self, index: usize, new_value: Self) -> Self { | ^^^^^^^ warning: method `all` is never used --> src/distributions/utils.rs:268:8 | 266 | pub(crate) trait BoolAsSIMD: Sized { | ---------- method in this trait 267 | fn any(self) -> bool; 268 | fn all(self) -> bool; | ^^^ Running `/usr/bin/rustc --crate-name build_script_build --edition=2018 /usr/share/cargo/registry/serde-1.0.217/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("alloc", "default", "derive", "rc", "serde_derive", "std", "unstable"))' -C metadata=23c33bd44e5b2880 -C extra-filename=-c893c1601ea249e9 --out-dir /home/pterjan/rpmbuild/BUILD/rust-rand0.8-0.8.5-build/rand-0.8.5/target/rpm/build/serde-c893c1601ea249e9 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-rand0.8-0.8.5-build/rand-0.8.5/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_pcg --edition=2018 /usr/share/cargo/registry/rand_pcg-0.3.1/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("serde", "serde1"))' -C metadata=c9876ec771e32433 -C extra-filename=-1d52c414529a1c51 --out-dir /home/pterjan/rpmbuild/BUILD/rust-rand0.8-0.8.5-build/rand-0.8.5/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-rand0.8-0.8.5-build/rand-0.8.5/target/rpm/deps --extern rand_core=/home/pterjan/rpmbuild/BUILD/rust-rand0.8-0.8.5-build/rand-0.8.5/target/rpm/deps/librand_core-754d48fa32878947.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: `rand` (lib) generated 26 warnings Running `/home/pterjan/rpmbuild/BUILD/rust-rand0.8-0.8.5-build/rand-0.8.5/target/rpm/build/serde-c893c1601ea249e9/build-script-build` Running `/usr/bin/rustc --crate-name serde --edition=2018 /usr/share/cargo/registry/serde-1.0.217/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("alloc", "default", "derive", "rc", "serde_derive", "std", "unstable"))' -C metadata=b749c9e10a9e182f -C extra-filename=-2450d9623ee82f46 --out-dir /home/pterjan/rpmbuild/BUILD/rust-rand0.8-0.8.5-build/rand-0.8.5/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-rand0.8-0.8.5-build/rand-0.8.5/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --check-cfg 'cfg(no_core_cstr)' --check-cfg 'cfg(no_core_error)' --check-cfg 'cfg(no_core_net)' --check-cfg 'cfg(no_core_num_saturating)' --check-cfg 'cfg(no_core_try_from)' --check-cfg 'cfg(no_diagnostic_namespace)' --check-cfg 'cfg(no_float_copysign)' --check-cfg 'cfg(no_num_nonzero_signed)' --check-cfg 'cfg(no_relaxed_trait_bounds)' --check-cfg 'cfg(no_serde_derive)' --check-cfg 'cfg(no_std_atomic)' --check-cfg 'cfg(no_std_atomic64)' --check-cfg 'cfg(no_systemtime_checked_add)' --check-cfg 'cfg(no_target_has_atomic)'` Compiling bincode v1.3.3 Running `/usr/bin/rustc --crate-name bincode --edition=2015 /usr/share/cargo/registry/bincode-1.3.3/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("i128"))' -C metadata=765b9c62c98cc401 -C extra-filename=-e84d55a6b1dcebf3 --out-dir /home/pterjan/rpmbuild/BUILD/rust-rand0.8-0.8.5-build/rand-0.8.5/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-rand0.8-0.8.5-build/rand-0.8.5/target/rpm/deps --extern serde=/home/pterjan/rpmbuild/BUILD/rust-rand0.8-0.8.5-build/rand-0.8.5/target/rpm/deps/libserde-2450d9623ee82f46.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling rand v0.8.5 (/home/pterjan/rpmbuild/BUILD/rust-rand0.8-0.8.5-build/rand-0.8.5) Running `/usr/bin/rustc --crate-name rand --edition=2018 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 --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="getrandom"' --cfg 'feature="libc"' --cfg 'feature="rand_chacha"' --cfg 'feature="std"' --cfg 'feature="std_rng"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "default", "getrandom", "libc", "log", "min_const_gen", "nightly", "packed_simd", "rand_chacha", "serde", "serde1", "simd_support", "small_rng", "std", "std_rng"))' -C metadata=0975be90df6111c9 -C extra-filename=-8b9f04bac713705b --out-dir /home/pterjan/rpmbuild/BUILD/rust-rand0.8-0.8.5-build/rand-0.8.5/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-rand0.8-0.8.5-build/rand-0.8.5/target/rpm/deps --extern bincode=/home/pterjan/rpmbuild/BUILD/rust-rand0.8-0.8.5-build/rand-0.8.5/target/rpm/deps/libbincode-e84d55a6b1dcebf3.rlib --extern libc=/home/pterjan/rpmbuild/BUILD/rust-rand0.8-0.8.5-build/rand-0.8.5/target/rpm/deps/liblibc-dd505a5ba0bad04e.rlib --extern rand_chacha=/home/pterjan/rpmbuild/BUILD/rust-rand0.8-0.8.5-build/rand-0.8.5/target/rpm/deps/librand_chacha-b84759aec9e73191.rlib --extern rand_core=/home/pterjan/rpmbuild/BUILD/rust-rand0.8-0.8.5-build/rand-0.8.5/target/rpm/deps/librand_core-754d48fa32878947.rlib --extern rand_pcg=/home/pterjan/rpmbuild/BUILD/rust-rand0.8-0.8.5-build/rand-0.8.5/target/rpm/deps/librand_pcg-1d52c414529a1c51.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: unexpected `cfg` condition value: `asmjs` --> src/distributions/uniform.rs:1447:13 | 1447 | not(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 for more information about checking conditional configuration warning: `rand` (lib test) generated 26 warnings (25 duplicates) Finished `rpm` profile [optimized + debuginfo] target(s) in 12.95s Running `/home/pterjan/rpmbuild/BUILD/rust-rand0.8-0.8.5-build/rand-0.8.5/target/rpm/deps/rand-8b9f04bac713705b` running 75 tests test distributions::bernoulli::test::bernoulli_distributions_can_be_compared ... ok test distributions::bernoulli::test::test_trivial ... ok test distributions::bernoulli::test::test_average ... ok test distributions::integer::tests::value_stability ... ok test distributions::other::tests::test_chars ... ok test distributions::other::tests::test_alphanumeric ... ok test distributions::other::tests::value_stability ... ok test distributions::uniform::tests::test_custom_uniform ... ok test distributions::uniform::tests::test_durations ... ok test distributions::uniform::tests::test_char ... ok test distributions::uniform::tests::test_float_overflow - should panic ... ok test distributions::uniform::tests::test_float_overflow_single - should panic ... ok test distributions::uniform::tests::test_float_assertions ... ok test distributions::uniform::tests::test_integers ... ok test distributions::other::tests::test_misc ... ok test distributions::uniform::tests::test_uniform_bad_limits_equal_int - should panic ... ok test distributions::uniform::tests::test_floats ... ok test distributions::uniform::tests::test_uniform_from_std_range ... ok test distributions::uniform::tests::test_uniform_bad_limits_flipped_int - should panic ... ok test distributions::uniform::tests::test_uniform_good_limits_equal_int ... ok test distributions::uniform::tests::test_uniform_from_std_range_inclusive ... ok test distributions::uniform::tests::uniform_distributions_can_be_compared ... ok test distributions::uniform::tests::value_stability ... ok test distributions::weighted_index::test::test_accepting_nan ... ok test distributions::weighted_index::test::test_update_weights ... ok test distributions::weighted_index::test::value_stability ... ok test distributions::weighted_index::test::test_weightedindex ... ok test distributions::weighted_index::test::weighted_index_distributions_can_be_compared ... ok test rng::test::test_fill ... ok test rng::test::test_fill_bytes_default ... ok test rng::test::test_gen_bool ... ok test rng::test::test_gen_range_float ... ok test rng::test::test_gen_range_int ... ok test rng::test::test_gen_range_panic_int - should panic ... ok test rng::test::test_fill_empty ... ok test rng::test::test_gen_range_panic_usize - should panic ... ok test rng::test::test_rng_boxed_trait ... ok test rng::test::test_rng_trait_object ... ok test rngs::adapter::read::test::test_reader_rng_fill_bytes ... ok test rngs::adapter::read::test::test_reader_rng_u32 ... ok test rngs::adapter::read::test::test_reader_rng_insufficient_bytes ... ok test rngs::adapter::read::test::test_reader_rng_u64 ... ok test rngs::adapter::reseeding::test::test_clone_reseeding ... ok test rngs::std::test::test_stdrng_construction ... ok test rngs::adapter::reseeding::test::test_reseeding ... ok test rng::test::test_gen_ratio_average ... ok test rngs::thread::test::test_thread_rng ... ok test seq::index::test::test_sample_boundaries ... ok test seq::index::test::test_sample_weighted ... ok test seq::index::test::value_stability_sample ... ok test seq::index::test::test_sample_alg ... ok test distributions::float::tests::f64_edge_cases ... ok test seq::test::test_iterator_choose ... ok test seq::test::test_partial_shuffle ... ok test seq::test::test_sample_iter ... ok test seq::test::test_slice_choose ... ok test test::test_random ... ok test seq::test::test_multiple_weighted_edge_cases ... ok test seq::test::test_iterator_choose_stable_stability ... ok test seq::test::value_stability_choose_multiple ... ok test seq::test::test_iterator_choose_stable ... ok test seq::test::test_shuffle ... ok test seq::test::value_stability_choose_stable ... ok test seq::test::test_multiple_weighted_distributions ... ok test seq::test::test_weighted ... ok test seq::test::value_stability_choose ... ok test distributions::distribution::tests::test_distributions_iter ... ok test distributions::float::tests::value_stability ... ok test distributions::distribution::tests::test_make_an_iter ... ok test distributions::distribution::tests::test_distributions_map ... ok test distributions::distribution::tests::test_dist_string ... ok test distributions::integer::tests::test_integers ... ok test seq::test::value_stability_slice ... ok test distributions::float::tests::f32_edge_cases ... ok test distributions::bernoulli::test::value_stability ... ok test result: ok. 75 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s Doc-tests rand Running `/usr/bin/rustdoc --edition=2018 --crate-type lib --color auto --crate-name rand --test src/lib.rs --test-run-directory /home/pterjan/rpmbuild/BUILD/rust-rand0.8-0.8.5-build/rand-0.8.5 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-rand0.8-0.8.5-build/rand-0.8.5/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-rand0.8-0.8.5-build/rand-0.8.5/target/rpm/deps --extern bincode=/home/pterjan/rpmbuild/BUILD/rust-rand0.8-0.8.5-build/rand-0.8.5/target/rpm/deps/libbincode-e84d55a6b1dcebf3.rlib --extern libc=/home/pterjan/rpmbuild/BUILD/rust-rand0.8-0.8.5-build/rand-0.8.5/target/rpm/deps/liblibc-dd505a5ba0bad04e.rlib --extern rand=/home/pterjan/rpmbuild/BUILD/rust-rand0.8-0.8.5-build/rand-0.8.5/target/rpm/deps/librand-9233595cb4888e9e.rlib --extern rand_chacha=/home/pterjan/rpmbuild/BUILD/rust-rand0.8-0.8.5-build/rand-0.8.5/target/rpm/deps/librand_chacha-b84759aec9e73191.rlib --extern rand_core=/home/pterjan/rpmbuild/BUILD/rust-rand0.8-0.8.5-build/rand-0.8.5/target/rpm/deps/librand_core-754d48fa32878947.rlib --extern rand_pcg=/home/pterjan/rpmbuild/BUILD/rust-rand0.8-0.8.5-build/rand-0.8.5/target/rpm/deps/librand_pcg-1d52c414529a1c51.rlib -C embed-bitcode=no --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="getrandom"' --cfg 'feature="libc"' --cfg 'feature="rand_chacha"' --cfg 'feature="std"' --cfg 'feature="std_rng"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "default", "getrandom", "libc", "log", "min_const_gen", "nightly", "packed_simd", "rand_chacha", "serde", "serde1", "simd_support", "small_rng", "std", "std_rng"))' --error-format human` running 40 tests test src/prelude.rs - prelude (line 15) ... ok test src/seq/mod.rs - seq::SliceRandom::choose (line 70) ... ok test src/distributions/bernoulli.rs - distributions::bernoulli::Bernoulli (line 23) ... ok test src/distributions/mod.rs - distributions::Standard (line 175) ... ok test src/distributions/uniform.rs - distributions::uniform (line 29) ... ok test src/rng.rs - rng::Rng::gen (line 80) ... ok test src/rngs/mock.rs - rngs::mock::StepRng (line 22) ... ok test src/rng.rs - rng::Rng::gen_ratio (line 290) ... ok test src/distributions/distribution.rs - distributions::distribution::Distribution::sample_iter (line 50) ... ok test src/distributions/uniform.rs - distributions::uniform::UniformSampler::sample_single (line 269) ... ok test src/seq/mod.rs - seq::SliceRandom::shuffle (line 234) ... ok test src/lib.rs - (line 23) ... ok test src/rng.rs - rng::Rng::sample (line 142) ... ok test src/seq/mod.rs - seq::SliceRandom::choose_multiple (line 98) ... ok test src/distributions/uniform.rs - distributions::uniform (line 61) ... ok test src/seq/mod.rs - seq::SliceRandom (line 46) ... ok test src/rng.rs - rng::Rng::gen (line 60) ... ok test src/distributions/mod.rs - distributions::Standard (line 192) ... ok test src/seq/mod.rs - seq::SliceRandom::choose_multiple_weighted (line 202) ... ok test src/rng.rs - rng::Rng (line 45) ... ok test src/distributions/float.rs - distributions::float::OpenClosed01 (line 33) ... ok test src/rng.rs - rng::Rng::try_fill (line 231) ... ok test src/rng.rs - rng::Rng::sample_iter (line 166) ... ok test src/distributions/other.rs - distributions::other::Alphanumeric (line 45) ... ok test src/distributions/distribution.rs - distributions::distribution::Distribution::map (line 90) ... ok test src/rng.rs - rng::Rng::gen_bool (line 257) ... ok test src/rng.rs - rng::Rng::fill (line 209) ... ok test src/seq/mod.rs - seq::SliceRandom::choose_weighted (line 130) ... ok test src/lib.rs - random (line 161) ... ok test src/distributions/uniform.rs - distributions::uniform::Uniform (line 165) ... ok test src/rng.rs - rng::Rng::gen_range (line 112) ... ok test src/distributions/float.rs - distributions::float::Open01 (line 60) ... ok test src/lib.rs - random (line 146) ... ok test src/distributions/other.rs - distributions::other::Alphanumeric (line 34) ... ok test src/distributions/slice.rs - distributions::slice::Slice (line 52) ... ok test src/distributions/uniform.rs - distributions::uniform::Uniform (line 151) ... ok test src/rngs/adapter/reseeding.rs - rngs::adapter::reseeding::ReseedingRng (line 65) ... ok test src/distributions/weighted_index.rs - distributions::weighted_index::WeightedIndex (line 55) ... ok test src/seq/mod.rs - seq::IteratorRandom (line 276) ... ok test src/distributions/slice.rs - distributions::slice::Slice (line 30) ... ok test result: ok. 40 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.04s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rust-rand0.8-devel-0.8.5-1.mga10.noarch warning: File listed twice: /usr/share/cargo/registry/rand-0.8.5/CHANGELOG.md warning: File listed twice: /usr/share/cargo/registry/rand-0.8.5/COPYRIGHT warning: File listed twice: /usr/share/cargo/registry/rand-0.8.5/LICENSE-APACHE warning: File listed twice: /usr/share/cargo/registry/rand-0.8.5/LICENSE-MIT warning: File listed twice: /usr/share/cargo/registry/rand-0.8.5/README.md Provides: crate(rand) = 0.8.5 rust-rand0.8-devel = 0.8.5-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_core/default) >= 0.6.0 Processing files: rust-rand0.8+default-devel-0.8.5-1.mga10.noarch Provides: crate(rand/default) = 0.8.5 rust-rand0.8+default-devel = 0.8.5-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) = 0.8.5 crate(rand/std) = 0.8.5 crate(rand/std_rng) = 0.8.5 Processing files: rust-rand0.8+alloc-devel-0.8.5-1.mga10.noarch Provides: crate(rand/alloc) = 0.8.5 rust-rand0.8+alloc-devel = 0.8.5-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) = 0.8.5 crate(rand_core/alloc) >= 0.6.0 Processing files: rust-rand0.8+getrandom-devel-0.8.5-1.mga10.noarch Provides: crate(rand/getrandom) = 0.8.5 rust-rand0.8+getrandom-devel = 0.8.5-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) = 0.8.5 crate(rand_core/getrandom) >= 0.6.0 Processing files: rust-rand0.8+libc-devel-0.8.5-1.mga10.noarch Provides: crate(rand/libc) = 0.8.5 rust-rand0.8+libc-devel = 0.8.5-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) >= 0.2.22 crate(rand) = 0.8.5 Processing files: rust-rand0.8+log-devel-0.8.5-1.mga10.noarch Provides: crate(rand/log) = 0.8.5 rust-rand0.8+log-devel = 0.8.5-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.4 crate(rand) = 0.8.5 Processing files: rust-rand0.8+min_const_gen-devel-0.8.5-1.mga10.noarch Provides: crate(rand/min_const_gen) = 0.8.5 rust-rand0.8+min_const_gen-devel = 0.8.5-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) = 0.8.5 Processing files: rust-rand0.8+rand_chacha-devel-0.8.5-1.mga10.noarch Provides: crate(rand/rand_chacha) = 0.8.5 rust-rand0.8+rand_chacha-devel = 0.8.5-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) = 0.8.5 crate(rand_chacha) >= 0.3.0 Processing files: rust-rand0.8+serde-devel-0.8.5-1.mga10.noarch Provides: crate(rand/serde) = 0.8.5 rust-rand0.8+serde-devel = 0.8.5-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) = 0.8.5 crate(serde/default) >= 1.0.103 crate(serde/derive) >= 1.0.103 Processing files: rust-rand0.8+serde1-devel-0.8.5-1.mga10.noarch Provides: crate(rand/serde1) = 0.8.5 rust-rand0.8+serde1-devel = 0.8.5-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) = 0.8.5 crate(rand/serde) = 0.8.5 crate(rand_core/serde1) >= 0.6.0 Processing files: rust-rand0.8+small_rng-devel-0.8.5-1.mga10.noarch Provides: crate(rand/small_rng) = 0.8.5 rust-rand0.8+small_rng-devel = 0.8.5-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) = 0.8.5 Processing files: rust-rand0.8+std-devel-0.8.5-1.mga10.noarch Provides: crate(rand/std) = 0.8.5 rust-rand0.8+std-devel = 0.8.5-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) = 0.8.5 crate(rand/alloc) = 0.8.5 crate(rand/getrandom) = 0.8.5 crate(rand/libc) = 0.8.5 crate(rand_chacha) >= 0.3.0 crate(rand_chacha/std) >= 0.3.0 crate(rand_core/std) >= 0.6.0 Processing files: rust-rand0.8+std_rng-devel-0.8.5-1.mga10.noarch Provides: crate(rand/std_rng) = 0.8.5 rust-rand0.8+std_rng-devel = 0.8.5-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) = 0.8.5 crate(rand/rand_chacha) = 0.8.5 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/rust-rand0.8-0.8.5-build/BUILDROOT Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-rand0.8+rand_chacha-devel-0.8.5-1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-rand0.8+getrandom-devel-0.8.5-1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-rand0.8+log-devel-0.8.5-1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-rand0.8+std-devel-0.8.5-1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-rand0.8+small_rng-devel-0.8.5-1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-rand0.8+libc-devel-0.8.5-1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-rand0.8+std_rng-devel-0.8.5-1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-rand0.8+default-devel-0.8.5-1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-rand0.8-devel-0.8.5-1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-rand0.8+serde-devel-0.8.5-1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-rand0.8+min_const_gen-devel-0.8.5-1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-rand0.8+serde1-devel-0.8.5-1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-rand0.8+alloc-devel-0.8.5-1.mga10.noarch.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.7LLRcK + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-rand0.8-0.8.5-build + test -d /home/pterjan/rpmbuild/BUILD/rust-rand0.8-0.8.5-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/rust-rand0.8-0.8.5-build + rm -rf /home/pterjan/rpmbuild/BUILD/rust-rand0.8-0.8.5-build + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: File listed twice: /usr/share/cargo/registry/rand-0.8.5/CHANGELOG.md File listed twice: /usr/share/cargo/registry/rand-0.8.5/COPYRIGHT File listed twice: /usr/share/cargo/registry/rand-0.8.5/LICENSE-APACHE File listed twice: /usr/share/cargo/registry/rand-0.8.5/LICENSE-MIT File listed twice: /usr/share/cargo/registry/rand-0.8.5/README.md D: [iurt_root_command] Success!