[INFO] fetching crate toad 1.0.0-beta.9... [INFO] testing toad-1.0.0-beta.9 against 1.79.0 for beta-1.80-4 [INFO] extracting crate toad 1.0.0-beta.9 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate toad 1.0.0-beta.9 on toolchain 1.79.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.79.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate toad 1.0.0-beta.9 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate toad 1.0.0-beta.9 [INFO] tweaked toml for crates.io crate toad 1.0.0-beta.9 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate crates.io crate toad 1.0.0-beta.9 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.79.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `rand` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `rand_chacha` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `serde` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `serde_json` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `tinyvec` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `toad-array` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `toad-hash` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `toad-len` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `toad-map` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `toad-stem` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `toad-string` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `toad-writable` dependency) [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded toad-len v0.1.3 [INFO] [stderr] Downloaded toad-writable v0.1.1 [INFO] [stderr] Downloaded toad-string v0.2.0 [INFO] [stderr] Downloaded toad-map v0.2.3 [INFO] [stderr] Downloaded toad-stem v0.1.0 [INFO] [stderr] Downloaded toad-msg v1.0.0-beta.5 [INFO] [stderr] Downloaded toad-array v0.8.0 [INFO] [stderr] Downloaded toad-cursor v0.2.0 [INFO] [stderr] Downloaded lazycell v1.3.0 [INFO] [stderr] Downloaded toad-hash v0.3.0 [INFO] [stderr] Downloaded url v2.4.0 [INFO] [stderr] Downloaded paste v1.0.12 [INFO] [stderr] Downloaded num v0.3.1 [INFO] [stderr] Downloaded num-complex v0.3.1 [INFO] [stderr] Downloaded num-rational v0.3.2 [INFO] [stderr] Downloaded aho-corasick v1.0.1 [INFO] [stderr] Downloaded openssl v0.10.51 [INFO] [stderr] Downloaded syn v2.0.15 [INFO] [stderr] Downloaded regex-syntax v0.7.1 [INFO] [stderr] Downloaded libc v0.2.142 [INFO] [stderr] Downloaded regex v1.8.1 [INFO] [stderr] Downloaded serde_json v1.0.96 [INFO] [stderr] Downloaded embedded-time v0.12.1 [INFO] [stderr] Downloaded naan v0.1.32 [INFO] [stderr] Downloaded openssl-sys v0.9.86 [INFO] [stderr] Downloaded heapless v0.7.16 [INFO] [stderr] Downloaded toad-array v0.2.3 [INFO] [stderr] Downloaded blake2 v0.10.6 [INFO] [stderr] Downloaded proc-macro2 v1.0.56 [INFO] [stderr] Downloaded toad-macros v0.2.0 [INFO] [stderr] Downloaded nb v1.1.0 [INFO] [stderr] Downloaded no-std-net v0.6.0 [INFO] [stderr] Downloaded pkg-config v0.3.26 [INFO] [stderr] Downloaded critical-section v1.1.1 [INFO] [stderr] Downloaded hash32 v0.2.1 [INFO] [stderr] Downloaded semver v1.0.17 [INFO] [stderr] Downloaded serde_derive v1.0.160 [INFO] [stderr] Downloaded serde v1.0.160 [INFO] [stderr] Downloaded atomic-polyfill v0.1.11 [INFO] [stderr] Downloaded serde-json-core v0.5.0 [INFO] [stderr] Downloaded simple_logger v2.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+1.79.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 891d8b58439d87f41f343f903061acb5b5ee73b943d208d3f240103a4555a6c0 [INFO] running `Command { std: "docker" "start" "-a" "891d8b58439d87f41f343f903061acb5b5ee73b943d208d3f240103a4555a6c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "891d8b58439d87f41f343f903061acb5b5ee73b943d208d3f240103a4555a6c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "891d8b58439d87f41f343f903061acb5b5ee73b943d208d3f240103a4555a6c0", kill_on_drop: false }` [INFO] [stdout] 891d8b58439d87f41f343f903061acb5b5ee73b943d208d3f240103a4555a6c0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+1.79.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3f8affdd40fbced40ede5f6f61b00d1b3668c9e2ffd84611560fce308291bf05 [INFO] running `Command { std: "docker" "start" "-a" "3f8affdd40fbced40ede5f6f61b00d1b3668c9e2ffd84611560fce308291bf05", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `rand` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `rand_chacha` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `serde` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `serde_json` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `tinyvec` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `toad-array` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `toad-hash` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `toad-len` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `toad-map` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `toad-stem` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `toad-string` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `toad-writable` dependency) [INFO] [stderr] Compiling proc-macro2 v1.0.56 [INFO] [stderr] Compiling unicode-ident v1.0.8 [INFO] [stderr] Compiling quote v1.0.26 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling pkg-config v0.3.26 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling serde_derive v1.0.160 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling libc v0.2.142 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling serde v1.0.160 [INFO] [stderr] Compiling regex-syntax v0.7.1 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling openssl v0.10.51 [INFO] [stderr] Compiling toad-len v0.1.3 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling serde_json v1.0.96 [INFO] [stderr] Compiling toad-array v0.2.3 [INFO] [stderr] Compiling paste v1.0.12 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling toad-writable v0.1.1 [INFO] [stderr] Compiling toad-map v0.2.3 [INFO] [stderr] Compiling toad-array v0.8.0 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling toad-cursor v0.2.0 [INFO] [stderr] Compiling ryu v1.0.13 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling itoa v1.0.6 [INFO] [stderr] Compiling once_cell v1.17.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling toad-string v0.2.0 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling no-std-net v0.6.0 [INFO] [stderr] Compiling aho-corasick v1.0.1 [INFO] [stderr] Compiling naan v0.1.32 [INFO] [stderr] Compiling url v2.4.0 [INFO] [stderr] Compiling toad-stem v0.1.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling syn v2.0.15 [INFO] [stderr] Compiling openssl-sys v0.9.86 [INFO] [stderr] Compiling nb v1.1.0 [INFO] [stderr] Compiling num-complex v0.3.1 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.6 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling toad-hash v0.3.0 [INFO] [stderr] Compiling num v0.3.1 [INFO] [stderr] Compiling embedded-time v0.12.1 [INFO] [stderr] Compiling regex v1.8.1 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling toad-macros v0.2.0 [INFO] [stderr] Compiling toad-msg v1.0.0-beta.5 [INFO] [stderr] Compiling toad v1.0.0-beta.9 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `toad_array::Array` [INFO] [stdout] --> src/req/builder.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use toad_array::Array; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Effect` [INFO] [stdout] --> src/step/handle_acks.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::platform::{Effect, PlatformTypes}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Monad` [INFO] [stdout] --> src/std/net/secure.rs:123:23 [INFO] [stdout] | [INFO] [stdout] 123 | use naan::prelude::{Monad, MonadOnce}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::server::ap::state::Unhydrated` [INFO] [stdout] --> src/server/path.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::server::ap::state::Unhydrated; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Array` [INFO] [stdout] --> src/step/buffer_responses.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | use toad_array::{Array, Indexed}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `toad_array::Array` [INFO] [stdout] --> src/step/handle_acks.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use toad_array::Array; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Array` [INFO] [stdout] --> src/step/ack.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | use toad_array::{Array, Indexed}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `toad_array::Array` [INFO] [stdout] --> src/std/net/secure.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use toad_array::Array; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/step/set_standard_options.rs:70:23 [INFO] [stdout] | [INFO] [stdout] 70 | msg.as_mut().map(|mut m| { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Capacity` is never used [INFO] [stdout] --> src/todo.rs:106:18 [INFO] [stdout] | [INFO] [stdout] 106 | pub(crate) trait Capacity: Len { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> src/std/net/secure.rs:176:26 [INFO] [stdout] | [INFO] [stdout] 176 | let sock_ref = sock.deref(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `std::net::UdpSocket` does not implement `Deref`, so calling `deref` on `&std::net::UdpSocket` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 176 - let sock_ref = sock.deref(); [INFO] [stdout] 176 + let sock_ref = sock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 29.90s [INFO] running `Command { std: "docker" "inspect" "3f8affdd40fbced40ede5f6f61b00d1b3668c9e2ffd84611560fce308291bf05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f8affdd40fbced40ede5f6f61b00d1b3668c9e2ffd84611560fce308291bf05", kill_on_drop: false }` [INFO] [stdout] 3f8affdd40fbced40ede5f6f61b00d1b3668c9e2ffd84611560fce308291bf05 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+1.79.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ccf96848f65eec1c43a0b0300b78562f3a4f4e2890b6cc48fb5153f19991eb83 [INFO] running `Command { std: "docker" "start" "-a" "ccf96848f65eec1c43a0b0300b78562f3a4f4e2890b6cc48fb5153f19991eb83", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `rand` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `rand_chacha` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `serde` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `serde_json` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `tinyvec` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `toad-array` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `toad-hash` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `toad-len` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `toad-map` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `toad-stem` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `toad-string` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `toad-writable` dependency) [INFO] [stderr] Compiling semver v1.0.17 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling time-core v0.1.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling num_threads v0.1.6 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stdout] warning: unused import: `toad_array::Array` [INFO] [stdout] --> src/req/builder.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use toad_array::Array; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Effect` [INFO] [stdout] --> src/step/handle_acks.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::platform::{Effect, PlatformTypes}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Monad` [INFO] [stdout] --> src/std/net/secure.rs:123:23 [INFO] [stdout] | [INFO] [stdout] 123 | use naan::prelude::{Monad, MonadOnce}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::server::ap::state::Unhydrated` [INFO] [stdout] --> src/server/path.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::server::ap::state::Unhydrated; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Array` [INFO] [stdout] --> src/step/buffer_responses.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | use toad_array::{Array, Indexed}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `toad_array::Array` [INFO] [stdout] --> src/step/handle_acks.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use toad_array::Array; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Array` [INFO] [stdout] --> src/step/ack.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | use toad_array::{Array, Indexed}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `toad_array::Array` [INFO] [stdout] --> src/std/net/secure.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use toad_array::Array; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/step/set_standard_options.rs:70:23 [INFO] [stdout] | [INFO] [stdout] 70 | msg.as_mut().map(|mut m| { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Capacity` is never used [INFO] [stdout] --> src/todo.rs:106:18 [INFO] [stdout] | [INFO] [stdout] 106 | pub(crate) trait Capacity: Len { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> src/std/net/secure.rs:176:26 [INFO] [stdout] | [INFO] [stdout] 176 | let sock_ref = sock.deref(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `std::net::UdpSocket` does not implement `Deref`, so calling `deref` on `&std::net::UdpSocket` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 176 - let sock_ref = sock.deref(); [INFO] [stdout] 176 + let sock_ref = sock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling time-macros v0.2.8 [INFO] [stderr] Compiling colored v2.0.0 [INFO] [stderr] Compiling hash32 v0.2.1 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling heapless v0.7.16 [INFO] [stderr] Compiling time v0.3.20 [INFO] [stderr] Compiling serde-json-core v0.5.0 [INFO] [stderr] Compiling simple_logger v2.3.0 [INFO] [stderr] Compiling toad v1.0.0-beta.9 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Step` [INFO] [stdout] --> examples/server.rs:13:27 [INFO] [stdout] | [INFO] [stdout] 13 | use toad::step::{runtime, Step}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `toad_array::Array` [INFO] [stdout] --> src/req/builder.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use toad_array::Array; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `toad_array::Array` [INFO] [stdout] --> src/step/handle_acks.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use toad_array::Array; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Effect` [INFO] [stdout] --> src/step/handle_acks.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::platform::{Effect, PlatformTypes}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Code` [INFO] [stdout] --> src/step/handle_acks.rs:191:18 [INFO] [stdout] | [INFO] [stdout] 191 | use toad_msg::{Code, Payload}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Array` [INFO] [stdout] --> src/step/ack.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | use toad_array::{Array, Indexed}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Array` [INFO] [stdout] --> src/step/buffer_responses.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | use toad_array::{Array, Indexed}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `toad_array::Array` [INFO] [stdout] --> src/std/net/secure.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use toad_array::Array; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Monad` [INFO] [stdout] --> src/std/net/secure.rs:123:23 [INFO] [stdout] | [INFO] [stdout] 123 | use naan::prelude::{Monad, MonadOnce}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::server::ap::state::Unhydrated` [INFO] [stdout] --> src/server/path.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::server::ap::state::Unhydrated; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/step/mod.rs:889:35 [INFO] [stdout] | [INFO] [stdout] 889 | poll_req_mock = &mut POLL_REQ_MOCK, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/step/retry.rs:533:3 [INFO] [stdout] | [INFO] [stdout] 533 | / test_step!( [INFO] [stdout] 534 | | GIVEN Retry:: where Dummy: {Step}; [INFO] [stdout] 535 | | WHEN inner_errors [ [INFO] [stdout] 536 | | (inner.poll_req => { Some(Err(nb::Error::Other(()))) }), [INFO] [stdout] ... | [INFO] [stdout] 542 | | ] [INFO] [stdout] 543 | | ); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 889 | poll_req_mock = addr_of_mut!(POLL_REQ_MOCK), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/step/mod.rs:890:36 [INFO] [stdout] | [INFO] [stdout] 890 | poll_resp_mock = &mut POLL_RESP_MOCK, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/step/retry.rs:533:3 [INFO] [stdout] | [INFO] [stdout] 533 | / test_step!( [INFO] [stdout] 534 | | GIVEN Retry:: where Dummy: {Step}; [INFO] [stdout] 535 | | WHEN inner_errors [ [INFO] [stdout] 536 | | (inner.poll_req => { Some(Err(nb::Error::Other(()))) }), [INFO] [stdout] ... | [INFO] [stdout] 542 | | ] [INFO] [stdout] 543 | | ); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 890 | poll_resp_mock = addr_of_mut!(POLL_RESP_MOCK), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/step/mod.rs:889:35 [INFO] [stdout] | [INFO] [stdout] 889 | poll_req_mock = &mut POLL_REQ_MOCK, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/step/retry.rs:545:3 [INFO] [stdout] | [INFO] [stdout] 545 | / test_step!( [INFO] [stdout] 546 | | GIVEN Retry:: where Dummy: {Step}; [INFO] [stdout] 547 | | WHEN inner_blocks [ [INFO] [stdout] 548 | | (inner.poll_req => { Some(Err(nb::Error::WouldBlock)) }), [INFO] [stdout] ... | [INFO] [stdout] 554 | | ] [INFO] [stdout] 555 | | ); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 889 | poll_req_mock = addr_of_mut!(POLL_REQ_MOCK), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/step/mod.rs:890:36 [INFO] [stdout] | [INFO] [stdout] 890 | poll_resp_mock = &mut POLL_RESP_MOCK, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/step/retry.rs:545:3 [INFO] [stdout] | [INFO] [stdout] 545 | / test_step!( [INFO] [stdout] 546 | | GIVEN Retry:: where Dummy: {Step}; [INFO] [stdout] 547 | | WHEN inner_blocks [ [INFO] [stdout] 548 | | (inner.poll_req => { Some(Err(nb::Error::WouldBlock)) }), [INFO] [stdout] ... | [INFO] [stdout] 554 | | ] [INFO] [stdout] 555 | | ); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 890 | poll_resp_mock = addr_of_mut!(POLL_RESP_MOCK), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/step/mod.rs:889:35 [INFO] [stdout] | [INFO] [stdout] 889 | poll_req_mock = &mut POLL_REQ_MOCK, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/step/observe.rs:585:3 [INFO] [stdout] | [INFO] [stdout] 585 | / test_step!( [INFO] [stdout] 586 | | GIVEN Observe:: where Dummy: {Step}; [INFO] [stdout] 587 | | WHEN inner_errors [ [INFO] [stdout] 588 | | (inner.poll_req = { |_, _| Some(Err(nb::Error::Other(()))) }), [INFO] [stdout] ... | [INFO] [stdout] 594 | | ] [INFO] [stdout] 595 | | ); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 889 | poll_req_mock = addr_of_mut!(POLL_REQ_MOCK), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/step/mod.rs:890:36 [INFO] [stdout] | [INFO] [stdout] 890 | poll_resp_mock = &mut POLL_RESP_MOCK, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/step/observe.rs:585:3 [INFO] [stdout] | [INFO] [stdout] 585 | / test_step!( [INFO] [stdout] 586 | | GIVEN Observe:: where Dummy: {Step}; [INFO] [stdout] 587 | | WHEN inner_errors [ [INFO] [stdout] 588 | | (inner.poll_req = { |_, _| Some(Err(nb::Error::Other(()))) }), [INFO] [stdout] ... | [INFO] [stdout] 594 | | ] [INFO] [stdout] 595 | | ); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 890 | poll_resp_mock = addr_of_mut!(POLL_RESP_MOCK), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/step/mod.rs:890:36 [INFO] [stdout] | [INFO] [stdout] 890 | poll_resp_mock = &mut POLL_RESP_MOCK, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/step/observe.rs:597:3 [INFO] [stdout] | [INFO] [stdout] 597 | / test_step!( [INFO] [stdout] 598 | | GIVEN Observe:: where Dummy: {Step}; [INFO] [stdout] 599 | | WHEN inner_poll_req_oks [ [INFO] [stdout] 600 | | (inner.poll_resp = { |_, _, _, _| Some(Ok(Addrd(Resp::from(Message::new(Type::Con, Code::new(2, 4), Id(1), Token(Default::default... [INFO] [stdout] ... | [INFO] [stdout] 605 | | ] [INFO] [stdout] 606 | | ); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 890 | poll_resp_mock = addr_of_mut!(POLL_RESP_MOCK), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/step/mod.rs:889:35 [INFO] [stdout] | [INFO] [stdout] 889 | poll_req_mock = &mut POLL_REQ_MOCK, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/step/observe.rs:643:3 [INFO] [stdout] | [INFO] [stdout] 643 | / test_step!( [INFO] [stdout] 644 | | GIVEN Observe:: where Dummy: {Step}; [INFO] [stdout] 645 | | WHEN client_subscribes_and_event_fires [ [INFO] [stdout] 646 | | (inner.poll_req = { poll_req_emitting_single_register_request(11) }), [INFO] [stdout] ... | [INFO] [stdout] 664 | | ] [INFO] [stdout] 665 | | ); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 889 | poll_req_mock = addr_of_mut!(POLL_REQ_MOCK), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/step/mod.rs:889:35 [INFO] [stdout] | [INFO] [stdout] 889 | poll_req_mock = &mut POLL_REQ_MOCK, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/step/observe.rs:667:3 [INFO] [stdout] | [INFO] [stdout] 667 | / test_step!( [INFO] [stdout] 668 | | GIVEN Observe:: where Dummy: {Step}; [INFO] [stdout] 669 | | WHEN response_to_subscriber_is_sent [ [INFO] [stdout] 670 | | // Store 2 subscriptions [INFO] [stdout] ... | [INFO] [stdout] 693 | | ] [INFO] [stdout] 694 | | ); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 889 | poll_req_mock = addr_of_mut!(POLL_REQ_MOCK), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/step/mod.rs:889:35 [INFO] [stdout] | [INFO] [stdout] 889 | poll_req_mock = &mut POLL_REQ_MOCK, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/step/observe.rs:696:3 [INFO] [stdout] | [INFO] [stdout] 696 | / test_step!( [INFO] [stdout] 697 | | GIVEN Observe:: where Dummy: {Step}; [INFO] [stdout] 698 | | WHEN client_subscribes_and_unrelated_event_fires [ [INFO] [stdout] 699 | | (inner.poll_req = { poll_req_emitting_single_register_request(3) }), [INFO] [stdout] ... | [INFO] [stdout] 709 | | ] [INFO] [stdout] 710 | | ); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 889 | poll_req_mock = addr_of_mut!(POLL_REQ_MOCK), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/step/mod.rs:889:35 [INFO] [stdout] | [INFO] [stdout] 889 | poll_req_mock = &mut POLL_REQ_MOCK, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/step/observe.rs:712:3 [INFO] [stdout] | [INFO] [stdout] 712 | / test_step!( [INFO] [stdout] 713 | | GIVEN Observe:: where Dummy: {Step}; [INFO] [stdout] 714 | | WHEN client_subscribes_and_multiple_events_fire [ [INFO] [stdout] 715 | | (inner.poll_req = { poll_req_emitting_single_register_request(41) }), [INFO] [stdout] ... | [INFO] [stdout] 735 | | ] [INFO] [stdout] 736 | | ); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 889 | poll_req_mock = addr_of_mut!(POLL_REQ_MOCK), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/step/mod.rs:889:35 [INFO] [stdout] | [INFO] [stdout] 889 | poll_req_mock = &mut POLL_REQ_MOCK, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/step/provision_tokens.rs:163:3 [INFO] [stdout] | [INFO] [stdout] 163 | / test_step!( [INFO] [stdout] 164 | | GIVEN ProvisionTokens:: where Dummy: {Step}; [INFO] [stdout] 165 | | WHEN inner_errors [ [INFO] [stdout] 166 | | (inner.poll_req => { Some(Err(nb::Error::Other(()))) }), [INFO] [stdout] ... | [INFO] [stdout] 172 | | ] [INFO] [stdout] 173 | | ); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 889 | poll_req_mock = addr_of_mut!(POLL_REQ_MOCK), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/step/mod.rs:890:36 [INFO] [stdout] | [INFO] [stdout] 890 | poll_resp_mock = &mut POLL_RESP_MOCK, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/step/provision_tokens.rs:163:3 [INFO] [stdout] | [INFO] [stdout] 163 | / test_step!( [INFO] [stdout] 164 | | GIVEN ProvisionTokens:: where Dummy: {Step}; [INFO] [stdout] 165 | | WHEN inner_errors [ [INFO] [stdout] 166 | | (inner.poll_req => { Some(Err(nb::Error::Other(()))) }), [INFO] [stdout] ... | [INFO] [stdout] 172 | | ] [INFO] [stdout] 173 | | ); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 890 | poll_resp_mock = addr_of_mut!(POLL_RESP_MOCK), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/step/mod.rs:889:35 [INFO] [stdout] | [INFO] [stdout] 889 | poll_req_mock = &mut POLL_REQ_MOCK, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/step/provision_tokens.rs:175:3 [INFO] [stdout] | [INFO] [stdout] 175 | / test_step!( [INFO] [stdout] 176 | | GIVEN ProvisionTokens:: where Dummy: {Step}; [INFO] [stdout] 177 | | WHEN inner_blocks [ [INFO] [stdout] 178 | | (inner.poll_req => { Some(Err(nb::Error::WouldBlock)) }), [INFO] [stdout] ... | [INFO] [stdout] 184 | | ] [INFO] [stdout] 185 | | ); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 889 | poll_req_mock = addr_of_mut!(POLL_REQ_MOCK), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/step/mod.rs:890:36 [INFO] [stdout] | [INFO] [stdout] 890 | poll_resp_mock = &mut POLL_RESP_MOCK, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/step/provision_tokens.rs:175:3 [INFO] [stdout] | [INFO] [stdout] 175 | / test_step!( [INFO] [stdout] 176 | | GIVEN ProvisionTokens:: where Dummy: {Step}; [INFO] [stdout] 177 | | WHEN inner_blocks [ [INFO] [stdout] 178 | | (inner.poll_req => { Some(Err(nb::Error::WouldBlock)) }), [INFO] [stdout] ... | [INFO] [stdout] 184 | | ] [INFO] [stdout] 185 | | ); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 890 | poll_resp_mock = addr_of_mut!(POLL_RESP_MOCK), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/step/mod.rs:891:46 [INFO] [stdout] | [INFO] [stdout] 891 | before_message_sent_mock = &mut BEFORE_MESSAGE_SENT_MOCK, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/step/provision_tokens.rs:187:3 [INFO] [stdout] | [INFO] [stdout] 187 | / test_step!( [INFO] [stdout] 188 | | GIVEN ProvisionTokens:: where Dummy: {Step}; [INFO] [stdout] 189 | | WHEN we_boutta_send_a_request [ [INFO] [stdout] 190 | | (inner.before_message_sent = { |_, _, _| Ok(()) }) [INFO] [stdout] ... | [INFO] [stdout] 200 | | ] [INFO] [stdout] 201 | | ); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 891 | before_message_sent_mock = addr_of_mut!(BEFORE_MESSAGE_SENT_MOCK), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/step/mod.rs:891:46 [INFO] [stdout] | [INFO] [stdout] 891 | before_message_sent_mock = &mut BEFORE_MESSAGE_SENT_MOCK, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/step/provision_tokens.rs:203:3 [INFO] [stdout] | [INFO] [stdout] 203 | / test_step!( [INFO] [stdout] 204 | | GIVEN ProvisionTokens:: where Dummy: {Step}; [INFO] [stdout] 205 | | WHEN we_boutta_send_a_response [ [INFO] [stdout] 206 | | (inner.before_message_sent = { |_, _, _| Ok(()) }) [INFO] [stdout] ... | [INFO] [stdout] 216 | | ] [INFO] [stdout] 217 | | ); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 891 | before_message_sent_mock = addr_of_mut!(BEFORE_MESSAGE_SENT_MOCK), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/step/mod.rs:889:35 [INFO] [stdout] | [INFO] [stdout] 889 | poll_req_mock = &mut POLL_REQ_MOCK, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/step/provision_ids.rs:396:3 [INFO] [stdout] | [INFO] [stdout] 396 | / test_step!( [INFO] [stdout] 397 | | GIVEN ProvisionIds:: where Dummy: {Step}; [INFO] [stdout] 398 | | WHEN inner_errors [ [INFO] [stdout] 399 | | (inner.poll_req => { Some(Err(nb::Error::Other(()))) }), [INFO] [stdout] ... | [INFO] [stdout] 405 | | ] [INFO] [stdout] 406 | | ); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 889 | poll_req_mock = addr_of_mut!(POLL_REQ_MOCK), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/step/mod.rs:890:36 [INFO] [stdout] | [INFO] [stdout] 890 | poll_resp_mock = &mut POLL_RESP_MOCK, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/step/provision_ids.rs:396:3 [INFO] [stdout] | [INFO] [stdout] 396 | / test_step!( [INFO] [stdout] 397 | | GIVEN ProvisionIds:: where Dummy: {Step}; [INFO] [stdout] 398 | | WHEN inner_errors [ [INFO] [stdout] 399 | | (inner.poll_req => { Some(Err(nb::Error::Other(()))) }), [INFO] [stdout] ... | [INFO] [stdout] 405 | | ] [INFO] [stdout] 406 | | ); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 890 | poll_resp_mock = addr_of_mut!(POLL_RESP_MOCK), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/step/mod.rs:889:35 [INFO] [stdout] | [INFO] [stdout] 889 | poll_req_mock = &mut POLL_REQ_MOCK, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/step/provision_ids.rs:408:3 [INFO] [stdout] | [INFO] [stdout] 408 | / test_step!( [INFO] [stdout] 409 | | GIVEN ProvisionIds:: where Dummy: {Step}; [INFO] [stdout] 410 | | WHEN inner_blocks [ [INFO] [stdout] 411 | | (inner.poll_req => { Some(Err(nb::Error::WouldBlock)) }), [INFO] [stdout] ... | [INFO] [stdout] 417 | | ] [INFO] [stdout] 418 | | ); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 889 | poll_req_mock = addr_of_mut!(POLL_REQ_MOCK), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/step/mod.rs:890:36 [INFO] [stdout] | [INFO] [stdout] 890 | poll_resp_mock = &mut POLL_RESP_MOCK, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/step/provision_ids.rs:408:3 [INFO] [stdout] | [INFO] [stdout] 408 | / test_step!( [INFO] [stdout] 409 | | GIVEN ProvisionIds:: where Dummy: {Step}; [INFO] [stdout] 410 | | WHEN inner_blocks [ [INFO] [stdout] 411 | | (inner.poll_req => { Some(Err(nb::Error::WouldBlock)) }), [INFO] [stdout] ... | [INFO] [stdout] 417 | | ] [INFO] [stdout] 418 | | ); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 890 | poll_resp_mock = addr_of_mut!(POLL_RESP_MOCK), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/step/mod.rs:889:35 [INFO] [stdout] | [INFO] [stdout] 889 | poll_req_mock = &mut POLL_REQ_MOCK, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/step/provision_ids.rs:428:3 [INFO] [stdout] | [INFO] [stdout] 428 | / test_step!( [INFO] [stdout] 429 | | GIVEN ProvisionIds:: where Dummy: {Step}; [INFO] [stdout] 430 | | WHEN req_or_resp_recvd_with_id_zero [ [INFO] [stdout] 431 | | (inner.poll_req => { Some(Ok(test_msg(Id(0)).map(Req::from))) }), [INFO] [stdout] ... | [INFO] [stdout] 437 | | ] [INFO] [stdout] 438 | | ); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 889 | poll_req_mock = addr_of_mut!(POLL_REQ_MOCK), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/step/mod.rs:890:36 [INFO] [stdout] | [INFO] [stdout] 890 | poll_resp_mock = &mut POLL_RESP_MOCK, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/step/provision_ids.rs:428:3 [INFO] [stdout] | [INFO] [stdout] 428 | / test_step!( [INFO] [stdout] 429 | | GIVEN ProvisionIds:: where Dummy: {Step}; [INFO] [stdout] 430 | | WHEN req_or_resp_recvd_with_id_zero [ [INFO] [stdout] 431 | | (inner.poll_req => { Some(Ok(test_msg(Id(0)).map(Req::from))) }), [INFO] [stdout] ... | [INFO] [stdout] 437 | | ] [INFO] [stdout] 438 | | ); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 890 | poll_resp_mock = addr_of_mut!(POLL_RESP_MOCK), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/step/mod.rs:889:35 [INFO] [stdout] | [INFO] [stdout] 889 | poll_req_mock = &mut POLL_REQ_MOCK, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/step/handle_acks.rs:215:3 [INFO] [stdout] | [INFO] [stdout] 215 | / test_step!( [INFO] [stdout] 216 | | GIVEN HandleAcks:: where Dummy: {Step}; [INFO] [stdout] 217 | | WHEN inner_errors [ [INFO] [stdout] 218 | | (inner.poll_req => { Some(Err(nb::Error::Other(()))) }), [INFO] [stdout] ... | [INFO] [stdout] 226 | | ] [INFO] [stdout] 227 | | ); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 889 | poll_req_mock = addr_of_mut!(POLL_REQ_MOCK), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/step/mod.rs:890:36 [INFO] [stdout] | [INFO] [stdout] 890 | poll_resp_mock = &mut POLL_RESP_MOCK, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/step/handle_acks.rs:215:3 [INFO] [stdout] | [INFO] [stdout] 215 | / test_step!( [INFO] [stdout] 216 | | GIVEN HandleAcks:: where Dummy: {Step}; [INFO] [stdout] 217 | | WHEN inner_errors [ [INFO] [stdout] 218 | | (inner.poll_req => { Some(Err(nb::Error::Other(()))) }), [INFO] [stdout] ... | [INFO] [stdout] 226 | | ] [INFO] [stdout] 227 | | ); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 890 | poll_resp_mock = addr_of_mut!(POLL_RESP_MOCK), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/step/mod.rs:892:42 [INFO] [stdout] | [INFO] [stdout] 892 | on_message_sent_mock = &mut ON_MESSAGE_SENT_MOCK, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/step/handle_acks.rs:215:3 [INFO] [stdout] | [INFO] [stdout] 215 | / test_step!( [INFO] [stdout] 216 | | GIVEN HandleAcks:: where Dummy: {Step}; [INFO] [stdout] 217 | | WHEN inner_errors [ [INFO] [stdout] 218 | | (inner.poll_req => { Some(Err(nb::Error::Other(()))) }), [INFO] [stdout] ... | [INFO] [stdout] 226 | | ] [INFO] [stdout] 227 | | ); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 892 | on_message_sent_mock = addr_of_mut!(ON_MESSAGE_SENT_MOCK), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/step/mod.rs:889:35 [INFO] [stdout] | [INFO] [stdout] 889 | poll_req_mock = &mut POLL_REQ_MOCK, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/step/handle_acks.rs:229:3 [INFO] [stdout] | [INFO] [stdout] 229 | / test_step!( [INFO] [stdout] 230 | | GIVEN HandleAcks:: where Dummy: {Step}; [INFO] [stdout] 231 | | WHEN inner_blocks [ [INFO] [stdout] 232 | | (inner.poll_req => { Some(Err(nb::Error::WouldBlock)) }), [INFO] [stdout] ... | [INFO] [stdout] 238 | | ] [INFO] [stdout] 239 | | ); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 889 | poll_req_mock = addr_of_mut!(POLL_REQ_MOCK), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/step/mod.rs:890:36 [INFO] [stdout] | [INFO] [stdout] 890 | poll_resp_mock = &mut POLL_RESP_MOCK, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/step/handle_acks.rs:229:3 [INFO] [stdout] | [INFO] [stdout] 229 | / test_step!( [INFO] [stdout] 230 | | GIVEN HandleAcks:: where Dummy: {Step}; [INFO] [stdout] 231 | | WHEN inner_blocks [ [INFO] [stdout] 232 | | (inner.poll_req => { Some(Err(nb::Error::WouldBlock)) }), [INFO] [stdout] ... | [INFO] [stdout] 238 | | ] [INFO] [stdout] 239 | | ); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 890 | poll_resp_mock = addr_of_mut!(POLL_RESP_MOCK), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/step/mod.rs:889:35 [INFO] [stdout] | [INFO] [stdout] 889 | poll_req_mock = &mut POLL_REQ_MOCK, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/step/handle_acks.rs:241:3 [INFO] [stdout] | [INFO] [stdout] 241 | / test_step!( [INFO] [stdout] 242 | | GIVEN HandleAcks:: where Dummy: {Step}; [INFO] [stdout] 243 | | WHEN unexpected_ack_received [ [INFO] [stdout] 244 | | (inner.poll_req => { Some(Ok(test::msg!(ACK {0 . 01} x.x.x.x:8080).map(Req::from))) }), [INFO] [stdout] ... | [INFO] [stdout] 266 | | ] [INFO] [stdout] 267 | | ); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 889 | poll_req_mock = addr_of_mut!(POLL_REQ_MOCK), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/step/mod.rs:890:36 [INFO] [stdout] | [INFO] [stdout] 890 | poll_resp_mock = &mut POLL_RESP_MOCK, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/step/handle_acks.rs:241:3 [INFO] [stdout] | [INFO] [stdout] 241 | / test_step!( [INFO] [stdout] 242 | | GIVEN HandleAcks:: where Dummy: {Step}; [INFO] [stdout] 243 | | WHEN unexpected_ack_received [ [INFO] [stdout] 244 | | (inner.poll_req => { Some(Ok(test::msg!(ACK {0 . 01} x.x.x.x:8080).map(Req::from))) }), [INFO] [stdout] ... | [INFO] [stdout] 266 | | ] [INFO] [stdout] 267 | | ); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 890 | poll_resp_mock = addr_of_mut!(POLL_RESP_MOCK), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/step/mod.rs:892:42 [INFO] [stdout] | [INFO] [stdout] 892 | on_message_sent_mock = &mut ON_MESSAGE_SENT_MOCK, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/step/handle_acks.rs:241:3 [INFO] [stdout] | [INFO] [stdout] 241 | / test_step!( [INFO] [stdout] 242 | | GIVEN HandleAcks:: where Dummy: {Step}; [INFO] [stdout] 243 | | WHEN unexpected_ack_received [ [INFO] [stdout] 244 | | (inner.poll_req => { Some(Ok(test::msg!(ACK {0 . 01} x.x.x.x:8080).map(Req::from))) }), [INFO] [stdout] ... | [INFO] [stdout] 266 | | ] [INFO] [stdout] 267 | | ); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 892 | on_message_sent_mock = addr_of_mut!(ON_MESSAGE_SENT_MOCK), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/step/mod.rs:889:35 [INFO] [stdout] | [INFO] [stdout] 889 | poll_req_mock = &mut POLL_REQ_MOCK, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/step/ack.rs:105:3 [INFO] [stdout] | [INFO] [stdout] 105 | / test::test_step!( [INFO] [stdout] 106 | | GIVEN Ack:: where Dummy: {Step}; [INFO] [stdout] 107 | | WHEN inner_errors [ [INFO] [stdout] 108 | | (inner.poll_req => { Some(Err(nb::Error::Other(()))) }), [INFO] [stdout] ... | [INFO] [stdout] 114 | | ] [INFO] [stdout] 115 | | ); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `test::test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 889 | poll_req_mock = addr_of_mut!(POLL_REQ_MOCK), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/step/mod.rs:890:36 [INFO] [stdout] | [INFO] [stdout] 890 | poll_resp_mock = &mut POLL_RESP_MOCK, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/step/ack.rs:105:3 [INFO] [stdout] | [INFO] [stdout] 105 | / test::test_step!( [INFO] [stdout] 106 | | GIVEN Ack:: where Dummy: {Step}; [INFO] [stdout] 107 | | WHEN inner_errors [ [INFO] [stdout] 108 | | (inner.poll_req => { Some(Err(nb::Error::Other(()))) }), [INFO] [stdout] ... | [INFO] [stdout] 114 | | ] [INFO] [stdout] 115 | | ); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `test::test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 890 | poll_resp_mock = addr_of_mut!(POLL_RESP_MOCK), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/step/mod.rs:889:35 [INFO] [stdout] | [INFO] [stdout] 889 | poll_req_mock = &mut POLL_REQ_MOCK, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/step/ack.rs:117:3 [INFO] [stdout] | [INFO] [stdout] 117 | / test::test_step!( [INFO] [stdout] 118 | | GIVEN Ack:: where Dummy: {Step}; [INFO] [stdout] 119 | | WHEN inner_blocks [ [INFO] [stdout] 120 | | (inner.poll_req => { Some(Err(nb::Error::WouldBlock)) }), [INFO] [stdout] ... | [INFO] [stdout] 126 | | ] [INFO] [stdout] 127 | | ); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `test::test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 889 | poll_req_mock = addr_of_mut!(POLL_REQ_MOCK), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/step/mod.rs:890:36 [INFO] [stdout] | [INFO] [stdout] 890 | poll_resp_mock = &mut POLL_RESP_MOCK, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/step/ack.rs:117:3 [INFO] [stdout] | [INFO] [stdout] 117 | / test::test_step!( [INFO] [stdout] 118 | | GIVEN Ack:: where Dummy: {Step}; [INFO] [stdout] 119 | | WHEN inner_blocks [ [INFO] [stdout] 120 | | (inner.poll_req => { Some(Err(nb::Error::WouldBlock)) }), [INFO] [stdout] ... | [INFO] [stdout] 126 | | ] [INFO] [stdout] 127 | | ); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `test::test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 890 | poll_resp_mock = addr_of_mut!(POLL_RESP_MOCK), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/step/mod.rs:889:35 [INFO] [stdout] | [INFO] [stdout] 889 | poll_req_mock = &mut POLL_REQ_MOCK, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/step/ack.rs:129:3 [INFO] [stdout] | [INFO] [stdout] 129 | / test::test_step!( [INFO] [stdout] 130 | | GIVEN Ack:: where Dummy: {Step}; [INFO] [stdout] 131 | | WHEN inner_yields_non_request [ [INFO] [stdout] 132 | | (inner.poll_req => { Some(Ok(test_msg(Type::Non, Code::new(1, 01)).0)) }) [INFO] [stdout] ... | [INFO] [stdout] 137 | | ] [INFO] [stdout] 138 | | ); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `test::test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 889 | poll_req_mock = addr_of_mut!(POLL_REQ_MOCK), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/step/mod.rs:889:35 [INFO] [stdout] | [INFO] [stdout] 889 | poll_req_mock = &mut POLL_REQ_MOCK, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/step/ack.rs:140:3 [INFO] [stdout] | [INFO] [stdout] 140 | / test::test_step!( [INFO] [stdout] 141 | | GIVEN Ack:: where Dummy: {Step}; [INFO] [stdout] 142 | | WHEN inner_yields_response [ [INFO] [stdout] 143 | | (inner.poll_req => { Some(Ok(test_msg(Type::Ack, Code::new(0, 00)).0)) }) [INFO] [stdout] ... | [INFO] [stdout] 148 | | ] [INFO] [stdout] 149 | | ); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `test::test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 889 | poll_req_mock = addr_of_mut!(POLL_REQ_MOCK), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/step/mod.rs:889:35 [INFO] [stdout] | [INFO] [stdout] 889 | poll_req_mock = &mut POLL_REQ_MOCK, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/step/ack.rs:151:3 [INFO] [stdout] | [INFO] [stdout] 151 | / test::test_step!( [INFO] [stdout] 152 | | GIVEN Ack:: where Dummy: {Step}; [INFO] [stdout] 153 | | WHEN inner_yields_con_request [ [INFO] [stdout] 154 | | (inner.poll_req => { Some(Ok(test_msg(Type::Con, Code::new(0, 01)).0)) }) [INFO] [stdout] ... | [INFO] [stdout] 169 | | ] [INFO] [stdout] 170 | | ); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `test::test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 889 | poll_req_mock = addr_of_mut!(POLL_REQ_MOCK), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/step/mod.rs:890:36 [INFO] [stdout] | [INFO] [stdout] 890 | poll_resp_mock = &mut POLL_RESP_MOCK, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/step/ack.rs:172:3 [INFO] [stdout] | [INFO] [stdout] 172 | / test::test_step!( [INFO] [stdout] 173 | | GIVEN Ack:: where Dummy: {Step}; [INFO] [stdout] 174 | | WHEN inner_yields_anything [ [INFO] [stdout] 175 | | (inner.poll_resp => { Some(Ok(test_msg(Type::Ack, Code::new(2, 04)).1)) }) [INFO] [stdout] ... | [INFO] [stdout] 180 | | ] [INFO] [stdout] 181 | | ); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `test::test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 890 | poll_resp_mock = addr_of_mut!(POLL_RESP_MOCK), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/step/mod.rs:889:35 [INFO] [stdout] | [INFO] [stdout] 889 | poll_req_mock = &mut POLL_REQ_MOCK, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/step/set_standard_options.rs:106:3 [INFO] [stdout] | [INFO] [stdout] 106 | / test_step!( [INFO] [stdout] 107 | | GIVEN SetStandardOptions:: where Dummy: {Step}; [INFO] [stdout] 108 | | WHEN inner_errors [ [INFO] [stdout] 109 | | (inner.poll_req => { Some(Err(nb::Error::Other(()))) }), [INFO] [stdout] ... | [INFO] [stdout] 117 | | ] [INFO] [stdout] 118 | | ); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 889 | poll_req_mock = addr_of_mut!(POLL_REQ_MOCK), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/step/mod.rs:890:36 [INFO] [stdout] | [INFO] [stdout] 890 | poll_resp_mock = &mut POLL_RESP_MOCK, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/step/set_standard_options.rs:106:3 [INFO] [stdout] | [INFO] [stdout] 106 | / test_step!( [INFO] [stdout] 107 | | GIVEN SetStandardOptions:: where Dummy: {Step}; [INFO] [stdout] 108 | | WHEN inner_errors [ [INFO] [stdout] 109 | | (inner.poll_req => { Some(Err(nb::Error::Other(()))) }), [INFO] [stdout] ... | [INFO] [stdout] 117 | | ] [INFO] [stdout] 118 | | ); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 890 | poll_resp_mock = addr_of_mut!(POLL_RESP_MOCK), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/step/mod.rs:892:42 [INFO] [stdout] | [INFO] [stdout] 892 | on_message_sent_mock = &mut ON_MESSAGE_SENT_MOCK, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/step/set_standard_options.rs:106:3 [INFO] [stdout] | [INFO] [stdout] 106 | / test_step!( [INFO] [stdout] 107 | | GIVEN SetStandardOptions:: where Dummy: {Step}; [INFO] [stdout] 108 | | WHEN inner_errors [ [INFO] [stdout] 109 | | (inner.poll_req => { Some(Err(nb::Error::Other(()))) }), [INFO] [stdout] ... | [INFO] [stdout] 117 | | ] [INFO] [stdout] 118 | | ); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 892 | on_message_sent_mock = addr_of_mut!(ON_MESSAGE_SENT_MOCK), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/step/mod.rs:889:35 [INFO] [stdout] | [INFO] [stdout] 889 | poll_req_mock = &mut POLL_REQ_MOCK, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/step/set_standard_options.rs:120:3 [INFO] [stdout] | [INFO] [stdout] 120 | / test_step!( [INFO] [stdout] 121 | | GIVEN SetStandardOptions:: where Dummy: {Step}; [INFO] [stdout] 122 | | WHEN inner_blocks [ [INFO] [stdout] 123 | | (inner.poll_req => { Some(Err(nb::Error::WouldBlock)) }), [INFO] [stdout] ... | [INFO] [stdout] 129 | | ] [INFO] [stdout] 130 | | ); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 889 | poll_req_mock = addr_of_mut!(POLL_REQ_MOCK), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/step/mod.rs:890:36 [INFO] [stdout] | [INFO] [stdout] 890 | poll_resp_mock = &mut POLL_RESP_MOCK, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/step/set_standard_options.rs:120:3 [INFO] [stdout] | [INFO] [stdout] 120 | / test_step!( [INFO] [stdout] 121 | | GIVEN SetStandardOptions:: where Dummy: {Step}; [INFO] [stdout] 122 | | WHEN inner_blocks [ [INFO] [stdout] 123 | | (inner.poll_req => { Some(Err(nb::Error::WouldBlock)) }), [INFO] [stdout] ... | [INFO] [stdout] 129 | | ] [INFO] [stdout] 130 | | ); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 890 | poll_resp_mock = addr_of_mut!(POLL_RESP_MOCK), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/step/mod.rs:889:35 [INFO] [stdout] | [INFO] [stdout] 889 | poll_req_mock = &mut POLL_REQ_MOCK, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/step/buffer_responses.rs:166:3 [INFO] [stdout] | [INFO] [stdout] 166 | / test_step!( [INFO] [stdout] 167 | | GIVEN BufferResponses:: where Dummy: {Step}; [INFO] [stdout] 168 | | WHEN inner_errors [ [INFO] [stdout] 169 | | (inner.poll_req => { Some(Err(nb::Error::Other(()))) }), [INFO] [stdout] ... | [INFO] [stdout] 175 | | ] [INFO] [stdout] 176 | | ); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 889 | poll_req_mock = addr_of_mut!(POLL_REQ_MOCK), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/step/mod.rs:890:36 [INFO] [stdout] | [INFO] [stdout] 890 | poll_resp_mock = &mut POLL_RESP_MOCK, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/step/buffer_responses.rs:166:3 [INFO] [stdout] | [INFO] [stdout] 166 | / test_step!( [INFO] [stdout] 167 | | GIVEN BufferResponses:: where Dummy: {Step}; [INFO] [stdout] 168 | | WHEN inner_errors [ [INFO] [stdout] 169 | | (inner.poll_req => { Some(Err(nb::Error::Other(()))) }), [INFO] [stdout] ... | [INFO] [stdout] 175 | | ] [INFO] [stdout] 176 | | ); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 890 | poll_resp_mock = addr_of_mut!(POLL_RESP_MOCK), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/step/mod.rs:889:35 [INFO] [stdout] | [INFO] [stdout] 889 | poll_req_mock = &mut POLL_REQ_MOCK, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/step/buffer_responses.rs:178:3 [INFO] [stdout] | [INFO] [stdout] 178 | / test_step!( [INFO] [stdout] 179 | | GIVEN BufferResponses:: where Dummy: {Step}; [INFO] [stdout] 180 | | WHEN inner_blocks [ [INFO] [stdout] 181 | | (inner.poll_req => { Some(Err(nb::Error::WouldBlock)) }), [INFO] [stdout] ... | [INFO] [stdout] 187 | | ] [INFO] [stdout] 188 | | ); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 889 | poll_req_mock = addr_of_mut!(POLL_REQ_MOCK), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/step/mod.rs:890:36 [INFO] [stdout] | [INFO] [stdout] 890 | poll_resp_mock = &mut POLL_RESP_MOCK, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/step/buffer_responses.rs:178:3 [INFO] [stdout] | [INFO] [stdout] 178 | / test_step!( [INFO] [stdout] 179 | | GIVEN BufferResponses:: where Dummy: {Step}; [INFO] [stdout] 180 | | WHEN inner_blocks [ [INFO] [stdout] 181 | | (inner.poll_req => { Some(Err(nb::Error::WouldBlock)) }), [INFO] [stdout] ... | [INFO] [stdout] 187 | | ] [INFO] [stdout] 188 | | ); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 890 | poll_resp_mock = addr_of_mut!(POLL_RESP_MOCK), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/step/mod.rs:889:35 [INFO] [stdout] | [INFO] [stdout] 889 | poll_req_mock = &mut POLL_REQ_MOCK, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/step/buffer_responses.rs:190:3 [INFO] [stdout] | [INFO] [stdout] 190 | / test_step!( [INFO] [stdout] 191 | | GIVEN BufferResponses:: where Dummy: {Step}; [INFO] [stdout] 192 | | WHEN inner_yields_request [ [INFO] [stdout] 193 | | (inner.poll_req => {{ [INFO] [stdout] ... | [INFO] [stdout] 211 | | ] [INFO] [stdout] 212 | | ); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 889 | poll_req_mock = addr_of_mut!(POLL_REQ_MOCK), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/step/mod.rs:890:36 [INFO] [stdout] | [INFO] [stdout] 890 | poll_resp_mock = &mut POLL_RESP_MOCK, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/step/buffer_responses.rs:214:3 [INFO] [stdout] | [INFO] [stdout] 214 | / test_step!( [INFO] [stdout] 215 | | GIVEN BufferResponses:: where Dummy: {Step}; [INFO] [stdout] 216 | | WHEN inner_yields_response [ [INFO] [stdout] 217 | | (inner.poll_resp = { [INFO] [stdout] ... | [INFO] [stdout] 363 | | ] [INFO] [stdout] 364 | | ); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 890 | poll_resp_mock = addr_of_mut!(POLL_RESP_MOCK), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/step/mod.rs:889:35 [INFO] [stdout] | [INFO] [stdout] 889 | poll_req_mock = &mut POLL_REQ_MOCK, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/step/parse.rs:142:3 [INFO] [stdout] | [INFO] [stdout] 142 | / test::test_step!( [INFO] [stdout] 143 | | GIVEN Parse:: where Dummy: {Step}; [INFO] [stdout] 144 | | WHEN inner_errors [ [INFO] [stdout] 145 | | (inner.poll_req => { Some(Err(nb::Error::Other(()))) }), [INFO] [stdout] ... | [INFO] [stdout] 152 | | ] [INFO] [stdout] 153 | | ); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `test::test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 889 | poll_req_mock = addr_of_mut!(POLL_REQ_MOCK), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/step/mod.rs:890:36 [INFO] [stdout] | [INFO] [stdout] 890 | poll_resp_mock = &mut POLL_RESP_MOCK, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/step/parse.rs:142:3 [INFO] [stdout] | [INFO] [stdout] 142 | / test::test_step!( [INFO] [stdout] 143 | | GIVEN Parse:: where Dummy: {Step}; [INFO] [stdout] 144 | | WHEN inner_errors [ [INFO] [stdout] 145 | | (inner.poll_req => { Some(Err(nb::Error::Other(()))) }), [INFO] [stdout] ... | [INFO] [stdout] 152 | | ] [INFO] [stdout] 153 | | ); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `test::test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 890 | poll_resp_mock = addr_of_mut!(POLL_RESP_MOCK), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/step/mod.rs:889:35 [INFO] [stdout] | [INFO] [stdout] 889 | poll_req_mock = &mut POLL_REQ_MOCK, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/step/parse.rs:155:3 [INFO] [stdout] | [INFO] [stdout] 155 | / test::test_step!( [INFO] [stdout] 156 | | GIVEN Parse:: where Dummy: {Step}; [INFO] [stdout] 157 | | WHEN inner_would_block [ [INFO] [stdout] 158 | | (inner.poll_req => { Some(Err(nb::Error::WouldBlock)) }), [INFO] [stdout] ... | [INFO] [stdout] 164 | | ] [INFO] [stdout] 165 | | ); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `test::test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 889 | poll_req_mock = addr_of_mut!(POLL_REQ_MOCK), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/step/mod.rs:890:36 [INFO] [stdout] | [INFO] [stdout] 890 | poll_resp_mock = &mut POLL_RESP_MOCK, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/step/parse.rs:155:3 [INFO] [stdout] | [INFO] [stdout] 155 | / test::test_step!( [INFO] [stdout] 156 | | GIVEN Parse:: where Dummy: {Step}; [INFO] [stdout] 157 | | WHEN inner_would_block [ [INFO] [stdout] 158 | | (inner.poll_req => { Some(Err(nb::Error::WouldBlock)) }), [INFO] [stdout] ... | [INFO] [stdout] 164 | | ] [INFO] [stdout] 165 | | ); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `test::test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 890 | poll_resp_mock = addr_of_mut!(POLL_RESP_MOCK), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/step/mod.rs:889:35 [INFO] [stdout] | [INFO] [stdout] 889 | poll_req_mock = &mut POLL_REQ_MOCK, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/step/parse.rs:167:3 [INFO] [stdout] | [INFO] [stdout] 167 | / test::test_step!( [INFO] [stdout] 168 | | GIVEN Parse:: where Dummy: {Step}; [INFO] [stdout] 169 | | WHEN con_request_recvd [ [INFO] [stdout] 170 | | (inner.poll_req => {None}), [INFO] [stdout] ... | [INFO] [stdout] 181 | | ] [INFO] [stdout] 182 | | ); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `test::test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 889 | poll_req_mock = addr_of_mut!(POLL_REQ_MOCK), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/step/mod.rs:889:35 [INFO] [stdout] | [INFO] [stdout] 889 | poll_req_mock = &mut POLL_REQ_MOCK, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/step/parse.rs:184:3 [INFO] [stdout] | [INFO] [stdout] 184 | / test::test_step!( [INFO] [stdout] 185 | | GIVEN Parse:: where Dummy: {Step}; [INFO] [stdout] 186 | | WHEN empty_ack_recvd [ [INFO] [stdout] 187 | | (inner.poll_req => {None}), [INFO] [stdout] ... | [INFO] [stdout] 198 | | ] [INFO] [stdout] 199 | | ); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `test::test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 889 | poll_req_mock = addr_of_mut!(POLL_REQ_MOCK), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/step/mod.rs:889:35 [INFO] [stdout] | [INFO] [stdout] 889 | poll_req_mock = &mut POLL_REQ_MOCK, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/step/parse.rs:201:3 [INFO] [stdout] | [INFO] [stdout] 201 | / test::test_step!( [INFO] [stdout] 202 | | GIVEN Parse:: where Dummy: {Step}; [INFO] [stdout] 203 | | WHEN piggy_ack_recvd [ [INFO] [stdout] 204 | | (inner.poll_req => {None}), [INFO] [stdout] ... | [INFO] [stdout] 215 | | ] [INFO] [stdout] 216 | | ); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `test::test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 889 | poll_req_mock = addr_of_mut!(POLL_REQ_MOCK), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/step/mod.rs:890:36 [INFO] [stdout] | [INFO] [stdout] 890 | poll_resp_mock = &mut POLL_RESP_MOCK, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/step/parse.rs:218:3 [INFO] [stdout] | [INFO] [stdout] 218 | / test::test_step!( [INFO] [stdout] 219 | | GIVEN Parse:: where Dummy: {Step}; [INFO] [stdout] 220 | | WHEN recvd_ack [ [INFO] [stdout] 221 | | (inner.poll_resp => {None}), [INFO] [stdout] ... | [INFO] [stdout] 232 | | ] [INFO] [stdout] 233 | | ); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `test::test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 890 | poll_resp_mock = addr_of_mut!(POLL_RESP_MOCK), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/step/mod.rs:890:36 [INFO] [stdout] | [INFO] [stdout] 890 | poll_resp_mock = &mut POLL_RESP_MOCK, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/step/parse.rs:235:3 [INFO] [stdout] | [INFO] [stdout] 235 | / test::test_step!( [INFO] [stdout] 236 | | GIVEN Parse:: where Dummy: {Step}; [INFO] [stdout] 237 | | WHEN request_recvd [ [INFO] [stdout] 238 | | (inner.poll_resp => {None}), [INFO] [stdout] ... | [INFO] [stdout] 249 | | ] [INFO] [stdout] 250 | | ); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `test::test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 890 | poll_resp_mock = addr_of_mut!(POLL_RESP_MOCK), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/step/set_standard_options.rs:70:23 [INFO] [stdout] | [INFO] [stdout] 70 | msg.as_mut().map(|mut m| { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/server/path.rs:374:11 [INFO] [stdout] | [INFO] [stdout] 374 | let mut m: &mut crate::test::Message = r.data_mut().msg_mut(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Capacity` is never used [INFO] [stdout] --> src/todo.rs:106:18 [INFO] [stdout] | [INFO] [stdout] 106 | pub(crate) trait Capacity: Len { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&platform::Effect>` instead of cloning the inner type [INFO] [stdout] --> src/step/observe.rs:685:37 [INFO] [stdout] | [INFO] [stdout] 685 | match effs.get(0).unwrap().clone() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> src/std/net/secure.rs:176:26 [INFO] [stdout] | [INFO] [stdout] 176 | let sock_ref = sock.deref(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `std::net::UdpSocket` does not implement `Deref`, so calling `deref` on `&std::net::UdpSocket` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 176 - let sock_ref = sock.deref(); [INFO] [stdout] 176 + let sock_ref = sock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 73 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 15.59s [INFO] running `Command { std: "docker" "inspect" "ccf96848f65eec1c43a0b0300b78562f3a4f4e2890b6cc48fb5153f19991eb83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ccf96848f65eec1c43a0b0300b78562f3a4f4e2890b6cc48fb5153f19991eb83", kill_on_drop: false }` [INFO] [stdout] ccf96848f65eec1c43a0b0300b78562f3a4f4e2890b6cc48fb5153f19991eb83 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+1.79.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7204d5559e85ee44f80b224a74f738f49cb677e71df5ca59bd4d84754d5b0d30 [INFO] running `Command { std: "docker" "start" "-a" "7204d5559e85ee44f80b224a74f738f49cb677e71df5ca59bd4d84754d5b0d30", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `rand` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `rand_chacha` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `serde` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `serde_json` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `tinyvec` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `toad-array` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `toad-hash` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `toad-len` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `toad-map` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `toad-stem` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `toad-string` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `toad-writable` dependency) [INFO] [stderr] warning: unused import: `toad_array::Array` [INFO] [stderr] --> src/req/builder.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use toad_array::Array; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Effect` [INFO] [stderr] --> src/step/handle_acks.rs:12:23 [INFO] [stderr] | [INFO] [stderr] 12 | use crate::platform::{Effect, PlatformTypes}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Monad` [INFO] [stderr] --> src/std/net/secure.rs:123:23 [INFO] [stderr] | [INFO] [stderr] 123 | use naan::prelude::{Monad, MonadOnce}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::server::ap::state::Unhydrated` [INFO] [stderr] --> src/server/path.rs:11:7 [INFO] [stderr] | [INFO] [stderr] 11 | use crate::server::ap::state::Unhydrated; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Array` [INFO] [stderr] --> src/step/buffer_responses.rs:4:18 [INFO] [stderr] | [INFO] [stderr] 4 | use toad_array::{Array, Indexed}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `toad_array::Array` [INFO] [stderr] --> src/step/handle_acks.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use toad_array::Array; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Array` [INFO] [stderr] --> src/step/ack.rs:1:18 [INFO] [stderr] | [INFO] [stderr] 1 | use toad_array::{Array, Indexed}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `toad_array::Array` [INFO] [stderr] --> src/std/net/secure.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | use toad_array::Array; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/step/set_standard_options.rs:70:23 [INFO] [stderr] | [INFO] [stderr] 70 | msg.as_mut().map(|mut m| { [INFO] [stderr] | ----^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait `Capacity` is never used [INFO] [stderr] --> src/todo.rs:106:18 [INFO] [stderr] | [INFO] [stderr] 106 | pub(crate) trait Capacity: Len { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stderr] --> src/std/net/secure.rs:176:26 [INFO] [stderr] | [INFO] [stderr] 176 | let sock_ref = sock.deref(); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the type `std::net::UdpSocket` does not implement `Deref`, so calling `deref` on `&std::net::UdpSocket` copies the reference, which does not do anything and can be removed [INFO] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] 176 - let sock_ref = sock.deref(); [INFO] [stderr] 176 + let sock_ref = sock; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused import: `Code` [INFO] [stderr] --> src/step/handle_acks.rs:191:18 [INFO] [stderr] | [INFO] [stderr] 191 | use toad_msg::{Code, Payload}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/step/mod.rs:889:35 [INFO] [stderr] | [INFO] [stderr] 889 | poll_req_mock = &mut POLL_REQ_MOCK, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] ::: src/step/retry.rs:533:3 [INFO] [stderr] | [INFO] [stderr] 533 | / test_step!( [INFO] [stderr] 534 | | GIVEN Retry:: where Dummy: {Step}; [INFO] [stderr] 535 | | WHEN inner_errors [ [INFO] [stderr] 536 | | (inner.poll_req => { Some(Err(nb::Error::Other(()))) }), [INFO] [stderr] ... | [INFO] [stderr] 542 | | ] [INFO] [stderr] 543 | | ); [INFO] [stderr] | |___- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stderr] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stderr] = note: this warning originates in the macro `test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 889 | poll_req_mock = addr_of_mut!(POLL_REQ_MOCK), [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/step/mod.rs:890:36 [INFO] [stderr] | [INFO] [stderr] 890 | poll_resp_mock = &mut POLL_RESP_MOCK, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] ::: src/step/retry.rs:533:3 [INFO] [stderr] | [INFO] [stderr] 533 | / test_step!( [INFO] [stderr] 534 | | GIVEN Retry:: where Dummy: {Step}; [INFO] [stderr] 535 | | WHEN inner_errors [ [INFO] [stderr] 536 | | (inner.poll_req => { Some(Err(nb::Error::Other(()))) }), [INFO] [stderr] ... | [INFO] [stderr] 542 | | ] [INFO] [stderr] 543 | | ); [INFO] [stderr] | |___- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stderr] = note: this warning originates in the macro `test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 890 | poll_resp_mock = addr_of_mut!(POLL_RESP_MOCK), [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/step/mod.rs:889:35 [INFO] [stderr] | [INFO] [stderr] 889 | poll_req_mock = &mut POLL_REQ_MOCK, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] ::: src/step/retry.rs:545:3 [INFO] [stderr] | [INFO] [stderr] 545 | / test_step!( [INFO] [stderr] 546 | | GIVEN Retry:: where Dummy: {Step}; [INFO] [stderr] 547 | | WHEN inner_blocks [ [INFO] [stderr] 548 | | (inner.poll_req => { Some(Err(nb::Error::WouldBlock)) }), [INFO] [stderr] ... | [INFO] [stderr] 554 | | ] [INFO] [stderr] 555 | | ); [INFO] [stderr] | |___- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stderr] = note: this warning originates in the macro `test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 889 | poll_req_mock = addr_of_mut!(POLL_REQ_MOCK), [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/step/mod.rs:890:36 [INFO] [stderr] | [INFO] [stderr] 890 | poll_resp_mock = &mut POLL_RESP_MOCK, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] ::: src/step/retry.rs:545:3 [INFO] [stderr] | [INFO] [stderr] 545 | / test_step!( [INFO] [stderr] 546 | | GIVEN Retry:: where Dummy: {Step}; [INFO] [stderr] 547 | | WHEN inner_blocks [ [INFO] [stderr] 548 | | (inner.poll_req => { Some(Err(nb::Error::WouldBlock)) }), [INFO] [stderr] ... | [INFO] [stderr] 554 | | ] [INFO] [stderr] 555 | | ); [INFO] [stderr] | |___- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stderr] = note: this warning originates in the macro `test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 890 | poll_resp_mock = addr_of_mut!(POLL_RESP_MOCK), [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/step/mod.rs:889:35 [INFO] [stderr] | [INFO] [stderr] 889 | poll_req_mock = &mut POLL_REQ_MOCK, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] ::: src/step/observe.rs:585:3 [INFO] [stderr] | [INFO] [stderr] 585 | / test_step!( [INFO] [stderr] 586 | | GIVEN Observe:: where Dummy: {Step}; [INFO] [stderr] 587 | | WHEN inner_errors [ [INFO] [stderr] 588 | | (inner.poll_req = { |_, _| Some(Err(nb::Error::Other(()))) }), [INFO] [stderr] ... | [INFO] [stderr] 594 | | ] [INFO] [stderr] 595 | | ); [INFO] [stderr] | |___- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stderr] = note: this warning originates in the macro `test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 889 | poll_req_mock = addr_of_mut!(POLL_REQ_MOCK), [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/step/mod.rs:890:36 [INFO] [stderr] | [INFO] [stderr] 890 | poll_resp_mock = &mut POLL_RESP_MOCK, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] ::: src/step/observe.rs:585:3 [INFO] [stderr] | [INFO] [stderr] 585 | / test_step!( [INFO] [stderr] 586 | | GIVEN Observe:: where Dummy: {Step}; [INFO] [stderr] 587 | | WHEN inner_errors [ [INFO] [stderr] 588 | | (inner.poll_req = { |_, _| Some(Err(nb::Error::Other(()))) }), [INFO] [stderr] ... | [INFO] [stderr] 594 | | ] [INFO] [stderr] 595 | | ); [INFO] [stderr] | |___- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stderr] = note: this warning originates in the macro `test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 890 | poll_resp_mock = addr_of_mut!(POLL_RESP_MOCK), [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/step/mod.rs:890:36 [INFO] [stderr] | [INFO] [stderr] 890 | poll_resp_mock = &mut POLL_RESP_MOCK, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] ::: src/step/observe.rs:597:3 [INFO] [stderr] | [INFO] [stderr] 597 | / test_step!( [INFO] [stderr] 598 | | GIVEN Observe:: where Dummy: {Step}; [INFO] [stderr] 599 | | WHEN inner_poll_req_oks [ [INFO] [stderr] 600 | | (inner.poll_resp = { |_, _, _, _| Some(Ok(Addrd(Resp::from(Message::new(Type::Con, Code::new(2, 4), Id(1), Token(Default::default... [INFO] [stderr] ... | [INFO] [stderr] 605 | | ] [INFO] [stderr] 606 | | ); [INFO] [stderr] | |___- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stderr] = note: this warning originates in the macro `test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 890 | poll_resp_mock = addr_of_mut!(POLL_RESP_MOCK), [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/step/mod.rs:889:35 [INFO] [stderr] | [INFO] [stderr] 889 | poll_req_mock = &mut POLL_REQ_MOCK, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] ::: src/step/observe.rs:643:3 [INFO] [stderr] | [INFO] [stderr] 643 | / test_step!( [INFO] [stderr] 644 | | GIVEN Observe:: where Dummy: {Step}; [INFO] [stderr] 645 | | WHEN client_subscribes_and_event_fires [ [INFO] [stderr] 646 | | (inner.poll_req = { poll_req_emitting_single_register_request(11) }), [INFO] [stderr] ... | [INFO] [stderr] 664 | | ] [INFO] [stderr] 665 | | ); [INFO] [stderr] | |___- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stderr] = note: this warning originates in the macro `test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 889 | poll_req_mock = addr_of_mut!(POLL_REQ_MOCK), [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/step/mod.rs:889:35 [INFO] [stderr] | [INFO] [stderr] 889 | poll_req_mock = &mut POLL_REQ_MOCK, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] ::: src/step/observe.rs:667:3 [INFO] [stderr] | [INFO] [stderr] 667 | / test_step!( [INFO] [stderr] 668 | | GIVEN Observe:: where Dummy: {Step}; [INFO] [stderr] 669 | | WHEN response_to_subscriber_is_sent [ [INFO] [stderr] 670 | | // Store 2 subscriptions [INFO] [stderr] ... | [INFO] [stderr] 693 | | ] [INFO] [stderr] 694 | | ); [INFO] [stderr] | |___- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stderr] = note: this warning originates in the macro `test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 889 | poll_req_mock = addr_of_mut!(POLL_REQ_MOCK), [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/step/mod.rs:889:35 [INFO] [stderr] | [INFO] [stderr] 889 | poll_req_mock = &mut POLL_REQ_MOCK, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] ::: src/step/observe.rs:696:3 [INFO] [stderr] | [INFO] [stderr] 696 | / test_step!( [INFO] [stderr] 697 | | GIVEN Observe:: where Dummy: {Step}; [INFO] [stderr] 698 | | WHEN client_subscribes_and_unrelated_event_fires [ [INFO] [stderr] 699 | | (inner.poll_req = { poll_req_emitting_single_register_request(3) }), [INFO] [stderr] ... | [INFO] [stderr] 709 | | ] [INFO] [stderr] 710 | | ); [INFO] [stderr] | |___- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stderr] = note: this warning originates in the macro `test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 889 | poll_req_mock = addr_of_mut!(POLL_REQ_MOCK), [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/step/mod.rs:889:35 [INFO] [stderr] | [INFO] [stderr] 889 | poll_req_mock = &mut POLL_REQ_MOCK, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] ::: src/step/observe.rs:712:3 [INFO] [stderr] | [INFO] [stderr] 712 | / test_step!( [INFO] [stderr] 713 | | GIVEN Observe:: where Dummy: {Step}; [INFO] [stderr] 714 | | WHEN client_subscribes_and_multiple_events_fire [ [INFO] [stderr] 715 | | (inner.poll_req = { poll_req_emitting_single_register_request(41) }), [INFO] [stderr] ... | [INFO] [stderr] 735 | | ] [INFO] [stderr] 736 | | ); [INFO] [stderr] | |___- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stderr] = note: this warning originates in the macro `test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 889 | poll_req_mock = addr_of_mut!(POLL_REQ_MOCK), [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/step/mod.rs:889:35 [INFO] [stderr] | [INFO] [stderr] 889 | poll_req_mock = &mut POLL_REQ_MOCK, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] ::: src/step/provision_tokens.rs:163:3 [INFO] [stderr] | [INFO] [stderr] 163 | / test_step!( [INFO] [stderr] 164 | | GIVEN ProvisionTokens:: where Dummy: {Step}; [INFO] [stderr] 165 | | WHEN inner_errors [ [INFO] [stderr] 166 | | (inner.poll_req => { Some(Err(nb::Error::Other(()))) }), [INFO] [stderr] ... | [INFO] [stderr] 172 | | ] [INFO] [stderr] 173 | | ); [INFO] [stderr] | |___- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stderr] = note: this warning originates in the macro `test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 889 | poll_req_mock = addr_of_mut!(POLL_REQ_MOCK), [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/step/mod.rs:890:36 [INFO] [stderr] | [INFO] [stderr] 890 | poll_resp_mock = &mut POLL_RESP_MOCK, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] ::: src/step/provision_tokens.rs:163:3 [INFO] [stderr] | [INFO] [stderr] 163 | / test_step!( [INFO] [stderr] 164 | | GIVEN ProvisionTokens:: where Dummy: {Step}; [INFO] [stderr] 165 | | WHEN inner_errors [ [INFO] [stderr] 166 | | (inner.poll_req => { Some(Err(nb::Error::Other(()))) }), [INFO] [stderr] ... | [INFO] [stderr] 172 | | ] [INFO] [stderr] 173 | | ); [INFO] [stderr] | |___- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stderr] = note: this warning originates in the macro `test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 890 | poll_resp_mock = addr_of_mut!(POLL_RESP_MOCK), [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/step/mod.rs:889:35 [INFO] [stderr] | [INFO] [stderr] 889 | poll_req_mock = &mut POLL_REQ_MOCK, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] ::: src/step/provision_tokens.rs:175:3 [INFO] [stderr] | [INFO] [stderr] 175 | / test_step!( [INFO] [stderr] 176 | | GIVEN ProvisionTokens:: where Dummy: {Step}; [INFO] [stderr] 177 | | WHEN inner_blocks [ [INFO] [stderr] 178 | | (inner.poll_req => { Some(Err(nb::Error::WouldBlock)) }), [INFO] [stderr] ... | [INFO] [stderr] 184 | | ] [INFO] [stderr] 185 | | ); [INFO] [stderr] | |___- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stderr] = note: this warning originates in the macro `test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 889 | poll_req_mock = addr_of_mut!(POLL_REQ_MOCK), [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/step/mod.rs:890:36 [INFO] [stderr] | [INFO] [stderr] 890 | poll_resp_mock = &mut POLL_RESP_MOCK, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] ::: src/step/provision_tokens.rs:175:3 [INFO] [stderr] | [INFO] [stderr] 175 | / test_step!( [INFO] [stderr] 176 | | GIVEN ProvisionTokens:: where Dummy: {Step}; [INFO] [stderr] 177 | | WHEN inner_blocks [ [INFO] [stderr] 178 | | (inner.poll_req => { Some(Err(nb::Error::WouldBlock)) }), [INFO] [stderr] ... | [INFO] [stderr] 184 | | ] [INFO] [stderr] 185 | | ); [INFO] [stderr] | |___- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stderr] = note: this warning originates in the macro `test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 890 | poll_resp_mock = addr_of_mut!(POLL_RESP_MOCK), [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/step/mod.rs:891:46 [INFO] [stderr] | [INFO] [stderr] 891 | before_message_sent_mock = &mut BEFORE_MESSAGE_SENT_MOCK, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] ::: src/step/provision_tokens.rs:187:3 [INFO] [stderr] | [INFO] [stderr] 187 | / test_step!( [INFO] [stderr] 188 | | GIVEN ProvisionTokens:: where Dummy: {Step}; [INFO] [stderr] 189 | | WHEN we_boutta_send_a_request [ [INFO] [stderr] 190 | | (inner.before_message_sent = { |_, _, _| Ok(()) }) [INFO] [stderr] ... | [INFO] [stderr] 200 | | ] [INFO] [stderr] 201 | | ); [INFO] [stderr] | |___- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stderr] = note: this warning originates in the macro `test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 891 | before_message_sent_mock = addr_of_mut!(BEFORE_MESSAGE_SENT_MOCK), [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/step/mod.rs:891:46 [INFO] [stderr] | [INFO] [stderr] 891 | before_message_sent_mock = &mut BEFORE_MESSAGE_SENT_MOCK, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] ::: src/step/provision_tokens.rs:203:3 [INFO] [stderr] | [INFO] [stderr] 203 | / test_step!( [INFO] [stderr] 204 | | GIVEN ProvisionTokens:: where Dummy: {Step}; [INFO] [stderr] 205 | | WHEN we_boutta_send_a_response [ [INFO] [stderr] 206 | | (inner.before_message_sent = { |_, _, _| Ok(()) }) [INFO] [stderr] ... | [INFO] [stderr] 216 | | ] [INFO] [stderr] 217 | | ); [INFO] [stderr] | |___- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stderr] = note: this warning originates in the macro `test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 891 | before_message_sent_mock = addr_of_mut!(BEFORE_MESSAGE_SENT_MOCK), [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/step/mod.rs:889:35 [INFO] [stderr] | [INFO] [stderr] 889 | poll_req_mock = &mut POLL_REQ_MOCK, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] ::: src/step/provision_ids.rs:396:3 [INFO] [stderr] | [INFO] [stderr] 396 | / test_step!( [INFO] [stderr] 397 | | GIVEN ProvisionIds:: where Dummy: {Step}; [INFO] [stderr] 398 | | WHEN inner_errors [ [INFO] [stderr] 399 | | (inner.poll_req => { Some(Err(nb::Error::Other(()))) }), [INFO] [stderr] ... | [INFO] [stderr] 405 | | ] [INFO] [stderr] 406 | | ); [INFO] [stderr] | |___- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stderr] = note: this warning originates in the macro `test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 889 | poll_req_mock = addr_of_mut!(POLL_REQ_MOCK), [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/step/mod.rs:890:36 [INFO] [stderr] | [INFO] [stderr] 890 | poll_resp_mock = &mut POLL_RESP_MOCK, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] ::: src/step/provision_ids.rs:396:3 [INFO] [stderr] | [INFO] [stderr] 396 | / test_step!( [INFO] [stderr] 397 | | GIVEN ProvisionIds:: where Dummy: {Step}; [INFO] [stderr] 398 | | WHEN inner_errors [ [INFO] [stderr] 399 | | (inner.poll_req => { Some(Err(nb::Error::Other(()))) }), [INFO] [stderr] ... | [INFO] [stderr] 405 | | ] [INFO] [stderr] 406 | | ); [INFO] [stderr] | |___- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stderr] = note: this warning originates in the macro `test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 890 | poll_resp_mock = addr_of_mut!(POLL_RESP_MOCK), [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/step/mod.rs:889:35 [INFO] [stderr] | [INFO] [stderr] 889 | poll_req_mock = &mut POLL_REQ_MOCK, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] ::: src/step/provision_ids.rs:408:3 [INFO] [stderr] | [INFO] [stderr] 408 | / test_step!( [INFO] [stderr] 409 | | GIVEN ProvisionIds:: where Dummy: {Step}; [INFO] [stderr] 410 | | WHEN inner_blocks [ [INFO] [stderr] 411 | | (inner.poll_req => { Some(Err(nb::Error::WouldBlock)) }), [INFO] [stderr] ... | [INFO] [stderr] 417 | | ] [INFO] [stderr] 418 | | ); [INFO] [stderr] | |___- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stderr] = note: this warning originates in the macro `test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 889 | poll_req_mock = addr_of_mut!(POLL_REQ_MOCK), [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/step/mod.rs:890:36 [INFO] [stderr] | [INFO] [stderr] 890 | poll_resp_mock = &mut POLL_RESP_MOCK, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] ::: src/step/provision_ids.rs:408:3 [INFO] [stderr] | [INFO] [stderr] 408 | / test_step!( [INFO] [stderr] 409 | | GIVEN ProvisionIds:: where Dummy: {Step}; [INFO] [stderr] 410 | | WHEN inner_blocks [ [INFO] [stderr] 411 | | (inner.poll_req => { Some(Err(nb::Error::WouldBlock)) }), [INFO] [stderr] ... | [INFO] [stderr] 417 | | ] [INFO] [stderr] 418 | | ); [INFO] [stderr] | |___- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stderr] = note: this warning originates in the macro `test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 890 | poll_resp_mock = addr_of_mut!(POLL_RESP_MOCK), [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/step/mod.rs:889:35 [INFO] [stderr] | [INFO] [stderr] 889 | poll_req_mock = &mut POLL_REQ_MOCK, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] ::: src/step/provision_ids.rs:428:3 [INFO] [stderr] | [INFO] [stderr] 428 | / test_step!( [INFO] [stderr] 429 | | GIVEN ProvisionIds:: where Dummy: {Step}; [INFO] [stderr] 430 | | WHEN req_or_resp_recvd_with_id_zero [ [INFO] [stderr] 431 | | (inner.poll_req => { Some(Ok(test_msg(Id(0)).map(Req::from))) }), [INFO] [stderr] ... | [INFO] [stderr] 437 | | ] [INFO] [stderr] 438 | | ); [INFO] [stderr] | |___- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stderr] = note: this warning originates in the macro `test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 889 | poll_req_mock = addr_of_mut!(POLL_REQ_MOCK), [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/step/mod.rs:890:36 [INFO] [stderr] | [INFO] [stderr] 890 | poll_resp_mock = &mut POLL_RESP_MOCK, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] ::: src/step/provision_ids.rs:428:3 [INFO] [stderr] | [INFO] [stderr] 428 | / test_step!( [INFO] [stderr] 429 | | GIVEN ProvisionIds:: where Dummy: {Step}; [INFO] [stderr] 430 | | WHEN req_or_resp_recvd_with_id_zero [ [INFO] [stderr] 431 | | (inner.poll_req => { Some(Ok(test_msg(Id(0)).map(Req::from))) }), [INFO] [stderr] ... | [INFO] [stderr] 437 | | ] [INFO] [stderr] 438 | | ); [INFO] [stderr] | |___- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stderr] = note: this warning originates in the macro `test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 890 | poll_resp_mock = addr_of_mut!(POLL_RESP_MOCK), [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/step/mod.rs:889:35 [INFO] [stderr] | [INFO] [stderr] 889 | poll_req_mock = &mut POLL_REQ_MOCK, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] ::: src/step/handle_acks.rs:215:3 [INFO] [stderr] | [INFO] [stderr] 215 | / test_step!( [INFO] [stderr] 216 | | GIVEN HandleAcks:: where Dummy: {Step}; [INFO] [stderr] 217 | | WHEN inner_errors [ [INFO] [stderr] 218 | | (inner.poll_req => { Some(Err(nb::Error::Other(()))) }), [INFO] [stderr] ... | [INFO] [stderr] 226 | | ] [INFO] [stderr] 227 | | ); [INFO] [stderr] | |___- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stderr] = note: this warning originates in the macro `test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 889 | poll_req_mock = addr_of_mut!(POLL_REQ_MOCK), [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/step/mod.rs:890:36 [INFO] [stderr] | [INFO] [stderr] 890 | poll_resp_mock = &mut POLL_RESP_MOCK, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] ::: src/step/handle_acks.rs:215:3 [INFO] [stderr] | [INFO] [stderr] 215 | / test_step!( [INFO] [stderr] 216 | | GIVEN HandleAcks:: where Dummy: {Step}; [INFO] [stderr] 217 | | WHEN inner_errors [ [INFO] [stderr] 218 | | (inner.poll_req => { Some(Err(nb::Error::Other(()))) }), [INFO] [stderr] ... | [INFO] [stderr] 226 | | ] [INFO] [stderr] 227 | | ); [INFO] [stderr] | |___- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stderr] = note: this warning originates in the macro `test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 890 | poll_resp_mock = addr_of_mut!(POLL_RESP_MOCK), [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/step/mod.rs:892:42 [INFO] [stderr] | [INFO] [stderr] 892 | on_message_sent_mock = &mut ON_MESSAGE_SENT_MOCK, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] ::: src/step/handle_acks.rs:215:3 [INFO] [stderr] | [INFO] [stderr] 215 | / test_step!( [INFO] [stderr] 216 | | GIVEN HandleAcks:: where Dummy: {Step}; [INFO] [stderr] 217 | | WHEN inner_errors [ [INFO] [stderr] 218 | | (inner.poll_req => { Some(Err(nb::Error::Other(()))) }), [INFO] [stderr] ... | [INFO] [stderr] 226 | | ] [INFO] [stderr] 227 | | ); [INFO] [stderr] | |___- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stderr] = note: this warning originates in the macro `test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 892 | on_message_sent_mock = addr_of_mut!(ON_MESSAGE_SENT_MOCK), [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/step/mod.rs:889:35 [INFO] [stderr] | [INFO] [stderr] 889 | poll_req_mock = &mut POLL_REQ_MOCK, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] ::: src/step/handle_acks.rs:229:3 [INFO] [stderr] | [INFO] [stderr] 229 | / test_step!( [INFO] [stderr] 230 | | GIVEN HandleAcks:: where Dummy: {Step}; [INFO] [stderr] 231 | | WHEN inner_blocks [ [INFO] [stderr] 232 | | (inner.poll_req => { Some(Err(nb::Error::WouldBlock)) }), [INFO] [stderr] ... | [INFO] [stderr] 238 | | ] [INFO] [stderr] 239 | | ); [INFO] [stderr] | |___- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stderr] = note: this warning originates in the macro `test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 889 | poll_req_mock = addr_of_mut!(POLL_REQ_MOCK), [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/step/mod.rs:890:36 [INFO] [stderr] | [INFO] [stderr] 890 | poll_resp_mock = &mut POLL_RESP_MOCK, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] ::: src/step/handle_acks.rs:229:3 [INFO] [stderr] | [INFO] [stderr] 229 | / test_step!( [INFO] [stderr] 230 | | GIVEN HandleAcks:: where Dummy: {Step}; [INFO] [stderr] 231 | | WHEN inner_blocks [ [INFO] [stderr] 232 | | (inner.poll_req => { Some(Err(nb::Error::WouldBlock)) }), [INFO] [stderr] ... | [INFO] [stderr] 238 | | ] [INFO] [stderr] 239 | | ); [INFO] [stderr] | |___- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stderr] = note: this warning originates in the macro `test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 890 | poll_resp_mock = addr_of_mut!(POLL_RESP_MOCK), [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/step/mod.rs:889:35 [INFO] [stderr] | [INFO] [stderr] 889 | poll_req_mock = &mut POLL_REQ_MOCK, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] ::: src/step/handle_acks.rs:241:3 [INFO] [stderr] | [INFO] [stderr] 241 | / test_step!( [INFO] [stderr] 242 | | GIVEN HandleAcks:: where Dummy: {Step}; [INFO] [stderr] 243 | | WHEN unexpected_ack_received [ [INFO] [stderr] 244 | | (inner.poll_req => { Some(Ok(test::msg!(ACK {0 . 01} x.x.x.x:8080).map(Req::from))) }), [INFO] [stderr] ... | [INFO] [stderr] 266 | | ] [INFO] [stderr] 267 | | ); [INFO] [stderr] | |___- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stderr] = note: this warning originates in the macro `test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 889 | poll_req_mock = addr_of_mut!(POLL_REQ_MOCK), [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/step/mod.rs:890:36 [INFO] [stderr] | [INFO] [stderr] 890 | poll_resp_mock = &mut POLL_RESP_MOCK, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] ::: src/step/handle_acks.rs:241:3 [INFO] [stderr] | [INFO] [stderr] 241 | / test_step!( [INFO] [stderr] 242 | | GIVEN HandleAcks:: where Dummy: {Step}; [INFO] [stderr] 243 | | WHEN unexpected_ack_received [ [INFO] [stderr] 244 | | (inner.poll_req => { Some(Ok(test::msg!(ACK {0 . 01} x.x.x.x:8080).map(Req::from))) }), [INFO] [stderr] ... | [INFO] [stderr] 266 | | ] [INFO] [stderr] 267 | | ); [INFO] [stderr] | |___- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stderr] = note: this warning originates in the macro `test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 890 | poll_resp_mock = addr_of_mut!(POLL_RESP_MOCK), [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/step/mod.rs:892:42 [INFO] [stderr] | [INFO] [stderr] 892 | on_message_sent_mock = &mut ON_MESSAGE_SENT_MOCK, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] ::: src/step/handle_acks.rs:241:3 [INFO] [stderr] | [INFO] [stderr] 241 | / test_step!( [INFO] [stderr] 242 | | GIVEN HandleAcks:: where Dummy: {Step}; [INFO] [stderr] 243 | | WHEN unexpected_ack_received [ [INFO] [stderr] 244 | | (inner.poll_req => { Some(Ok(test::msg!(ACK {0 . 01} x.x.x.x:8080).map(Req::from))) }), [INFO] [stderr] ... | [INFO] [stderr] 266 | | ] [INFO] [stderr] 267 | | ); [INFO] [stderr] | |___- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stderr] = note: this warning originates in the macro `test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 892 | on_message_sent_mock = addr_of_mut!(ON_MESSAGE_SENT_MOCK), [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/step/mod.rs:889:35 [INFO] [stderr] | [INFO] [stderr] 889 | poll_req_mock = &mut POLL_REQ_MOCK, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] ::: src/step/ack.rs:105:3 [INFO] [stderr] | [INFO] [stderr] 105 | / test::test_step!( [INFO] [stderr] 106 | | GIVEN Ack:: where Dummy: {Step}; [INFO] [stderr] 107 | | WHEN inner_errors [ [INFO] [stderr] 108 | | (inner.poll_req => { Some(Err(nb::Error::Other(()))) }), [INFO] [stderr] ... | [INFO] [stderr] 114 | | ] [INFO] [stderr] 115 | | ); [INFO] [stderr] | |___- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stderr] = note: this warning originates in the macro `test::test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 889 | poll_req_mock = addr_of_mut!(POLL_REQ_MOCK), [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/step/mod.rs:890:36 [INFO] [stderr] | [INFO] [stderr] 890 | poll_resp_mock = &mut POLL_RESP_MOCK, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] ::: src/step/ack.rs:105:3 [INFO] [stderr] | [INFO] [stderr] 105 | / test::test_step!( [INFO] [stderr] 106 | | GIVEN Ack:: where Dummy: {Step}; [INFO] [stderr] 107 | | WHEN inner_errors [ [INFO] [stderr] 108 | | (inner.poll_req => { Some(Err(nb::Error::Other(()))) }), [INFO] [stderr] ... | [INFO] [stderr] 114 | | ] [INFO] [stderr] 115 | | ); [INFO] [stderr] | |___- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stderr] = note: this warning originates in the macro `test::test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 890 | poll_resp_mock = addr_of_mut!(POLL_RESP_MOCK), [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/step/mod.rs:889:35 [INFO] [stderr] | [INFO] [stderr] 889 | poll_req_mock = &mut POLL_REQ_MOCK, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] ::: src/step/ack.rs:117:3 [INFO] [stderr] | [INFO] [stderr] 117 | / test::test_step!( [INFO] [stderr] 118 | | GIVEN Ack:: where Dummy: {Step}; [INFO] [stderr] 119 | | WHEN inner_blocks [ [INFO] [stderr] 120 | | (inner.poll_req => { Some(Err(nb::Error::WouldBlock)) }), [INFO] [stderr] ... | [INFO] [stderr] 126 | | ] [INFO] [stderr] 127 | | ); [INFO] [stderr] | |___- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stderr] = note: this warning originates in the macro `test::test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 889 | poll_req_mock = addr_of_mut!(POLL_REQ_MOCK), [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/step/mod.rs:890:36 [INFO] [stderr] | [INFO] [stderr] 890 | poll_resp_mock = &mut POLL_RESP_MOCK, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] ::: src/step/ack.rs:117:3 [INFO] [stderr] | [INFO] [stderr] 117 | / test::test_step!( [INFO] [stderr] 118 | | GIVEN Ack:: where Dummy: {Step}; [INFO] [stderr] 119 | | WHEN inner_blocks [ [INFO] [stderr] 120 | | (inner.poll_req => { Some(Err(nb::Error::WouldBlock)) }), [INFO] [stderr] ... | [INFO] [stderr] 126 | | ] [INFO] [stderr] 127 | | ); [INFO] [stderr] | |___- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stderr] = note: this warning originates in the macro `test::test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 890 | poll_resp_mock = addr_of_mut!(POLL_RESP_MOCK), [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/step/mod.rs:889:35 [INFO] [stderr] | [INFO] [stderr] 889 | poll_req_mock = &mut POLL_REQ_MOCK, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] ::: src/step/ack.rs:129:3 [INFO] [stderr] | [INFO] [stderr] 129 | / test::test_step!( [INFO] [stderr] 130 | | GIVEN Ack:: where Dummy: {Step}; [INFO] [stderr] 131 | | WHEN inner_yields_non_request [ [INFO] [stderr] 132 | | (inner.poll_req => { Some(Ok(test_msg(Type::Non, Code::new(1, 01)).0)) }) [INFO] [stderr] ... | [INFO] [stderr] 137 | | ] [INFO] [stderr] 138 | | ); [INFO] [stderr] | |___- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stderr] = note: this warning originates in the macro `test::test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 889 | poll_req_mock = addr_of_mut!(POLL_REQ_MOCK), [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/step/mod.rs:889:35 [INFO] [stderr] | [INFO] [stderr] 889 | poll_req_mock = &mut POLL_REQ_MOCK, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] ::: src/step/ack.rs:140:3 [INFO] [stderr] | [INFO] [stderr] 140 | / test::test_step!( [INFO] [stderr] 141 | | GIVEN Ack:: where Dummy: {Step}; [INFO] [stderr] 142 | | WHEN inner_yields_response [ [INFO] [stderr] 143 | | (inner.poll_req => { Some(Ok(test_msg(Type::Ack, Code::new(0, 00)).0)) }) [INFO] [stderr] ... | [INFO] [stderr] 148 | | ] [INFO] [stderr] 149 | | ); [INFO] [stderr] | |___- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stderr] = note: this warning originates in the macro `test::test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 889 | poll_req_mock = addr_of_mut!(POLL_REQ_MOCK), [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/step/mod.rs:889:35 [INFO] [stderr] | [INFO] [stderr] 889 | poll_req_mock = &mut POLL_REQ_MOCK, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] ::: src/step/ack.rs:151:3 [INFO] [stderr] | [INFO] [stderr] 151 | / test::test_step!( [INFO] [stderr] 152 | | GIVEN Ack:: where Dummy: {Step}; [INFO] [stderr] 153 | | WHEN inner_yields_con_request [ [INFO] [stderr] 154 | | (inner.poll_req => { Some(Ok(test_msg(Type::Con, Code::new(0, 01)).0)) }) [INFO] [stderr] ... | [INFO] [stderr] 169 | | ] [INFO] [stderr] 170 | | ); [INFO] [stderr] | |___- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stderr] = note: this warning originates in the macro `test::test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 889 | poll_req_mock = addr_of_mut!(POLL_REQ_MOCK), [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/step/mod.rs:890:36 [INFO] [stderr] | [INFO] [stderr] 890 | poll_resp_mock = &mut POLL_RESP_MOCK, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] ::: src/step/ack.rs:172:3 [INFO] [stderr] | [INFO] [stderr] 172 | / test::test_step!( [INFO] [stderr] 173 | | GIVEN Ack:: where Dummy: {Step}; [INFO] [stderr] 174 | | WHEN inner_yields_anything [ [INFO] [stderr] 175 | | (inner.poll_resp => { Some(Ok(test_msg(Type::Ack, Code::new(2, 04)).1)) }) [INFO] [stderr] ... | [INFO] [stderr] 180 | | ] [INFO] [stderr] 181 | | ); [INFO] [stderr] | |___- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stderr] = note: this warning originates in the macro `test::test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 890 | poll_resp_mock = addr_of_mut!(POLL_RESP_MOCK), [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/step/mod.rs:889:35 [INFO] [stderr] | [INFO] [stderr] 889 | poll_req_mock = &mut POLL_REQ_MOCK, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] ::: src/step/set_standard_options.rs:106:3 [INFO] [stderr] | [INFO] [stderr] 106 | / test_step!( [INFO] [stderr] 107 | | GIVEN SetStandardOptions:: where Dummy: {Step}; [INFO] [stderr] 108 | | WHEN inner_errors [ [INFO] [stderr] 109 | | (inner.poll_req => { Some(Err(nb::Error::Other(()))) }), [INFO] [stderr] ... | [INFO] [stderr] 117 | | ] [INFO] [stderr] 118 | | ); [INFO] [stderr] | |___- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stderr] = note: this warning originates in the macro `test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 889 | poll_req_mock = addr_of_mut!(POLL_REQ_MOCK), [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/step/mod.rs:890:36 [INFO] [stderr] | [INFO] [stderr] 890 | poll_resp_mock = &mut POLL_RESP_MOCK, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] ::: src/step/set_standard_options.rs:106:3 [INFO] [stderr] | [INFO] [stderr] 106 | / test_step!( [INFO] [stderr] 107 | | GIVEN SetStandardOptions:: where Dummy: {Step}; [INFO] [stderr] 108 | | WHEN inner_errors [ [INFO] [stderr] 109 | | (inner.poll_req => { Some(Err(nb::Error::Other(()))) }), [INFO] [stderr] ... | [INFO] [stderr] 117 | | ] [INFO] [stderr] 118 | | ); [INFO] [stderr] | |___- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stderr] = note: this warning originates in the macro `test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 890 | poll_resp_mock = addr_of_mut!(POLL_RESP_MOCK), [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/step/mod.rs:892:42 [INFO] [stderr] | [INFO] [stderr] 892 | on_message_sent_mock = &mut ON_MESSAGE_SENT_MOCK, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] ::: src/step/set_standard_options.rs:106:3 [INFO] [stderr] | [INFO] [stderr] 106 | / test_step!( [INFO] [stderr] 107 | | GIVEN SetStandardOptions:: where Dummy: {Step}; [INFO] [stderr] 108 | | WHEN inner_errors [ [INFO] [stderr] 109 | | (inner.poll_req => { Some(Err(nb::Error::Other(()))) }), [INFO] [stderr] ... | [INFO] [stderr] 117 | | ] [INFO] [stderr] 118 | | ); [INFO] [stderr] | |___- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stderr] = note: this warning originates in the macro `test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 892 | on_message_sent_mock = addr_of_mut!(ON_MESSAGE_SENT_MOCK), [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/step/mod.rs:889:35 [INFO] [stderr] | [INFO] [stderr] 889 | poll_req_mock = &mut POLL_REQ_MOCK, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] ::: src/step/set_standard_options.rs:120:3 [INFO] [stderr] | [INFO] [stderr] 120 | / test_step!( [INFO] [stderr] 121 | | GIVEN SetStandardOptions:: where Dummy: {Step}; [INFO] [stderr] 122 | | WHEN inner_blocks [ [INFO] [stderr] 123 | | (inner.poll_req => { Some(Err(nb::Error::WouldBlock)) }), [INFO] [stderr] ... | [INFO] [stderr] 129 | | ] [INFO] [stderr] 130 | | ); [INFO] [stderr] | |___- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stderr] = note: this warning originates in the macro `test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 889 | poll_req_mock = addr_of_mut!(POLL_REQ_MOCK), [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/step/mod.rs:890:36 [INFO] [stderr] | [INFO] [stderr] 890 | poll_resp_mock = &mut POLL_RESP_MOCK, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] ::: src/step/set_standard_options.rs:120:3 [INFO] [stderr] | [INFO] [stderr] 120 | / test_step!( [INFO] [stderr] 121 | | GIVEN SetStandardOptions:: where Dummy: {Step}; [INFO] [stderr] 122 | | WHEN inner_blocks [ [INFO] [stderr] 123 | | (inner.poll_req => { Some(Err(nb::Error::WouldBlock)) }), [INFO] [stderr] ... | [INFO] [stderr] 129 | | ] [INFO] [stderr] 130 | | ); [INFO] [stderr] | |___- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stderr] = note: this warning originates in the macro `test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 890 | poll_resp_mock = addr_of_mut!(POLL_RESP_MOCK), [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/step/mod.rs:889:35 [INFO] [stderr] | [INFO] [stderr] 889 | poll_req_mock = &mut POLL_REQ_MOCK, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] ::: src/step/buffer_responses.rs:166:3 [INFO] [stderr] | [INFO] [stderr] 166 | / test_step!( [INFO] [stderr] 167 | | GIVEN BufferResponses:: where Dummy: {Step}; [INFO] [stderr] 168 | | WHEN inner_errors [ [INFO] [stderr] 169 | | (inner.poll_req => { Some(Err(nb::Error::Other(()))) }), [INFO] [stderr] ... | [INFO] [stderr] 175 | | ] [INFO] [stderr] 176 | | ); [INFO] [stderr] | |___- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stderr] = note: this warning originates in the macro `test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 889 | poll_req_mock = addr_of_mut!(POLL_REQ_MOCK), [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/step/mod.rs:890:36 [INFO] [stderr] | [INFO] [stderr] 890 | poll_resp_mock = &mut POLL_RESP_MOCK, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] ::: src/step/buffer_responses.rs:166:3 [INFO] [stderr] | [INFO] [stderr] 166 | / test_step!( [INFO] [stderr] 167 | | GIVEN BufferResponses:: where Dummy: {Step}; [INFO] [stderr] 168 | | WHEN inner_errors [ [INFO] [stderr] 169 | | (inner.poll_req => { Some(Err(nb::Error::Other(()))) }), [INFO] [stderr] ... | [INFO] [stderr] 175 | | ] [INFO] [stderr] 176 | | ); [INFO] [stderr] | |___- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stderr] = note: this warning originates in the macro `test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 890 | poll_resp_mock = addr_of_mut!(POLL_RESP_MOCK), [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/step/mod.rs:889:35 [INFO] [stderr] | [INFO] [stderr] 889 | poll_req_mock = &mut POLL_REQ_MOCK, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] ::: src/step/buffer_responses.rs:178:3 [INFO] [stderr] | [INFO] [stderr] 178 | / test_step!( [INFO] [stderr] 179 | | GIVEN BufferResponses:: where Dummy: {Step}; [INFO] [stderr] 180 | | WHEN inner_blocks [ [INFO] [stderr] 181 | | (inner.poll_req => { Some(Err(nb::Error::WouldBlock)) }), [INFO] [stderr] ... | [INFO] [stderr] 187 | | ] [INFO] [stderr] 188 | | ); [INFO] [stderr] | |___- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stderr] = note: this warning originates in the macro `test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 889 | poll_req_mock = addr_of_mut!(POLL_REQ_MOCK), [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/step/mod.rs:890:36 [INFO] [stderr] | [INFO] [stderr] 890 | poll_resp_mock = &mut POLL_RESP_MOCK, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] ::: src/step/buffer_responses.rs:178:3 [INFO] [stderr] | [INFO] [stderr] 178 | / test_step!( [INFO] [stderr] 179 | | GIVEN BufferResponses:: where Dummy: {Step}; [INFO] [stderr] 180 | | WHEN inner_blocks [ [INFO] [stderr] 181 | | (inner.poll_req => { Some(Err(nb::Error::WouldBlock)) }), [INFO] [stderr] ... | [INFO] [stderr] 187 | | ] [INFO] [stderr] 188 | | ); [INFO] [stderr] | |___- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stderr] = note: this warning originates in the macro `test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 890 | poll_resp_mock = addr_of_mut!(POLL_RESP_MOCK), [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/step/mod.rs:889:35 [INFO] [stderr] | [INFO] [stderr] 889 | poll_req_mock = &mut POLL_REQ_MOCK, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] ::: src/step/buffer_responses.rs:190:3 [INFO] [stderr] | [INFO] [stderr] 190 | / test_step!( [INFO] [stderr] 191 | | GIVEN BufferResponses:: where Dummy: {Step}; [INFO] [stderr] 192 | | WHEN inner_yields_request [ [INFO] [stderr] 193 | | (inner.poll_req => {{ [INFO] [stderr] ... | [INFO] [stderr] 211 | | ] [INFO] [stderr] 212 | | ); [INFO] [stderr] | |___- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stderr] = note: this warning originates in the macro `test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 889 | poll_req_mock = addr_of_mut!(POLL_REQ_MOCK), [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/step/mod.rs:890:36 [INFO] [stderr] | [INFO] [stderr] 890 | poll_resp_mock = &mut POLL_RESP_MOCK, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] ::: src/step/buffer_responses.rs:214:3 [INFO] [stderr] | [INFO] [stderr] 214 | / test_step!( [INFO] [stderr] 215 | | GIVEN BufferResponses:: where Dummy: {Step}; [INFO] [stderr] 216 | | WHEN inner_yields_response [ [INFO] [stderr] 217 | | (inner.poll_resp = { [INFO] [stderr] ... | [INFO] [stderr] 363 | | ] [INFO] [stderr] 364 | | ); [INFO] [stderr] | |___- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stderr] = note: this warning originates in the macro `test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 890 | poll_resp_mock = addr_of_mut!(POLL_RESP_MOCK), [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/step/mod.rs:889:35 [INFO] [stderr] | [INFO] [stderr] 889 | poll_req_mock = &mut POLL_REQ_MOCK, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] ::: src/step/parse.rs:142:3 [INFO] [stderr] | [INFO] [stderr] 142 | / test::test_step!( [INFO] [stderr] 143 | | GIVEN Parse:: where Dummy: {Step}; [INFO] [stderr] 144 | | WHEN inner_errors [ [INFO] [stderr] 145 | | (inner.poll_req => { Some(Err(nb::Error::Other(()))) }), [INFO] [stderr] ... | [INFO] [stderr] 152 | | ] [INFO] [stderr] 153 | | ); [INFO] [stderr] | |___- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stderr] = note: this warning originates in the macro `test::test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 889 | poll_req_mock = addr_of_mut!(POLL_REQ_MOCK), [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/step/mod.rs:890:36 [INFO] [stderr] | [INFO] [stderr] 890 | poll_resp_mock = &mut POLL_RESP_MOCK, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] ::: src/step/parse.rs:142:3 [INFO] [stderr] | [INFO] [stderr] 142 | / test::test_step!( [INFO] [stderr] 143 | | GIVEN Parse:: where Dummy: {Step}; [INFO] [stderr] 144 | | WHEN inner_errors [ [INFO] [stderr] 145 | | (inner.poll_req => { Some(Err(nb::Error::Other(()))) }), [INFO] [stderr] ... | [INFO] [stderr] 152 | | ] [INFO] [stderr] 153 | | ); [INFO] [stderr] | |___- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stderr] = note: this warning originates in the macro `test::test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 890 | poll_resp_mock = addr_of_mut!(POLL_RESP_MOCK), [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/step/mod.rs:889:35 [INFO] [stderr] | [INFO] [stderr] 889 | poll_req_mock = &mut POLL_REQ_MOCK, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] ::: src/step/parse.rs:155:3 [INFO] [stderr] | [INFO] [stderr] 155 | / test::test_step!( [INFO] [stderr] 156 | | GIVEN Parse:: where Dummy: {Step}; [INFO] [stderr] 157 | | WHEN inner_would_block [ [INFO] [stderr] 158 | | (inner.poll_req => { Some(Err(nb::Error::WouldBlock)) }), [INFO] [stderr] ... | [INFO] [stderr] 164 | | ] [INFO] [stderr] 165 | | ); [INFO] [stderr] | |___- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stderr] = note: this warning originates in the macro `test::test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 889 | poll_req_mock = addr_of_mut!(POLL_REQ_MOCK), [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/step/mod.rs:890:36 [INFO] [stderr] | [INFO] [stderr] 890 | poll_resp_mock = &mut POLL_RESP_MOCK, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] ::: src/step/parse.rs:155:3 [INFO] [stderr] | [INFO] [stderr] 155 | / test::test_step!( [INFO] [stderr] 156 | | GIVEN Parse:: where Dummy: {Step}; [INFO] [stderr] 157 | | WHEN inner_would_block [ [INFO] [stderr] 158 | | (inner.poll_req => { Some(Err(nb::Error::WouldBlock)) }), [INFO] [stderr] ... | [INFO] [stderr] 164 | | ] [INFO] [stderr] 165 | | ); [INFO] [stderr] | |___- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stderr] = note: this warning originates in the macro `test::test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 890 | poll_resp_mock = addr_of_mut!(POLL_RESP_MOCK), [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/step/mod.rs:889:35 [INFO] [stderr] | [INFO] [stderr] 889 | poll_req_mock = &mut POLL_REQ_MOCK, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] ::: src/step/parse.rs:167:3 [INFO] [stderr] | [INFO] [stderr] 167 | / test::test_step!( [INFO] [stderr] 168 | | GIVEN Parse:: where Dummy: {Step}; [INFO] [stderr] 169 | | WHEN con_request_recvd [ [INFO] [stderr] 170 | | (inner.poll_req => {None}), [INFO] [stderr] ... | [INFO] [stderr] 181 | | ] [INFO] [stderr] 182 | | ); [INFO] [stderr] | |___- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stderr] = note: this warning originates in the macro `test::test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 889 | poll_req_mock = addr_of_mut!(POLL_REQ_MOCK), [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/step/mod.rs:889:35 [INFO] [stderr] | [INFO] [stderr] 889 | poll_req_mock = &mut POLL_REQ_MOCK, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] ::: src/step/parse.rs:184:3 [INFO] [stderr] | [INFO] [stderr] 184 | / test::test_step!( [INFO] [stderr] 185 | | GIVEN Parse:: where Dummy: {Step}; [INFO] [stderr] 186 | | WHEN empty_ack_recvd [ [INFO] [stderr] 187 | | (inner.poll_req => {None}), [INFO] [stderr] ... | [INFO] [stderr] 198 | | ] [INFO] [stderr] 199 | | ); [INFO] [stderr] | |___- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stderr] = note: this warning originates in the macro `test::test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 889 | poll_req_mock = addr_of_mut!(POLL_REQ_MOCK), [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/step/mod.rs:889:35 [INFO] [stderr] | [INFO] [stderr] 889 | poll_req_mock = &mut POLL_REQ_MOCK, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] ::: src/step/parse.rs:201:3 [INFO] [stderr] | [INFO] [stderr] 201 | / test::test_step!( [INFO] [stderr] 202 | | GIVEN Parse:: where Dummy: {Step}; [INFO] [stderr] 203 | | WHEN piggy_ack_recvd [ [INFO] [stderr] 204 | | (inner.poll_req => {None}), [INFO] [stderr] ... | [INFO] [stderr] 215 | | ] [INFO] [stderr] 216 | | ); [INFO] [stderr] | |___- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stderr] = note: this warning originates in the macro `test::test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 889 | poll_req_mock = addr_of_mut!(POLL_REQ_MOCK), [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/step/mod.rs:890:36 [INFO] [stderr] | [INFO] [stderr] 890 | poll_resp_mock = &mut POLL_RESP_MOCK, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] ::: src/step/parse.rs:218:3 [INFO] [stderr] | [INFO] [stderr] 218 | / test::test_step!( [INFO] [stderr] 219 | | GIVEN Parse:: where Dummy: {Step}; [INFO] [stderr] 220 | | WHEN recvd_ack [ [INFO] [stderr] 221 | | (inner.poll_resp => {None}), [INFO] [stderr] ... | [INFO] [stderr] 232 | | ] [INFO] [stderr] 233 | | ); [INFO] [stderr] | |___- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stderr] = note: this warning originates in the macro `test::test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 890 | poll_resp_mock = addr_of_mut!(POLL_RESP_MOCK), [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/step/mod.rs:890:36 [INFO] [stderr] | [INFO] [stderr] 890 | poll_resp_mock = &mut POLL_RESP_MOCK, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] ::: src/step/parse.rs:235:3 [INFO] [stderr] | [INFO] [stderr] 235 | / test::test_step!( [INFO] [stderr] 236 | | GIVEN Parse:: where Dummy: {Step}; [INFO] [stderr] 237 | | WHEN request_recvd [ [INFO] [stderr] 238 | | (inner.poll_resp => {None}), [INFO] [stderr] ... | [INFO] [stderr] 249 | | ] [INFO] [stderr] 250 | | ); [INFO] [stderr] | |___- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stderr] = note: this warning originates in the macro `test::test_step` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 890 | poll_resp_mock = addr_of_mut!(POLL_RESP_MOCK), [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/server/path.rs:374:11 [INFO] [stderr] | [INFO] [stderr] 374 | let mut m: &mut crate::test::Message = r.data_mut().msg_mut(); [INFO] [stderr] | ----^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: using `.clone()` on a double reference, which returns `&platform::Effect>` instead of cloning the inner type [INFO] [stderr] --> src/step/observe.rs:685:37 [INFO] [stderr] | [INFO] [stderr] 685 | match effs.get(0).unwrap().clone() { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `toad` (lib) generated 11 warnings (run `cargo fix --lib -p toad` to apply 6 suggestions) [INFO] [stderr] warning: `toad` (lib test) generated 73 warnings (11 duplicates) (run `cargo fix --lib -p toad --tests` to apply 2 suggestions) [INFO] [stderr] warning: unused import: `Step` [INFO] [stderr] --> examples/server.rs:13:27 [INFO] [stderr] | [INFO] [stderr] 13 | use toad::step::{runtime, Step}; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `toad` (example "server") generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/toad-2deee012921fec3a) [INFO] [stdout] [INFO] [stdout] running 70 tests [INFO] [stdout] test retry::test::delay_retrier ... ok [INFO] [stdout] test retry::test::exponential_retrier ... ok [INFO] [stdout] test retry::test::exp_calculation ... ok [INFO] [stdout] test server::path::tests::rest ... ok [INFO] [stdout] test server::path::tests::rest_is ... ok [INFO] [stdout] test server::path::tests::segment_param ... ok [INFO] [stdout] test server::path::tests::ends_with ... ok [INFO] [stdout] test server::path::tests::next_segment ... ok [INFO] [stdout] test server::ap::tests::ap_variant_precedence ... ok [INFO] [stdout] test step::ack::test::when_inner_blocks_then_this_should_block ... ok [INFO] [stdout] test step::ack::test::when_inner_errors_then_this_should_error ... ok [INFO] [stdout] test server::respond::json::test::ok_no_std_happy ... ok [INFO] [stdout] test step::ack::test::when_inner_yields_con_request_then_poll_req_should_ack ... ok [INFO] [stdout] test server::path::tests::rest_equals ... ok [INFO] [stdout] test step::ack::test::when_inner_yields_non_request_then_poll_req_should_noop ... ok [INFO] [stdout] test step::handle_acks::test::when_expected_empty_ack_received_it_should_be_processed_and_ignored ... ok [INFO] [stdout] test step::handle_acks::test::when_expected_piggybacked_ack_received_it_should_be_processed_and_returned ... ok [INFO] [stdout] test step::buffer_responses::test::when_inner_yields_response_then_this_should_buffer_and_yield_correct_response ... ok [INFO] [stdout] test step::handle_acks::test::when_inner_errors_then_this_should_error ... ok [INFO] [stdout] test step::buffer_responses::test::when_inner_yields_request_then_this_should_pass_through ... ok [INFO] [stdout] test step::buffer_responses::test::when_inner_blocks_then_this_should_block ... ok [INFO] [stdout] test step::buffer_responses::test::when_inner_errors_then_this_should_error ... ok [INFO] [stdout] test step::observe::tests::sub_hash ... ok [INFO] [stdout] test step::handle_acks::test::when_unexpected_ack_received_then_should_ignore ... ok [INFO] [stdout] test step::ack::test::when_inner_yields_anything_then_poll_resp_should_noop ... ok [INFO] [stdout] test step::ack::test::when_inner_yields_response_then_poll_req_should_noop ... ok [INFO] [stdout] test step::observe::tests::when_client_subscribes_and_event_fires_then_request_is_duplicated ... ok [INFO] [stdout] test server::respond::json::test::ok_std_happy ... ok [INFO] [stdout] test step::observe::tests::when_inner_poll_req_oks_then_this_should_nop ... ok [INFO] [stdout] test step::parse::test::when_request_recvd_then_poll_resp_should_parse_it ... ok [INFO] [stdout] test step::parse::test::when_recvd_ack_then_poll_resp_should_parse_it ... ok [INFO] [stdout] test step::provision_ids::test::next_should_generate_smallest_minus_one_when_largest_is_max ... ok [INFO] [stdout] test step::parse::test::when_piggy_ack_recvd_then_poll_req_should_parse_it ... ok [INFO] [stdout] test step::observe::tests::when_inner_errors_then_this_should_error ... ok [INFO] [stdout] test step::parse::test::when_empty_ack_recvd_then_poll_req_should_parse_it ... ok [INFO] [stdout] test step::provision_ids::test::seen_should_prune_ids_older_than_exchange_lifetime ... ok [INFO] [stdout] test step::provision_ids::test::seen_should_remove_oldest_addr_when_new_addr_would_exceed_capacity ... ok [INFO] [stdout] test step::observe::tests::when_client_subscribes_and_unrelated_event_fires_then_nothing_happens ... ok [INFO] [stdout] test step::parse::test::when_con_request_recvd_then_poll_req_should_parse_it ... ok [INFO] [stdout] test step::observe::tests::when_response_to_subscriber_is_sent_then_response_is_copied_and_sent_to_subscriber ... ok [INFO] [stdout] test step::parse::test::when_inner_errors_then_this_should_error ... ok [INFO] [stdout] test step::provision_ids::test::seen_should_remove_empty_addr_when_new_addr_would_exceed_capacity ... ok [INFO] [stdout] test step::observe::tests::when_client_subscribes_and_multiple_events_fire_then_request_is_duplicated_multiple_times ... ok [INFO] [stdout] test step::parse::test::when_inner_would_block_then_this_should_block ... ok [INFO] [stdout] test step::provision_ids::test::next_should_generate_in_gap_when_smallest_1_and_largest_max ... ok [INFO] [stdout] test step::provision_ids::test::next_should_generate_initial_id ... ok [INFO] [stdout] test step::handle_acks::test::when_inner_blocks_then_this_should_block ... ok [INFO] [stdout] test step::provision_ids::test::next_should_generate_largest_plus_one_when_largest_lt_max ... ok [INFO] [stdout] test step::provision_ids::test::when_inner_blocks_then_this_should_block ... ok [INFO] [stdout] test step::provision_tokens::test::when_we_boutta_send_a_request_then_this_should_make_sure_it_has_a_token ... ok [INFO] [stdout] test step::provision_tokens::test::when_we_boutta_send_a_response_then_this_should_make_sure_it_has_a_token ... ok [INFO] [stdout] test step::provision_tokens::test::when_inner_blocks_then_this_should_block ... ok [INFO] [stdout] test step::retry::tests::when_ack_response_sent_retry_should_never_retry ... ok [INFO] [stdout] test step::retry::tests::when_non_request_sent_retry_should_retry_appropriately ... ok [INFO] [stdout] test step::retry::tests::when_reset_sent_retry_should_never_retry ... ok [INFO] [stdout] test step::set_standard_options::test::when_inner_errors_then_this_should_error ... ok [INFO] [stdout] test step::retry::tests::when_con_response_sent_retry_should_retry_appropriately ... ok [INFO] [stdout] test test::doesnt_time_out ... ok [INFO] [stdout] test step::retry::tests::when_non_response_sent_retry_should_never_retry ... ok [INFO] [stdout] test step::set_standard_options::test::when_inner_blocks_then_this_should_block ... ok [INFO] [stdout] test step::provision_ids::test::when_req_or_resp_recvd_with_id_zero_then_id_should_be_respected ... ok [INFO] [stdout] test step::provision_ids::test::when_message_sent_with_id_zero_then_this_should_assign_nonzero_id ... ok [INFO] [stdout] test step::provision_ids::test::seen_should_remove_oldest_id_when_about_to_exceed_capacity ... ok [INFO] [stdout] test step::retry::tests::when_con_request_sent_retry_should_retry_appropriately ... ok [INFO] [stdout] test step::provision_ids::test::when_inner_errors_then_this_should_error ... ok [INFO] [stdout] test step::provision_tokens::test::when_inner_errors_then_this_should_error ... ok [INFO] [stdout] test step::retry::tests::when_outbound_message_reset_retry_should_not_retry ... ok [INFO] [stdout] test step::retry::tests::when_inner_blocks_then_this_should_block ... ok [INFO] [stdout] test step::retry::tests::when_inner_errors_then_this_should_error ... ok [INFO] [stdout] test test::times_out - should panic ... ok [INFO] [stderr] Doc-tests toad [INFO] [stdout] [INFO] [stdout] test result: ok. 70 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.18s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 42 tests [INFO] [stdout] test src/config.rs - config::Msg::token_seed (line 108) ... ok [INFO] [stdout] test src/req/mod.rs - req::Req

::payload (line 200) ... ok [INFO] [stdout] test src/config.rs - config::Con::unacked_retry_strategy (line 19) ... ok [INFO] [stdout] test src/req/mod.rs - req::Req

::payload_str (line 234) ... ok [INFO] [stdout] test src/config.rs - config::Con::acked_retry_strategy (line 37) ... ok [INFO] [stdout] test src/req/mod.rs - req::Req

::delete (line 175) ... ok [INFO] [stdout] test src/config.rs - config::Non::retry_strategy (line 70) ... ok [INFO] [stdout] test src/config.rs - config::Msg::multicast_response_leisure (line 148) ... ok [INFO] [stdout] test src/config.rs - config::Config::max_concurrent_requests (line 196) ... ok [INFO] [stdout] test src/config.rs - config::Non::max_attempts (line 84) ... ok [INFO] [stdout] test src/config.rs - config::Msg::probing_rate (line 127) ... ok [INFO] [stdout] test src/req/mod.rs - req::Req

::get_option (line 215) ... ok [INFO] [stdout] test src/config.rs - config::Con::max_attempts (line 50) ... ok [INFO] [stdout] test src/req/mod.rs - req::Req

::get (line 137) ... ok [INFO] [stdout] test src/req/builder.rs - req::builder::ReqBuilder (line 33) ... ok [INFO] [stdout] test src/server/ap/mod.rs - server::ap::Ap::bind_discard (line 579) ... ignored [INFO] [stdout] test src/req/mod.rs - req::Req (line 31) ... ok [INFO] [stdout] test src/resp/mod.rs - resp::Resp (line 14) ... ok [INFO] [stdout] test src/server/ap/mod.rs - server::ap::Ap::pipe (line 446) ... ok [INFO] [stdout] test src/req/mod.rs - req::Req

::post (line 149) ... ok [INFO] [stdout] test src/resp/mod.rs - resp::Resp

::for_request (line 102) ... ok [INFO] [stdout] test src/resp/mod.rs - resp::Resp

::set_payload (line 291) ... ok [INFO] [stdout] test src/resp/mod.rs - resp::Resp

::code (line 256) ... ok [INFO] [stdout] test src/req/mod.rs - req::Req

::put (line 162) ... ok [INFO] [stdout] test src/server/ap/mod.rs - server::ap::Ap (line 139) ... ok [INFO] [stdout] test src/req/mod.rs - req::Req

::set_payload (line 187) ... ok [INFO] [stdout] test src/resp/mod.rs - resp::Resp

::payload (line 197) ... ok [INFO] [stdout] test src/resp/mod.rs - resp::Resp

::set_code (line 274) ... ok [INFO] [stdout] test src/server/respond.rs - server::respond::json::ok (line 90) - compile ... ok [INFO] [stdout] test src/server/ap/mod.rs - server::ap::Ap (line 149) ... ok [INFO] [stdout] test src/retry.rs - retry::RetryTimer (line 16) ... ok [INFO] [stdout] test src/resp/mod.rs - resp::Resp

::payload_string (line 236) ... ok [INFO] [stdout] test src/server/method.rs - server::method::get (line 37) ... ok [INFO] [stdout] test src/server/ap/mod.rs - server::ap::Ap (line 174) ... ok [INFO] [stdout] test src/step/parse.rs - step::parse::Error::Inner (line 32) ... ok [INFO] [stdout] test src/server/mod.rs - server::Run (line 57) ... ok [INFO] [stdout] test src/server/path.rs - server::path::segment::param::str (line 176) ... ok [INFO] [stdout] test src/server/path.rs - server::path::segment::param::u32 (line 131) ... ok [INFO] [stdout] test src/server/path.rs - server::path::segment::next (line 15) ... ok [INFO] [stdout] test src/step/observe.rs - step::observe::SubscriptionHash::subscription_hash (line 109) ... ok [INFO] [stdout] test src/server/path.rs - server::path::segment::check::next_is (line 71) ... ok [INFO] [stdout] test src/server/path.rs - server::path::segment::param::string (line 214) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 41 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 14.02s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7204d5559e85ee44f80b224a74f738f49cb677e71df5ca59bd4d84754d5b0d30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7204d5559e85ee44f80b224a74f738f49cb677e71df5ca59bd4d84754d5b0d30", kill_on_drop: false }` [INFO] [stdout] 7204d5559e85ee44f80b224a74f738f49cb677e71df5ca59bd4d84754d5b0d30