Fail early if required tools can't be found. #4640
Annotations
17 errors and 6 warnings
variable does not need to be mutable:
cargo-dist/src/lib.rs#L70
error: variable does not need to be mutable
--> cargo-dist/src/lib.rs:70:9
|
70 | let mut need_zigbuild = false;
| ----^^^^^^^^^^^^^
| |
| help: remove this `mut`
|
variable does not need to be mutable:
cargo-dist/src/lib.rs#L69
error: variable does not need to be mutable
--> cargo-dist/src/lib.rs:69:9
|
69 | let mut need_xwin = false;
| ----^^^^^^^^^
| |
| help: remove this `mut`
|
variable does not need to be mutable:
cargo-dist/src/lib.rs#L62
error: variable does not need to be mutable
--> cargo-dist/src/lib.rs:62:16
|
62 | let (dist, mut manifest) = tasks::gather_work(cfg)?;
| ----^^^^^^^^
| |
| help: remove this `mut`
|
= note: `-D unused-mut` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(unused_mut)]`
|
unused variable: `step`:
cargo-dist/src/lib.rs#L74
error: unused variable: `step`
--> cargo-dist/src/lib.rs:74:9
|
74 | for step in dist
| ^^^^ help: if this is intentional, prefix it with an underscore: `_step`
|
unused variable: `manifest`:
cargo-dist/src/lib.rs#L62
error: unused variable: `manifest`
--> cargo-dist/src/lib.rs:62:20
|
62 | let (dist, mut manifest) = tasks::gather_work(cfg)?;
| ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_manifest`
|
= note: `-D unused-variables` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(unused_variables)]`
|
variable does not need to be mutable:
cargo-dist/src/lib.rs#L70
error: variable does not need to be mutable
--> cargo-dist/src/lib.rs:70:9
|
70 | let mut need_zigbuild = false;
| ----^^^^^^^^^^^^^
| |
| help: remove this `mut`
|
variable does not need to be mutable:
cargo-dist/src/lib.rs#L69
error: variable does not need to be mutable
--> cargo-dist/src/lib.rs:69:9
|
69 | let mut need_xwin = false;
| ----^^^^^^^^^
| |
| help: remove this `mut`
|
variable does not need to be mutable:
cargo-dist/src/lib.rs#L62
error: variable does not need to be mutable
--> cargo-dist/src/lib.rs:62:16
|
62 | let (dist, mut manifest) = tasks::gather_work(cfg)?;
| ----^^^^^^^^
| |
| help: remove this `mut`
|
= note: `-D unused-mut` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(unused_mut)]`
|
unused variable: `step`:
cargo-dist/src/lib.rs#L74
error: unused variable: `step`
--> cargo-dist/src/lib.rs:74:9
|
74 | for step in dist
| ^^^^ help: if this is intentional, prefix it with an underscore: `_step`
|
unused variable: `manifest`:
cargo-dist/src/lib.rs#L62
error: unused variable: `manifest`
--> cargo-dist/src/lib.rs:62:20
|
62 | let (dist, mut manifest) = tasks::gather_work(cfg)?;
| ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_manifest`
|
= note: `-D unused-variables` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(unused_variables)]`
|
missing fields `cargo_auditable`, `cargo_cyclonedx`, `cargo_xwin` and 1 other field in initializer of `tasks::Tools`:
cargo-dist/src/tests/mock.rs#L75
error[E0063]: missing fields `cargo_auditable`, `cargo_cyclonedx`, `cargo_xwin` and 1 other field in initializer of `tasks::Tools`
--> cargo-dist/src/tests/mock.rs:75:5
|
75 | Tools {
| ^^^^^ missing `cargo_auditable`, `cargo_cyclonedx`, `cargo_xwin` and 1 other field
|
docs
Process completed with exit code 101.
|
clippy
Clippy had exited with the 101 exit code
|
test (ubuntu-latest, stable)
Process completed with exit code 101.
|
test (windows-latest, stable)
The job was canceled because "ubuntu-latest_stable" failed.
|
test (macos-14, stable)
The job was canceled because "ubuntu-latest_stable" failed.
|
test (macos-14, stable)
The operation was canceled.
|
typos
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
npm
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
fmt
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
docs
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
clippy
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
test (ubuntu-latest, stable)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|