(OLD) Add cargo-auditable config option. #6550
web.yml
on: pull_request
Build and deploy site and docs
42s
Annotations
6 errors and 1 warning
this expression creates a reference which is immediately dereferenced by the compiler:
cargo-dist/src/build/cargo.rs#L239
error: this expression creates a reference which is immediately dereferenced by the compiler
--> cargo-dist/src/build/cargo.rs:239:79
|
239 | let mut command = make_build_cargo_target_command(&cargo.cmd, &rustflags, &target, auditable);
| ^^^^^^^ help: change this to: `target`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
= note: `-D clippy::needless-borrow` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::needless_borrow)]`
|
the borrowed expression implements the required traits:
cargo-dist/src/build/cargo.rs#L179
error: the borrowed expression implements the required traits
--> cargo-dist/src/build/cargo.rs:179:27
|
179 | .env("RUSTFLAGS", &rustflags)
| ^^^^^^^^^^ help: change this to: `rustflags`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
= note: `-D clippy::needless-borrows-for-generic-args` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::needless_borrows_for_generic_args)]`
|
this expression creates a reference which is immediately dereferenced by the compiler:
cargo-dist/src/build/cargo.rs#L239
error: this expression creates a reference which is immediately dereferenced by the compiler
--> cargo-dist/src/build/cargo.rs:239:79
|
239 | let mut command = make_build_cargo_target_command(&cargo.cmd, &rustflags, &target, auditable);
| ^^^^^^^ help: change this to: `target`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
= note: `-D clippy::needless-borrow` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::needless_borrow)]`
|
the borrowed expression implements the required traits:
cargo-dist/src/build/cargo.rs#L179
error: the borrowed expression implements the required traits
--> cargo-dist/src/build/cargo.rs:179:27
|
179 | .env("RUSTFLAGS", &rustflags)
| ^^^^^^^^^^ help: change this to: `rustflags`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
= note: `-D clippy::needless-borrows-for-generic-args` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::needless_borrows_for_generic_args)]`
|
redundant field names in struct initialization:
cargo-dist/src/build/cargo.rs#L343
error: redundant field names in struct initialization
--> cargo-dist/src/build/cargo.rs:343:13
|
343 | features: features,
| ^^^^^^^^^^^^^^^^^^ help: replace it with: `features`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names
|
redundant field names in struct initialization:
cargo-dist/src/build/cargo.rs#L315
error: redundant field names in struct initialization
--> cargo-dist/src/build/cargo.rs:315:13
|
315 | features: features,
| ^^^^^^^^^^^^^^^^^^ help: replace it with: `features`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names
= note: `-D clippy::redundant-field-names` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::redundant_field_names)]`
|
Build and deploy site and docs
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|