Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/rust-async-lock.spec'], chrootPath='/home/lib/ocmock/dist-oc9-epol-build-158178-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=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --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: loongarch64 Building for target loongarch64 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 loongarch64 --nodeps /builddir/build/SPECS/rust-async-lock.spec'], chrootPath='/home/lib/ocmock/dist-oc9-epol-build-158178-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=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target loongarch64 --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: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.vHSMFg + 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.IkTdai + 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 loongarch64 --nodeps /builddir/build/SPECS/rust-async-lock.spec'], chrootPath='/home/lib/ocmock/dist-oc9-epol-build-158178-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=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target loongarch64 --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: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.0CH8Rz + 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/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/async-lock-fix-metadata-auto.diff + /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.YFKPjO + 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 loongarch64 --nodeps /builddir/build/SPECS/rust-async-lock.spec'], chrootPath='/home/lib/ocmock/dist-oc9-epol-build-158178-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=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target loongarch64 --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: loongarch64 Building for target loongarch64 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.Zuvvu4 + 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.tgPAgy + 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 -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 -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 -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 -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 -j32 -Z avoid-dev-deps --profile rpm Compiling crossbeam-utils v0.8.20 Compiling pin-project-lite v0.2.14 Compiling parking v2.2.0 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=6c25d4840e204b0c -C extra-filename=-6c25d4840e204b0c --out-dir /builddir/build/BUILD/async-lock-3.4.0/target/rpm/build/crossbeam-utils-6c25d4840e204b0c -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=6bd7ba84f755c405 -C extra-filename=-6bd7ba84f755c405 --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=7f8b89b6de16f4a2 -C extra-filename=-7f8b89b6de16f4a2 --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-6c25d4840e204b0c/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=ad992712453203fd -C extra-filename=-ad992712453203fd --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=8d4bf45d7498622f -C extra-filename=-8d4bf45d7498622f --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-ad992712453203fd.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=57580ad137fa9484 -C extra-filename=-57580ad137fa9484 --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-8d4bf45d7498622f.rmeta --extern parking=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libparking-7f8b89b6de16f4a2.rmeta --extern pin_project_lite=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libpin_project_lite-6bd7ba84f755c405.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=9c5aa9c0ac1a2f08 -C extra-filename=-9c5aa9c0ac1a2f08 --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-57580ad137fa9484.rmeta --extern pin_project_lite=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libpin_project_lite-6bd7ba84f755c405.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=fd22876f259de15b -C extra-filename=-fd22876f259de15b --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-57580ad137fa9484.rmeta --extern event_listener_strategy=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libevent_listener_strategy-9c5aa9c0ac1a2f08.rmeta --extern pin_project_lite=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libpin_project_lite-6bd7ba84f755c405.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 4.20s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.sMsDok + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rust-async-lock-3.4.0-2.oc9.loongarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rust-async-lock-3.4.0-2.oc9.loongarch64 ++ dirname /builddir/build/BUILDROOT/rust-async-lock-3.4.0-2.oc9.loongarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rust-async-lock-3.4.0-2.oc9.loongarch64 + 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.loongarch64/usr/share/cargo/registry/async-lock-3.4.0 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-async-lock-3.4.0-2.oc9.loongarch64/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.loongarch64/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.loongarch64/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.loongarch64/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.JkYqdl + 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 -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 -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 -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 -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 -j32 -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 scopeguard v1.2.0 Compiling cfg-if v1.0.0 Compiling futures-core v0.3.30 Compiling fastrand v2.1.0 Compiling futures-io v0.3.30 Compiling futures-sink v0.3.30 Compiling waker-fn v1.1.1 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=6b20e99fb1cfb115 -C extra-filename=-6b20e99fb1cfb115 --out-dir /builddir/build/BUILD/async-lock-3.4.0/target/rpm/build/libc-6b20e99fb1cfb115 -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 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=73abf5e2878d8537 -C extra-filename=-73abf5e2878d8537 --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=bfc4bfb60ba07970 -C extra-filename=-bfc4bfb60ba07970 --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 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=cb889d061f321cb4 -C extra-filename=-cb889d061f321cb4 --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 concurrent-queue v2.5.0 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=9f10c4f700f8391e -C extra-filename=-9f10c4f700f8391e --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=389413344e31575c -C extra-filename=-389413344e31575c --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_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=0821caec129d2267 -C extra-filename=-0821caec129d2267 --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=499f06b73cf3e9b2 -C extra-filename=-499f06b73cf3e9b2 --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 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=eec246acd820acb7 -C extra-filename=-eec246acd820acb7 --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 Fresh event-listener-strategy v0.5.2 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=4d3e359bffa98327 -C extra-filename=-4d3e359bffa98327 --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-499f06b73cf3e9b2.rmeta --extern futures_core=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libfutures_core-9f10c4f700f8391e.rmeta --extern futures_io=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libfutures_io-389413344e31575c.rmeta --extern parking=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libparking-7f8b89b6de16f4a2.rmeta --extern pin_project_lite=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libpin_project_lite-6bd7ba84f755c405.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-6b20e99fb1cfb115/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=0553ccf5d35bb2b8 -C extra-filename=-0553ccf5d35bb2b8 --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=173fc40a37348163 -C extra-filename=-173fc40a37348163 --out-dir /builddir/build/BUILD/async-lock-3.4.0/target/rpm/build/lock_api-173fc40a37348163 -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-73abf5e2878d8537.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=16964a91bb3aafa3 -C extra-filename=-16964a91bb3aafa3 --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-cb889d061f321cb4.rmeta --extern libc=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/liblibc-0553ccf5d35bb2b8.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` 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=5c8caf345d552c55 -C extra-filename=-5c8caf345d552c55 --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-16964a91bb3aafa3.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-173fc40a37348163/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=e48dc96d41bbcc44 -C extra-filename=-e48dc96d41bbcc44 --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-bfc4bfb60ba07970.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg has_const_fn_trait_bound` 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=0985f636b2797411 -C extra-filename=-0985f636b2797411 --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-e48dc96d41bbcc44.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=a98c65f816852439 -C extra-filename=-a98c65f816852439 --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-9f10c4f700f8391e.rmeta --extern futures_sink=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libfutures_sink-0821caec129d2267.rmeta --extern nanorand=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libnanorand-5c8caf345d552c55.rmeta --extern spin1=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libspin-0985f636b2797411.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 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=6fb5ed02e11cf7d7 -C extra-filename=-6fb5ed02e11cf7d7 --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-fd22876f259de15b.rlib --extern event_listener=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libevent_listener-57580ad137fa9484.rlib --extern event_listener_strategy=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libevent_listener_strategy-9c5aa9c0ac1a2f08.rlib --extern fastrand=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libfastrand-499f06b73cf3e9b2.rlib --extern flume=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libflume-a98c65f816852439.rlib --extern futures_lite=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libfutures_lite-4d3e359bffa98327.rlib --extern pin_project_lite=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libpin_project_lite-6bd7ba84f755c405.rlib --extern waker_fn=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libwaker_fn-eec246acd820acb7.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=bd255fcba7f4037b -C extra-filename=-bd255fcba7f4037b --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-fd22876f259de15b.rlib --extern event_listener=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libevent_listener-57580ad137fa9484.rlib --extern event_listener_strategy=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libevent_listener_strategy-9c5aa9c0ac1a2f08.rlib --extern fastrand=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libfastrand-499f06b73cf3e9b2.rlib --extern flume=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libflume-a98c65f816852439.rlib --extern futures_lite=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libfutures_lite-4d3e359bffa98327.rlib --extern pin_project_lite=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libpin_project_lite-6bd7ba84f755c405.rlib --extern waker_fn=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libwaker_fn-eec246acd820acb7.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=bfae9b7c860f058a -C extra-filename=-bfae9b7c860f058a --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-57580ad137fa9484.rlib --extern event_listener_strategy=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libevent_listener_strategy-9c5aa9c0ac1a2f08.rlib --extern fastrand=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libfastrand-499f06b73cf3e9b2.rlib --extern flume=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libflume-a98c65f816852439.rlib --extern futures_lite=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libfutures_lite-4d3e359bffa98327.rlib --extern pin_project_lite=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libpin_project_lite-6bd7ba84f755c405.rlib --extern waker_fn=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libwaker_fn-eec246acd820acb7.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=dcb82324f7eba7e3 -C extra-filename=-dcb82324f7eba7e3 --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-fd22876f259de15b.rlib --extern event_listener=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libevent_listener-57580ad137fa9484.rlib --extern event_listener_strategy=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libevent_listener_strategy-9c5aa9c0ac1a2f08.rlib --extern fastrand=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libfastrand-499f06b73cf3e9b2.rlib --extern flume=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libflume-a98c65f816852439.rlib --extern futures_lite=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libfutures_lite-4d3e359bffa98327.rlib --extern pin_project_lite=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libpin_project_lite-6bd7ba84f755c405.rlib --extern waker_fn=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libwaker_fn-eec246acd820acb7.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` 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=4cb2b77a49b7ffcc -C extra-filename=-4cb2b77a49b7ffcc --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-fd22876f259de15b.rlib --extern event_listener=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libevent_listener-57580ad137fa9484.rlib --extern event_listener_strategy=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libevent_listener_strategy-9c5aa9c0ac1a2f08.rlib --extern fastrand=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libfastrand-499f06b73cf3e9b2.rlib --extern flume=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libflume-a98c65f816852439.rlib --extern futures_lite=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libfutures_lite-4d3e359bffa98327.rlib --extern pin_project_lite=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libpin_project_lite-6bd7ba84f755c405.rlib --extern waker_fn=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libwaker_fn-eec246acd820acb7.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=364488f520b41e6d -C extra-filename=-364488f520b41e6d --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-fd22876f259de15b.rlib --extern event_listener=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libevent_listener-57580ad137fa9484.rlib --extern event_listener_strategy=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libevent_listener_strategy-9c5aa9c0ac1a2f08.rlib --extern fastrand=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libfastrand-499f06b73cf3e9b2.rlib --extern flume=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libflume-a98c65f816852439.rlib --extern futures_lite=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libfutures_lite-4d3e359bffa98327.rlib --extern pin_project_lite=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libpin_project_lite-6bd7ba84f755c405.rlib --extern waker_fn=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libwaker_fn-eec246acd820acb7.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 16.53s Running `/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/async_lock-bfae9b7c860f058a` 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-dcb82324f7eba7e3` 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-364488f520b41e6d` 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-4cb2b77a49b7ffcc` running 9 tests test get_mut ... ok test into_inner ... ok test smoke ... ok test lifetime ... ok test smoke_arc_blocking ... 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-bd255fcba7f4037b` running 21 tests test arc_rwlock_refcounts ... ok test cancellation ... ok test get_mut ... ok test into_inner ... ok test into_inner_and_drop ... ok test not_upgrade ... ok test not_upgrade_arc ... ok test smoke ... ok test try_write ... ok test smoke_blocking ... ok test smoke_arc_blocking ... ok test upgradable_with_concurrent_writer ... ok test upgradable_with_concurrent_writer_arc ... ok test upgrade ... ok test upgrade_arc ... ok test yields_when_contended ... ok test yields_when_contended_arc ... ok test writer_and_readers ... ok test contention ... ok test writer_and_readers_arc ... ok test contention_arc ... ok test result: ok. 21 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/semaphore-6fb5ed02e11cf7d7` running 10 tests test add_permits_2 ... ok test lifetime ... ok test as_mutex ... ok test smoke_arc_blocking ... ok test multi_resource ... ok test smoke_blocking ... ok test try_acquire ... ok test yields_when_contended ... 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.54s 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-fd22876f259de15b.rlib --extern event_listener=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libevent_listener-57580ad137fa9484.rlib --extern event_listener_strategy=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libevent_listener_strategy-9c5aa9c0ac1a2f08.rlib --extern fastrand=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libfastrand-499f06b73cf3e9b2.rlib --extern flume=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libflume-a98c65f816852439.rlib --extern futures_lite=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libfutures_lite-4d3e359bffa98327.rlib --extern pin_project_lite=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libpin_project_lite-6bd7ba84f755c405.rlib --extern waker_fn=/builddir/build/BUILD/async-lock-3.4.0/target/rpm/deps/libwaker_fn-eec246acd820acb7.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/mutex.rs - mutex::Mutex::into_inner (line 85) ... ok test src/barrier.rs - barrier::Barrier::new (line 35) ... ok test src/mutex.rs - mutex::Mutex::new (line 65) ... ok test src/once_cell.rs - once_cell::OnceCell (line 62) ... 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/once_cell.rs - once_cell::OnceCell::from (line 728) ... ok test src/once_cell.rs - once_cell::OnceCell::set_blocking (line 573) ... ok test src/mutex.rs - mutex::Mutex::lock_blocking (line 135) ... ok test src/mutex.rs - mutex::Mutex (line 29) ... ok test src/once_cell.rs - once_cell::OnceCell::get_or_init_blocking (line 507) ... ok test src/mutex.rs - mutex::Mutex::lock_arc (line 218) ... ok test src/mutex.rs - mutex::MutexGuard<'a,T>::source (line 647) ... ok test src/barrier.rs - barrier::BarrierWaitResult::is_leader (line 276) ... ok test src/once_cell.rs - once_cell::OnceCell::get_mut (line 191) ... ok test src/mutex.rs - mutex::MutexGuardArc::source (line 709) ... ok test src/mutex.rs - mutex::Mutex::get_mut (line 184) ... ok test src/once_cell.rs - once_cell::OnceCell::new (line 118) ... ok test src/once_cell.rs - once_cell::OnceCell::get_or_try_init_blocking (line 420) ... ok test src/mutex.rs - mutex::Mutex::lock (line 103) ... ok test src/once_cell.rs - once_cell::OnceCell::into_inner (line 248) ... ok test src/once_cell.rs - once_cell::OnceCell::get (line 163) ... 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_init (line 469) ... ok test src/once_cell.rs - once_cell::OnceCell::is_initialized (line 144) ... ok test src/once_cell.rs - once_cell::OnceCell::get_unchecked (line 705) ... 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/barrier.rs - barrier::BarrierWaitResult (line 258) ... ok test src/barrier.rs - barrier::Barrier::wait (line 63) ... ok test src/once_cell.rs - once_cell::OnceCell::set (line 533) ... ok test src/mutex.rs - mutex::Mutex::lock_arc_blocking (line 250) ... 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::read_arc (line 136) ... ok test src/rwlock.rs - rwlock::RwLock::read_blocking (line 266) ... ok test src/rwlock.rs - rwlock::RwLock::read (line 231) ... ok test src/barrier.rs - barrier::Barrier::wait_blocking (line 111) ... ok test src/rwlock.rs - rwlock::RwLock::try_write_arc (line 584) ... ok test src/rwlock.rs - rwlock::RwLock::get_mut (line 664) ... ok test src/rwlock.rs - rwlock::RwLock::try_upgradable_read (line 292) ... ok test src/once_cell.rs - once_cell::OnceCell::wait (line 266) ... 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::upgradable_read_arc (line 477) ... ok test src/rwlock.rs - rwlock::RwLock::try_upgradable_read_arc (line 440) ... ok test src/rwlock.rs - rwlock::RwLock::write_blocking (line 563) ... ok test src/rwlock.rs - rwlock::RwLockUpgradableReadGuard<'a,T>::downgrade (line 869) ... ok test src/rwlock.rs - rwlock::RwLock::try_write (line 504) ... ok test src/rwlock.rs - rwlock::RwLock::upgradable_read_arc_blocking (line 410) ... ok test src/rwlock.rs - rwlock::RwLock::read_arc_blocking (line 172) ... ok test src/rwlock.rs - rwlock::RwLockUpgradableReadGuardArc::downgrade (line 1066) ... ok test src/once_cell.rs - once_cell::OnceCell::wait_blocking (line 320) ... ok test src/rwlock.rs - rwlock::RwLockUpgradableReadGuardArc::upgrade_blocking (line 1188) ... ok test src/rwlock.rs - rwlock::RwLock::try_read_arc (line 102) ... ok test src/rwlock.rs - rwlock::RwLockUpgradableReadGuardArc::try_upgrade (line 1113) ... ok test src/rwlock.rs - rwlock::RwLock::try_read (line 198) ... ok test src/rwlock.rs - rwlock::RwLockUpgradableReadGuard<'a,T>::upgrade_blocking (line 977) ... ok test src/rwlock.rs - rwlock::RwLock::write_arc (line 611) ... ok test src/rwlock.rs - rwlock::RwLockUpgradableReadGuard<'a,T>::try_upgrade (line 909) ... ok test src/rwlock.rs - rwlock::RwLock::upgradable_read (line 330) ... ok test src/rwlock.rs - rwlock::RwLockUpgradableReadGuard<'a,T>::upgrade (line 945) ... ok test src/rwlock.rs - rwlock::RwLock::upgradable_read_blocking (line 370) ... ok test src/semaphore.rs - semaphore::Semaphore::new (line 26) ... ok test src/rwlock.rs - rwlock::RwLockWriteGuard<'a,T>::downgrade (line 1237) ... ok test src/semaphore.rs - semaphore::Semaphore::try_acquire (line 48) ... ok test src/rwlock.rs - rwlock::RwLockUpgradableReadGuardArc::upgrade (line 1146) ... ok test src/semaphore.rs - semaphore::Semaphore::acquire_arc_blocking (line 205) ... 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/rwlock.rs - rwlock::RwLockWriteGuardArc::downgrade_to_upgradable (line 1406) ... ok test src/semaphore.rs - semaphore::Semaphore::acquire_arc (line 173) ... ok test src/rwlock.rs - rwlock::RwLockWriteGuard<'a,T>::downgrade_to_upgradable (line 1273) ... ok test src/semaphore.rs - semaphore::Semaphore::add_permits (line 222) ... ok test src/rwlock.rs - rwlock::RwLockWriteGuardArc::downgrade (line 1363) ... ok test src/semaphore.rs - semaphore::Semaphore::acquire (line 85) ... ok test result: ok. 76 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.72s + 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.loongarch64 Wrote: /builddir/build/SRPMS/rust-async-lock-3.4.0-2.oc9.src.rpm Wrote: /builddir/build/RPMS/rust-async-lock+std-devel-3.4.0-2.oc9.noarch.rpm Wrote: /builddir/build/RPMS/rust-async-lock+default-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