[WEEKLY RELEASE] HotShot - rc-0.5.66 #403
clippy
4 errors
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 4 |
Warning | 0 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.80.0 (051478957 2024-07-21)
- cargo 1.80.0 (376290515 2024-07-16)
- clippy 0.1.80 (0514789 2024-07-21)
Annotations
Check failure on line 567 in src/builder_state.rs
github-actions / clippy
unexpected `cfg` condition name: `async_executor_impl`
error: unexpected `cfg` condition name: `async_executor_impl`
--> src/builder_state.rs:567:27
|
567 | #[cfg(async_executor_impl = "async-std")]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: consider using a Cargo feature instead
= help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(async_executor_impl, values("async-std"))'] }
= help: or consider adding `println!("cargo::rustc-check-cfg=cfg(async_executor_impl, values(\"async-std\"))");` to the top of the `build.rs`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
Check failure on line 565 in src/builder_state.rs
github-actions / clippy
unexpected `cfg` condition name: `async_executor_impl`
error: unexpected `cfg` condition name: `async_executor_impl`
--> src/builder_state.rs:565:27
|
565 | #[cfg(async_executor_impl = "tokio")]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= 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(async_executor_impl, values("tokio"))'] }
= help: or consider adding `println!("cargo::rustc-check-cfg=cfg(async_executor_impl, values(\"tokio\"))");` to the top of the `build.rs`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
Check failure on line 30 in src/builder_state.rs
github-actions / clippy
unexpected `cfg` condition name: `async_executor_impl`
error: unexpected `cfg` condition name: `async_executor_impl`
--> src/builder_state.rs:30:7
|
30 | #[cfg(async_executor_impl = "tokio")]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= 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(async_executor_impl, values("tokio"))'] }
= help: or consider adding `println!("cargo::rustc-check-cfg=cfg(async_executor_impl, values(\"tokio\"))");` to the top of the `build.rs`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
Check failure on line 28 in src/builder_state.rs
github-actions / clippy
unexpected `cfg` condition name: `async_executor_impl`
error: unexpected `cfg` condition name: `async_executor_impl`
--> src/builder_state.rs:28:7
|
28 | #[cfg(async_executor_impl = "async-std")]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= 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(async_executor_impl, values("async-std"))'] }
= help: or consider adding `println!("cargo::rustc-check-cfg=cfg(async_executor_impl, values(\"async-std\"))");` to the top of the `build.rs`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
= note: `-D unexpected-cfgs` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(unexpected_cfgs)]`