Skip to content

Release v5.0.0-alpha (#1738) #2765

Release v5.0.0-alpha (#1738)

Release v5.0.0-alpha (#1738) #2765

GitHub Actions / clippy failed Sep 30, 2024 in 0s

clippy

5 errors

Details

Results

Message level Amount
Internal compiler error 0
Error 5
Warning 0
Note 0
Help 0

Versions

  • rustc 1.81.0 (eeb90cda1 2024-09-04)
  • cargo 1.81.0 (2dbb1af80 2024-08-20)
  • clippy 0.1.81 (eeb90cd 2024-09-04)

Annotations

Check failure on line 766 in crates/build/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

using `map_err` over `inspect_err`

error: using `map_err` over `inspect_err`
   --> crates/build/src/lib.rs:766:75
    |
766 |                 local_build(&crate_metadata, &optimization_passes, &args).map_err(
    |                                                                           ^^^^^^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_inspect
help: try
    |
766 ~                 local_build(&crate_metadata, &optimization_passes, &args).inspect_err(
767 |                     |e| {
768 |                         // build error -> bundle is stale
769 ~                         clean_metadata();
    |

Check failure on line 766 in crates/build/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

using `map_err` over `inspect_err`

error: using `map_err` over `inspect_err`
   --> crates/build/src/lib.rs:766:75
    |
766 |                 local_build(&crate_metadata, &optimization_passes, &args).map_err(
    |                                                                           ^^^^^^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_inspect
help: try
    |
766 ~                 local_build(&crate_metadata, &optimization_passes, &args).inspect_err(
767 |                     |e| {
768 |                         // build error -> bundle is stale
769 ~                         clean_metadata();
    |

Check failure on line 766 in crates/build/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

using `map_err` over `inspect_err`

error: using `map_err` over `inspect_err`
   --> crates/build/src/lib.rs:766:75
    |
766 |                 local_build(&crate_metadata, &optimization_passes, &args).map_err(
    |                                                                           ^^^^^^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_inspect
help: try
    |
766 ~                 local_build(&crate_metadata, &optimization_passes, &args).inspect_err(
767 |                     |e| {
768 |                         // build error -> bundle is stale
769 ~                         clean_metadata();
    |

Check failure on line 221 in crates/build/src/docker.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

using `map` over `inspect`

error: using `map` over `inspect`
   --> crates/build/src/docker.rs:221:43
    |
221 |     build_result.metadata_result.as_mut().map(|m| {
    |                                           ^^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_inspect
    = note: `-D clippy::manual-inspect` implied by `-D warnings`
    = help: to override `-D warnings` add `#[allow(clippy::manual_inspect)]`
help: try
    |
221 ~     build_result.metadata_result.as_mut().inspect(|m| {
222 |         m.dest_bundle = host_folder.join(
...
232 |                 .expect("cannot strip prefix"),
233 ~         );
    |

Check failure on line 221 in crates/build/src/docker.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

using `map` over `inspect`

error: using `map` over `inspect`
   --> crates/build/src/docker.rs:221:43
    |
221 |     build_result.metadata_result.as_mut().map(|m| {
    |                                           ^^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_inspect
    = note: `-D clippy::manual-inspect` implied by `-D warnings`
    = help: to override `-D warnings` add `#[allow(clippy::manual_inspect)]`
help: try
    |
221 ~     build_result.metadata_result.as_mut().inspect(|m| {
222 |         m.dest_bundle = host_folder.join(
...
232 |                 .expect("cannot strip prefix"),
233 ~         );
    |