[CI] Upgrade to rust 1.83.0 #1532
Annotations
3 errors and 11 warnings
Run actions-rs-plus/clippy-check@v2:
src/hg_bundle.rs#L1158
error: very complex type used. Consider factoring parts into `type` definitions
--> src/hg_bundle.rs:1158:6
|
1158 | ) -> impl IntoIterator<
| ______^
1159 | | Item = (
1160 | | Box<[u8]>,
1161 | | IndexMap<HgFileId, (HgFileId, HgFileId, HgChangesetId)>,
1162 | | ),
1163 | | > {
| |_^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity
= note: `-D clippy::type-complexity` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::type_complexity)]`
|
Run actions-rs-plus/clippy-check@v2:
src/hg_connect.rs#L663
error: very complex type used. Consider factoring parts into `type` definitions
--> src/hg_connect.rs:663:6
|
663 | ) -> impl '_ + Iterator<Item = Option<(Box<str>, Option<Box<[Box<str>]>>)>> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity
|
Run actions-rs-plus/clippy-check@v2
Clippy had exited with the 101 exit code
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Run actions-rs-plus/clippy-check@v2:
home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/shlex-1.3.0/src/bytes.rs#L353
warning: unexpected `cfg` condition name: `manual_codegen_check`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/shlex-1.3.0/src/bytes.rs:353:12
|
353 | #[cfg_attr(manual_codegen_check, inline(never))]
| ^^^^^^^^^^^^^^^^^^^^
|
= help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `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(manual_codegen_check)'] }
= help: or consider adding `println!("cargo::rustc-check-cfg=cfg(manual_codegen_check)");` 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: `#[warn(unexpected_cfgs)]` on by default
|
Run actions-rs-plus/clippy-check@v2:
home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/icu_locid_transform_data-1.5.0/src/lib.rs#L14
warning: unexpected `cfg` condition name: `icu4x_custom_data`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/icu_locid_transform_data-1.5.0/src/lib.rs:14:7
|
14 | #[cfg(icu4x_custom_data)]
| ^^^^^^^^^^^^^^^^^
|
= help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `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(icu4x_custom_data)'] }
= help: or consider adding `println!("cargo::rustc-check-cfg=cfg(icu4x_custom_data)");` 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: `#[warn(unexpected_cfgs)]` on by default
|
Run actions-rs-plus/clippy-check@v2:
home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/icu_locid_transform_data-1.5.0/src/lib.rs#L16
warning: unexpected `cfg` condition name: `icu4x_custom_data`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/icu_locid_transform_data-1.5.0/src/lib.rs:16:11
|
16 | #[cfg(not(icu4x_custom_data))]
| ^^^^^^^^^^^^^^^^^
|
= 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(icu4x_custom_data)'] }
= help: or consider adding `println!("cargo::rustc-check-cfg=cfg(icu4x_custom_data)");` 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
|
Run actions-rs-plus/clippy-check@v2:
home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/typenum-1.17.0/src/lib.rs#L51
warning: unexpected `cfg` condition value: `cargo-clippy`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/typenum-1.17.0/src/lib.rs:51:5
|
51 | feature = "cargo-clippy",
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: expected values for `feature` are: `const-generics`, `force_unix_path_separator`, `i128`, `no_std`, `scale-info`, `scale_info`, and `strict`
= help: consider adding `cargo-clippy` as a feature in `Cargo.toml`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
= note: `#[warn(unexpected_cfgs)]` on by default
|
Run actions-rs-plus/clippy-check@v2:
home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/typenum-1.17.0/src/lib.rs#L61
warning: unexpected `cfg` condition value: `cargo-clippy`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/typenum-1.17.0/src/lib.rs:61:13
|
61 | #![cfg_attr(feature = "cargo-clippy", deny(clippy::missing_inline_in_public_items))]
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: expected values for `feature` are: `const-generics`, `force_unix_path_separator`, `i128`, `no_std`, `scale-info`, `scale_info`, and `strict`
= help: consider adding `cargo-clippy` as a feature in `Cargo.toml`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
|
Run actions-rs-plus/clippy-check@v2:
home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/typenum-1.17.0/src/bit.rs#L187
warning: unexpected `cfg` condition name: `tests`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/typenum-1.17.0/src/bit.rs:187:7
|
187 | #[cfg(tests)]
| ^^^^^ help: there is a config with a similar name: `test`
|
= 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(tests)'] }
= help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tests)");` 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
|
Run actions-rs-plus/clippy-check@v2:
home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/typenum-1.17.0/src/uint.rs#L1656
warning: unexpected `cfg` condition name: `tests`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/typenum-1.17.0/src/uint.rs:1656:7
|
1656 | #[cfg(tests)]
| ^^^^^ help: there is a config with a similar name: `test`
|
= 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(tests)'] }
= help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tests)");` 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
|
Run actions-rs-plus/clippy-check@v2:
home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/typenum-1.17.0/src/uint.rs#L1709
warning: unexpected `cfg` condition value: `cargo-clippy`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/typenum-1.17.0/src/uint.rs:1709:16
|
1709 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::suspicious_arithmetic_impl))]
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: expected values for `feature` are: `const-generics`, `force_unix_path_separator`, `i128`, `no_std`, `scale-info`, `scale_info`, and `strict`
= help: consider adding `cargo-clippy` as a feature in `Cargo.toml`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
|
Run actions-rs-plus/clippy-check@v2:
home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/typenum-1.17.0/src/lib.rs#L104
warning: unused import: `*`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/typenum-1.17.0/src/lib.rs:104:25
|
104 | N1, N2, Z0, P1, P2, *,
| ^
|
= note: `#[warn(unused_imports)]` on by default
|
Run actions-rs-plus/clippy-check@v2:
home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/icu_properties_data-1.5.0/src/lib.rs#L14
warning: unexpected `cfg` condition name: `icu4x_custom_data`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/icu_properties_data-1.5.0/src/lib.rs:14:7
|
14 | #[cfg(icu4x_custom_data)]
| ^^^^^^^^^^^^^^^^^
|
= help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `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(icu4x_custom_data)'] }
= help: or consider adding `println!("cargo::rustc-check-cfg=cfg(icu4x_custom_data)");` 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: `#[warn(unexpected_cfgs)]` on by default
|
Loading