Skip to content

Update CI pipeline to remove actions-rs #131

Update CI pipeline to remove actions-rs

Update CI pipeline to remove actions-rs #131

GitHub Actions / clippy completed Aug 13, 2024 in 1s

reviewdog [clippy] report

reported by reviewdog 🐶

Findings (1)

src/lib.rs|189 col 13| warning: unexpected cfg condition name: tarpaulin
--> src/lib.rs:189:13
|
189 | #![cfg_attr(tarpaulin, inline(never))]
| ^^^^^^^^^
|
= help: expected names are: clippy, debug_assertions, doc, docsrs, doctest, feature, miri, overflow_checks, panic, proc_macro, relocation_model, rustcrypto_base, rustcrypto_encrypt_base, rustcrypto_key_distribution_base, rustcrypto_mac_base, rustcrypto_sign_base, 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, tarpaulin_include, and test and 3 more
= 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(tarpaulin)'] }
= help: or consider adding println!("cargo::rustc-check-cfg=cfg(tarpaulin)"); 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: requested on the command line with -W unexpected-cfgs

Filtered Findings (0)

Annotations

Check warning on line 189 in src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

[clippy] src/lib.rs#L189

warning: unexpected `cfg` condition name: `tarpaulin`
   --> src/lib.rs:189:13
    |
189 | #![cfg_attr(tarpaulin, inline(never))]
    |             ^^^^^^^^^
    |
    = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustcrypto_base`, `rustcrypto_encrypt_base`, `rustcrypto_key_distribution_base`, `rustcrypto_mac_base`, `rustcrypto_sign_base`, `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`, `tarpaulin_include`, and `test` and 3 more
    = 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(tarpaulin)'] }
    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin)");` 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: requested on the command line with `-W unexpected-cfgs`
Raw output
src/lib.rs:189:13:w:warning: unexpected `cfg` condition name: `tarpaulin`
   --> src/lib.rs:189:13
    |
189 | #![cfg_attr(tarpaulin, inline(never))]
    |             ^^^^^^^^^
    |
    = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustcrypto_base`, `rustcrypto_encrypt_base`, `rustcrypto_key_distribution_base`, `rustcrypto_mac_base`, `rustcrypto_sign_base`, `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`, `tarpaulin_include`, and `test` and 3 more
    = 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(tarpaulin)'] }
    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin)");` 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: requested on the command line with `-W unexpected-cfgs`


__END__