D: [iurt_root_command] chroot Building target platforms: noarch Building for target noarch Installing /home/pterjan/rpmbuild/SRPMS/rust-getrandom0.1-0.1.16-1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.I9iNat Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.rhob70 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-getrandom0.1-0.1.16-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/rust-getrandom0.1-0.1.16-build + rm -rf getrandom-0.1.16 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/getrandom-0.1.16.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd getrandom-0.1.16 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/getrandom-fix-metadata-auto.diff + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/getrandom-fix-metadata.diff + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + set -euo pipefail + /usr/bin/mkdir -p target/rpm + /usr/bin/ln -s rpm target/release + /usr/bin/rm -rf .cargo/ + /usr/bin/mkdir -p .cargo + cat + cat + /usr/bin/rm -f Cargo.lock + /usr/bin/rm -f Cargo.toml.orig + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Lg6QuE + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-getrandom0.1-0.1.16-build + cd getrandom-0.1.16 + /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.JzYha1 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-getrandom0.1-0.1.16-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 getrandom-0.1.16 + '[' 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.180 Compiling getrandom v0.1.16 (/home/pterjan/rpmbuild/BUILD/rust-getrandom0.1-0.1.16-build/getrandom-0.1.16) Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/libc-0.2.180/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=92411a416ecbc327 -C extra-filename=-d139e536c4388098 --out-dir /home/pterjan/rpmbuild/BUILD/rust-getrandom0.1-0.1.16-build/getrandom-0.1.16/target/rpm/build/libc-d139e536c4388098 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-getrandom0.1-0.1.16-build/getrandom-0.1.16/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling cfg-if v1.0.4 Running `/usr/bin/rustc --crate-name build_script_build --edition=2018 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("compiler_builtins", "core", "dummy", "log", "rustc-dep-of-std", "std"))' -C metadata=59831510dc858f26 -C extra-filename=-a2dffaad50c6b05e --out-dir /home/pterjan/rpmbuild/BUILD/rust-getrandom0.1-0.1.16-build/getrandom-0.1.16/target/rpm/build/getrandom-a2dffaad50c6b05e -L dependency=/home/pterjan/rpmbuild/BUILD/rust-getrandom0.1-0.1.16-build/getrandom-0.1.16/target/rpm/deps -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.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 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("core", "rustc-dep-of-std"))' -C metadata=08b529e5e0e8f31d -C extra-filename=-882b1cd97dcfd39c --out-dir /home/pterjan/rpmbuild/BUILD/rust-getrandom0.1-0.1.16-build/getrandom-0.1.16/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-getrandom0.1-0.1.16-build/getrandom-0.1.16/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-getrandom0.1-0.1.16-build/getrandom-0.1.16/target/rpm/build/getrandom-a2dffaad50c6b05e/build-script-build` Running `/home/pterjan/rpmbuild/BUILD/rust-getrandom0.1-0.1.16-build/getrandom-0.1.16/target/rpm/build/libc-d139e536c4388098/build-script-build` Running `/usr/bin/rustc --crate-name libc --edition=2021 /usr/share/cargo/registry/libc-0.2.180/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=5429833b3143d375 -C extra-filename=-99d0b11ae01f7d56 --out-dir /home/pterjan/rpmbuild/BUILD/rust-getrandom0.1-0.1.16-build/getrandom-0.1.16/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-getrandom0.1-0.1.16-build/getrandom-0.1.16/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg freebsd12 --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_deny_warnings)' --check-cfg 'cfg(linux_time_bits64)' --check-cfg 'cfg(musl_v1_2_3)' --check-cfg 'cfg(musl32_time64)' --check-cfg 'cfg(vxworks_lt_25_09)' --check-cfg 'cfg(target_os,values("switch","aix","ohos","hurd","rtems","visionos","nuttx","cygwin","qurt"))' --check-cfg 'cfg(target_env,values("illumos","wasi","aix","ohos","nto71_iosock","nto80"))' --check-cfg 'cfg(target_arch,values("loongarch64","mips32r6","mips64r6","csky"))'` Running `/usr/bin/rustc --crate-name getrandom --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 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("compiler_builtins", "core", "dummy", "log", "rustc-dep-of-std", "std"))' -C metadata=251a02e2618cb029 -C extra-filename=-b6523ea1871e3c1c --out-dir /home/pterjan/rpmbuild/BUILD/rust-getrandom0.1-0.1.16-build/getrandom-0.1.16/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-getrandom0.1-0.1.16-build/getrandom-0.1.16/target/rpm/deps --extern cfg_if=/home/pterjan/rpmbuild/BUILD/rust-getrandom0.1-0.1.16-build/getrandom-0.1.16/target/rpm/deps/libcfg_if-882b1cd97dcfd39c.rmeta --extern libc=/home/pterjan/rpmbuild/BUILD/rust-getrandom0.1-0.1.16-build/getrandom-0.1.16/target/rpm/deps/liblibc-99d0b11ae01f7d56.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: unexpected `cfg` condition value: `stdweb` --> src/lib.rs:131:13 | 131 | #![cfg_attr(feature = "stdweb", recursion_limit = "128")] | ^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `compiler_builtins`, `core`, `dummy`, `log`, `rustc-dep-of-std`, and `std` = help: consider adding `stdweb` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition name: `getrandom_uwp` --> src/lib.rs:167:22 | 167 | all(windows, not(getrandom_uwp)), | ^^^^^^^^^^^^^ | = 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(getrandom_uwp)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(getrandom_uwp)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `cloudabi` --> src/lib.rs:193:21 | 193 | } else if #[cfg(target_os = "cloudabi")] { | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, and `trusty` and 12 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("cloudabi"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"cloudabi\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `getrandom_uwp` --> src/lib.rs:241:34 | 241 | } else if #[cfg(all(windows, getrandom_uwp))] { | ^^^^^^^^^^^^^ | = 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(getrandom_uwp)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(getrandom_uwp)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: `getrandom` (lib) generated 4 warnings Finished `rpm` profile [optimized + debuginfo] target(s) in 2.86s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Qwp74f + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-getrandom0.1-0.1.16-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/rust-getrandom0.1-0.1.16-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/rust-getrandom0.1-0.1.16-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/rust-getrandom0.1-0.1.16-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/rust-getrandom0.1-0.1.16-build + mkdir /home/pterjan/rpmbuild/BUILD/rust-getrandom0.1-0.1.16-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 getrandom-0.1.16 + '[' 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=getrandom ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=0.1.16 + REG_DIR=/home/pterjan/rpmbuild/BUILD/rust-getrandom0.1-0.1.16-build/BUILDROOT/usr/share/cargo/registry/getrandom-0.1.16 + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-getrandom0.1-0.1.16-build/BUILDROOT/usr/share/cargo/registry/getrandom-0.1.16 + /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-getrandom0.1-0.1.16-build/BUILDROOT/usr/share/cargo/registry/getrandom-0.1.16 warning: no (git) VCS found for `/home/pterjan/rpmbuild/BUILD/rust-getrandom0.1-0.1.16-build/getrandom-0.1.16` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /home/pterjan/rpmbuild/BUILD/rust-getrandom0.1-0.1.16-build/BUILDROOT/usr/share/cargo/registry/getrandom-0.1.16/Cargo.toml + /usr/bin/rm -f /home/pterjan/rpmbuild/BUILD/rust-getrandom0.1-0.1.16-build/BUILDROOT/usr/share/cargo/registry/getrandom-0.1.16/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.ek47Cc + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-getrandom0.1-0.1.16-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 getrandom-0.1.16 + '[' 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.180 Fresh cfg-if v1.0.4 warning: unexpected `cfg` condition value: `stdweb` --> src/lib.rs:131:13 | 131 | #![cfg_attr(feature = "stdweb", recursion_limit = "128")] | ^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `compiler_builtins`, `core`, `dummy`, `log`, `rustc-dep-of-std`, and `std` = help: consider adding `stdweb` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition name: `getrandom_uwp` --> src/lib.rs:167:22 | 167 | all(windows, not(getrandom_uwp)), | ^^^^^^^^^^^^^ | = 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(getrandom_uwp)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(getrandom_uwp)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `cloudabi` --> src/lib.rs:193:21 | 193 | } else if #[cfg(target_os = "cloudabi")] { | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, and `trusty` and 12 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("cloudabi"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"cloudabi\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `getrandom_uwp` --> src/lib.rs:241:34 | 241 | } else if #[cfg(all(windows, getrandom_uwp))] { | ^^^^^^^^^^^^^ | = 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(getrandom_uwp)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(getrandom_uwp)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration Compiling getrandom v0.1.16 (/home/pterjan/rpmbuild/BUILD/rust-getrandom0.1-0.1.16-build/getrandom-0.1.16) warning: `getrandom` (lib) generated 4 warnings Running `/usr/bin/rustc --crate-name getrandom --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 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("compiler_builtins", "core", "dummy", "log", "rustc-dep-of-std", "std"))' -C metadata=d4031ef303aded9f -C extra-filename=-8b81e1d1bb745fc5 --out-dir /home/pterjan/rpmbuild/BUILD/rust-getrandom0.1-0.1.16-build/getrandom-0.1.16/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-getrandom0.1-0.1.16-build/getrandom-0.1.16/target/rpm/deps --extern cfg_if=/home/pterjan/rpmbuild/BUILD/rust-getrandom0.1-0.1.16-build/getrandom-0.1.16/target/rpm/deps/libcfg_if-882b1cd97dcfd39c.rlib --extern libc=/home/pterjan/rpmbuild/BUILD/rust-getrandom0.1-0.1.16-build/getrandom-0.1.16/target/rpm/deps/liblibc-99d0b11ae01f7d56.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name common --edition=2018 tests/common.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --test --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("compiler_builtins", "core", "dummy", "log", "rustc-dep-of-std", "std"))' -C metadata=7343aa9b8f255b45 -C extra-filename=-569e3b74502d6cef --out-dir /home/pterjan/rpmbuild/BUILD/rust-getrandom0.1-0.1.16-build/getrandom-0.1.16/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-getrandom0.1-0.1.16-build/getrandom-0.1.16/target/rpm/deps --extern cfg_if=/home/pterjan/rpmbuild/BUILD/rust-getrandom0.1-0.1.16-build/getrandom-0.1.16/target/rpm/deps/libcfg_if-882b1cd97dcfd39c.rlib --extern getrandom=/home/pterjan/rpmbuild/BUILD/rust-getrandom0.1-0.1.16-build/getrandom-0.1.16/target/rpm/deps/libgetrandom-b6523ea1871e3c1c.rlib --extern libc=/home/pterjan/rpmbuild/BUILD/rust-getrandom0.1-0.1.16-build/getrandom-0.1.16/target/rpm/deps/liblibc-99d0b11ae01f7d56.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: unexpected `cfg` condition value: `wasm-bindgen` --> tests/common.rs:1:7 | 1 | #[cfg(feature = "wasm-bindgen")] | ^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `compiler_builtins`, `core`, `dummy`, `log`, `rustc-dep-of-std`, and `std` = help: consider adding `wasm-bindgen` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition value: `test-in-browser` --> tests/common.rs:6:7 | 6 | #[cfg(feature = "test-in-browser")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `compiler_builtins`, `core`, `dummy`, `log`, `rustc-dep-of-std`, and `std` = help: consider adding `test-in-browser` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `wasm-bindgen` --> tests/common.rs:9:12 | 9 | #[cfg_attr(feature = "wasm-bindgen", wasm_bindgen_test)] | ^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `compiler_builtins`, `core`, `dummy`, `log`, `rustc-dep-of-std`, and `std` = help: consider adding `wasm-bindgen` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `wasm-bindgen` --> tests/common.rs:16:12 | 16 | #[cfg_attr(feature = "wasm-bindgen", wasm_bindgen_test)] | ^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `compiler_builtins`, `core`, `dummy`, `log`, `rustc-dep-of-std`, and `std` = help: consider adding `wasm-bindgen` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `wasm-bindgen` --> tests/common.rs:34:12 | 34 | #[cfg_attr(feature = "wasm-bindgen", wasm_bindgen_test)] | ^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `compiler_builtins`, `core`, `dummy`, `log`, `rustc-dep-of-std`, and `std` = help: consider adding `wasm-bindgen` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: `getrandom` (lib test) generated 4 warnings (4 duplicates) warning: `getrandom` (test "common") generated 5 warnings Finished `rpm` profile [optimized + debuginfo] target(s) in 1.88s Running `/home/pterjan/rpmbuild/BUILD/rust-getrandom0.1-0.1.16-build/getrandom-0.1.16/target/rpm/deps/getrandom-8b81e1d1bb745fc5` running 1 test test error::tests::test_size ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running `/home/pterjan/rpmbuild/BUILD/rust-getrandom0.1-0.1.16-build/getrandom-0.1.16/target/rpm/deps/common-569e3b74502d6cef` running 4 tests test test_zero ... ok test test_huge ... ok test test_diff ... ok test test_multithreading ... ok test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests getrandom Running `/usr/bin/rustdoc --edition=2018 --crate-type lib --color auto --crate-name getrandom --test src/lib.rs --test-run-directory /home/pterjan/rpmbuild/BUILD/rust-getrandom0.1-0.1.16-build/getrandom-0.1.16 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-getrandom0.1-0.1.16-build/getrandom-0.1.16/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-getrandom0.1-0.1.16-build/getrandom-0.1.16/target/rpm/deps --extern cfg_if=/home/pterjan/rpmbuild/BUILD/rust-getrandom0.1-0.1.16-build/getrandom-0.1.16/target/rpm/deps/libcfg_if-882b1cd97dcfd39c.rlib --extern getrandom=/home/pterjan/rpmbuild/BUILD/rust-getrandom0.1-0.1.16-build/getrandom-0.1.16/target/rpm/deps/libgetrandom-b6523ea1871e3c1c.rlib --extern libc=/home/pterjan/rpmbuild/BUILD/rust-getrandom0.1-0.1.16-build/getrandom-0.1.16/target/rpm/deps/liblibc-99d0b11ae01f7d56.rlib -C embed-bitcode=no --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("compiler_builtins", "core", "dummy", "log", "rustc-dep-of-std", "std"))' --error-format human` running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rust-getrandom0.1-devel-0.1.16-1.mga10.noarch warning: File listed twice: /usr/share/cargo/registry/getrandom-0.1.16/CHANGELOG.md warning: File listed twice: /usr/share/cargo/registry/getrandom-0.1.16/LICENSE-APACHE warning: File listed twice: /usr/share/cargo/registry/getrandom-0.1.16/LICENSE-MIT warning: File listed twice: /usr/share/cargo/registry/getrandom-0.1.16/README.md Provides: crate(getrandom) = 0.1.16 rust-getrandom0.1-devel = 0.1.16-1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(cfg-if/default) >= 1.0.0 crate(libc) >= 0.2.64 Processing files: rust-getrandom0.1+default-devel-0.1.16-1.mga10.noarch Provides: crate(getrandom/default) = 0.1.16 rust-getrandom0.1+default-devel = 0.1.16-1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(getrandom) = 0.1.16 Processing files: rust-getrandom0.1+dummy-devel-0.1.16-1.mga10.noarch Provides: crate(getrandom/dummy) = 0.1.16 rust-getrandom0.1+dummy-devel = 0.1.16-1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(getrandom) = 0.1.16 Processing files: rust-getrandom0.1+log-devel-0.1.16-1.mga10.noarch Provides: crate(getrandom/log) = 0.1.16 rust-getrandom0.1+log-devel = 0.1.16-1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(getrandom) = 0.1.16 crate(log/default) >= 0.4.0 Processing files: rust-getrandom0.1+std-devel-0.1.16-1.mga10.noarch Provides: crate(getrandom/std) = 0.1.16 rust-getrandom0.1+std-devel = 0.1.16-1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(getrandom) = 0.1.16 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/rust-getrandom0.1-0.1.16-build/BUILDROOT Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-getrandom0.1+std-devel-0.1.16-1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-getrandom0.1+dummy-devel-0.1.16-1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-getrandom0.1+default-devel-0.1.16-1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-getrandom0.1+log-devel-0.1.16-1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-getrandom0.1-devel-0.1.16-1.mga10.noarch.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.YBXx3i + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-getrandom0.1-0.1.16-build + test -d /home/pterjan/rpmbuild/BUILD/rust-getrandom0.1-0.1.16-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/rust-getrandom0.1-0.1.16-build + rm -rf /home/pterjan/rpmbuild/BUILD/rust-getrandom0.1-0.1.16-build + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: File listed twice: /usr/share/cargo/registry/getrandom-0.1.16/CHANGELOG.md File listed twice: /usr/share/cargo/registry/getrandom-0.1.16/LICENSE-APACHE File listed twice: /usr/share/cargo/registry/getrandom-0.1.16/LICENSE-MIT File listed twice: /usr/share/cargo/registry/getrandom-0.1.16/README.md D: [iurt_root_command] Success!