Skip to content

Merge pull request #13 from AhmedSoliman/dependabot/cargo/itertools-0… #56

Merge pull request #13 from AhmedSoliman/dependabot/cargo/itertools-0…

Merge pull request #13 from AhmedSoliman/dependabot/cargo/itertools-0… #56

Triggered via push July 18, 2024 16:14
Status Success
Total duration 4m 47s
Artifacts

test.yml

on: push
ubuntu / stable / minimal-versions
37s
ubuntu / stable / minimal-versions
ubuntu / stable / coverage
1m 59s
ubuntu / stable / coverage
Matrix: os-check
Matrix: required
Fit to window
Zoom out
Zoom in

Annotations

9 warnings
this `let...else` may be rewritten with the `?` operator: cling/src/extractors.rs#L42
warning: this `let...else` may be rewritten with the `?` operator --> cling/src/extractors.rs:42:9 | 42 | / let Some(state) = args.get::<State<S>>() else { 43 | | return None; 44 | | }; | |__________^ help: replace it with: `let state = args.get::<State<S>>()?;` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#question_mark = note: `#[warn(clippy::question_mark)]` on by default
empty string literal in `writeln!`: cling/src/error.rs#L240
warning: empty string literal in `writeln!` --> cling/src/error.rs:240:25 | 240 | let _ = writeln!(f, ""); | ^^^^^^^^^^----^ | | | help: remove the empty string | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#writeln_empty_string = note: `#[warn(clippy::writeln_empty_string)]` on by default
this `let...else` may be rewritten with the `?` operator: cling/src/extractors.rs#L42
warning: this `let...else` may be rewritten with the `?` operator --> cling/src/extractors.rs:42:9 | 42 | / let Some(state) = args.get::<State<S>>() else { 43 | | return None; 44 | | }; | |__________^ help: replace it with: `let state = args.get::<State<S>>()?;` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#question_mark = note: `#[warn(clippy::question_mark)]` on by default
empty string literal in `writeln!`: cling/src/error.rs#L240
warning: empty string literal in `writeln!` --> cling/src/error.rs:240:25 | 240 | let _ = writeln!(f, ""); | ^^^^^^^^^^----^ | | | help: remove the empty string | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#writeln_empty_string = note: `#[warn(clippy::writeln_empty_string)]` on by default
unexpected `cfg` condition name: `unstable`: cling/src/params.rs#L14
warning: unexpected `cfg` condition name: `unstable` --> cling/src/params.rs:14:7 | 14 | #[cfg(unstable)] | ^^^^^^^^ | = 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(unstable)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(unstable)");` 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
unexpected `cfg` condition name: `unstable`: cling/src/params.rs#L12
warning: unexpected `cfg` condition name: `unstable` --> cling/src/params.rs:12:7 | 12 | #[cfg(unstable)] | ^^^^^^^^ | = 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(unstable)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(unstable)");` 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
unexpected `cfg` condition name: `unstable`: cling/src/params.rs#L9
warning: unexpected `cfg` condition name: `unstable` --> cling/src/params.rs:9:12 | 9 | #[cfg_attr(unstable, marker)] | ^^^^^^^^ | = 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(unstable)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(unstable)");` 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
unexpected `cfg` condition name: `unstable`: cling/src/lib.rs#L2
warning: unexpected `cfg` condition name: `unstable` --> cling/src/lib.rs:2:13 | 2 | #![cfg_attr(unstable, feature(marker_trait_attr))] | ^^^^^^^^ | = 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(unstable)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(unstable)");` 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
ubuntu / stable / coverage
Codecov: Failed to properly create commit: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1