Fix "chain configuration not found" error #2842
Annotations
6 errors
using `map_err` over `inspect_err`:
crates/build/src/lib.rs#L766
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();
|
|
using `map_err` over `inspect_err`:
crates/build/src/lib.rs#L766
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();
|
|
using `map` over `inspect`:
crates/build/src/docker.rs#L221
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 ~ );
|
|
using `map_err` over `inspect_err`:
crates/build/src/lib.rs#L766
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();
|
|
using `map` over `inspect`:
crates/build/src/docker.rs#L221
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 ~ );
|
|
using `map` over `inspect`:
crates/build/src/docker.rs#L221
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 ~ );
|
|