D: [iurt_root_command] chroot Building target platforms: noarch Building for target noarch Installing /home/pterjan/rpmbuild/SRPMS/rust-rand0.8-0.8.5-3.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.4P8rwa Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.0H9SDp + 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.E0ykPU + 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.iQdGN3 + 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.175 Compiling zerocopy v0.8.26 Compiling cfg-if v1.0.1 Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/libc-0.2.175/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no '--allow=clippy::used_underscore_binding' --allow=unused_qualifications '--warn=clippy::unnecessary_semicolon' '--allow=clippy::unnecessary_cast' '--allow=clippy::uninlined_format_args' '--warn=clippy::ptr_as_ptr' '--allow=clippy::non_minimal_cfg' '--allow=clippy::missing_safety_doc' '--warn=clippy::map_unwrap_or' '--warn=clippy::manual_assert' '--allow=clippy::identity_op' '--warn=clippy::explicit_iter_loop' '--allow=clippy::expl_impl_clone_on_copy' -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=69db84a876ea34d1 -C extra-filename=-3689981c9c015de7 --out-dir /home/pterjan/rpmbuild/BUILD/rust-rand0.8-0.8.5-build/rand-0.8.5/target/rpm/build/libc-3689981c9c015de7 -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 build_script_build --edition=2021 /usr/share/cargo/registry/zerocopy-0.8.26/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="simd"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("__internal_use_only_features_that_work_on_stable", "alloc", "derive", "float-nightly", "simd", "simd-nightly", "std", "zerocopy-derive"))' -C metadata=95b3522b224fcd40 -C extra-filename=-569bc9be85de9b98 --out-dir /home/pterjan/rpmbuild/BUILD/rust-rand0.8-0.8.5-build/rand-0.8.5/target/rpm/build/zerocopy-569bc9be85de9b98 -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.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("core", "rustc-dep-of-std"))' -C metadata=d15e1610e28af61d -C extra-filename=-248c37a1e6f75f0e --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-3689981c9c015de7/build-script-build` Running `/usr/bin/rustc --crate-name libc --edition=2021 /usr/share/cargo/registry/libc-0.2.175/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 '--allow=clippy::used_underscore_binding' --allow=unused_qualifications '--warn=clippy::unnecessary_semicolon' '--allow=clippy::unnecessary_cast' '--allow=clippy::uninlined_format_args' '--warn=clippy::ptr_as_ptr' '--allow=clippy::non_minimal_cfg' '--allow=clippy::missing_safety_doc' '--warn=clippy::map_unwrap_or' '--warn=clippy::manual_assert' '--allow=clippy::identity_op' '--warn=clippy::explicit_iter_loop' '--allow=clippy::expl_impl_clone_on_copy' --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=25c2ba817ba0ec2b -C extra-filename=-71f4bfc73a4884e1 --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(gnu_file_offset_bits64)' --check-cfg 'cfg(gnu_time_bits64)' --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(musl_v1_2_3)' --check-cfg 'cfg(target_os,values("switch","aix","ohos","hurd","rtems","visionos","nuttx","cygwin"))' --check-cfg 'cfg(target_env,values("illumos","wasi","aix","ohos","nto71_iosock","nto80"))' --check-cfg 'cfg(target_arch,values("loongarch64","mips32r6","mips64r6","csky"))'` Running `/home/pterjan/rpmbuild/BUILD/rust-rand0.8-0.8.5-build/rand-0.8.5/target/rpm/build/zerocopy-569bc9be85de9b98/build-script-build` Running `/usr/bin/rustc --crate-name zerocopy --edition=2021 /usr/share/cargo/registry/zerocopy-0.8.26/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"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("__internal_use_only_features_that_work_on_stable", "alloc", "derive", "float-nightly", "simd", "simd-nightly", "std", "zerocopy-derive"))' -C metadata=741061ac64b173e5 -C extra-filename=-009b732695f7d327 --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 zerocopy_aarch64_simd_1_59_0 --cfg zerocopy_core_error_1_81_0 --cfg zerocopy_diagnostic_on_unimplemented_1_78_0 --cfg zerocopy_generic_bounds_in_const_fn_1_61_0 --cfg zerocopy_panic_in_const_and_vec_try_reserve_1_57_0 --cfg zerocopy_target_has_atomics_1_60_0 --check-cfg 'cfg(zerocopy_aarch64_simd_1_59_0)' --check-cfg 'cfg(rust, values("1.59.0"))' --check-cfg 'cfg(zerocopy_core_error_1_81_0)' --check-cfg 'cfg(rust, values("1.81.0"))' --check-cfg 'cfg(zerocopy_diagnostic_on_unimplemented_1_78_0)' --check-cfg 'cfg(rust, values("1.78.0"))' --check-cfg 'cfg(zerocopy_generic_bounds_in_const_fn_1_61_0)' --check-cfg 'cfg(rust, values("1.61.0"))' --check-cfg 'cfg(zerocopy_panic_in_const_and_vec_try_reserve_1_57_0)' --check-cfg 'cfg(rust, values("1.57.0"))' --check-cfg 'cfg(zerocopy_target_has_atomics_1_60_0)' --check-cfg 'cfg(rust, values("1.60.0"))' --check-cfg 'cfg(doc_cfg)' --check-cfg 'cfg(kani)' --check-cfg 'cfg(__ZEROCOPY_INTERNAL_USE_ONLY_NIGHTLY_FEATURES_IN_TESTS)' --check-cfg 'cfg(coverage_nightly)'` 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=4fffd9c8b99735df -C extra-filename=-479d0234651f4eb1 --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-248c37a1e6f75f0e.rmeta --extern libc=/home/pterjan/rpmbuild/BUILD/rust-rand0.8-0.8.5-build/rand-0.8.5/target/rpm/deps/liblibc-71f4bfc73a4884e1.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=64634a4c943761b8 -C extra-filename=-a1aebea2204dcefa --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-479d0234651f4eb1.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling ppv-lite86 v0.2.21 Running `/usr/bin/rustc --crate-name ppv_lite86 --edition=2021 /usr/share/cargo/registry/ppv-lite86-0.2.21/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=9d013efeea412786 -C extra-filename=-3b832c622f004fca --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 zerocopy=/home/pterjan/rpmbuild/BUILD/rust-rand0.8-0.8.5-build/rand-0.8.5/target/rpm/deps/libzerocopy-009b732695f7d327.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=96f55a6b61ecae00 -C extra-filename=-ab7b20b0502fc577 --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-3b832c622f004fca.rmeta --extern rand_core=/home/pterjan/rpmbuild/BUILD/rust-rand0.8-0.8.5-build/rand-0.8.5/target/rpm/deps/librand_core-a1aebea2204dcefa.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=2a560b8fb9a9a8bc -C extra-filename=-506c2676cee9eeba --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-71f4bfc73a4884e1.rmeta --extern rand_chacha=/home/pterjan/rpmbuild/BUILD/rust-rand0.8-0.8.5-build/rand-0.8.5/target/rpm/deps/librand_chacha-ab7b20b0502fc577.rmeta --extern rand_core=/home/pterjan/rpmbuild/BUILD/rust-rand0.8-0.8.5-build/rand-0.8.5/target/rpm/deps/librand_core-a1aebea2204dcefa.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: hiding a lifetime that's elided elsewhere is confusing --> src/seq/mod.rs:115:27 | 115 | fn choose_multiple(&self, rng: &mut R, amount: usize) -> SliceChooseIter | ^^^^^ the lifetime is elided here --------------------------------- the same lifetime is hidden here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default help: use `'_` for type paths | 115 | fn choose_multiple(&self, rng: &mut R, amount: usize) -> SliceChooseIter<'_, Self, Self::Item> | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/seq/mod.rs:221:9 | 221 | &self, rng: &mut R, amount: usize, weight: F, | ^^^^^ the lifetime is elided here 222 | ) -> Result, WeightedError> | --------------------------------- the same lifetime is hidden here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 222 | ) -> Result, WeightedError> | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/seq/mod.rs:515:27 | 515 | fn choose_multiple(&self, rng: &mut R, amount: usize) -> SliceChooseIter | ^^^^^ the lifetime is elided here --------------------------------- the same lifetime is hidden here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 515 | fn choose_multiple(&self, rng: &mut R, amount: usize) -> SliceChooseIter<'_, Self, Self::Item> | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/seq/mod.rs:565:9 | 565 | &self, rng: &mut R, amount: usize, weight: F, | ^^^^^ the lifetime is elided here 566 | ) -> Result, WeightedError> | --------------------------------- the same lifetime is hidden here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 566 | ) -> Result, WeightedError> | +++ warning: `rand` (lib) generated 30 warnings Finished `rpm` profile [optimized + debuginfo] target(s) in 4.50s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.TYtMvh + 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 + grep -w -E -v 'Cargo.(lock|toml.orig)' + 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 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.ToA5Ac + 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.175 Fresh cfg-if v1.0.1 Fresh getrandom v0.2.15 Compiling serde v1.0.219 Fresh rand_core v0.6.4 Fresh zerocopy v0.8.26 Fresh ppv-lite86 v0.2.21 Compiling rand_pcg v0.3.1 Running `/usr/bin/rustc --crate-name build_script_build --edition=2018 /usr/share/cargo/registry/serde-1.0.219/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=3143179165e2ceb0 -C extra-filename=-989e5cf4b963e7cc --out-dir /home/pterjan/rpmbuild/BUILD/rust-rand0.8-0.8.5-build/rand-0.8.5/target/rpm/build/serde-989e5cf4b963e7cc -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` Fresh rand_chacha 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; | ^^^ warning: hiding a lifetime that's elided elsewhere is confusing --> src/seq/mod.rs:115:27 | 115 | fn choose_multiple(&self, rng: &mut R, amount: usize) -> SliceChooseIter | ^^^^^ the lifetime is elided here --------------------------------- the same lifetime is hidden here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default help: use `'_` for type paths | 115 | fn choose_multiple(&self, rng: &mut R, amount: usize) -> SliceChooseIter<'_, Self, Self::Item> | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/seq/mod.rs:221:9 | 221 | &self, rng: &mut R, amount: usize, weight: F, | ^^^^^ the lifetime is elided here 222 | ) -> Result, WeightedError> | --------------------------------- the same lifetime is hidden here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 222 | ) -> Result, WeightedError> | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/seq/mod.rs:515:27 | 515 | fn choose_multiple(&self, rng: &mut R, amount: usize) -> SliceChooseIter | ^^^^^ the lifetime is elided here --------------------------------- the same lifetime is hidden here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 515 | fn choose_multiple(&self, rng: &mut R, amount: usize) -> SliceChooseIter<'_, Self, Self::Item> | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/seq/mod.rs:565:9 | 565 | &self, rng: &mut R, amount: usize, weight: F, | ^^^^^ the lifetime is elided here 566 | ) -> Result, WeightedError> | --------------------------------- the same lifetime is hidden here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 566 | ) -> Result, WeightedError> | +++ 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=539f7df0378b7b42 -C extra-filename=-3dd4303389c03c79 --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-a1aebea2204dcefa.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: `rand` (lib) generated 30 warnings Running `/home/pterjan/rpmbuild/BUILD/rust-rand0.8-0.8.5-build/rand-0.8.5/target/rpm/build/serde-989e5cf4b963e7cc/build-script-build` Running `/usr/bin/rustc --crate-name serde --edition=2018 /usr/share/cargo/registry/serde-1.0.219/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=4547228c65bad018 -C extra-filename=-2cc117dc62a5e9b6 --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=318b83955bf494ef -C extra-filename=-00a86b541048adb9 --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-2cc117dc62a5e9b6.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=069b1a520b39e838 -C extra-filename=-2524440c8cb221de --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-00a86b541048adb9.rlib --extern libc=/home/pterjan/rpmbuild/BUILD/rust-rand0.8-0.8.5-build/rand-0.8.5/target/rpm/deps/liblibc-71f4bfc73a4884e1.rlib --extern rand_chacha=/home/pterjan/rpmbuild/BUILD/rust-rand0.8-0.8.5-build/rand-0.8.5/target/rpm/deps/librand_chacha-ab7b20b0502fc577.rlib --extern rand_core=/home/pterjan/rpmbuild/BUILD/rust-rand0.8-0.8.5-build/rand-0.8.5/target/rpm/deps/librand_core-a1aebea2204dcefa.rlib --extern rand_pcg=/home/pterjan/rpmbuild/BUILD/rust-rand0.8-0.8.5-build/rand-0.8.5/target/rpm/deps/librand_pcg-3dd4303389c03c79.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`, `loongarch32`, `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 30 warnings (29 duplicates) Finished `rpm` profile [optimized + debuginfo] target(s) in 12.60s Running `/home/pterjan/rpmbuild/BUILD/rust-rand0.8-0.8.5-build/rand-0.8.5/target/rpm/deps/rand-2524440c8cb221de` running 75 tests test distributions::bernoulli::test::test_trivial ... ok test distributions::bernoulli::test::value_stability ... ok test distributions::bernoulli::test::bernoulli_distributions_can_be_compared ... ok test distributions::distribution::tests::test_dist_string ... ok test distributions::distribution::tests::test_distributions_iter ... ok test distributions::distribution::tests::test_distributions_map ... ok test distributions::distribution::tests::test_make_an_iter ... ok test distributions::float::tests::f32_edge_cases ... ok test distributions::float::tests::f64_edge_cases ... ok test distributions::float::tests::value_stability ... ok test distributions::integer::tests::test_integers ... ok test distributions::integer::tests::value_stability ... ok test distributions::other::tests::test_alphanumeric ... ok test distributions::other::tests::test_chars ... ok test distributions::other::tests::test_misc ... ok test distributions::bernoulli::test::test_average ... ok test distributions::other::tests::value_stability ... ok test distributions::uniform::tests::test_char ... ok test distributions::uniform::tests::test_custom_uniform ... ok test distributions::uniform::tests::test_durations ... 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_floats ... ok test distributions::uniform::tests::test_uniform_bad_limits_equal_int - should panic ... ok test distributions::uniform::tests::test_uniform_bad_limits_flipped_int - should panic ... ok test distributions::uniform::tests::test_uniform_from_std_range ... ok test distributions::uniform::tests::test_uniform_from_std_range_inclusive ... ok test distributions::uniform::tests::test_float_assertions ... ok test distributions::uniform::tests::test_uniform_good_limits_equal_int ... 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_fill_empty ... 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 distributions::uniform::tests::test_integers ... ok test rng::test::test_gen_range_panic_int - should panic ... 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_insufficient_bytes ... ok test rngs::adapter::read::test::test_reader_rng_u32 ... ok test rngs::adapter::read::test::test_reader_rng_u64 ... ok test rngs::adapter::reseeding::test::test_clone_reseeding ... ok test rngs::adapter::reseeding::test::test_reseeding ... ok test rng::test::test_gen_ratio_average ... ok test rngs::std::test::test_stdrng_construction ... 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 seq::test::test_multiple_weighted_edge_cases ... ok test seq::test::test_sample_iter ... ok test seq::test::test_weighted ... ok test seq::test::test_iterator_choose ... ok test seq::test::value_stability_choose ... ok test test::test_random ... ok test seq::test::test_partial_shuffle ... ok test seq::test::value_stability_slice ... ok test seq::test::value_stability_choose_multiple ... ok test seq::test::test_slice_choose ... ok test seq::test::value_stability_choose_stable ... ok test seq::test::test_shuffle ... ok test seq::test::test_iterator_choose_stable ... ok test seq::test::test_iterator_choose_stable_stability ... ok test seq::test::test_multiple_weighted_distributions ... 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-00a86b541048adb9.rlib --extern libc=/home/pterjan/rpmbuild/BUILD/rust-rand0.8-0.8.5-build/rand-0.8.5/target/rpm/deps/liblibc-71f4bfc73a4884e1.rlib --extern rand=/home/pterjan/rpmbuild/BUILD/rust-rand0.8-0.8.5-build/rand-0.8.5/target/rpm/deps/librand-506c2676cee9eeba.rlib --extern rand_chacha=/home/pterjan/rpmbuild/BUILD/rust-rand0.8-0.8.5-build/rand-0.8.5/target/rpm/deps/librand_chacha-ab7b20b0502fc577.rlib --extern rand_core=/home/pterjan/rpmbuild/BUILD/rust-rand0.8-0.8.5-build/rand-0.8.5/target/rpm/deps/librand_core-a1aebea2204dcefa.rlib --extern rand_pcg=/home/pterjan/rpmbuild/BUILD/rust-rand0.8-0.8.5-build/rand-0.8.5/target/rpm/deps/librand_pcg-3dd4303389c03c79.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/rng.rs - rng::Rng::fill (line 209) ... ok test src/distributions/uniform.rs - distributions::uniform::UniformSampler::sample_single (line 269) ... ok test src/rng.rs - rng::Rng::sample (line 142) ... ok test src/distributions/mod.rs - distributions::Standard (line 175) ... ok test src/rng.rs - rng::Rng::gen_range (line 112) ... ok test src/distributions/mod.rs - distributions::Standard (line 192) ... ok test src/distributions/bernoulli.rs - distributions::bernoulli::Bernoulli (line 23) ... ok test src/rng.rs - rng::Rng::gen_bool (line 257) ... ok test src/distributions/float.rs - distributions::float::OpenClosed01 (line 33) ... ok test src/distributions/distribution.rs - distributions::distribution::Distribution::map (line 90) ... ok test src/prelude.rs - prelude (line 15) ... ok test src/rngs/adapter/reseeding.rs - rngs::adapter::reseeding::ReseedingRng (line 65) ... ok test src/distributions/float.rs - distributions::float::Open01 (line 60) ... ok test src/lib.rs - random (line 146) ... ok test src/seq/mod.rs - seq::IteratorRandom (line 276) ... ok test src/seq/mod.rs - seq::SliceRandom::choose (line 70) ... ok test src/distributions/other.rs - distributions::other::Alphanumeric (line 34) ... ok test src/distributions/uniform.rs - distributions::uniform::Uniform (line 151) ... ok test src/rng.rs - rng::Rng::gen_ratio (line 290) ... ok test src/lib.rs - (line 23) ... ok test src/seq/mod.rs - seq::SliceRandom::shuffle (line 234) ... ok test src/distributions/slice.rs - distributions::slice::Slice (line 52) ... ok test src/distributions/uniform.rs - distributions::uniform (line 29) ... ok test src/distributions/uniform.rs - distributions::uniform::Uniform (line 165) ... ok test src/distributions/slice.rs - distributions::slice::Slice (line 30) ... ok test src/distributions/distribution.rs - distributions::distribution::Distribution::sample_iter (line 50) ... ok test src/distributions/weighted_index.rs - distributions::weighted_index::WeightedIndex (line 55) ... ok test src/seq/mod.rs - seq::SliceRandom::choose_weighted (line 130) ... ok test src/rng.rs - rng::Rng (line 45) ... ok test src/rng.rs - rng::Rng::try_fill (line 231) ... ok test src/seq/mod.rs - seq::SliceRandom (line 46) ... ok test src/distributions/other.rs - distributions::other::Alphanumeric (line 45) ... ok test src/rng.rs - rng::Rng::sample_iter (line 166) ... ok test src/rngs/mock.rs - rngs::mock::StepRng (line 22) ... ok test src/rng.rs - rng::Rng::gen (line 60) ... ok test src/rng.rs - rng::Rng::gen (line 80) ... ok test src/distributions/uniform.rs - distributions::uniform (line 61) ... ok test src/lib.rs - random (line 161) ... ok test src/seq/mod.rs - seq::SliceRandom::choose_multiple_weighted (line 202) ... ok test src/seq/mod.rs - seq::SliceRandom::choose_multiple (line 98) ... ok test result: ok. 40 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.43s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rust-rand0.8-devel-0.8.5-3.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-3.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-3.mga10.noarch Provides: crate(rand/default) = 0.8.5 rust-rand0.8+default-devel = 0.8.5-3.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-3.mga10.noarch Provides: crate(rand/alloc) = 0.8.5 rust-rand0.8+alloc-devel = 0.8.5-3.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-3.mga10.noarch Provides: crate(rand/getrandom) = 0.8.5 rust-rand0.8+getrandom-devel = 0.8.5-3.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-3.mga10.noarch Provides: crate(rand/libc) = 0.8.5 rust-rand0.8+libc-devel = 0.8.5-3.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-3.mga10.noarch Provides: crate(rand/log) = 0.8.5 rust-rand0.8+log-devel = 0.8.5-3.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-3.mga10.noarch Provides: crate(rand/min_const_gen) = 0.8.5 rust-rand0.8+min_const_gen-devel = 0.8.5-3.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-3.mga10.noarch Provides: crate(rand/rand_chacha) = 0.8.5 rust-rand0.8+rand_chacha-devel = 0.8.5-3.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-3.mga10.noarch Provides: crate(rand/serde) = 0.8.5 rust-rand0.8+serde-devel = 0.8.5-3.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-3.mga10.noarch Provides: crate(rand/serde1) = 0.8.5 rust-rand0.8+serde1-devel = 0.8.5-3.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-3.mga10.noarch Provides: crate(rand/small_rng) = 0.8.5 rust-rand0.8+small_rng-devel = 0.8.5-3.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-3.mga10.noarch Provides: crate(rand/std) = 0.8.5 rust-rand0.8+std-devel = 0.8.5-3.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-3.mga10.noarch Provides: crate(rand/std_rng) = 0.8.5 rust-rand0.8+std_rng-devel = 0.8.5-3.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+serde1-devel-0.8.5-3.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-rand0.8+small_rng-devel-0.8.5-3.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-rand0.8+min_const_gen-devel-0.8.5-3.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-rand0.8+rand_chacha-devel-0.8.5-3.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-rand0.8+log-devel-0.8.5-3.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-rand0.8+alloc-devel-0.8.5-3.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-rand0.8+default-devel-0.8.5-3.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-rand0.8+std_rng-devel-0.8.5-3.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-rand0.8+serde-devel-0.8.5-3.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-rand0.8+std-devel-0.8.5-3.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-rand0.8+getrandom-devel-0.8.5-3.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-rand0.8+libc-devel-0.8.5-3.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-rand0.8-devel-0.8.5-3.mga10.noarch.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.sZ8uCf + 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!