feat: add a linkage report subcommand #197
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
release.yml
on: pull_request
Annotations
8 errors
this expression creates a reference which is immediately dereferenced by the compiler:
cargo-dist/src/lib.rs#L904
error: this expression creates a reference which is immediately dereferenced by the compiler
--> cargo-dist/src/lib.rs:904:19
|
904 | do_pe(&path)?
| ^^^^^ help: change this to: `path`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
called `.nth(0)` on a `std::iter::Iterator`, when `.next()` is equivalent:
cargo-dist/src/lib.rs#L871
error: called `.nth(0)` on a `std::iter::Iterator`, when `.next()` is equivalent
--> cargo-dist/src/lib.rs:871:29
|
871 | libraries.push((path.split(' ').nth(0).unwrap()).to_owned());
| ^^^^^^^^^^^^^^^^^^^^^^ help: try calling `.next()` instead of `.nth(0)`: `path.split(' ').next()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#iter_nth_zero
= note: `-D clippy::iter-nth-zero` implied by `-D warnings`
|
single-character string constant used as pattern:
cargo-dist/src/lib.rs#L860
error: single-character string constant used as pattern
--> cargo-dist/src/lib.rs:860:41
|
860 | let lines = result.trim_end().split("\n");
| ^^^^ help: try using a `char` instead: `'\n'`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_pattern
= note: `-D clippy::single-char-pattern` implied by `-D warnings`
|
the borrowed expression implements the required traits:
cargo-dist/src/lib.rs#L855
error: the borrowed expression implements the required traits
--> cargo-dist/src/lib.rs:855:14
|
855 | .arg(&path)
| ^^^^^ help: change this to: `path`
|
= 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`
|
this expression creates a reference which is immediately dereferenced by the compiler:
cargo-dist/src/lib.rs#L904
error: this expression creates a reference which is immediately dereferenced by the compiler
--> cargo-dist/src/lib.rs:904:19
|
904 | do_pe(&path)?
| ^^^^^ help: change this to: `path`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
called `.nth(0)` on a `std::iter::Iterator`, when `.next()` is equivalent:
cargo-dist/src/lib.rs#L871
error: called `.nth(0)` on a `std::iter::Iterator`, when `.next()` is equivalent
--> cargo-dist/src/lib.rs:871:29
|
871 | libraries.push((path.split(' ').nth(0).unwrap()).to_owned());
| ^^^^^^^^^^^^^^^^^^^^^^ help: try calling `.next()` instead of `.nth(0)`: `path.split(' ').next()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#iter_nth_zero
= note: `-D clippy::iter-nth-zero` implied by `-D warnings`
|
single-character string constant used as pattern:
cargo-dist/src/lib.rs#L860
error: single-character string constant used as pattern
--> cargo-dist/src/lib.rs:860:41
|
860 | let lines = result.trim_end().split("\n");
| ^^^^ help: try using a `char` instead: `'\n'`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_pattern
= note: `-D clippy::single-char-pattern` implied by `-D warnings`
|
the borrowed expression implements the required traits:
cargo-dist/src/lib.rs#L855
error: the borrowed expression implements the required traits
--> cargo-dist/src/lib.rs:855:14
|
855 | .arg(&path)
| ^^^^^ help: change this to: `path`
|
= 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`
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
artifacts
Expired
|
9.73 KB |
|