mock: match parent span on ExpectedSpan
#5351
CI.yml
on: pull_request
cargo check
31s
Matrix: cargo check (feature combinations)
Matrix: cargo check (+MSRV -Zminimal-versions)
Matrix: build tests (wasm)
Matrix: cargo test (wasm)
warnings
29s
Matrix: test
all systems go!
0s
Annotations
3 errors and 2 warnings
cargo fmt
Process completed with exit code 1.
|
`format!` in `assert_eq!` args:
tracing-mock/src/span.rs#L1025
error: `format!` in `assert_eq!` args
--> tracing-mock/src/span.rs:1025:9
|
1025 | / assert_eq!(
1026 | | expected_id, actual_id,
1027 | | "{}",
1028 | | format!(
... |
1031 | | )
1032 | | );
| |_________^
|
= help: combine the `format!(..)` arguments with the outer `assert_eq!(..)` call
= help: or consider changing `format!` to `format_args!`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#format_in_format_args
= note: `-D clippy::format-in-format-args` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::format_in_format_args)]`
|
warnings
Clippy had exited with the 101 exit code
|
warnings
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
warnings
The following actions use a deprecated Node.js version and will be forced to run on node20: actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|