Add initial CI #1766
Annotations
3 warnings
Create binary for x86_64-unknown-linux-gnu
The following actions use a deprecated Node.js version and will be forced to run on node20: giraffate/clippy-action@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Create binary for x86_64-unknown-linux-gnu:
fpx/src/api/handlers/traces.rs#L55
[clippy] reported by reviewdog 🐶
warning: useless conversion to the same type: `data::models::HexEncodedId`
--> fpx/src/api/handlers/traces.rs:55:42
|
55 | let trace = TraceSummary::from_spans(trace_id.into(), spans).ok_or(TraceGetError::NotFound)?;
| ^^^^^^^^^^^^^^^ help: consider removing `.into()`: `trace_id`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
= note: `#[warn(clippy::useless_conversion)]` on by default
Raw Output:
fpx/src/api/handlers/traces.rs:55:42:w:warning: useless conversion to the same type: `data::models::HexEncodedId`
--> fpx/src/api/handlers/traces.rs:55:42
|
55 | let trace = TraceSummary::from_spans(trace_id.into(), spans).ok_or(TraceGetError::NotFound)?;
| ^^^^^^^^^^^^^^^ help: consider removing `.into()`: `trace_id`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
= note: `#[warn(clippy::useless_conversion)]` on by default
__END__
|
Create binary for x86_64-unknown-linux-gnu:
fpx/src/data/models.rs#L96
[clippy] reported by reviewdog 🐶
warning: method `as_mut` can be confused for the standard trait method `std::convert::AsMut::as_mut`
--> fpx/src/data/models.rs:96:5
|
96 | / pub fn as_mut(&mut self) -> &mut str {
97 | | &mut self.0
98 | | }
| |_____^
|
= help: consider implementing the trait `std::convert::AsMut` or choosing a less ambiguous method name
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#should_implement_trait
= note: `#[warn(clippy::should_implement_trait)]` on by default
Raw Output:
fpx/src/data/models.rs:96:5:w:warning: method `as_mut` can be confused for the standard trait method `std::convert::AsMut::as_mut`
--> fpx/src/data/models.rs:96:5
|
96 | / pub fn as_mut(&mut self) -> &mut str {
97 | | &mut self.0
98 | | }
| |_____^
|
= help: consider implementing the trait `std::convert::AsMut` or choosing a less ambiguous method name
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#should_implement_trait
= note: `#[warn(clippy::should_implement_trait)]` on by default
__END__
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
fpx_x86_64-unknown-linux-gnu
Expired
|
7.81 MB |
|