Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-async-lock.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-158160-79742/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-async-lock.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/rust-async-lock-3.4.0-2.oc9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-async-lock.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-158160-79742/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-async-lock.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.0wihsj + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf async-lock-3.4.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/async-lock-3.4.0.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd async-lock-3.4.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/async-lock-fix-metadata-auto.diff + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/async-lock-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 /var/tmp/rpm-tmp.1bh6is + umask 022 + cd /builddir/build/BUILD + cd async-lock-3.4.0 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-async-lock-3.4.0-2.oc9.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-async-lock.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-158160-79742/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-async-lock.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ZOmllG + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf async-lock-3.4.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/async-lock-3.4.0.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd async-lock-3.4.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/async-lock-fix-metadata-auto.diff + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/async-lock-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 /var/tmp/rpm-tmp.yZv2nF + umask 022 + cd /builddir/build/BUILD + cd async-lock-3.4.0 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-async-lock-3.4.0-2.oc9.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-async-lock.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-158160-79742/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-async-lock.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.wlb7W0 + umask 022 + cd /builddir/build/BUILD + cd async-lock-3.4.0 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.6v9Zod + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd async-lock-3.4.0 + /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 -j8 -Z avoid-dev-deps --profile rpm Compiling crossbeam-utils v0.8.20 Compiling parking v2.2.0 Compiling pin-project-lite v0.2.14 Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/crossbeam-utils-0.8.20/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no --warn=unexpected_cfgs -C debug-assertions=off --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default", "nightly", "std"))' -C metadata=90ee52b855d35d13 -C extra-filename=-90ee52b855d35d13 --out-dir /builddir/build/BUILD/async-lock-3.4.0/target/rpm/build/crossbeam-utils-90ee52b855d35d13 -L dependency=/builddir/build/BUILD/async-lock-3.4.0/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 pin_project_lite --edition=2018 /usr/share/cargo/registry/pin-project-lite-0.2.14/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 --warn=unreachable_pub '--warn=clippy::undocumented_unsafe_blocks' '--warn=clippy::transmute_undefined_repr' '--warn=clippy::trailing_empty_array' --warn=single_use_lifetimes --warn=rust_2018_idioms '--warn=clippy::pedantic' --warn=non_ascii_idents '--warn=clippy::inline_asm_x86_att_syntax' --warn=improper_ctypes_definitions --warn=improper_ctypes '--warn=clippy::default_union_representation' '--warn=clippy::as_ptr_cast_mut' '--warn=clippy::all' '--allow=clippy::type_complexity' '--allow=clippy::too_many_lines' '--allow=clippy::too_many_arguments' '--allow=clippy::struct_field_names' '--allow=clippy::struct_excessive_bools' '--allow=clippy::single_match_else' '--allow=clippy::single_match' '--allow=clippy::similar_names' '--allow=clippy::module_name_repetitions' '--allow=clippy::missing_errors_doc' '--allow=clippy::manual_range_contains' '--allow=clippy::manual_assert' '--allow=clippy::float_cmp' '--allow=clippy::doc_markdown' '--allow=clippy::declare_interior_mutable_const' '--allow=clippy::borrow_as_ptr' '--allow=clippy::bool_assert_comparison' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' -C metadata=a406460f734d16d4 -C extra-filename=-a406460f734d16d4 --out-dir /builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps -L dependency=/builddir/build/BUILD/async-lock-3.4.0/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 parking --edition=2018 /usr/share/cargo/registry/parking-2.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)' --check-cfg 'cfg(feature, values())' -C metadata=6731337457dfb576 -C extra-filename=-6731337457dfb576 --out-dir /builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps -L dependency=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/builddir/build/BUILD/async-lock-3.4.0/target/rpm/build/crossbeam-utils-90ee52b855d35d13/build-script-build` Running `/usr/bin/rustc --crate-name crossbeam_utils --edition=2021 /usr/share/cargo/registry/crossbeam-utils-0.8.20/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 --warn=unexpected_cfgs --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default", "nightly", "std"))' -C metadata=cc469352e76f776d -C extra-filename=-cc469352e76f776d --out-dir /builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps -L dependency=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --check-cfg 'cfg(crossbeam_no_atomic,crossbeam_sanitize_thread)'` Compiling concurrent-queue v2.5.0 Running `/usr/bin/rustc --crate-name concurrent_queue --edition=2021 /usr/share/cargo/registry/concurrent-queue-2.5.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 --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default", "portable-atomic", "std"))' -C metadata=2860dac527398c58 -C extra-filename=-2860dac527398c58 --out-dir /builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps -L dependency=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps --extern crossbeam_utils=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libcrossbeam_utils-cc469352e76f776d.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling event-listener v5.3.1 Running `/usr/bin/rustc --crate-name event_listener --edition=2021 /usr/share/cargo/registry/event-listener-5.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 --warn=unexpected_cfgs --cfg 'feature="parking"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default", "parking", "portable-atomic", "portable-atomic-util", "portable_atomic_crate", "std"))' -C metadata=1af1078cfded466a -C extra-filename=-1af1078cfded466a --out-dir /builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps -L dependency=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps --extern concurrent_queue=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libconcurrent_queue-2860dac527398c58.rmeta --extern parking=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libparking-6731337457dfb576.rmeta --extern pin_project_lite=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libpin_project_lite-a406460f734d16d4.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling event-listener-strategy v0.5.2 Running `/usr/bin/rustc --crate-name event_listener_strategy --edition=2021 /usr/share/cargo/registry/event-listener-strategy-0.5.2/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default", "std"))' -C metadata=2a0cdfb40311734f -C extra-filename=-2a0cdfb40311734f --out-dir /builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps -L dependency=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps --extern event_listener=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libevent_listener-1af1078cfded466a.rmeta --extern pin_project_lite=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libpin_project_lite-a406460f734d16d4.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling async-lock v3.4.0 (/builddir/build/BUILD/async-lock-3.4.0) Running `/usr/bin/rustc --crate-name async_lock --edition=2021 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 --warn=unexpected_cfgs --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default", "std"))' -C metadata=e68e1164c476e55a -C extra-filename=-e68e1164c476e55a --out-dir /builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps -L dependency=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps --extern event_listener=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libevent_listener-1af1078cfded466a.rmeta --extern event_listener_strategy=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libevent_listener_strategy-2a0cdfb40311734f.rmeta --extern pin_project_lite=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libpin_project_lite-a406460f734d16d4.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: unexpected `cfg` condition name: `loom` --> src/lib.rs:116:11 | 116 | #[cfg(not(loom))] | ^^^^ | = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` = 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(loom)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: requested on the command line with `-W unexpected-cfgs` warning: unexpected `cfg` condition name: `loom` --> src/lib.rs:142:7 | 142 | #[cfg(loom)] | ^^^^ | = 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(loom)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `loom` --> src/barrier.rs:27:29 | 27 | const_if: #[cfg(not(loom))]; | ^^^^ | = 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(loom)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `loom` --> src/mutex.rs:62:29 | 62 | const_if: #[cfg(not(loom))]; | ^^^^ | = 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(loom)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `loom` --> src/once_cell.rs:10:11 | 10 | #[cfg(not(loom))] | ^^^^ | = 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(loom)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `loom` --> src/once_cell.rs:115:29 | 115 | const_if: #[cfg(not(loom))]; | ^^^^ | = 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(loom)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `loom` --> src/rwlock/raw.rs:48:29 | 48 | const_if: #[cfg(not(loom))]; | ^^^^ | = 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(loom)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `loom` --> src/rwlock.rs:59:29 | 59 | const_if: #[cfg(not(loom))]; | ^^^^ | = 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(loom)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `loom` --> src/semaphore.rs:23:29 | 23 | const_if: #[cfg(not(loom))]; | ^^^^ | = 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(loom)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: `async-lock` (lib) generated 9 warnings Finished `rpm` profile [optimized + debuginfo] target(s) in 2.27s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.j6DK2D + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rust-async-lock-3.4.0-2.oc9.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rust-async-lock-3.4.0-2.oc9.aarch64 ++ dirname /builddir/build/BUILDROOT/rust-async-lock-3.4.0-2.oc9.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rust-async-lock-3.4.0-2.oc9.aarch64 + cd async-lock-3.4.0 + 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=async-lock ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=3.4.0 + REG_DIR=/builddir/build/BUILDROOT/rust-async-lock-3.4.0-2.oc9.aarch64/usr/share/cargo/registry/async-lock-3.4.0 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-async-lock-3.4.0-2.oc9.aarch64/usr/share/cargo/registry/async-lock-3.4.0 + gawk -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 /builddir/build/BUILDROOT/rust-async-lock-3.4.0-2.oc9.aarch64/usr/share/cargo/registry/async-lock-3.4.0 warning: no (git) VCS found for `/builddir/build/BUILD/async-lock-3.4.0` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /builddir/build/BUILDROOT/rust-async-lock-3.4.0-2.oc9.aarch64/usr/share/cargo/registry/async-lock-3.4.0/Cargo.toml + /usr/bin/rm -f /builddir/build/BUILDROOT/rust-async-lock-3.4.0-2.oc9.aarch64/usr/share/cargo/registry/async-lock-3.4.0/Cargo.toml.deps + echo '{"files":{},"package":""}' ++ /usr/bin/cargo2rpm --path Cargo.toml is-bin + '[' 0 -eq 1 ']' + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.XsI7TL + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd async-lock-3.4.0 + /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 -j8 -Z avoid-dev-deps --profile rpm --no-fail-fast Compiling libc v0.2.155 Compiling autocfg v1.3.0 Fresh crossbeam-utils v0.8.20 Fresh parking v2.2.0 Fresh pin-project-lite v0.2.14 Compiling cfg-if v1.0.0 Compiling scopeguard v1.2.0 Compiling futures-core v0.3.30 Running `/usr/bin/rustc --crate-name build_script_build --edition=2015 /usr/share/cargo/registry/libc-0.2.155/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)' --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=089ab490071c4d5d -C extra-filename=-089ab490071c4d5d --out-dir /builddir/build/BUILD/async-lock-3.4.0/target/rpm/build/libc-089ab490071c4d5d -L dependency=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Fresh concurrent-queue v2.5.0 Compiling futures-sink v0.3.30 Compiling futures-io v0.3.30 Running `/usr/bin/rustc --crate-name cfg_if --edition=2018 /usr/share/cargo/registry/cfg-if-1.0.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("compiler_builtins", "core", "rustc-dep-of-std"))' -C metadata=7304715a62e158d1 -C extra-filename=-7304715a62e158d1 --out-dir /builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps -L dependency=/builddir/build/BUILD/async-lock-3.4.0/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)' --check-cfg 'cfg(feature, values("default", "use_std"))' -C metadata=c76f6a53c93d7478 -C extra-filename=-c76f6a53c93d7478 --out-dir /builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps -L dependency=/builddir/build/BUILD/async-lock-3.4.0/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 futures_core --edition=2018 /usr/share/cargo/registry/futures-core-0.3.30/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)' --check-cfg 'cfg(feature, values("alloc", "cfg-target-has-atomic", "default", "portable-atomic", "std", "unstable"))' -C metadata=c747709d84afe281 -C extra-filename=-c747709d84afe281 --out-dir /builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps -L dependency=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Fresh event-listener v5.3.1 Running `/usr/bin/rustc --crate-name futures_sink --edition=2018 /usr/share/cargo/registry/futures-sink-0.3.30/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)' --check-cfg 'cfg(feature, values("alloc", "default", "std"))' -C metadata=9d3a323f3513a3b6 -C extra-filename=-9d3a323f3513a3b6 --out-dir /builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps -L dependency=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Fresh event-listener-strategy v0.5.2 Compiling fastrand v2.1.0 Running `/usr/bin/rustc --crate-name autocfg --edition=2015 /usr/share/cargo/registry/autocfg-1.3.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)' --check-cfg 'cfg(feature, values())' -C metadata=8ad1c3aeac659d18 -C extra-filename=-8ad1c3aeac659d18 --out-dir /builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps -L dependency=/builddir/build/BUILD/async-lock-3.4.0/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 futures_io --edition=2018 /usr/share/cargo/registry/futures-io-0.3.30/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)' --check-cfg 'cfg(feature, values("default", "std", "unstable"))' -C metadata=16fc64a280129e09 -C extra-filename=-16fc64a280129e09 --out-dir /builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps -L dependency=/builddir/build/BUILD/async-lock-3.4.0/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 fastrand --edition=2018 /usr/share/cargo/registry/fastrand-2.1.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 --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("alloc", "default", "std"))' -C metadata=cf5b7973c99c83e1 -C extra-filename=-cf5b7973c99c83e1 --out-dir /builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps -L dependency=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling waker-fn v1.1.1 Running `/usr/bin/rustc --crate-name waker_fn --edition=2018 /usr/share/cargo/registry/waker-fn-1.1.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)' --check-cfg 'cfg(feature, values())' -C metadata=be92be41b957f01a -C extra-filename=-be92be41b957f01a --out-dir /builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps -L dependency=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: unexpected `cfg` condition name: `loom` --> src/lib.rs:116:11 | 116 | #[cfg(not(loom))] | ^^^^ | = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` = 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(loom)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: requested on the command line with `-W unexpected-cfgs` warning: unexpected `cfg` condition name: `loom` --> src/lib.rs:142:7 | 142 | #[cfg(loom)] | ^^^^ | = 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(loom)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `loom` --> src/barrier.rs:27:29 | 27 | const_if: #[cfg(not(loom))]; | ^^^^ | = 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(loom)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `loom` --> src/mutex.rs:62:29 | 62 | const_if: #[cfg(not(loom))]; | ^^^^ | = 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(loom)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `loom` --> src/once_cell.rs:10:11 | 10 | #[cfg(not(loom))] | ^^^^ | = 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(loom)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `loom` --> src/once_cell.rs:115:29 | 115 | const_if: #[cfg(not(loom))]; | ^^^^ | = 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(loom)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `loom` --> src/rwlock/raw.rs:48:29 | 48 | const_if: #[cfg(not(loom))]; | ^^^^ | = 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(loom)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `loom` --> src/rwlock.rs:59:29 | 59 | const_if: #[cfg(not(loom))]; | ^^^^ | = 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(loom)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `loom` --> src/semaphore.rs:23:29 | 23 | const_if: #[cfg(not(loom))]; | ^^^^ | = 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(loom)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: `async-lock` (lib) generated 9 warnings Compiling futures-lite v2.3.0 Running `/usr/bin/rustc --crate-name futures_lite --edition=2021 /usr/share/cargo/registry/futures-lite-2.3.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 --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="fastrand"' --cfg 'feature="futures-io"' --cfg 'feature="parking"' --cfg 'feature="race"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("alloc", "default", "fastrand", "futures-io", "memchr", "parking", "race", "std"))' -C metadata=6b766759126ba771 -C extra-filename=-6b766759126ba771 --out-dir /builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps -L dependency=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps --extern fastrand=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libfastrand-cf5b7973c99c83e1.rmeta --extern futures_core=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libfutures_core-c747709d84afe281.rmeta --extern futures_io=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libfutures_io-16fc64a280129e09.rmeta --extern parking=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libparking-6731337457dfb576.rmeta --extern pin_project_lite=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libpin_project_lite-a406460f734d16d4.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/builddir/build/BUILD/async-lock-3.4.0/target/rpm/build/libc-089ab490071c4d5d/build-script-build` Running `/usr/bin/rustc --crate-name libc --edition=2015 /usr/share/cargo/registry/libc-0.2.155/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)' --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=ef02ed68cc283520 -C extra-filename=-ef02ed68cc283520 --out-dir /builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps -L dependency=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg freebsd11 --cfg libc_priv_mod_use --cfg libc_union --cfg libc_const_size_of --cfg libc_align --cfg libc_int128 --cfg libc_core_cvoid --cfg libc_packedN --cfg libc_cfg_target_vendor --cfg libc_non_exhaustive --cfg libc_long_array --cfg libc_ptr_addr_of --cfg libc_underscore_const_names --cfg libc_const_extern_fn --check-cfg 'cfg(emscripten_new_stat_abi)' --check-cfg 'cfg(espidf_time64)' --check-cfg 'cfg(freebsd10)' --check-cfg 'cfg(freebsd11)' --check-cfg 'cfg(freebsd12)' --check-cfg 'cfg(freebsd13)' --check-cfg 'cfg(freebsd14)' --check-cfg 'cfg(freebsd15)' --check-cfg 'cfg(libc_align)' --check-cfg 'cfg(libc_cfg_target_vendor)' --check-cfg 'cfg(libc_const_extern_fn)' --check-cfg 'cfg(libc_const_extern_fn_unstable)' --check-cfg 'cfg(libc_const_size_of)' --check-cfg 'cfg(libc_core_cvoid)' --check-cfg 'cfg(libc_deny_warnings)' --check-cfg 'cfg(libc_int128)' --check-cfg 'cfg(libc_long_array)' --check-cfg 'cfg(libc_non_exhaustive)' --check-cfg 'cfg(libc_packedN)' --check-cfg 'cfg(libc_priv_mod_use)' --check-cfg 'cfg(libc_ptr_addr_of)' --check-cfg 'cfg(libc_thread_local)' --check-cfg 'cfg(libc_underscore_const_names)' --check-cfg 'cfg(libc_union)' --check-cfg 'cfg(target_os,values("switch","aix","ohos","hurd","visionos"))' --check-cfg 'cfg(target_env,values("illumos","wasi","aix","ohos"))' --check-cfg 'cfg(target_arch,values("loongarch64","mips32r6","mips64r6","csky"))'` Compiling lock_api v0.4.12 Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/lock_api-0.4.12/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)' --check-cfg 'cfg(feature, values("arc_lock", "atomic_usize", "default", "nightly", "owning_ref", "serde"))' -C metadata=153a64a795a34abc -C extra-filename=-153a64a795a34abc --out-dir /builddir/build/BUILD/async-lock-3.4.0/target/rpm/build/lock_api-153a64a795a34abc -L dependency=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps --extern autocfg=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libautocfg-8ad1c3aeac659d18.rlib --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` 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="rdrand"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("custom", "linux_disable_fallback", "rdrand", "std"))' -C metadata=83b0c251045f1f89 -C extra-filename=-83b0c251045f1f89 --out-dir /builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps -L dependency=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps --extern cfg_if=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libcfg_if-7304715a62e158d1.rmeta --extern libc=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/liblibc-ef02ed68cc283520.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/builddir/build/BUILD/async-lock-3.4.0/target/rpm/build/lock_api-153a64a795a34abc/build-script-build` Running `/usr/bin/rustc --crate-name lock_api --edition=2021 /usr/share/cargo/registry/lock_api-0.4.12/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)' --check-cfg 'cfg(feature, values("arc_lock", "atomic_usize", "default", "nightly", "owning_ref", "serde"))' -C metadata=f9003114c00d2bf6 -C extra-filename=-f9003114c00d2bf6 --out-dir /builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps -L dependency=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps --extern scopeguard=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libscopeguard-c76f6a53c93d7478.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg has_const_fn_trait_bound` Compiling nanorand v0.7.0 Running `/usr/bin/rustc --crate-name nanorand --edition=2021 /usr/share/cargo/registry/nanorand-0.7.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 --cfg 'feature="alloc"' --cfg 'feature="chacha"' --cfg 'feature="default"' --cfg 'feature="getrandom"' --cfg 'feature="pcg64"' --cfg 'feature="std"' --cfg 'feature="tls"' --cfg 'feature="wyrand"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("alloc", "chacha", "default", "getrandom", "pcg64", "rdseed", "std", "tls", "wyrand", "zeroize"))' -C metadata=b147b49060c88989 -C extra-filename=-b147b49060c88989 --out-dir /builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps -L dependency=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps --extern getrandom=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libgetrandom-83b0c251045f1f89.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling spin v0.9.8 Running `/usr/bin/rustc --crate-name spin --edition=2015 /usr/share/cargo/registry/spin-0.9.8/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="barrier"' --cfg 'feature="default"' --cfg 'feature="lazy"' --cfg 'feature="lock_api"' --cfg 'feature="lock_api_crate"' --cfg 'feature="mutex"' --cfg 'feature="once"' --cfg 'feature="rwlock"' --cfg 'feature="spin_mutex"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("barrier", "default", "fair_mutex", "lazy", "lock_api", "lock_api_crate", "mutex", "once", "portable-atomic", "portable_atomic", "rwlock", "spin_mutex", "std", "ticket_mutex", "use_ticket_mutex"))' -C metadata=8f2973da79f72cd4 -C extra-filename=-8f2973da79f72cd4 --out-dir /builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps -L dependency=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps --extern lock_api_crate=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/liblock_api-f9003114c00d2bf6.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling flume v0.11.0 Running `/usr/bin/rustc --crate-name flume --edition=2018 /usr/share/cargo/registry/flume-0.11.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 --cfg 'feature="async"' --cfg 'feature="default"' --cfg 'feature="eventual-fairness"' --cfg 'feature="futures-core"' --cfg 'feature="futures-sink"' --cfg 'feature="nanorand"' --cfg 'feature="select"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("async", "default", "eventual-fairness", "futures-core", "futures-sink", "nanorand", "select", "spin"))' -C metadata=37f6276f4778c7b9 -C extra-filename=-37f6276f4778c7b9 --out-dir /builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps -L dependency=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps --extern futures_core=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libfutures_core-c747709d84afe281.rmeta --extern futures_sink=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libfutures_sink-9d3a323f3513a3b6.rmeta --extern nanorand=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libnanorand-b147b49060c88989.rmeta --extern spin1=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libspin-8f2973da79f72cd4.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling async-lock v3.4.0 (/builddir/build/BUILD/async-lock-3.4.0) Running `/usr/bin/rustc --crate-name mutex --edition=2021 tests/mutex.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 --warn=unexpected_cfgs --test --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default", "std"))' -C metadata=e99cda4d4cc06391 -C extra-filename=-e99cda4d4cc06391 --out-dir /builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps -L dependency=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps --extern async_lock=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libasync_lock-e68e1164c476e55a.rlib --extern event_listener=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libevent_listener-1af1078cfded466a.rlib --extern event_listener_strategy=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libevent_listener_strategy-2a0cdfb40311734f.rlib --extern fastrand=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libfastrand-cf5b7973c99c83e1.rlib --extern flume=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libflume-37f6276f4778c7b9.rlib --extern futures_lite=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libfutures_lite-6b766759126ba771.rlib --extern pin_project_lite=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libpin_project_lite-a406460f734d16d4.rlib --extern waker_fn=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libwaker_fn-be92be41b957f01a.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name rwlock --edition=2021 tests/rwlock.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 --warn=unexpected_cfgs --test --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default", "std"))' -C metadata=4d356872155ae485 -C extra-filename=-4d356872155ae485 --out-dir /builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps -L dependency=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps --extern async_lock=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libasync_lock-e68e1164c476e55a.rlib --extern event_listener=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libevent_listener-1af1078cfded466a.rlib --extern event_listener_strategy=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libevent_listener_strategy-2a0cdfb40311734f.rlib --extern fastrand=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libfastrand-cf5b7973c99c83e1.rlib --extern flume=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libflume-37f6276f4778c7b9.rlib --extern futures_lite=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libfutures_lite-6b766759126ba771.rlib --extern pin_project_lite=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libpin_project_lite-a406460f734d16d4.rlib --extern waker_fn=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libwaker_fn-be92be41b957f01a.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name semaphore --edition=2021 tests/semaphore.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 --warn=unexpected_cfgs --test --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default", "std"))' -C metadata=98e231514703f964 -C extra-filename=-98e231514703f964 --out-dir /builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps -L dependency=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps --extern async_lock=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libasync_lock-e68e1164c476e55a.rlib --extern event_listener=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libevent_listener-1af1078cfded466a.rlib --extern event_listener_strategy=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libevent_listener_strategy-2a0cdfb40311734f.rlib --extern fastrand=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libfastrand-cf5b7973c99c83e1.rlib --extern flume=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libflume-37f6276f4778c7b9.rlib --extern futures_lite=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libfutures_lite-6b766759126ba771.rlib --extern pin_project_lite=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libpin_project_lite-a406460f734d16d4.rlib --extern waker_fn=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libwaker_fn-be92be41b957f01a.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name loom --edition=2021 tests/loom.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 --warn=unexpected_cfgs --test --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default", "std"))' -C metadata=c3a036f5a5d6a0c3 -C extra-filename=-c3a036f5a5d6a0c3 --out-dir /builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps -L dependency=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps --extern async_lock=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libasync_lock-e68e1164c476e55a.rlib --extern event_listener=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libevent_listener-1af1078cfded466a.rlib --extern event_listener_strategy=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libevent_listener_strategy-2a0cdfb40311734f.rlib --extern fastrand=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libfastrand-cf5b7973c99c83e1.rlib --extern flume=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libflume-37f6276f4778c7b9.rlib --extern futures_lite=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libfutures_lite-6b766759126ba771.rlib --extern pin_project_lite=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libpin_project_lite-a406460f734d16d4.rlib --extern waker_fn=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libwaker_fn-be92be41b957f01a.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name async_lock --edition=2021 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 --warn=unexpected_cfgs --test --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default", "std"))' -C metadata=cee11a486e03b27a -C extra-filename=-cee11a486e03b27a --out-dir /builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps -L dependency=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps --extern event_listener=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libevent_listener-1af1078cfded466a.rlib --extern event_listener_strategy=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libevent_listener_strategy-2a0cdfb40311734f.rlib --extern fastrand=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libfastrand-cf5b7973c99c83e1.rlib --extern flume=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libflume-37f6276f4778c7b9.rlib --extern futures_lite=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libfutures_lite-6b766759126ba771.rlib --extern pin_project_lite=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libpin_project_lite-a406460f734d16d4.rlib --extern waker_fn=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libwaker_fn-be92be41b957f01a.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name barrier --edition=2021 tests/barrier.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 --warn=unexpected_cfgs --test --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default", "std"))' -C metadata=952d7884d9ae1000 -C extra-filename=-952d7884d9ae1000 --out-dir /builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps -L dependency=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps --extern async_lock=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libasync_lock-e68e1164c476e55a.rlib --extern event_listener=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libevent_listener-1af1078cfded466a.rlib --extern event_listener_strategy=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libevent_listener_strategy-2a0cdfb40311734f.rlib --extern fastrand=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libfastrand-cf5b7973c99c83e1.rlib --extern flume=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libflume-37f6276f4778c7b9.rlib --extern futures_lite=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libfutures_lite-6b766759126ba771.rlib --extern pin_project_lite=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libpin_project_lite-a406460f734d16d4.rlib --extern waker_fn=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libwaker_fn-be92be41b957f01a.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: unexpected `cfg` condition name: `loom` --> tests/loom.rs:1:8 | 1 | #![cfg(loom)] | ^^^^ | = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` = 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(loom)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: requested on the command line with `-W unexpected-cfgs` warning: `async-lock` (test "loom") generated 1 warning warning: `async-lock` (lib test) generated 9 warnings (9 duplicates) Finished `rpm` profile [optimized + debuginfo] target(s) in 9.92s Running `/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/async_lock-cee11a486e03b27a` running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running `/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/barrier-952d7884d9ae1000` running 2 tests test smoke_blocking ... ok test smoke ... ok test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s Running `/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/loom-c3a036f5a5d6a0c3` running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running `/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/mutex-e99cda4d4cc06391` running 9 tests test get_mut ... ok test into_inner ... ok test lifetime ... ok test smoke_arc_blocking ... ok test smoke ... ok test smoke_blocking ... ok test try_lock ... ok test yields_when_contended ... ok test contention ... ok test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s Running `/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/rwlock-4d356872155ae485` running 21 tests test arc_rwlock_refcounts ... ok test cancellation ... ok test into_inner_and_drop ... ok test into_inner ... ok test not_upgrade ... ok test get_mut ... ok test not_upgrade_arc ... ok test smoke ... ok test smoke_arc_blocking ... ok test smoke_blocking ... ok test try_write ... ok test upgradable_with_concurrent_writer ... ok test upgrade ... ok test upgrade_arc ... ok test yields_when_contended ... ok test yields_when_contended_arc ... ok test upgradable_with_concurrent_writer_arc ... ok test contention ... ok test writer_and_readers_arc ... ok test writer_and_readers ... ok test contention_arc ... ok test result: ok. 21 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s Running `/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/semaphore-98e231514703f964` running 10 tests test add_permits_2 ... ok test lifetime ... ok test as_mutex ... ok test smoke_arc_blocking ... ok test smoke_blocking ... ok test multi_resource ... ok test yields_when_contended ... ok test try_acquire ... ok test add_permits ... ok test stress ... ok test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.19s Doc-tests async_lock Running `/usr/bin/rustdoc --edition=2021 --crate-type lib --crate-name async_lock --test src/lib.rs --test-run-directory /builddir/build/BUILD/async-lock-3.4.0 -L dependency=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps -L dependency=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps --warn=unexpected_cfgs --extern async_lock=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libasync_lock-e68e1164c476e55a.rlib --extern event_listener=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libevent_listener-1af1078cfded466a.rlib --extern event_listener_strategy=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libevent_listener_strategy-2a0cdfb40311734f.rlib --extern fastrand=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libfastrand-cf5b7973c99c83e1.rlib --extern flume=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libflume-37f6276f4778c7b9.rlib --extern futures_lite=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libfutures_lite-6b766759126ba771.rlib --extern pin_project_lite=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libpin_project_lite-a406460f734d16d4.rlib --extern waker_fn=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libwaker_fn-be92be41b957f01a.rlib -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default", "std"))' --error-format human` running 76 tests test src/barrier.rs - barrier::Barrier::new (line 35) ... ok test src/mutex.rs - mutex::Mutex::into_inner (line 85) ... ok test src/mutex.rs - mutex::Mutex::get_mut (line 184) ... ok test src/barrier.rs - barrier::BarrierWaitResult (line 258) ... ok test src/mutex.rs - mutex::Mutex (line 29) ... ok test src/barrier.rs - barrier::BarrierWaitResult::is_leader (line 276) ... ok test src/barrier.rs - barrier::Barrier::wait (line 63) ... ok test src/mutex.rs - mutex::Mutex::new (line 65) ... ok test src/mutex.rs - mutex::Mutex::lock (line 103) ... ok test src/mutex.rs - mutex::Mutex::lock_arc (line 218) ... ok test src/mutex.rs - mutex::Mutex::try_lock (line 155) ... ok test src/mutex.rs - mutex::Mutex::try_lock_arc (line 271) ... ok test src/mutex.rs - mutex::Mutex::lock_blocking (line 135) ... ok test src/mutex.rs - mutex::Mutex::lock_arc_blocking (line 250) ... ok test src/once_cell.rs - once_cell::OnceCell (line 62) ... ok test src/once_cell.rs - once_cell::OnceCell::from (line 728) ... ok test src/mutex.rs - mutex::MutexGuard<'a,T>::source (line 647) ... ok test src/mutex.rs - mutex::MutexGuardArc::source (line 709) ... ok test src/once_cell.rs - once_cell::OnceCell::get (line 163) ... ok test src/once_cell.rs - once_cell::OnceCell::get_mut (line 191) ... ok test src/once_cell.rs - once_cell::OnceCell::get_or_init (line 469) ... ok test src/once_cell.rs - once_cell::OnceCell::get_or_init_blocking (line 507) ... ok test src/once_cell.rs - once_cell::OnceCell::get_or_try_init (line 365) ... ok test src/once_cell.rs - once_cell::OnceCell::get_or_try_init_blocking (line 420) ... ok test src/once_cell.rs - once_cell::OnceCell::get_unchecked (line 705) ... ok test src/once_cell.rs - once_cell::OnceCell::into_inner (line 248) ... ok test src/once_cell.rs - once_cell::OnceCell::new (line 118) ... ok test src/once_cell.rs - once_cell::OnceCell::is_initialized (line 144) ... ok test src/once_cell.rs - once_cell::OnceCell::set (line 533) ... ok test src/once_cell.rs - once_cell::OnceCell::set_blocking (line 573) ... ok test src/once_cell.rs - once_cell::OnceCell::take (line 220) ... ok test src/rwlock.rs - rwlock::RwLock::into_inner (line 83) ... ok test src/rwlock.rs - rwlock::RwLock::new (line 62) ... ok test src/rwlock.rs - rwlock::RwLock (line 26) ... ok test src/rwlock.rs - rwlock::RwLock::get_mut (line 664) ... ok test src/once_cell.rs - once_cell::OnceCell::wait (line 266) ... ok test src/once_cell.rs - once_cell::OnceCell::wait_blocking (line 320) ... ok test src/barrier.rs - barrier::Barrier::wait_blocking (line 111) ... ok test src/rwlock.rs - rwlock::RwLock::read (line 231) ... ok test src/rwlock.rs - rwlock::RwLock::read_arc_blocking (line 172) ... ok test src/rwlock.rs - rwlock::RwLock::read_arc (line 136) ... ok test src/rwlock.rs - rwlock::RwLock::read_blocking (line 266) ... ok test src/rwlock.rs - rwlock::RwLock::try_read (line 198) ... ok test src/rwlock.rs - rwlock::RwLock::try_read_arc (line 102) ... ok test src/rwlock.rs - rwlock::RwLock::try_upgradable_read (line 292) ... ok test src/rwlock.rs - rwlock::RwLock::try_write (line 504) ... ok test src/rwlock.rs - rwlock::RwLock::try_upgradable_read_arc (line 440) ... ok test src/rwlock.rs - rwlock::RwLock::upgradable_read (line 330) ... ok test src/rwlock.rs - rwlock::RwLock::try_write_arc (line 584) ... ok test src/rwlock.rs - rwlock::RwLock::upgradable_read_arc (line 477) ... ok test src/rwlock.rs - rwlock::RwLock::upgradable_read_arc_blocking (line 410) ... ok test src/rwlock.rs - rwlock::RwLock::upgradable_read_blocking (line 370) ... ok test src/rwlock.rs - rwlock::RwLock::write (line 533) ... ok test src/rwlock.rs - rwlock::RwLock::write_arc_blocking (line 642) ... ok test src/rwlock.rs - rwlock::RwLock::write_arc (line 611) ... ok test src/rwlock.rs - rwlock::RwLockUpgradableReadGuard<'a,T>::downgrade (line 869) ... ok test src/rwlock.rs - rwlock::RwLock::write_blocking (line 563) ... ok test src/rwlock.rs - rwlock::RwLockUpgradableReadGuard<'a,T>::try_upgrade (line 909) ... ok test src/rwlock.rs - rwlock::RwLockUpgradableReadGuard<'a,T>::upgrade_blocking (line 977) ... ok test src/rwlock.rs - rwlock::RwLockUpgradableReadGuard<'a,T>::upgrade (line 945) ... ok test src/rwlock.rs - rwlock::RwLockUpgradableReadGuardArc::downgrade (line 1066) ... ok test src/rwlock.rs - rwlock::RwLockUpgradableReadGuardArc::try_upgrade (line 1113) ... ok test src/rwlock.rs - rwlock::RwLockUpgradableReadGuardArc::upgrade (line 1146) ... ok test src/rwlock.rs - rwlock::RwLockUpgradableReadGuardArc::upgrade_blocking (line 1188) ... ok test src/rwlock.rs - rwlock::RwLockWriteGuard<'a,T>::downgrade (line 1237) ... ok test src/semaphore.rs - semaphore::Semaphore::acquire (line 85) ... ok test src/rwlock.rs - rwlock::RwLockWriteGuard<'a,T>::downgrade_to_upgradable (line 1273) ... ok test src/rwlock.rs - rwlock::RwLockWriteGuardArc::downgrade_to_upgradable (line 1406) ... ok test src/rwlock.rs - rwlock::RwLockWriteGuardArc::downgrade (line 1363) ... ok test src/semaphore.rs - semaphore::Semaphore::acquire_arc (line 173) ... ok test src/semaphore.rs - semaphore::Semaphore::acquire_arc_blocking (line 205) ... ok test src/semaphore.rs - semaphore::Semaphore::new (line 26) ... ok test src/semaphore.rs - semaphore::Semaphore::try_acquire (line 48) ... ok test src/semaphore.rs - semaphore::Semaphore::acquire_blocking (line 116) ... ok test src/semaphore.rs - semaphore::Semaphore::try_acquire_arc (line 135) ... ok test src/semaphore.rs - semaphore::Semaphore::add_permits (line 222) ... ok test result: ok. 76 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.35s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rust-async-lock-devel-3.4.0-2.oc9.noarch warning: File listed twice: /usr/share/cargo/registry/async-lock-3.4.0/CHANGELOG.md warning: File listed twice: /usr/share/cargo/registry/async-lock-3.4.0/LICENSE-APACHE warning: File listed twice: /usr/share/cargo/registry/async-lock-3.4.0/LICENSE-MIT warning: File listed twice: /usr/share/cargo/registry/async-lock-3.4.0/README.md Provides: crate(async-lock) = 3.4.0 rust-async-lock-devel = 3.4.0-2.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(event-listener) >= 5.0.0 with crate(event-listener) < 6.0.0~) (crate(event-listener-strategy) >= 0.5.0 with crate(event-listener-strategy) < 0.6.0~) (crate(pin-project-lite/default) >= 0.2.11 with crate(pin-project-lite/default) < 0.3.0~) cargo rust >= 1.60 Processing files: rust-async-lock+default-devel-3.4.0-2.oc9.noarch Provides: crate(async-lock/default) = 3.4.0 rust-async-lock+default-devel = 3.4.0-2.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(async-lock) = 3.4.0 crate(async-lock/std) = 3.4.0 Processing files: rust-async-lock+std-devel-3.4.0-2.oc9.noarch Provides: crate(async-lock/std) = 3.4.0 rust-async-lock+std-devel = 3.4.0-2.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(event-listener-strategy/std) >= 0.5.0 with crate(event-listener-strategy/std) < 0.6.0~) (crate(event-listener/std) >= 5.0.0 with crate(event-listener/std) < 6.0.0~) cargo crate(async-lock) = 3.4.0 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rust-async-lock-3.4.0-2.oc9.aarch64 Wrote: /builddir/build/SRPMS/rust-async-lock-3.4.0-2.oc9.src.rpm Wrote: /builddir/build/RPMS/rust-async-lock+default-devel-3.4.0-2.oc9.noarch.rpm Wrote: /builddir/build/RPMS/rust-async-lock+std-devel-3.4.0-2.oc9.noarch.rpm Wrote: /builddir/build/RPMS/rust-async-lock-devel-3.4.0-2.oc9.noarch.rpm RPM build warnings: File listed twice: /usr/share/cargo/registry/async-lock-3.4.0/CHANGELOG.md File listed twice: /usr/share/cargo/registry/async-lock-3.4.0/LICENSE-APACHE File listed twice: /usr/share/cargo/registry/async-lock-3.4.0/LICENSE-MIT File listed twice: /usr/share/cargo/registry/async-lock-3.4.0/README.md Child return code was: 0