Add MPL text to the published crate #1408
Annotations
40 warnings
Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.155/src/unix/bsd/apple/mod.rs#L1143
warning: struct `tcp_connection_info` is never constructed
--> /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.155/src/unix/bsd/apple/mod.rs:1143:16
|
1143 | pub struct tcp_connection_info {
| ^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
= note: this warning originates in the macro `s` (in Nightly builds, run with -Z macro-backtrace for more info)
|
Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.155/src/unix/bsd/apple/mod.rs#L1282
warning: struct `sockaddr_storage` is never constructed
--> /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.155/src/unix/bsd/apple/mod.rs:1282:16
|
1282 | pub struct sockaddr_storage {
| ^^^^^^^^^^^^^^^^
|
= note: this warning originates in the macro `s_no_extra_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
|
Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.155/src/unix/bsd/apple/b64/aarch64/align.rs#L5
warning: struct `max_align_t` is never constructed
--> /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.155/src/unix/bsd/apple/b64/aarch64/align.rs:5:16
|
5 | pub struct max_align_t {
| ^^^^^^^^^^^
|
= note: this warning originates in the macro `s_no_extra_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
|
Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/typenum-1.17.0/src/lib.rs#L51
warning: unexpected `cfg` condition value: `cargo-clippy`
--> /Users/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
|
Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/typenum-1.17.0/src/lib.rs#L61
warning: unexpected `cfg` condition value: `cargo-clippy`
--> /Users/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
|
Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/typenum-1.17.0/src/bit.rs#L187
warning: unexpected `cfg` condition name: `tests`
--> /Users/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
|
Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/typenum-1.17.0/src/uint.rs#L1656
warning: unexpected `cfg` condition name: `tests`
--> /Users/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
|
Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/typenum-1.17.0/src/uint.rs#L1709
warning: unexpected `cfg` condition value: `cargo-clippy`
--> /Users/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
|
Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/typenum-1.17.0/src/lib.rs#L104
warning: unused import: `*`
--> /Users/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
|
Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/generic-array-0.14.7/src/impls.rs#L136
warning: unexpected `cfg` condition name: `relaxed_coherence`
--> /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/generic-array-0.14.7/src/impls.rs:136:19
|
136 | #[cfg(relaxed_coherence)]
| ^^^^^^^^^^^^^^^^^
...
183 | / impl_from! {
184 | | 1 => ::typenum::U1,
185 | | 2 => ::typenum::U2,
186 | | 3 => ::typenum::U3,
... |
215 | | 32 => ::typenum::U32
216 | | }
| |_- in this macro invocation
|
= 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(relaxed_coherence)'] }
= help: or consider adding `println!("cargo::rustc-check-cfg=cfg(relaxed_coherence)");` 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
= note: this warning originates in the macro `impl_from` (in Nightly builds, run with -Z macro-backtrace for more info)
|
Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.155/src/unix/bsd/apple/mod.rs#L1143
warning: struct `tcp_connection_info` is never constructed
--> /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.155/src/unix/bsd/apple/mod.rs:1143:16
|
1143 | pub struct tcp_connection_info {
| ^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
= note: this warning originates in the macro `s` (in Nightly builds, run with -Z macro-backtrace for more info)
|
Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.155/src/unix/bsd/apple/mod.rs#L1282
warning: struct `sockaddr_storage` is never constructed
--> /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.155/src/unix/bsd/apple/mod.rs:1282:16
|
1282 | pub struct sockaddr_storage {
| ^^^^^^^^^^^^^^^^
|
= note: this warning originates in the macro `s_no_extra_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
|
Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.155/src/unix/bsd/apple/b64/aarch64/align.rs#L5
warning: struct `max_align_t` is never constructed
--> /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.155/src/unix/bsd/apple/b64/aarch64/align.rs:5:16
|
5 | pub struct max_align_t {
| ^^^^^^^^^^^
|
= note: this warning originates in the macro `s_no_extra_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
|
Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/typenum-1.17.0/src/lib.rs#L51
warning: unexpected `cfg` condition value: `cargo-clippy`
--> /Users/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
|
Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/typenum-1.17.0/src/lib.rs#L61
warning: unexpected `cfg` condition value: `cargo-clippy`
--> /Users/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
|
Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/typenum-1.17.0/src/bit.rs#L187
warning: unexpected `cfg` condition name: `tests`
--> /Users/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
|
Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/typenum-1.17.0/src/uint.rs#L1656
warning: unexpected `cfg` condition name: `tests`
--> /Users/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
|
Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/typenum-1.17.0/src/uint.rs#L1709
warning: unexpected `cfg` condition value: `cargo-clippy`
--> /Users/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
|
Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/typenum-1.17.0/src/lib.rs#L104
warning: unused import: `*`
--> /Users/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
|
Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/generic-array-0.14.7/src/impls.rs#L136
warning: unexpected `cfg` condition name: `relaxed_coherence`
--> /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/generic-array-0.14.7/src/impls.rs:136:19
|
136 | #[cfg(relaxed_coherence)]
| ^^^^^^^^^^^^^^^^^
...
183 | / impl_from! {
184 | | 1 => ::typenum::U1,
185 | | 2 => ::typenum::U2,
186 | | 3 => ::typenum::U3,
... |
215 | | 32 => ::typenum::U32
216 | | }
| |_- in this macro invocation
|
= 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(relaxed_coherence)'] }
= help: or consider adding `println!("cargo::rustc-check-cfg=cfg(relaxed_coherence)");` 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
= note: this warning originates in the macro `impl_from` (in Nightly builds, run with -Z macro-backtrace for more info)
|
Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.155/src/unix/bsd/apple/mod.rs#L1143
warning: struct `tcp_connection_info` is never constructed
--> /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.155/src/unix/bsd/apple/mod.rs:1143:16
|
1143 | pub struct tcp_connection_info {
| ^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
= note: this warning originates in the macro `s` (in Nightly builds, run with -Z macro-backtrace for more info)
|
Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.155/src/unix/bsd/apple/mod.rs#L1282
warning: struct `sockaddr_storage` is never constructed
--> /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.155/src/unix/bsd/apple/mod.rs:1282:16
|
1282 | pub struct sockaddr_storage {
| ^^^^^^^^^^^^^^^^
|
= note: this warning originates in the macro `s_no_extra_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
|
Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.155/src/unix/bsd/apple/b64/aarch64/align.rs#L5
warning: struct `max_align_t` is never constructed
--> /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.155/src/unix/bsd/apple/b64/aarch64/align.rs:5:16
|
5 | pub struct max_align_t {
| ^^^^^^^^^^^
|
= note: this warning originates in the macro `s_no_extra_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
|
Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/typenum-1.17.0/src/lib.rs#L51
warning: unexpected `cfg` condition value: `cargo-clippy`
--> /Users/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
|
Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/typenum-1.17.0/src/lib.rs#L61
warning: unexpected `cfg` condition value: `cargo-clippy`
--> /Users/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
|
Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/typenum-1.17.0/src/bit.rs#L187
warning: unexpected `cfg` condition name: `tests`
--> /Users/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
|
Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/typenum-1.17.0/src/uint.rs#L1656
warning: unexpected `cfg` condition name: `tests`
--> /Users/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
|
Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/typenum-1.17.0/src/uint.rs#L1709
warning: unexpected `cfg` condition value: `cargo-clippy`
--> /Users/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
|
Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/typenum-1.17.0/src/lib.rs#L104
warning: unused import: `*`
--> /Users/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
|
Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/generic-array-0.14.7/src/impls.rs#L136
warning: unexpected `cfg` condition name: `relaxed_coherence`
--> /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/generic-array-0.14.7/src/impls.rs:136:19
|
136 | #[cfg(relaxed_coherence)]
| ^^^^^^^^^^^^^^^^^
...
183 | / impl_from! {
184 | | 1 => ::typenum::U1,
185 | | 2 => ::typenum::U2,
186 | | 3 => ::typenum::U3,
... |
215 | | 32 => ::typenum::U32
216 | | }
| |_- in this macro invocation
|
= 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(relaxed_coherence)'] }
= help: or consider adding `println!("cargo::rustc-check-cfg=cfg(relaxed_coherence)");` 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
= note: this warning originates in the macro `impl_from` (in Nightly builds, run with -Z macro-backtrace for more info)
|
Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.155/src/unix/bsd/apple/mod.rs#L1143
warning: struct `tcp_connection_info` is never constructed
--> /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.155/src/unix/bsd/apple/mod.rs:1143:16
|
1143 | pub struct tcp_connection_info {
| ^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
= note: this warning originates in the macro `s` (in Nightly builds, run with -Z macro-backtrace for more info)
|
Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.155/src/unix/bsd/apple/mod.rs#L1282
warning: struct `sockaddr_storage` is never constructed
--> /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.155/src/unix/bsd/apple/mod.rs:1282:16
|
1282 | pub struct sockaddr_storage {
| ^^^^^^^^^^^^^^^^
|
= note: this warning originates in the macro `s_no_extra_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
|
Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.155/src/unix/bsd/apple/b64/aarch64/align.rs#L5
warning: struct `max_align_t` is never constructed
--> /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.155/src/unix/bsd/apple/b64/aarch64/align.rs:5:16
|
5 | pub struct max_align_t {
| ^^^^^^^^^^^
|
= note: this warning originates in the macro `s_no_extra_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
|
Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/typenum-1.17.0/src/lib.rs#L51
warning: unexpected `cfg` condition value: `cargo-clippy`
--> /Users/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
|
Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/typenum-1.17.0/src/lib.rs#L61
warning: unexpected `cfg` condition value: `cargo-clippy`
--> /Users/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
|
Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/typenum-1.17.0/src/bit.rs#L187
warning: unexpected `cfg` condition name: `tests`
--> /Users/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
|
Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/typenum-1.17.0/src/uint.rs#L1656
warning: unexpected `cfg` condition name: `tests`
--> /Users/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
|
Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/typenum-1.17.0/src/uint.rs#L1709
warning: unexpected `cfg` condition value: `cargo-clippy`
--> /Users/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
|
Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/typenum-1.17.0/src/lib.rs#L104
warning: unused import: `*`
--> /Users/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
|
Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/generic-array-0.14.7/src/impls.rs#L136
warning: unexpected `cfg` condition name: `relaxed_coherence`
--> /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/generic-array-0.14.7/src/impls.rs:136:19
|
136 | #[cfg(relaxed_coherence)]
| ^^^^^^^^^^^^^^^^^
...
183 | / impl_from! {
184 | | 1 => ::typenum::U1,
185 | | 2 => ::typenum::U2,
186 | | 3 => ::typenum::U3,
... |
215 | | 32 => ::typenum::U32
216 | | }
| |_- in this macro invocation
|
= 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(relaxed_coherence)'] }
= help: or consider adding `println!("cargo::rustc-check-cfg=cfg(relaxed_coherence)");` 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
= note: this warning originates in the macro `impl_from` (in Nightly builds, run with -Z macro-backtrace for more info)
|
This job succeeded
Loading