Upstream tracing-actix-web
into actix-extras
#759
Triggered via pull request
September 29, 2024 09:10
Status
Failure
Total duration
2m 39s
Artifacts
–
Annotations
2 errors and 1 warning
clippy:
tracing-actix-web/src/otel.rs#L115
[clippy] reported by reviewdog 🐶
error: the borrowed expression implements the required traits
--> tracing-actix-web/src/otel.rs:115:29
|
115 | span.record("trace_id", &tracing::field::display(trace_id));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `tracing::field::display(trace_id)`
|
= 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)]`
Raw Output:
tracing-actix-web/src/otel.rs:115:29:e:error: the borrowed expression implements the required traits
--> tracing-actix-web/src/otel.rs:115:29
|
115 | span.record("trace_id", &tracing::field::display(trace_id));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `tracing::field::display(trace_id)`
|
= 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)]`
__END__
|
public-api-diff
Process completed with exit code 1.
|
clippy
The following actions use a deprecated Node.js version and will be forced to run on node20: giraffate/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|