D: [iurt_root_command] chroot Building target platforms: noarch Building for target noarch Installing /home/pterjan/rpmbuild/SRPMS/rust-lock_api-0.4.11-1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.RLHGYE Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.14rqdk + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-lock_api-0.4.11-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/rust-lock_api-0.4.11-build + rm -rf lock_api-0.4.11 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/lock_api-0.4.11.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd lock_api-0.4.11 + /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.e0d6OW + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-lock_api-0.4.11-build + cd lock_api-0.4.11 + /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.Qw32Fc + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-lock_api-0.4.11-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 lock_api-0.4.11 + '[' 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 autocfg v1.4.0 Compiling scopeguard v1.2.0 Running `/usr/bin/rustc --crate-name autocfg --edition=2015 /usr/share/cargo/registry/autocfg-1.4.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=e124a71a4c38a5a2 -C extra-filename=-33df3ec257ba7fb0 --out-dir /home/pterjan/rpmbuild/BUILD/rust-lock_api-0.4.11-build/lock_api-0.4.11/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-lock_api-0.4.11-build/lock_api-0.4.11/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 scopeguard --edition=2015 /usr/share/cargo/registry/scopeguard-1.2.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "use_std"))' -C metadata=99b996e567e34f73 -C extra-filename=-5a38417771000338 --out-dir /home/pterjan/rpmbuild/BUILD/rust-lock_api-0.4.11-build/lock_api-0.4.11/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-lock_api-0.4.11-build/lock_api-0.4.11/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling lock_api v0.4.11 (/home/pterjan/rpmbuild/BUILD/rust-lock_api-0.4.11-build/lock_api-0.4.11) 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 --cfg 'feature="atomic_usize"' --cfg 'feature="default"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("arc_lock", "atomic_usize", "default", "nightly", "owning_ref", "serde"))' -C metadata=46205de775226991 -C extra-filename=-81bd128f886a87b9 --out-dir /home/pterjan/rpmbuild/BUILD/rust-lock_api-0.4.11-build/lock_api-0.4.11/target/rpm/build/lock_api-81bd128f886a87b9 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-lock_api-0.4.11-build/lock_api-0.4.11/target/rpm/deps --extern autocfg=/home/pterjan/rpmbuild/BUILD/rust-lock_api-0.4.11-build/lock_api-0.4.11/target/rpm/deps/libautocfg-33df3ec257ba7fb0.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/home/pterjan/rpmbuild/BUILD/rust-lock_api-0.4.11-build/lock_api-0.4.11/target/rpm/build/lock_api-81bd128f886a87b9/build-script-build` Running `/usr/bin/rustc --crate-name lock_api --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="atomic_usize"' --cfg 'feature="default"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("arc_lock", "atomic_usize", "default", "nightly", "owning_ref", "serde"))' -C metadata=96b41ec09fcd414c -C extra-filename=-89cb6a5890e8d303 --out-dir /home/pterjan/rpmbuild/BUILD/rust-lock_api-0.4.11-build/lock_api-0.4.11/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-lock_api-0.4.11-build/lock_api-0.4.11/target/rpm/deps --extern scopeguard=/home/pterjan/rpmbuild/BUILD/rust-lock_api-0.4.11-build/lock_api-0.4.11/target/rpm/deps/libscopeguard-5a38417771000338.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg has_const_fn_trait_bound` warning: unexpected `cfg` condition name: `has_const_fn_trait_bound` --> src/mutex.rs:152:11 | 152 | #[cfg(has_const_fn_trait_bound)] | ^^^^^^^^^^^^^^^^^^^^^^^^ | = 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(has_const_fn_trait_bound)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_const_fn_trait_bound)");` 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: `has_const_fn_trait_bound` --> src/mutex.rs:162:15 | 162 | #[cfg(not(has_const_fn_trait_bound))] | ^^^^^^^^^^^^^^^^^^^^^^^^ | = 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(has_const_fn_trait_bound)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_const_fn_trait_bound)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `has_const_fn_trait_bound` --> src/remutex.rs:235:11 | 235 | #[cfg(has_const_fn_trait_bound)] | ^^^^^^^^^^^^^^^^^^^^^^^^ | = 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(has_const_fn_trait_bound)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_const_fn_trait_bound)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `has_const_fn_trait_bound` --> src/remutex.rs:250:15 | 250 | #[cfg(not(has_const_fn_trait_bound))] | ^^^^^^^^^^^^^^^^^^^^^^^^ | = 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(has_const_fn_trait_bound)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_const_fn_trait_bound)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `has_const_fn_trait_bound` --> src/rwlock.rs:369:11 | 369 | #[cfg(has_const_fn_trait_bound)] | ^^^^^^^^^^^^^^^^^^^^^^^^ | = 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(has_const_fn_trait_bound)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_const_fn_trait_bound)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `has_const_fn_trait_bound` --> src/rwlock.rs:379:15 | 379 | #[cfg(not(has_const_fn_trait_bound))] | ^^^^^^^^^^^^^^^^^^^^^^^^ | = 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(has_const_fn_trait_bound)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_const_fn_trait_bound)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: field `0` is never read --> src/lib.rs:103:24 | 103 | pub struct GuardNoSend(*mut ()); | ----------- ^^^^^^^ | | | field in this struct | = help: consider removing this field = note: `#[warn(dead_code)]` on by default warning: `lock_api` (lib) generated 7 warnings Finished `rpm` profile [optimized + debuginfo] target(s) in 2.60s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.VwwOFC + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-lock_api-0.4.11-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/rust-lock_api-0.4.11-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/rust-lock_api-0.4.11-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/rust-lock_api-0.4.11-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/rust-lock_api-0.4.11-build + mkdir /home/pterjan/rpmbuild/BUILD/rust-lock_api-0.4.11-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 lock_api-0.4.11 + '[' 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=lock_api ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=0.4.11 + REG_DIR=/home/pterjan/rpmbuild/BUILD/rust-lock_api-0.4.11-build/BUILDROOT/usr/share/cargo/registry/lock_api-0.4.11 + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-lock_api-0.4.11-build/BUILDROOT/usr/share/cargo/registry/lock_api-0.4.11 + /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-lock_api-0.4.11-build/BUILDROOT/usr/share/cargo/registry/lock_api-0.4.11 warning: no (git) VCS found for `/home/pterjan/rpmbuild/BUILD/rust-lock_api-0.4.11-build/lock_api-0.4.11` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /home/pterjan/rpmbuild/BUILD/rust-lock_api-0.4.11-build/BUILDROOT/usr/share/cargo/registry/lock_api-0.4.11/Cargo.toml + /usr/bin/rm -f /home/pterjan/rpmbuild/BUILD/rust-lock_api-0.4.11-build/BUILDROOT/usr/share/cargo/registry/lock_api-0.4.11/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.kTjOGa + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-lock_api-0.4.11-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 lock_api-0.4.11 + '[' 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 autocfg v1.4.0 Fresh scopeguard v1.2.0 warning: unexpected `cfg` condition name: `has_const_fn_trait_bound` --> src/mutex.rs:152:11 | 152 | #[cfg(has_const_fn_trait_bound)] | ^^^^^^^^^^^^^^^^^^^^^^^^ | = 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(has_const_fn_trait_bound)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_const_fn_trait_bound)");` 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: `has_const_fn_trait_bound` --> src/mutex.rs:162:15 | 162 | #[cfg(not(has_const_fn_trait_bound))] | ^^^^^^^^^^^^^^^^^^^^^^^^ | = 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(has_const_fn_trait_bound)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_const_fn_trait_bound)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `has_const_fn_trait_bound` --> src/remutex.rs:235:11 | 235 | #[cfg(has_const_fn_trait_bound)] | ^^^^^^^^^^^^^^^^^^^^^^^^ | = 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(has_const_fn_trait_bound)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_const_fn_trait_bound)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `has_const_fn_trait_bound` --> src/remutex.rs:250:15 | 250 | #[cfg(not(has_const_fn_trait_bound))] | ^^^^^^^^^^^^^^^^^^^^^^^^ | = 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(has_const_fn_trait_bound)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_const_fn_trait_bound)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `has_const_fn_trait_bound` --> src/rwlock.rs:369:11 | 369 | #[cfg(has_const_fn_trait_bound)] | ^^^^^^^^^^^^^^^^^^^^^^^^ | = 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(has_const_fn_trait_bound)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_const_fn_trait_bound)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `has_const_fn_trait_bound` --> src/rwlock.rs:379:15 | 379 | #[cfg(not(has_const_fn_trait_bound))] | ^^^^^^^^^^^^^^^^^^^^^^^^ | = 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(has_const_fn_trait_bound)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_const_fn_trait_bound)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: field `0` is never read --> src/lib.rs:103:24 | 103 | pub struct GuardNoSend(*mut ()); | ----------- ^^^^^^^ | | | field in this struct | = help: consider removing this field = note: `#[warn(dead_code)]` on by default warning: `lock_api` (lib) generated 7 warnings Compiling lock_api v0.4.11 (/home/pterjan/rpmbuild/BUILD/rust-lock_api-0.4.11-build/lock_api-0.4.11) Running `/usr/bin/rustc --crate-name lock_api --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="atomic_usize"' --cfg 'feature="default"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("arc_lock", "atomic_usize", "default", "nightly", "owning_ref", "serde"))' -C metadata=df8160b322ad36e2 -C extra-filename=-64f383217a9f9d76 --out-dir /home/pterjan/rpmbuild/BUILD/rust-lock_api-0.4.11-build/lock_api-0.4.11/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-lock_api-0.4.11-build/lock_api-0.4.11/target/rpm/deps --extern scopeguard=/home/pterjan/rpmbuild/BUILD/rust-lock_api-0.4.11-build/lock_api-0.4.11/target/rpm/deps/libscopeguard-5a38417771000338.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg has_const_fn_trait_bound` warning: `lock_api` (lib test) generated 7 warnings (7 duplicates) Finished `rpm` profile [optimized + debuginfo] target(s) in 0.61s Running `/home/pterjan/rpmbuild/BUILD/rust-lock_api-0.4.11-build/lock_api-0.4.11/target/rpm/deps/lock_api-64f383217a9f9d76` running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests lock_api Running `/usr/bin/rustdoc --edition=2018 --crate-type lib --color auto --crate-name lock_api --test src/lib.rs --test-run-directory /home/pterjan/rpmbuild/BUILD/rust-lock_api-0.4.11-build/lock_api-0.4.11 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-lock_api-0.4.11-build/lock_api-0.4.11/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-lock_api-0.4.11-build/lock_api-0.4.11/target/rpm/deps --extern lock_api=/home/pterjan/rpmbuild/BUILD/rust-lock_api-0.4.11-build/lock_api-0.4.11/target/rpm/deps/liblock_api-89cb6a5890e8d303.rlib --extern scopeguard=/home/pterjan/rpmbuild/BUILD/rust-lock_api-0.4.11-build/lock_api-0.4.11/target/rpm/deps/libscopeguard-5a38417771000338.rlib -C embed-bitcode=no --cfg 'feature="atomic_usize"' --cfg 'feature="default"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("arc_lock", "atomic_usize", "default", "nightly", "owning_ref", "serde"))' --cfg has_const_fn_trait_bound --error-format human` running 1 test test src/lib.rs - (line 29) ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.40s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rust-lock_api-devel-0.4.11-1.mga10.noarch warning: File listed twice: /usr/share/cargo/registry/lock_api-0.4.11/LICENSE-APACHE warning: File listed twice: /usr/share/cargo/registry/lock_api-0.4.11/LICENSE-MIT Provides: crate(lock_api) = 0.4.11 rust-lock_api-devel = 0.4.11-1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(autocfg/default) >= 1.1.0 crate(scopeguard) >= 1.1.0 rust >= 1.49.0 Processing files: rust-lock_api+default-devel-0.4.11-1.mga10.noarch Provides: crate(lock_api/default) = 0.4.11 rust-lock_api+default-devel = 0.4.11-1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(lock_api) = 0.4.11 crate(lock_api/atomic_usize) = 0.4.11 Processing files: rust-lock_api+arc_lock-devel-0.4.11-1.mga10.noarch Provides: crate(lock_api/arc_lock) = 0.4.11 rust-lock_api+arc_lock-devel = 0.4.11-1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(lock_api) = 0.4.11 Processing files: rust-lock_api+atomic_usize-devel-0.4.11-1.mga10.noarch Provides: crate(lock_api/atomic_usize) = 0.4.11 rust-lock_api+atomic_usize-devel = 0.4.11-1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(lock_api) = 0.4.11 Processing files: rust-lock_api+nightly-devel-0.4.11-1.mga10.noarch Provides: crate(lock_api/nightly) = 0.4.11 rust-lock_api+nightly-devel = 0.4.11-1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(lock_api) = 0.4.11 Processing files: rust-lock_api+owning_ref-devel-0.4.11-1.mga10.noarch Provides: crate(lock_api/owning_ref) = 0.4.11 rust-lock_api+owning_ref-devel = 0.4.11-1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(lock_api) = 0.4.11 crate(owning_ref/default) >= 0.4.1 Processing files: rust-lock_api+serde-devel-0.4.11-1.mga10.noarch Provides: crate(lock_api/serde) = 0.4.11 rust-lock_api+serde-devel = 0.4.11-1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(lock_api) = 0.4.11 crate(serde) >= 1.0.126 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/rust-lock_api-0.4.11-build/BUILDROOT Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-lock_api+arc_lock-devel-0.4.11-1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-lock_api+nightly-devel-0.4.11-1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-lock_api+default-devel-0.4.11-1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-lock_api+owning_ref-devel-0.4.11-1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-lock_api+serde-devel-0.4.11-1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-lock_api+atomic_usize-devel-0.4.11-1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-lock_api-devel-0.4.11-1.mga10.noarch.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.M9QGqq + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-lock_api-0.4.11-build + test -d /home/pterjan/rpmbuild/BUILD/rust-lock_api-0.4.11-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/rust-lock_api-0.4.11-build + rm -rf /home/pterjan/rpmbuild/BUILD/rust-lock_api-0.4.11-build + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: File listed twice: /usr/share/cargo/registry/lock_api-0.4.11/LICENSE-APACHE File listed twice: /usr/share/cargo/registry/lock_api-0.4.11/LICENSE-MIT D: [iurt_root_command] Success!