Rework the build-info format to be JSON #62
Draft
Annotations
6 warnings
|
obs-gitlab-runner/src/handler.rs#L416
warning: this `if` statement can be collapsed
--> obs-gitlab-runner/src/handler.rs:416:5
|
416 | / if let Some(mut artifact) = dep.download().await? {
417 | | if let Some(file) = tokio::task::spawn_blocking(move || {
418 | | artifact
419 | | .file(path.as_str())
... |
434 | | }
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if
= note: `#[warn(clippy::collapsible_if)]` on by default
help: collapse nested if block
|
416 ~ if let Some(mut artifact) = dep.download().await?
417 ~ && let Some(file) = tokio::task::spawn_blocking(move || {
418 | artifact
...
432 | ));
433 ~ }
|
|
|
obs-gitlab-runner/src/handler.rs#L416
warning: this `if` statement can be collapsed
--> obs-gitlab-runner/src/handler.rs:416:5
|
416 | / if let Some(mut artifact) = dep.download().await? {
417 | | if let Some(file) = tokio::task::spawn_blocking(move || {
418 | | artifact
419 | | .file(path.as_str())
... |
434 | | }
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if
= note: `#[warn(clippy::collapsible_if)]` on by default
help: collapse nested if block
|
416 ~ if let Some(mut artifact) = dep.download().await?
417 ~ && let Some(file) = tokio::task::spawn_blocking(move || {
418 | artifact
...
432 | ));
433 ~ }
|
|
|
obo-core/src/prune.rs#L48
warning: this `if` statement can be collapsed
--> obo-core/src/prune.rs:48:5
|
48 | / if let Some(expected_rev) = expected_rev {
49 | | if dir.rev.as_deref() != Some(expected_rev) {
50 | | outputln!(
51 | | "Latest revision is {}, skipping prune",
... |
56 | | }
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if
help: collapse nested if block
|
48 ~ if let Some(expected_rev) = expected_rev
49 ~ && dir.rev.as_deref() != Some(expected_rev) {
50 | outputln!(
...
54 | return Ok(());
55 ~ }
|
|
|
obo-core/src/prune.rs#L48
warning: this `if` statement can be collapsed
--> obo-core/src/prune.rs:48:5
|
48 | / if let Some(expected_rev) = expected_rev {
49 | | if dir.rev.as_deref() != Some(expected_rev) {
50 | | outputln!(
51 | | "Latest revision is {}, skipping prune",
... |
56 | | }
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if
help: collapse nested if block
|
48 ~ if let Some(expected_rev) = expected_rev
49 ~ && dir.rev.as_deref() != Some(expected_rev) {
50 | outputln!(
...
54 | return Ok(());
55 ~ }
|
|
|
obo-core/src/build_meta.rs#L126
warning: this `if` statement can be collapsed
--> obo-core/src/build_meta.rs:126:21
|
126 | / if let Some(obs::Error::ApiError(obs::ApiError { code, .. })) =
127 | | cause.downcast_ref::<obs::Error>()
128 | | {
129 | | if code == "unknown_package" {
... |
132 | | }
| |_____________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if
= note: `#[warn(clippy::collapsible_if)]` on by default
help: collapse nested if block
|
127 ~ cause.downcast_ref::<obs::Error>()
128 ~ && code == "unknown_package" {
129 | return Ok(None);
130 ~ }
|
|
|
obo-core/src/build_meta.rs#L126
warning: this `if` statement can be collapsed
--> obo-core/src/build_meta.rs:126:21
|
126 | / if let Some(obs::Error::ApiError(obs::ApiError { code, .. })) =
127 | | cause.downcast_ref::<obs::Error>()
128 | | {
129 | | if code == "unknown_package" {
... |
132 | | }
| |_____________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if
= note: `#[warn(clippy::collapsible_if)]` on by default
help: collapse nested if block
|
127 ~ cause.downcast_ref::<obs::Error>()
128 ~ && code == "unknown_package" {
129 | return Ok(None);
130 ~ }
|
|
The logs for this run have expired and are no longer available.
Loading