[INFO] fetching crate atat 0.24.0... [INFO] checking atat-0.24.0 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate atat 0.24.0 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate atat 0.24.0 [INFO] finished tweaking crates.io crate atat 0.24.0 [INFO] tweaked toml for crates.io crate atat 0.24.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate atat 0.24.0 on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 94 packages to latest compatible versions [INFO] [stderr] Adding defmt v0.3.100 (available: v1.0.1) [INFO] [stderr] Adding embassy-sync v0.6.2 (available: v0.7.0) [INFO] [stderr] Adding nom v7.1.3 (available: v8.0.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded static_cell v2.1.1 [INFO] [stderr] Downloaded defmt v0.3.100 [INFO] [stderr] Downloaded heapless-bytes v0.4.0 [INFO] [stderr] Downloaded defmt-parser v1.0.0 [INFO] [stderr] Downloaded defmt-macros v1.0.1 [INFO] [stderr] Downloaded heapless-bytes v0.3.0 [INFO] [stderr] Downloaded atat_derive v0.24.0 [INFO] [stderr] Downloaded serde_at v0.24.0 [INFO] [stderr] Downloaded defmt v1.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3d7992ba674156ce1f1aca6bdf3940c38816caaf345f1c4836b2b178e4fe4e13 [INFO] running `Command { std: "docker" "start" "-a" "3d7992ba674156ce1f1aca6bdf3940c38816caaf345f1c4836b2b178e4fe4e13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3d7992ba674156ce1f1aca6bdf3940c38816caaf345f1c4836b2b178e4fe4e13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d7992ba674156ce1f1aca6bdf3940c38816caaf345f1c4836b2b178e4fe4e13", kill_on_drop: false }` [INFO] [stdout] 3d7992ba674156ce1f1aca6bdf3940c38816caaf345f1c4836b2b178e4fe4e13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 02a0c5ff89efc5c5ec19e1ccd32f49021e32954de186071135c72a5a22b1214f [INFO] running `Command { std: "docker" "start" "-a" "02a0c5ff89efc5c5ec19e1ccd32f49021e32954de186071135c72a5a22b1214f", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling heapless v0.8.0 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Checking hash32 v0.3.1 [INFO] [stderr] Checking critical-section v1.2.0 [INFO] [stderr] Compiling embassy-executor v0.7.0 [INFO] [stderr] Checking hash32 v0.2.1 [INFO] [stderr] Compiling embassy-time-driver v0.2.0 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking nb v1.1.0 [INFO] [stderr] Compiling heapless v0.7.17 [INFO] [stderr] Compiling embedded-hal-async v1.0.0 [INFO] [stderr] Compiling embassy-time-queue-utils v0.1.0 [INFO] [stderr] Compiling embedded-io-async v0.6.1 [INFO] [stderr] Checking embedded-io v0.6.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling embassy-sync v0.6.2 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Checking embedded-hal v1.0.0 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Checking embedded-hal v0.2.7 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking embassy-futures v0.1.1 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking static_cell v2.1.1 [INFO] [stderr] Checking heapless-bytes v0.3.0 [INFO] [stderr] Checking serde_bytes v0.11.17 [INFO] [stderr] Compiling serde_at v0.24.0 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking heapless-bytes v0.4.0 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling atat_derive v0.24.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Checking tokio v1.45.1 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling embassy-executor-macros v0.6.2 [INFO] [stderr] Checking embassy-time v0.4.0 [INFO] [stderr] Checking atat v0.24.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `CmsError` and `ConnectionError` [INFO] [stdout] --> src/digest.rs:503:27 [INFO] [stdout] | [INFO] [stdout] 503 | error::{CmeError, CmsError, ConnectionError}, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/config.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, Copy, Clone, PartialEq, Eq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 13 | pub(crate) get_response_timeout: GetTimeout, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/digest.rs:247:32 [INFO] [stdout] | [INFO] [stdout] 247 | pub fn error_response(buf: &[u8]) -> IResult<&[u8], (DigestResult, usize)> { [INFO] [stdout] | ^^^^^ ----- ------------ the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 247 | pub fn error_response(buf: &[u8]) -> IResult<&[u8], (DigestResult<'_>, usize)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/digest.rs:313:33 [INFO] [stdout] | [INFO] [stdout] 313 | pub fn prompt_response(buf: &[u8]) -> IResult<&[u8], (DigestResult, usize)> { [INFO] [stdout] | ^^^^^ ----- ------------ the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 313 | pub fn prompt_response(buf: &[u8]) -> IResult<&[u8], (DigestResult<'_>, usize)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/digest.rs:336:34 [INFO] [stdout] | [INFO] [stdout] 336 | pub fn success_response(buf: &[u8]) -> IResult<&[u8], (DigestResult, usize)> { [INFO] [stdout] | ^^^^^ ----- ------------ the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 336 | pub fn success_response(buf: &[u8]) -> IResult<&[u8], (DigestResult<'_>, usize)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `InnerError` is never used [INFO] [stdout] --> src/blocking/client.rs:135:14 [INFO] [stdout] | [INFO] [stdout] 135 | pub enum InnerError { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/config.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, Copy, Clone, PartialEq, Eq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 13 | pub(crate) get_response_timeout: GetTimeout, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/digest.rs:247:32 [INFO] [stdout] | [INFO] [stdout] 247 | pub fn error_response(buf: &[u8]) -> IResult<&[u8], (DigestResult, usize)> { [INFO] [stdout] | ^^^^^ ----- ------------ the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 247 | pub fn error_response(buf: &[u8]) -> IResult<&[u8], (DigestResult<'_>, usize)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/digest.rs:313:33 [INFO] [stdout] | [INFO] [stdout] 313 | pub fn prompt_response(buf: &[u8]) -> IResult<&[u8], (DigestResult, usize)> { [INFO] [stdout] | ^^^^^ ----- ------------ the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 313 | pub fn prompt_response(buf: &[u8]) -> IResult<&[u8], (DigestResult<'_>, usize)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/digest.rs:336:34 [INFO] [stdout] | [INFO] [stdout] 336 | pub fn success_response(buf: &[u8]) -> IResult<&[u8], (DigestResult, usize)> { [INFO] [stdout] | ^^^^^ ----- ------------ the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 336 | pub fn success_response(buf: &[u8]) -> IResult<&[u8], (DigestResult<'_>, usize)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/asynch/client.rs:187:58 [INFO] [stdout] | [INFO] [stdout] 187 | Client::new(tx_mock, &RES_SLOT, unsafe { BUF.as_mut() }, $config); [INFO] [stdout] | ^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 208 | setup!(Config::new().get_response_timeout(custom_response_timeout)); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/asynch/client.rs:187:58 [INFO] [stdout] | [INFO] [stdout] 187 | Client::new(tx_mock, &RES_SLOT, unsafe { BUF.as_mut() }, $config); [INFO] [stdout] | ^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 254 | setup!(Config::new().get_response_timeout(custom_response_timeout)); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/blocking/client.rs:262:58 [INFO] [stdout] | [INFO] [stdout] 262 | Client::new(tx_mock, &RES_SLOT, unsafe { BUF.as_mut() }, $config); [INFO] [stdout] | ^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 269 | let (mut client, mut tx, rx) = setup!(Config::new()); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/blocking/client.rs:262:58 [INFO] [stdout] | [INFO] [stdout] 262 | Client::new(tx_mock, &RES_SLOT, unsafe { BUF.as_mut() }, $config); [INFO] [stdout] | ^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 290 | let (mut client, mut tx, rx) = setup!(Config::new()); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/blocking/client.rs:262:58 [INFO] [stdout] | [INFO] [stdout] 262 | Client::new(tx_mock, &RES_SLOT, unsafe { BUF.as_mut() }, $config); [INFO] [stdout] | ^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 314 | let (mut client, mut tx, rx) = setup!(Config::new()); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/blocking/client.rs:262:58 [INFO] [stdout] | [INFO] [stdout] 262 | Client::new(tx_mock, &RES_SLOT, unsafe { BUF.as_mut() }, $config); [INFO] [stdout] | ^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 350 | let (mut client, mut tx, rx) = setup!(Config::new()); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/blocking/client.rs:262:58 [INFO] [stdout] | [INFO] [stdout] 262 | Client::new(tx_mock, &RES_SLOT, unsafe { BUF.as_mut() }, $config); [INFO] [stdout] | ^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 376 | let (mut client, mut tx, rx) = setup!(Config::new()); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/blocking/client.rs:262:58 [INFO] [stdout] | [INFO] [stdout] 262 | Client::new(tx_mock, &RES_SLOT, unsafe { BUF.as_mut() }, $config); [INFO] [stdout] | ^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 442 | setup!(Config::new().get_response_timeout(custom_response_timeout)); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/blocking/client.rs:262:58 [INFO] [stdout] | [INFO] [stdout] 262 | Client::new(tx_mock, &RES_SLOT, unsafe { BUF.as_mut() }, $config); [INFO] [stdout] | ^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 488 | setup!(Config::new().get_response_timeout(custom_response_timeout)); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.08s [INFO] running `Command { std: "docker" "inspect" "02a0c5ff89efc5c5ec19e1ccd32f49021e32954de186071135c72a5a22b1214f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02a0c5ff89efc5c5ec19e1ccd32f49021e32954de186071135c72a5a22b1214f", kill_on_drop: false }` [INFO] [stdout] 02a0c5ff89efc5c5ec19e1ccd32f49021e32954de186071135c72a5a22b1214f