tracing: fix event macros with constant field names in the first posi… #3
CI.yml
on: push
cargo check
38s
Matrix: cargo check (feature combinations)
Matrix: cargo check (+MSRV -Zminimal-versions)
Matrix: build tests (wasm)
Matrix: cargo test (wasm)
warnings
50s
Matrix: test
all systems go!
0s
Annotations
2 errors and 2 warnings
creating a shared reference to mutable static is discouraged:
tracing-core/src/dispatch.rs#L513
error: creating a shared reference to mutable static is discouraged
--> tracing-core/src/dispatch.rs:513:9
|
513 | &GLOBAL_DISPATCH
| ^^^^^^^^^^^^^^^^ shared reference to mutable static
|
= note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
= note: this will be a hard error in the 2024 edition
= note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior
= note: `-D static-mut-refs` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(static_mut_refs)]`
help: use `addr_of!` instead to create a raw pointer
|
513 | addr_of!(GLOBAL_DISPATCH)
|
|
warnings
Clippy had exited with the 101 exit code
|
warnings
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions-rs/clippy-check@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
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/
|