[INFO] fetching crate trussed 0.1.0... [INFO] building trussed-0.1.0 against try#9a3ef2cd3ecaae3c6ef59768612837d797602a6d for pr-137044-3 [INFO] extracting crate trussed 0.1.0 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate trussed 0.1.0 on toolchain 9a3ef2cd3ecaae3c6ef59768612837d797602a6d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9a3ef2cd3ecaae3c6ef59768612837d797602a6d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-7-tc2/source/.cargo/config [INFO] started tweaking crates.io crate trussed 0.1.0 [INFO] finished tweaking crates.io crate trussed 0.1.0 [INFO] tweaked toml for crates.io crate trussed 0.1.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9a3ef2cd3ecaae3c6ef59768612837d797602a6d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 129 packages to latest compatible versions [INFO] [stderr] Adding aes v0.7.5 (available: v0.8.4) [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.8.0) [INFO] [stderr] Adding blake2 v0.9.2 (available: v0.10.6) [INFO] [stderr] Adding block-modes v0.8.1 (available: v0.9.1) [INFO] [stderr] Adding cbor-smol v0.4.1 (available: v0.5.0) [INFO] [stderr] Adding chacha20 v0.7.3 (available: v0.9.1) [INFO] [stderr] Adding chacha20poly1305 v0.8.2 (available: v0.10.1) [INFO] [stderr] Adding des v0.7.0 (available: v0.8.1) [INFO] [stderr] Adding embedded-hal v0.2.7 (available: v1.0.0) [INFO] [stderr] Adding generic-array v0.14.7 (available: v1.2.0) [INFO] [stderr] Adding heapless v0.7.17 (available: v0.8.0) [INFO] [stderr] Adding heapless-bytes v0.3.0 (available: v0.4.0) [INFO] [stderr] Adding hex-literal v0.3.4 (available: v0.4.1) [INFO] [stderr] Adding hmac v0.11.0 (available: v0.12.1) [INFO] [stderr] Adding interchange v0.2.2 (available: v0.3.2) [INFO] [stderr] Adding littlefs2 v0.3.2 (available: v0.5.0) [INFO] [stderr] Adding postcard v0.7.3 (available: v1.1.1) [INFO] [stderr] Adding rand_core v0.6.4 (available: v0.9.1) [INFO] [stderr] Adding salty v0.2.0 (available: v0.3.0) [INFO] [stderr] Adding serial_test v0.6.0 (available: v3.2.0) [INFO] [stderr] Adding sha-1 v0.9.8 (available: v0.10.1) [INFO] [stderr] Adding sha2 v0.9.9 (available: v0.10.8) [INFO] [stderr] Adding signature v1.3.2 (available: v1.6.4) [INFO] [stderr] Adding subtle v2.4.1 (available: v2.6.1) [INFO] [stderr] Adding zeroize v1.3.0 (available: v1.8.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9a3ef2cd3ecaae3c6ef59768612837d797602a6d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+9a3ef2cd3ecaae3c6ef59768612837d797602a6d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f159fbf91b09130f020bf502e37c844a5af93daae40e429e1aa2b66e33a1e6a5 [INFO] running `Command { std: "docker" "start" "-a" "f159fbf91b09130f020bf502e37c844a5af93daae40e429e1aa2b66e33a1e6a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f159fbf91b09130f020bf502e37c844a5af93daae40e429e1aa2b66e33a1e6a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f159fbf91b09130f020bf502e37c844a5af93daae40e429e1aa2b66e33a1e6a5", kill_on_drop: false }` [INFO] [stdout] f159fbf91b09130f020bf502e37c844a5af93daae40e429e1aa2b66e33a1e6a5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+9a3ef2cd3ecaae3c6ef59768612837d797602a6d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3f2b5f7b3e8b8b856a7189a20ee95bc05c38a8faeaf4568e6a1f20b4c46f04a2 [INFO] running `Command { std: "docker" "start" "-a" "3f2b5f7b3e8b8b856a7189a20ee95bc05c38a8faeaf4568e6a1f20b4c46f04a2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling semver v1.0.25 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling libloading v0.8.6 [INFO] [stderr] Compiling cc v1.2.14 [INFO] [stderr] Compiling bindgen v0.56.0 [INFO] [stderr] Compiling hash32 v0.2.1 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling ff v0.10.1 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling half v1.8.3 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling nom v5.1.3 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling delog v0.1.7 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling group v0.10.0 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling salty v0.2.0 [INFO] [stderr] Compiling nb v1.1.0 [INFO] [stderr] Compiling p256-cortex-m4 v0.1.0-alpha.6 [INFO] [stderr] Compiling nb v0.1.3 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling postcard-cobs v0.1.5-pre [INFO] [stderr] Compiling embedded-hal v0.2.7 [INFO] [stderr] Compiling hex-literal v0.3.4 [INFO] [stderr] Compiling interchange v0.2.2 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling heapless v0.7.17 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling cstr_core v0.2.6 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling cipher v0.3.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.11.1 [INFO] [stderr] Compiling universal-hash v0.4.1 [INFO] [stderr] Compiling signature v1.3.2 [INFO] [stderr] Compiling hmac v0.11.0 [INFO] [stderr] Compiling ed25519 v1.5.3 [INFO] [stderr] Compiling des v0.7.0 [INFO] [stderr] Compiling block-modes v0.8.1 [INFO] [stderr] Compiling aes v0.7.5 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling poly1305 v0.7.2 [INFO] [stderr] Compiling p256-cortex-m4-sys v0.1.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling der_derive v0.4.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Compiling flexiber_derive v0.1.3 [INFO] [stderr] Compiling serde-indexed v0.1.1 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling crypto-bigint v0.2.11 [INFO] [stderr] Compiling chacha20 v0.7.3 [INFO] [stderr] Compiling elliptic-curve v0.10.6 [INFO] [stderr] Compiling der v0.4.5 [INFO] [stderr] Compiling ecdsa v0.12.4 [INFO] [stderr] Compiling p256 v0.9.0 [INFO] [stderr] Compiling littlefs2-sys v0.1.7 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling heapless-bytes v0.3.0 [INFO] [stderr] Compiling aead v0.4.3 [INFO] [stderr] Compiling flexiber v0.1.3 [INFO] [stderr] Compiling postcard v0.7.3 [INFO] [stderr] Compiling chacha20poly1305 v0.8.2 [INFO] [stderr] Compiling cosey v0.3.1 [INFO] [stderr] Compiling cbor-smol v0.4.1 [INFO] [stderr] Compiling littlefs2 v0.3.2 [INFO] [stderr] Compiling trussed v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `log-trace` [INFO] [stdout] --> src/lib.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | generate_macros!(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `aes256-cbc`, `blake2`, `chacha8-poly1305`, `clients-1`, `clients-10`, `clients-11`, `clients-12`, `clients-2`, `clients-3`, `clients-4`, `clients-5`, `clients-6`, `clients-7`, `clients-8`, `clients-9`, `default`, `default-mechanisms`, `des`, `ed255`, `hmac-blake2s`, `hmac-sha1`, `hmac-sha256`, `hmac-sha512`, `log-all`, `log-debug`, `log-error`, `log-info`, `log-none`, `log-warn`, `p256`, `sha-1`, `sha256`, `tdes`, `test-attestation-cert-ids`, and `totp` and 4 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__with_dollar_sign` which comes from the expansion of the macro `generate_macros` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `log-trace` [INFO] [stdout] --> src/lib.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | generate_macros!(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `aes256-cbc`, `blake2`, `chacha8-poly1305`, `clients-1`, `clients-10`, `clients-11`, `clients-12`, `clients-2`, `clients-3`, `clients-4`, `clients-5`, `clients-6`, `clients-7`, `clients-8`, `clients-9`, `default`, `default-mechanisms`, `des`, `ed255`, `hmac-blake2s`, `hmac-sha1`, `hmac-sha256`, `hmac-sha512`, `log-all`, `log-debug`, `log-error`, `log-info`, `log-none`, `log-warn`, `p256`, `sha-1`, `sha256`, `tdes`, `test-attestation-cert-ids`, and `totp` and 4 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `__with_dollar_sign` which comes from the expansion of the macro `generate_macros` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `semihosting` [INFO] [stdout] --> src/store.rs:71:7 [INFO] [stdout] | [INFO] [stdout] 71 | #[cfg(feature = "semihosting")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `aes256-cbc`, `blake2`, `chacha8-poly1305`, `clients-1`, `clients-10`, `clients-11`, `clients-12`, `clients-2`, `clients-3`, `clients-4`, `clients-5`, `clients-6`, `clients-7`, `clients-8`, `clients-9`, `default`, `default-mechanisms`, `des`, `ed255`, `hmac-blake2s`, `hmac-sha1`, `hmac-sha256`, `hmac-sha512`, `log-all`, `log-debug`, `log-error`, `log-info`, `log-none`, `log-warn`, `p256`, `sha-1`, `sha256`, `tdes`, `test-attestation-cert-ids`, and `totp` and 4 more [INFO] [stdout] = help: consider adding `semihosting` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.12s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bindgen v0.56.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "3f2b5f7b3e8b8b856a7189a20ee95bc05c38a8faeaf4568e6a1f20b4c46f04a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f2b5f7b3e8b8b856a7189a20ee95bc05c38a8faeaf4568e6a1f20b4c46f04a2", kill_on_drop: false }` [INFO] [stdout] 3f2b5f7b3e8b8b856a7189a20ee95bc05c38a8faeaf4568e6a1f20b4c46f04a2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+9a3ef2cd3ecaae3c6ef59768612837d797602a6d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0adb396eec4f787885ffe77208780a66743812bb292688dad1713a329573c6bf [INFO] running `Command { std: "docker" "start" "-a" "0adb396eec4f787885ffe77208780a66743812bb292688dad1713a329573c6bf", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling rustversion v1.0.19 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling entropy v0.4.2 [INFO] [stderr] Compiling bindgen v0.56.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling littlefs2-sys v0.1.7 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling serial_test_derive v0.6.0 [INFO] [stderr] Compiling der_derive v0.4.1 [INFO] [stderr] Compiling serial_test v0.6.0 [INFO] [stderr] Compiling der v0.4.5 [INFO] [stderr] Compiling ecdsa v0.12.4 [INFO] [stderr] Compiling p256 v0.9.0 [INFO] [stderr] Compiling littlefs2 v0.3.2 [INFO] [stderr] Compiling p256-cortex-m4 v0.1.0-alpha.6 [INFO] [stderr] Compiling trussed v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `log-trace` [INFO] [stdout] --> src/lib.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | generate_macros!(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `aes256-cbc`, `blake2`, `chacha8-poly1305`, `clients-1`, `clients-10`, `clients-11`, `clients-12`, `clients-2`, `clients-3`, `clients-4`, `clients-5`, `clients-6`, `clients-7`, `clients-8`, `clients-9`, `default`, `default-mechanisms`, `des`, `ed255`, `hmac-blake2s`, `hmac-sha1`, `hmac-sha256`, `hmac-sha512`, `log-all`, `log-debug`, `log-error`, `log-info`, `log-none`, `log-warn`, `p256`, `sha-1`, `sha256`, `tdes`, `test-attestation-cert-ids`, and `totp` and 4 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__with_dollar_sign` which comes from the expansion of the macro `generate_macros` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `log-trace` [INFO] [stdout] --> src/lib.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | generate_macros!(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `aes256-cbc`, `blake2`, `chacha8-poly1305`, `clients-1`, `clients-10`, `clients-11`, `clients-12`, `clients-2`, `clients-3`, `clients-4`, `clients-5`, `clients-6`, `clients-7`, `clients-8`, `clients-9`, `default`, `default-mechanisms`, `des`, `ed255`, `hmac-blake2s`, `hmac-sha1`, `hmac-sha256`, `hmac-sha512`, `log-all`, `log-debug`, `log-error`, `log-info`, `log-none`, `log-warn`, `p256`, `sha-1`, `sha256`, `tdes`, `test-attestation-cert-ids`, and `totp` and 4 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `__with_dollar_sign` which comes from the expansion of the macro `generate_macros` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `semihosting` [INFO] [stdout] --> src/store.rs:71:7 [INFO] [stdout] | [INFO] [stdout] 71 | #[cfg(feature = "semihosting")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `aes256-cbc`, `blake2`, `chacha8-poly1305`, `clients-1`, `clients-10`, `clients-11`, `clients-12`, `clients-2`, `clients-3`, `clients-4`, `clients-5`, `clients-6`, `clients-7`, `clients-8`, `clients-9`, `default`, `default-mechanisms`, `des`, `ed255`, `hmac-blake2s`, `hmac-sha1`, `hmac-sha256`, `hmac-sha512`, `log-all`, `log-debug`, `log-error`, `log-info`, `log-none`, `log-warn`, `p256`, `sha-1`, `sha256`, `tdes`, `test-attestation-cert-ids`, and `totp` and 4 more [INFO] [stdout] = help: consider adding `semihosting` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `log-trace` [INFO] [stdout] --> src/lib.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | generate_macros!(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `aes256-cbc`, `blake2`, `chacha8-poly1305`, `clients-1`, `clients-10`, `clients-11`, `clients-12`, `clients-2`, `clients-3`, `clients-4`, `clients-5`, `clients-6`, `clients-7`, `clients-8`, `clients-9`, `default`, `default-mechanisms`, `des`, `ed255`, `hmac-blake2s`, `hmac-sha1`, `hmac-sha256`, `hmac-sha512`, `log-all`, `log-debug`, `log-error`, `log-info`, `log-none`, `log-warn`, `p256`, `sha-1`, `sha256`, `tdes`, `test-attestation-cert-ids`, and `totp` and 4 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__with_dollar_sign` which comes from the expansion of the macro `generate_macros` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `log-trace` [INFO] [stdout] --> src/lib.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | generate_macros!(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `aes256-cbc`, `blake2`, `chacha8-poly1305`, `clients-1`, `clients-10`, `clients-11`, `clients-12`, `clients-2`, `clients-3`, `clients-4`, `clients-5`, `clients-6`, `clients-7`, `clients-8`, `clients-9`, `default`, `default-mechanisms`, `des`, `ed255`, `hmac-blake2s`, `hmac-sha1`, `hmac-sha256`, `hmac-sha512`, `log-all`, `log-debug`, `log-error`, `log-info`, `log-none`, `log-warn`, `p256`, `sha-1`, `sha256`, `tdes`, `test-attestation-cert-ids`, and `totp` and 4 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `__with_dollar_sign` which comes from the expansion of the macro `generate_macros` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `semihosting` [INFO] [stdout] --> src/store.rs:71:7 [INFO] [stdout] | [INFO] [stdout] 71 | #[cfg(feature = "semihosting")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `aes256-cbc`, `blake2`, `chacha8-poly1305`, `clients-1`, `clients-10`, `clients-11`, `clients-12`, `clients-2`, `clients-3`, `clients-4`, `clients-5`, `clients-6`, `clients-7`, `clients-8`, `clients-9`, `default`, `default-mechanisms`, `des`, `ed255`, `hmac-blake2s`, `hmac-sha1`, `hmac-sha256`, `hmac-sha512`, `log-all`, `log-debug`, `log-error`, `log-info`, `log-none`, `log-warn`, `p256`, `sha-1`, `sha256`, `tdes`, `test-attestation-cert-ids`, and `totp` and 4 more [INFO] [stdout] = help: consider adding `semihosting` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `consts` [INFO] [stdout] --> src/tests.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use littlefs2::{consts, fs::{Allocation, Filesystem}}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `generic_array::typenum::consts` [INFO] [stdout] --> tests/client/mod.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | pub use generic_array::typenum::consts; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `generic_array::typenum::consts` [INFO] [stdout] --> tests/client/mod.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | pub use generic_array::typenum::consts; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `generic_array::typenum::consts` [INFO] [stdout] --> tests/client/mod.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | pub use generic_array::typenum::consts; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/tests.rs:109:26 [INFO] [stdout] | [INFO] [stdout] 109 | unsafe { INTERNAL_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 223 | setup!(_client); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `create_memory` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/tests.rs:110:26 [INFO] [stdout] | [INFO] [stdout] 110 | unsafe { INTERNAL_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 223 | setup!(_client); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `create_memory` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `generic_array::typenum::consts` [INFO] [stdout] --> tests/client/mod.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | pub use generic_array::typenum::consts; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `generic_array::typenum::consts` [INFO] [stdout] --> tests/store/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub use generic_array::typenum::consts; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/tests.rs:111:26 [INFO] [stdout] | [INFO] [stdout] 111 | unsafe { EXTERNAL_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 223 | setup!(_client); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `create_memory` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/tests.rs:112:31 [INFO] [stdout] | [INFO] [stdout] 112 | unsafe { &mut EXTERNAL_STORAGE }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 223 | setup!(_client); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `create_memory` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/tests.rs:113:26 [INFO] [stdout] | [INFO] [stdout] 113 | unsafe { VOLATILE_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 223 | setup!(_client); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `create_memory` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/tests.rs:114:31 [INFO] [stdout] | [INFO] [stdout] 114 | unsafe { &mut VOLATILE_STORAGE }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 223 | setup!(_client); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `create_memory` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:209:26 [INFO] [stdout] | [INFO] [stdout] 209 | unsafe { INTERNAL_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | setup!(_client); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:210:26 [INFO] [stdout] | [INFO] [stdout] 210 | unsafe { INTERNAL_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | setup!(_client); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:212:26 [INFO] [stdout] | [INFO] [stdout] 212 | unsafe { EXTERNAL_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | setup!(_client); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:213:26 [INFO] [stdout] | [INFO] [stdout] 213 | unsafe { EXTERNAL_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | setup!(_client); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:215:26 [INFO] [stdout] | [INFO] [stdout] 215 | unsafe { VOLATILE_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | setup!(_client); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:216:26 [INFO] [stdout] | [INFO] [stdout] 216 | unsafe { VOLATILE_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | setup!(_client); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:268:22 [INFO] [stdout] | [INFO] [stdout] 268 | unsafe { IFS.as_mut_ptr() } [INFO] [stdout] | ^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | setup!(_client); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:275:22 [INFO] [stdout] | [INFO] [stdout] 275 | unsafe { EFS.as_mut_ptr() } [INFO] [stdout] | ^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | setup!(_client); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:282:22 [INFO] [stdout] | [INFO] [stdout] 282 | unsafe { VFS.as_mut_ptr() } [INFO] [stdout] | ^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | setup!(_client); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:339:17 [INFO] [stdout] | [INFO] [stdout] 339 | IFS_ALLOC.as_mut_ptr().write(ifs_alloc); [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | setup!(_client); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:340:17 [INFO] [stdout] | [INFO] [stdout] 340 | IFS_STORAGE.as_mut_ptr().write(ifs_storage); [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | setup!(_client); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:342:27 [INFO] [stdout] | [INFO] [stdout] 342 | &mut *IFS_ALLOC.as_mut_ptr(), [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | setup!(_client); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:343:27 [INFO] [stdout] | [INFO] [stdout] 343 | &mut *IFS_STORAGE.as_mut_ptr(), [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | setup!(_client); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:345:50 [INFO] [stdout] | [INFO] [stdout] 345 | let ifs = $crate::store::Fs::new(IFS.as_ref().unwrap()); [INFO] [stdout] | ^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | setup!(_client); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:348:17 [INFO] [stdout] | [INFO] [stdout] 348 | EFS_ALLOC.as_mut_ptr().write(efs_alloc); [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | setup!(_client); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:349:17 [INFO] [stdout] | [INFO] [stdout] 349 | EFS_STORAGE.as_mut_ptr().write(efs_storage); [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | setup!(_client); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:351:27 [INFO] [stdout] | [INFO] [stdout] 351 | &mut *EFS_ALLOC.as_mut_ptr(), [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | setup!(_client); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:352:27 [INFO] [stdout] | [INFO] [stdout] 352 | &mut *EFS_STORAGE.as_mut_ptr(), [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | setup!(_client); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:354:50 [INFO] [stdout] | [INFO] [stdout] 354 | let efs = $crate::store::Fs::new(EFS.as_ref().unwrap()); [INFO] [stdout] | ^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | setup!(_client); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:357:17 [INFO] [stdout] | [INFO] [stdout] 357 | VFS_ALLOC.as_mut_ptr().write(vfs_alloc); [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | setup!(_client); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:358:17 [INFO] [stdout] | [INFO] [stdout] 358 | VFS_STORAGE.as_mut_ptr().write(vfs_storage); [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | setup!(_client); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:360:27 [INFO] [stdout] | [INFO] [stdout] 360 | &mut *VFS_ALLOC.as_mut_ptr(), [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | setup!(_client); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:361:27 [INFO] [stdout] | [INFO] [stdout] 361 | &mut *VFS_STORAGE.as_mut_ptr(), [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | setup!(_client); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:363:50 [INFO] [stdout] | [INFO] [stdout] 363 | let vfs = $crate::store::Fs::new(VFS.as_ref().unwrap()); [INFO] [stdout] | ^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | setup!(_client); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:399:26 [INFO] [stdout] | [INFO] [stdout] 399 | unsafe { INTERNAL_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | setup!(_client); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:400:26 [INFO] [stdout] | [INFO] [stdout] 400 | unsafe { INTERNAL_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | setup!(_client); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:402:26 [INFO] [stdout] | [INFO] [stdout] 402 | unsafe { EXTERNAL_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | setup!(_client); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:403:26 [INFO] [stdout] | [INFO] [stdout] 403 | unsafe { EXTERNAL_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | setup!(_client); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:405:26 [INFO] [stdout] | [INFO] [stdout] 405 | unsafe { VOLATILE_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | setup!(_client); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:406:26 [INFO] [stdout] | [INFO] [stdout] 406 | unsafe { VOLATILE_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | setup!(_client); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:410:30 [INFO] [stdout] | [INFO] [stdout] 410 | unsafe { INTERNAL_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | setup!(_client); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:411:30 [INFO] [stdout] | [INFO] [stdout] 411 | unsafe { INTERNAL_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | setup!(_client); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:413:30 [INFO] [stdout] | [INFO] [stdout] 413 | unsafe { EXTERNAL_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | setup!(_client); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:414:30 [INFO] [stdout] | [INFO] [stdout] 414 | unsafe { EXTERNAL_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | setup!(_client); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:416:30 [INFO] [stdout] | [INFO] [stdout] 416 | unsafe { VOLATILE_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | setup!(_client); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:417:30 [INFO] [stdout] | [INFO] [stdout] 417 | unsafe { VOLATILE_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | setup!(_client); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/tests.rs:109:26 [INFO] [stdout] | [INFO] [stdout] 109 | unsafe { INTERNAL_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 231 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `create_memory` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/tests.rs:110:26 [INFO] [stdout] | [INFO] [stdout] 110 | unsafe { INTERNAL_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 231 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `create_memory` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/tests.rs:111:26 [INFO] [stdout] | [INFO] [stdout] 111 | unsafe { EXTERNAL_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 231 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `create_memory` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/tests.rs:112:31 [INFO] [stdout] | [INFO] [stdout] 112 | unsafe { &mut EXTERNAL_STORAGE }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 231 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `create_memory` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/tests.rs:113:26 [INFO] [stdout] | [INFO] [stdout] 113 | unsafe { VOLATILE_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 231 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `create_memory` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/tests.rs:114:31 [INFO] [stdout] | [INFO] [stdout] 114 | unsafe { &mut VOLATILE_STORAGE }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 231 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `create_memory` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:209:26 [INFO] [stdout] | [INFO] [stdout] 209 | unsafe { INTERNAL_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 231 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:210:26 [INFO] [stdout] | [INFO] [stdout] 210 | unsafe { INTERNAL_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 231 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:212:26 [INFO] [stdout] | [INFO] [stdout] 212 | unsafe { EXTERNAL_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 231 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:213:26 [INFO] [stdout] | [INFO] [stdout] 213 | unsafe { EXTERNAL_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 231 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:215:26 [INFO] [stdout] | [INFO] [stdout] 215 | unsafe { VOLATILE_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 231 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:216:26 [INFO] [stdout] | [INFO] [stdout] 216 | unsafe { VOLATILE_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 231 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:268:22 [INFO] [stdout] | [INFO] [stdout] 268 | unsafe { IFS.as_mut_ptr() } [INFO] [stdout] | ^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 231 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:275:22 [INFO] [stdout] | [INFO] [stdout] 275 | unsafe { EFS.as_mut_ptr() } [INFO] [stdout] | ^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 231 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:282:22 [INFO] [stdout] | [INFO] [stdout] 282 | unsafe { VFS.as_mut_ptr() } [INFO] [stdout] | ^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 231 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:339:17 [INFO] [stdout] | [INFO] [stdout] 339 | IFS_ALLOC.as_mut_ptr().write(ifs_alloc); [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 231 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:340:17 [INFO] [stdout] | [INFO] [stdout] 340 | IFS_STORAGE.as_mut_ptr().write(ifs_storage); [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 231 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:342:27 [INFO] [stdout] | [INFO] [stdout] 342 | &mut *IFS_ALLOC.as_mut_ptr(), [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 231 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:343:27 [INFO] [stdout] | [INFO] [stdout] 343 | &mut *IFS_STORAGE.as_mut_ptr(), [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 231 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:345:50 [INFO] [stdout] | [INFO] [stdout] 345 | let ifs = $crate::store::Fs::new(IFS.as_ref().unwrap()); [INFO] [stdout] | ^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 231 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:348:17 [INFO] [stdout] | [INFO] [stdout] 348 | EFS_ALLOC.as_mut_ptr().write(efs_alloc); [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 231 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:349:17 [INFO] [stdout] | [INFO] [stdout] 349 | EFS_STORAGE.as_mut_ptr().write(efs_storage); [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 231 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:351:27 [INFO] [stdout] | [INFO] [stdout] 351 | &mut *EFS_ALLOC.as_mut_ptr(), [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 231 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:352:27 [INFO] [stdout] | [INFO] [stdout] 352 | &mut *EFS_STORAGE.as_mut_ptr(), [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 231 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:354:50 [INFO] [stdout] | [INFO] [stdout] 354 | let efs = $crate::store::Fs::new(EFS.as_ref().unwrap()); [INFO] [stdout] | ^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 231 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:357:17 [INFO] [stdout] | [INFO] [stdout] 357 | VFS_ALLOC.as_mut_ptr().write(vfs_alloc); [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 231 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:358:17 [INFO] [stdout] | [INFO] [stdout] 358 | VFS_STORAGE.as_mut_ptr().write(vfs_storage); [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 231 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:360:27 [INFO] [stdout] | [INFO] [stdout] 360 | &mut *VFS_ALLOC.as_mut_ptr(), [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 231 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:361:27 [INFO] [stdout] | [INFO] [stdout] 361 | &mut *VFS_STORAGE.as_mut_ptr(), [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 231 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:363:50 [INFO] [stdout] | [INFO] [stdout] 363 | let vfs = $crate::store::Fs::new(VFS.as_ref().unwrap()); [INFO] [stdout] | ^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 231 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:399:26 [INFO] [stdout] | [INFO] [stdout] 399 | unsafe { INTERNAL_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 231 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:400:26 [INFO] [stdout] | [INFO] [stdout] 400 | unsafe { INTERNAL_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 231 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:402:26 [INFO] [stdout] | [INFO] [stdout] 402 | unsafe { EXTERNAL_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 231 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:403:26 [INFO] [stdout] | [INFO] [stdout] 403 | unsafe { EXTERNAL_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 231 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:405:26 [INFO] [stdout] | [INFO] [stdout] 405 | unsafe { VOLATILE_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 231 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:406:26 [INFO] [stdout] | [INFO] [stdout] 406 | unsafe { VOLATILE_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 231 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:410:30 [INFO] [stdout] | [INFO] [stdout] 410 | unsafe { INTERNAL_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 231 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:411:30 [INFO] [stdout] | [INFO] [stdout] 411 | unsafe { INTERNAL_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 231 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:413:30 [INFO] [stdout] | [INFO] [stdout] 413 | unsafe { EXTERNAL_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 231 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:414:30 [INFO] [stdout] | [INFO] [stdout] 414 | unsafe { EXTERNAL_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 231 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:416:30 [INFO] [stdout] | [INFO] [stdout] 416 | unsafe { VOLATILE_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 231 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:417:30 [INFO] [stdout] | [INFO] [stdout] 417 | unsafe { VOLATILE_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 231 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/tests.rs:109:26 [INFO] [stdout] | [INFO] [stdout] 109 | unsafe { INTERNAL_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 272 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `create_memory` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/tests.rs:110:26 [INFO] [stdout] | [INFO] [stdout] 110 | unsafe { INTERNAL_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 272 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `create_memory` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/tests.rs:111:26 [INFO] [stdout] | [INFO] [stdout] 111 | unsafe { EXTERNAL_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 272 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `create_memory` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/tests.rs:112:31 [INFO] [stdout] | [INFO] [stdout] 112 | unsafe { &mut EXTERNAL_STORAGE }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 272 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `create_memory` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/tests.rs:113:26 [INFO] [stdout] | [INFO] [stdout] 113 | unsafe { VOLATILE_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 272 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `create_memory` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/tests.rs:114:31 [INFO] [stdout] | [INFO] [stdout] 114 | unsafe { &mut VOLATILE_STORAGE }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 272 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `create_memory` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:209:26 [INFO] [stdout] | [INFO] [stdout] 209 | unsafe { INTERNAL_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:272:5 [INFO] [stdout] | [INFO] [stdout] 272 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:210:26 [INFO] [stdout] | [INFO] [stdout] 210 | unsafe { INTERNAL_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:272:5 [INFO] [stdout] | [INFO] [stdout] 272 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:212:26 [INFO] [stdout] | [INFO] [stdout] 212 | unsafe { EXTERNAL_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:272:5 [INFO] [stdout] | [INFO] [stdout] 272 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:213:26 [INFO] [stdout] | [INFO] [stdout] 213 | unsafe { EXTERNAL_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:272:5 [INFO] [stdout] | [INFO] [stdout] 272 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:215:26 [INFO] [stdout] | [INFO] [stdout] 215 | unsafe { VOLATILE_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:272:5 [INFO] [stdout] | [INFO] [stdout] 272 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:216:26 [INFO] [stdout] | [INFO] [stdout] 216 | unsafe { VOLATILE_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:272:5 [INFO] [stdout] | [INFO] [stdout] 272 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:268:22 [INFO] [stdout] | [INFO] [stdout] 268 | unsafe { IFS.as_mut_ptr() } [INFO] [stdout] | ^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:272:5 [INFO] [stdout] | [INFO] [stdout] 272 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:275:22 [INFO] [stdout] | [INFO] [stdout] 275 | unsafe { EFS.as_mut_ptr() } [INFO] [stdout] | ^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:272:5 [INFO] [stdout] | [INFO] [stdout] 272 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:282:22 [INFO] [stdout] | [INFO] [stdout] 282 | unsafe { VFS.as_mut_ptr() } [INFO] [stdout] | ^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:272:5 [INFO] [stdout] | [INFO] [stdout] 272 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:339:17 [INFO] [stdout] | [INFO] [stdout] 339 | IFS_ALLOC.as_mut_ptr().write(ifs_alloc); [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:272:5 [INFO] [stdout] | [INFO] [stdout] 272 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:340:17 [INFO] [stdout] | [INFO] [stdout] 340 | IFS_STORAGE.as_mut_ptr().write(ifs_storage); [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:272:5 [INFO] [stdout] | [INFO] [stdout] 272 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:342:27 [INFO] [stdout] | [INFO] [stdout] 342 | &mut *IFS_ALLOC.as_mut_ptr(), [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:272:5 [INFO] [stdout] | [INFO] [stdout] 272 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:343:27 [INFO] [stdout] | [INFO] [stdout] 343 | &mut *IFS_STORAGE.as_mut_ptr(), [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:272:5 [INFO] [stdout] | [INFO] [stdout] 272 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:345:50 [INFO] [stdout] | [INFO] [stdout] 345 | let ifs = $crate::store::Fs::new(IFS.as_ref().unwrap()); [INFO] [stdout] | ^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:272:5 [INFO] [stdout] | [INFO] [stdout] 272 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:348:17 [INFO] [stdout] | [INFO] [stdout] 348 | EFS_ALLOC.as_mut_ptr().write(efs_alloc); [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:272:5 [INFO] [stdout] | [INFO] [stdout] 272 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:349:17 [INFO] [stdout] | [INFO] [stdout] 349 | EFS_STORAGE.as_mut_ptr().write(efs_storage); [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:272:5 [INFO] [stdout] | [INFO] [stdout] 272 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:351:27 [INFO] [stdout] | [INFO] [stdout] 351 | &mut *EFS_ALLOC.as_mut_ptr(), [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:272:5 [INFO] [stdout] | [INFO] [stdout] 272 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:352:27 [INFO] [stdout] | [INFO] [stdout] 352 | &mut *EFS_STORAGE.as_mut_ptr(), [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:272:5 [INFO] [stdout] | [INFO] [stdout] 272 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:354:50 [INFO] [stdout] | [INFO] [stdout] 354 | let efs = $crate::store::Fs::new(EFS.as_ref().unwrap()); [INFO] [stdout] | ^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:272:5 [INFO] [stdout] | [INFO] [stdout] 272 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:357:17 [INFO] [stdout] | [INFO] [stdout] 357 | VFS_ALLOC.as_mut_ptr().write(vfs_alloc); [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:272:5 [INFO] [stdout] | [INFO] [stdout] 272 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:358:17 [INFO] [stdout] | [INFO] [stdout] 358 | VFS_STORAGE.as_mut_ptr().write(vfs_storage); [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:272:5 [INFO] [stdout] | [INFO] [stdout] 272 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:360:27 [INFO] [stdout] | [INFO] [stdout] 360 | &mut *VFS_ALLOC.as_mut_ptr(), [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:272:5 [INFO] [stdout] | [INFO] [stdout] 272 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:361:27 [INFO] [stdout] | [INFO] [stdout] 361 | &mut *VFS_STORAGE.as_mut_ptr(), [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:272:5 [INFO] [stdout] | [INFO] [stdout] 272 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:363:50 [INFO] [stdout] | [INFO] [stdout] 363 | let vfs = $crate::store::Fs::new(VFS.as_ref().unwrap()); [INFO] [stdout] | ^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:272:5 [INFO] [stdout] | [INFO] [stdout] 272 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:399:26 [INFO] [stdout] | [INFO] [stdout] 399 | unsafe { INTERNAL_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:272:5 [INFO] [stdout] | [INFO] [stdout] 272 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:400:26 [INFO] [stdout] | [INFO] [stdout] 400 | unsafe { INTERNAL_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:272:5 [INFO] [stdout] | [INFO] [stdout] 272 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:402:26 [INFO] [stdout] | [INFO] [stdout] 402 | unsafe { EXTERNAL_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:272:5 [INFO] [stdout] | [INFO] [stdout] 272 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:403:26 [INFO] [stdout] | [INFO] [stdout] 403 | unsafe { EXTERNAL_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:272:5 [INFO] [stdout] | [INFO] [stdout] 272 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:405:26 [INFO] [stdout] | [INFO] [stdout] 405 | unsafe { VOLATILE_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:272:5 [INFO] [stdout] | [INFO] [stdout] 272 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:406:26 [INFO] [stdout] | [INFO] [stdout] 406 | unsafe { VOLATILE_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:272:5 [INFO] [stdout] | [INFO] [stdout] 272 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:410:30 [INFO] [stdout] | [INFO] [stdout] 410 | unsafe { INTERNAL_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:272:5 [INFO] [stdout] | [INFO] [stdout] 272 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:411:30 [INFO] [stdout] | [INFO] [stdout] 411 | unsafe { INTERNAL_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:272:5 [INFO] [stdout] | [INFO] [stdout] 272 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:413:30 [INFO] [stdout] | [INFO] [stdout] 413 | unsafe { EXTERNAL_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:272:5 [INFO] [stdout] | [INFO] [stdout] 272 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:414:30 [INFO] [stdout] | [INFO] [stdout] 414 | unsafe { EXTERNAL_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:272:5 [INFO] [stdout] | [INFO] [stdout] 272 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:416:30 [INFO] [stdout] | [INFO] [stdout] 416 | unsafe { VOLATILE_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:272:5 [INFO] [stdout] | [INFO] [stdout] 272 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:417:30 [INFO] [stdout] | [INFO] [stdout] 417 | unsafe { VOLATILE_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:272:5 [INFO] [stdout] | [INFO] [stdout] 272 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/tests.rs:109:26 [INFO] [stdout] | [INFO] [stdout] 109 | unsafe { INTERNAL_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 304 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `create_memory` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/tests.rs:110:26 [INFO] [stdout] | [INFO] [stdout] 110 | unsafe { INTERNAL_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 304 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `create_memory` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/tests.rs:111:26 [INFO] [stdout] | [INFO] [stdout] 111 | unsafe { EXTERNAL_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 304 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `create_memory` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/tests.rs:112:31 [INFO] [stdout] | [INFO] [stdout] 112 | unsafe { &mut EXTERNAL_STORAGE }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 304 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `create_memory` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/tests.rs:113:26 [INFO] [stdout] | [INFO] [stdout] 113 | unsafe { VOLATILE_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 304 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `create_memory` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/tests.rs:114:31 [INFO] [stdout] | [INFO] [stdout] 114 | unsafe { &mut VOLATILE_STORAGE }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 304 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `create_memory` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:209:26 [INFO] [stdout] | [INFO] [stdout] 209 | unsafe { INTERNAL_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:304:5 [INFO] [stdout] | [INFO] [stdout] 304 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:210:26 [INFO] [stdout] | [INFO] [stdout] 210 | unsafe { INTERNAL_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:304:5 [INFO] [stdout] | [INFO] [stdout] 304 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:212:26 [INFO] [stdout] | [INFO] [stdout] 212 | unsafe { EXTERNAL_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:304:5 [INFO] [stdout] | [INFO] [stdout] 304 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:213:26 [INFO] [stdout] | [INFO] [stdout] 213 | unsafe { EXTERNAL_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:304:5 [INFO] [stdout] | [INFO] [stdout] 304 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:215:26 [INFO] [stdout] | [INFO] [stdout] 215 | unsafe { VOLATILE_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:304:5 [INFO] [stdout] | [INFO] [stdout] 304 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:216:26 [INFO] [stdout] | [INFO] [stdout] 216 | unsafe { VOLATILE_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:304:5 [INFO] [stdout] | [INFO] [stdout] 304 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:268:22 [INFO] [stdout] | [INFO] [stdout] 268 | unsafe { IFS.as_mut_ptr() } [INFO] [stdout] | ^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:304:5 [INFO] [stdout] | [INFO] [stdout] 304 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:275:22 [INFO] [stdout] | [INFO] [stdout] 275 | unsafe { EFS.as_mut_ptr() } [INFO] [stdout] | ^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:304:5 [INFO] [stdout] | [INFO] [stdout] 304 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:282:22 [INFO] [stdout] | [INFO] [stdout] 282 | unsafe { VFS.as_mut_ptr() } [INFO] [stdout] | ^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:304:5 [INFO] [stdout] | [INFO] [stdout] 304 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:339:17 [INFO] [stdout] | [INFO] [stdout] 339 | IFS_ALLOC.as_mut_ptr().write(ifs_alloc); [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:304:5 [INFO] [stdout] | [INFO] [stdout] 304 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:340:17 [INFO] [stdout] | [INFO] [stdout] 340 | IFS_STORAGE.as_mut_ptr().write(ifs_storage); [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:304:5 [INFO] [stdout] | [INFO] [stdout] 304 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:342:27 [INFO] [stdout] | [INFO] [stdout] 342 | &mut *IFS_ALLOC.as_mut_ptr(), [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:304:5 [INFO] [stdout] | [INFO] [stdout] 304 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:343:27 [INFO] [stdout] | [INFO] [stdout] 343 | &mut *IFS_STORAGE.as_mut_ptr(), [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:304:5 [INFO] [stdout] | [INFO] [stdout] 304 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:345:50 [INFO] [stdout] | [INFO] [stdout] 345 | let ifs = $crate::store::Fs::new(IFS.as_ref().unwrap()); [INFO] [stdout] | ^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:304:5 [INFO] [stdout] | [INFO] [stdout] 304 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:348:17 [INFO] [stdout] | [INFO] [stdout] 348 | EFS_ALLOC.as_mut_ptr().write(efs_alloc); [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:304:5 [INFO] [stdout] | [INFO] [stdout] 304 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:349:17 [INFO] [stdout] | [INFO] [stdout] 349 | EFS_STORAGE.as_mut_ptr().write(efs_storage); [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:304:5 [INFO] [stdout] | [INFO] [stdout] 304 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:351:27 [INFO] [stdout] | [INFO] [stdout] 351 | &mut *EFS_ALLOC.as_mut_ptr(), [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:304:5 [INFO] [stdout] | [INFO] [stdout] 304 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:352:27 [INFO] [stdout] | [INFO] [stdout] 352 | &mut *EFS_STORAGE.as_mut_ptr(), [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:304:5 [INFO] [stdout] | [INFO] [stdout] 304 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:354:50 [INFO] [stdout] | [INFO] [stdout] 354 | let efs = $crate::store::Fs::new(EFS.as_ref().unwrap()); [INFO] [stdout] | ^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:304:5 [INFO] [stdout] | [INFO] [stdout] 304 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:357:17 [INFO] [stdout] | [INFO] [stdout] 357 | VFS_ALLOC.as_mut_ptr().write(vfs_alloc); [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:304:5 [INFO] [stdout] | [INFO] [stdout] 304 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:358:17 [INFO] [stdout] | [INFO] [stdout] 358 | VFS_STORAGE.as_mut_ptr().write(vfs_storage); [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:304:5 [INFO] [stdout] | [INFO] [stdout] 304 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:360:27 [INFO] [stdout] | [INFO] [stdout] 360 | &mut *VFS_ALLOC.as_mut_ptr(), [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:304:5 [INFO] [stdout] | [INFO] [stdout] 304 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:361:27 [INFO] [stdout] | [INFO] [stdout] 361 | &mut *VFS_STORAGE.as_mut_ptr(), [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:304:5 [INFO] [stdout] | [INFO] [stdout] 304 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:363:50 [INFO] [stdout] | [INFO] [stdout] 363 | let vfs = $crate::store::Fs::new(VFS.as_ref().unwrap()); [INFO] [stdout] | ^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:304:5 [INFO] [stdout] | [INFO] [stdout] 304 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:399:26 [INFO] [stdout] | [INFO] [stdout] 399 | unsafe { INTERNAL_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:304:5 [INFO] [stdout] | [INFO] [stdout] 304 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:400:26 [INFO] [stdout] | [INFO] [stdout] 400 | unsafe { INTERNAL_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:304:5 [INFO] [stdout] | [INFO] [stdout] 304 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:402:26 [INFO] [stdout] | [INFO] [stdout] 402 | unsafe { EXTERNAL_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:304:5 [INFO] [stdout] | [INFO] [stdout] 304 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:403:26 [INFO] [stdout] | [INFO] [stdout] 403 | unsafe { EXTERNAL_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:304:5 [INFO] [stdout] | [INFO] [stdout] 304 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:405:26 [INFO] [stdout] | [INFO] [stdout] 405 | unsafe { VOLATILE_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:304:5 [INFO] [stdout] | [INFO] [stdout] 304 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:406:26 [INFO] [stdout] | [INFO] [stdout] 406 | unsafe { VOLATILE_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:304:5 [INFO] [stdout] | [INFO] [stdout] 304 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:410:30 [INFO] [stdout] | [INFO] [stdout] 410 | unsafe { INTERNAL_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:304:5 [INFO] [stdout] | [INFO] [stdout] 304 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:411:30 [INFO] [stdout] | [INFO] [stdout] 411 | unsafe { INTERNAL_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:304:5 [INFO] [stdout] | [INFO] [stdout] 304 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:413:30 [INFO] [stdout] | [INFO] [stdout] 413 | unsafe { EXTERNAL_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:304:5 [INFO] [stdout] | [INFO] [stdout] 304 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:414:30 [INFO] [stdout] | [INFO] [stdout] 414 | unsafe { EXTERNAL_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:304:5 [INFO] [stdout] | [INFO] [stdout] 304 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:416:30 [INFO] [stdout] | [INFO] [stdout] 416 | unsafe { VOLATILE_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:304:5 [INFO] [stdout] | [INFO] [stdout] 304 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:417:30 [INFO] [stdout] | [INFO] [stdout] 417 | unsafe { VOLATILE_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:304:5 [INFO] [stdout] | [INFO] [stdout] 304 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/tests.rs:109:26 [INFO] [stdout] | [INFO] [stdout] 109 | unsafe { INTERNAL_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 352 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `create_memory` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/tests.rs:110:26 [INFO] [stdout] | [INFO] [stdout] 110 | unsafe { INTERNAL_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 352 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `create_memory` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/tests.rs:111:26 [INFO] [stdout] | [INFO] [stdout] 111 | unsafe { EXTERNAL_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 352 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `create_memory` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/tests.rs:112:31 [INFO] [stdout] | [INFO] [stdout] 112 | unsafe { &mut EXTERNAL_STORAGE }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 352 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `create_memory` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/tests.rs:113:26 [INFO] [stdout] | [INFO] [stdout] 113 | unsafe { VOLATILE_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 352 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `create_memory` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/tests.rs:114:31 [INFO] [stdout] | [INFO] [stdout] 114 | unsafe { &mut VOLATILE_STORAGE }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 352 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `create_memory` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:209:26 [INFO] [stdout] | [INFO] [stdout] 209 | unsafe { INTERNAL_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:352:5 [INFO] [stdout] | [INFO] [stdout] 352 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:210:26 [INFO] [stdout] | [INFO] [stdout] 210 | unsafe { INTERNAL_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:352:5 [INFO] [stdout] | [INFO] [stdout] 352 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:212:26 [INFO] [stdout] | [INFO] [stdout] 212 | unsafe { EXTERNAL_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:352:5 [INFO] [stdout] | [INFO] [stdout] 352 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:213:26 [INFO] [stdout] | [INFO] [stdout] 213 | unsafe { EXTERNAL_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:352:5 [INFO] [stdout] | [INFO] [stdout] 352 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:215:26 [INFO] [stdout] | [INFO] [stdout] 215 | unsafe { VOLATILE_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:352:5 [INFO] [stdout] | [INFO] [stdout] 352 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:216:26 [INFO] [stdout] | [INFO] [stdout] 216 | unsafe { VOLATILE_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:352:5 [INFO] [stdout] | [INFO] [stdout] 352 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:268:22 [INFO] [stdout] | [INFO] [stdout] 268 | unsafe { IFS.as_mut_ptr() } [INFO] [stdout] | ^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:352:5 [INFO] [stdout] | [INFO] [stdout] 352 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:275:22 [INFO] [stdout] | [INFO] [stdout] 275 | unsafe { EFS.as_mut_ptr() } [INFO] [stdout] | ^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:352:5 [INFO] [stdout] | [INFO] [stdout] 352 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:282:22 [INFO] [stdout] | [INFO] [stdout] 282 | unsafe { VFS.as_mut_ptr() } [INFO] [stdout] | ^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:352:5 [INFO] [stdout] | [INFO] [stdout] 352 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:339:17 [INFO] [stdout] | [INFO] [stdout] 339 | IFS_ALLOC.as_mut_ptr().write(ifs_alloc); [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:352:5 [INFO] [stdout] | [INFO] [stdout] 352 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:340:17 [INFO] [stdout] | [INFO] [stdout] 340 | IFS_STORAGE.as_mut_ptr().write(ifs_storage); [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:352:5 [INFO] [stdout] | [INFO] [stdout] 352 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:342:27 [INFO] [stdout] | [INFO] [stdout] 342 | &mut *IFS_ALLOC.as_mut_ptr(), [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:352:5 [INFO] [stdout] | [INFO] [stdout] 352 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:343:27 [INFO] [stdout] | [INFO] [stdout] 343 | &mut *IFS_STORAGE.as_mut_ptr(), [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:352:5 [INFO] [stdout] | [INFO] [stdout] 352 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:345:50 [INFO] [stdout] | [INFO] [stdout] 345 | let ifs = $crate::store::Fs::new(IFS.as_ref().unwrap()); [INFO] [stdout] | ^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:352:5 [INFO] [stdout] | [INFO] [stdout] 352 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:348:17 [INFO] [stdout] | [INFO] [stdout] 348 | EFS_ALLOC.as_mut_ptr().write(efs_alloc); [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:352:5 [INFO] [stdout] | [INFO] [stdout] 352 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:349:17 [INFO] [stdout] | [INFO] [stdout] 349 | EFS_STORAGE.as_mut_ptr().write(efs_storage); [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:352:5 [INFO] [stdout] | [INFO] [stdout] 352 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:351:27 [INFO] [stdout] | [INFO] [stdout] 351 | &mut *EFS_ALLOC.as_mut_ptr(), [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:352:5 [INFO] [stdout] | [INFO] [stdout] 352 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:352:27 [INFO] [stdout] | [INFO] [stdout] 352 | &mut *EFS_STORAGE.as_mut_ptr(), [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:352:5 [INFO] [stdout] | [INFO] [stdout] 352 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:354:50 [INFO] [stdout] | [INFO] [stdout] 354 | let efs = $crate::store::Fs::new(EFS.as_ref().unwrap()); [INFO] [stdout] | ^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:352:5 [INFO] [stdout] | [INFO] [stdout] 352 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:357:17 [INFO] [stdout] | [INFO] [stdout] 357 | VFS_ALLOC.as_mut_ptr().write(vfs_alloc); [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:352:5 [INFO] [stdout] | [INFO] [stdout] 352 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:358:17 [INFO] [stdout] | [INFO] [stdout] 358 | VFS_STORAGE.as_mut_ptr().write(vfs_storage); [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:352:5 [INFO] [stdout] | [INFO] [stdout] 352 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:360:27 [INFO] [stdout] | [INFO] [stdout] 360 | &mut *VFS_ALLOC.as_mut_ptr(), [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:352:5 [INFO] [stdout] | [INFO] [stdout] 352 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:361:27 [INFO] [stdout] | [INFO] [stdout] 361 | &mut *VFS_STORAGE.as_mut_ptr(), [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:352:5 [INFO] [stdout] | [INFO] [stdout] 352 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:363:50 [INFO] [stdout] | [INFO] [stdout] 363 | let vfs = $crate::store::Fs::new(VFS.as_ref().unwrap()); [INFO] [stdout] | ^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:352:5 [INFO] [stdout] | [INFO] [stdout] 352 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:399:26 [INFO] [stdout] | [INFO] [stdout] 399 | unsafe { INTERNAL_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:352:5 [INFO] [stdout] | [INFO] [stdout] 352 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:400:26 [INFO] [stdout] | [INFO] [stdout] 400 | unsafe { INTERNAL_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:352:5 [INFO] [stdout] | [INFO] [stdout] 352 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:402:26 [INFO] [stdout] | [INFO] [stdout] 402 | unsafe { EXTERNAL_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:352:5 [INFO] [stdout] | [INFO] [stdout] 352 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:403:26 [INFO] [stdout] | [INFO] [stdout] 403 | unsafe { EXTERNAL_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:352:5 [INFO] [stdout] | [INFO] [stdout] 352 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:405:26 [INFO] [stdout] | [INFO] [stdout] 405 | unsafe { VOLATILE_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:352:5 [INFO] [stdout] | [INFO] [stdout] 352 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:406:26 [INFO] [stdout] | [INFO] [stdout] 406 | unsafe { VOLATILE_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:352:5 [INFO] [stdout] | [INFO] [stdout] 352 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:410:30 [INFO] [stdout] | [INFO] [stdout] 410 | unsafe { INTERNAL_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:352:5 [INFO] [stdout] | [INFO] [stdout] 352 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:411:30 [INFO] [stdout] | [INFO] [stdout] 411 | unsafe { INTERNAL_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:352:5 [INFO] [stdout] | [INFO] [stdout] 352 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:413:30 [INFO] [stdout] | [INFO] [stdout] 413 | unsafe { EXTERNAL_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:352:5 [INFO] [stdout] | [INFO] [stdout] 352 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:414:30 [INFO] [stdout] | [INFO] [stdout] 414 | unsafe { EXTERNAL_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:352:5 [INFO] [stdout] | [INFO] [stdout] 352 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:416:30 [INFO] [stdout] | [INFO] [stdout] 416 | unsafe { VOLATILE_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:352:5 [INFO] [stdout] | [INFO] [stdout] 352 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:417:30 [INFO] [stdout] | [INFO] [stdout] 417 | unsafe { VOLATILE_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:352:5 [INFO] [stdout] | [INFO] [stdout] 352 | setup!(client); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/tests.rs:109:26 [INFO] [stdout] | [INFO] [stdout] 109 | unsafe { INTERNAL_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 408 | setup!(client1); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `create_memory` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/tests.rs:110:26 [INFO] [stdout] | [INFO] [stdout] 110 | unsafe { INTERNAL_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 408 | setup!(client1); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `create_memory` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/tests.rs:111:26 [INFO] [stdout] | [INFO] [stdout] 111 | unsafe { EXTERNAL_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 408 | setup!(client1); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `create_memory` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/tests.rs:112:31 [INFO] [stdout] | [INFO] [stdout] 112 | unsafe { &mut EXTERNAL_STORAGE }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 408 | setup!(client1); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `create_memory` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/tests.rs:113:26 [INFO] [stdout] | [INFO] [stdout] 113 | unsafe { VOLATILE_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 408 | setup!(client1); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `create_memory` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/tests.rs:114:31 [INFO] [stdout] | [INFO] [stdout] 114 | unsafe { &mut VOLATILE_STORAGE }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 408 | setup!(client1); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `create_memory` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:209:26 [INFO] [stdout] | [INFO] [stdout] 209 | unsafe { INTERNAL_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:408:5 [INFO] [stdout] | [INFO] [stdout] 408 | setup!(client1); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:210:26 [INFO] [stdout] | [INFO] [stdout] 210 | unsafe { INTERNAL_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:408:5 [INFO] [stdout] | [INFO] [stdout] 408 | setup!(client1); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:212:26 [INFO] [stdout] | [INFO] [stdout] 212 | unsafe { EXTERNAL_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:408:5 [INFO] [stdout] | [INFO] [stdout] 408 | setup!(client1); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:213:26 [INFO] [stdout] | [INFO] [stdout] 213 | unsafe { EXTERNAL_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:408:5 [INFO] [stdout] | [INFO] [stdout] 408 | setup!(client1); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:215:26 [INFO] [stdout] | [INFO] [stdout] 215 | unsafe { VOLATILE_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:408:5 [INFO] [stdout] | [INFO] [stdout] 408 | setup!(client1); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:216:26 [INFO] [stdout] | [INFO] [stdout] 216 | unsafe { VOLATILE_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:408:5 [INFO] [stdout] | [INFO] [stdout] 408 | setup!(client1); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:268:22 [INFO] [stdout] | [INFO] [stdout] 268 | unsafe { IFS.as_mut_ptr() } [INFO] [stdout] | ^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:408:5 [INFO] [stdout] | [INFO] [stdout] 408 | setup!(client1); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:275:22 [INFO] [stdout] | [INFO] [stdout] 275 | unsafe { EFS.as_mut_ptr() } [INFO] [stdout] | ^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:408:5 [INFO] [stdout] | [INFO] [stdout] 408 | setup!(client1); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:282:22 [INFO] [stdout] | [INFO] [stdout] 282 | unsafe { VFS.as_mut_ptr() } [INFO] [stdout] | ^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:408:5 [INFO] [stdout] | [INFO] [stdout] 408 | setup!(client1); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:339:17 [INFO] [stdout] | [INFO] [stdout] 339 | IFS_ALLOC.as_mut_ptr().write(ifs_alloc); [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:408:5 [INFO] [stdout] | [INFO] [stdout] 408 | setup!(client1); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:340:17 [INFO] [stdout] | [INFO] [stdout] 340 | IFS_STORAGE.as_mut_ptr().write(ifs_storage); [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:408:5 [INFO] [stdout] | [INFO] [stdout] 408 | setup!(client1); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:342:27 [INFO] [stdout] | [INFO] [stdout] 342 | &mut *IFS_ALLOC.as_mut_ptr(), [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:408:5 [INFO] [stdout] | [INFO] [stdout] 408 | setup!(client1); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:343:27 [INFO] [stdout] | [INFO] [stdout] 343 | &mut *IFS_STORAGE.as_mut_ptr(), [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:408:5 [INFO] [stdout] | [INFO] [stdout] 408 | setup!(client1); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:345:50 [INFO] [stdout] | [INFO] [stdout] 345 | let ifs = $crate::store::Fs::new(IFS.as_ref().unwrap()); [INFO] [stdout] | ^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:408:5 [INFO] [stdout] | [INFO] [stdout] 408 | setup!(client1); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:348:17 [INFO] [stdout] | [INFO] [stdout] 348 | EFS_ALLOC.as_mut_ptr().write(efs_alloc); [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:408:5 [INFO] [stdout] | [INFO] [stdout] 408 | setup!(client1); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:349:17 [INFO] [stdout] | [INFO] [stdout] 349 | EFS_STORAGE.as_mut_ptr().write(efs_storage); [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:408:5 [INFO] [stdout] | [INFO] [stdout] 408 | setup!(client1); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:351:27 [INFO] [stdout] | [INFO] [stdout] 351 | &mut *EFS_ALLOC.as_mut_ptr(), [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:408:5 [INFO] [stdout] | [INFO] [stdout] 408 | setup!(client1); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:352:27 [INFO] [stdout] | [INFO] [stdout] 352 | &mut *EFS_STORAGE.as_mut_ptr(), [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:408:5 [INFO] [stdout] | [INFO] [stdout] 408 | setup!(client1); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:354:50 [INFO] [stdout] | [INFO] [stdout] 354 | let efs = $crate::store::Fs::new(EFS.as_ref().unwrap()); [INFO] [stdout] | ^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:408:5 [INFO] [stdout] | [INFO] [stdout] 408 | setup!(client1); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:357:17 [INFO] [stdout] | [INFO] [stdout] 357 | VFS_ALLOC.as_mut_ptr().write(vfs_alloc); [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:408:5 [INFO] [stdout] | [INFO] [stdout] 408 | setup!(client1); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:358:17 [INFO] [stdout] | [INFO] [stdout] 358 | VFS_STORAGE.as_mut_ptr().write(vfs_storage); [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:408:5 [INFO] [stdout] | [INFO] [stdout] 408 | setup!(client1); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:360:27 [INFO] [stdout] | [INFO] [stdout] 360 | &mut *VFS_ALLOC.as_mut_ptr(), [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:408:5 [INFO] [stdout] | [INFO] [stdout] 408 | setup!(client1); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:361:27 [INFO] [stdout] | [INFO] [stdout] 361 | &mut *VFS_STORAGE.as_mut_ptr(), [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:408:5 [INFO] [stdout] | [INFO] [stdout] 408 | setup!(client1); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:363:50 [INFO] [stdout] | [INFO] [stdout] 363 | let vfs = $crate::store::Fs::new(VFS.as_ref().unwrap()); [INFO] [stdout] | ^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:408:5 [INFO] [stdout] | [INFO] [stdout] 408 | setup!(client1); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:399:26 [INFO] [stdout] | [INFO] [stdout] 399 | unsafe { INTERNAL_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:408:5 [INFO] [stdout] | [INFO] [stdout] 408 | setup!(client1); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:400:26 [INFO] [stdout] | [INFO] [stdout] 400 | unsafe { INTERNAL_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:408:5 [INFO] [stdout] | [INFO] [stdout] 408 | setup!(client1); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:402:26 [INFO] [stdout] | [INFO] [stdout] 402 | unsafe { EXTERNAL_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:408:5 [INFO] [stdout] | [INFO] [stdout] 408 | setup!(client1); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:403:26 [INFO] [stdout] | [INFO] [stdout] 403 | unsafe { EXTERNAL_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:408:5 [INFO] [stdout] | [INFO] [stdout] 408 | setup!(client1); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:405:26 [INFO] [stdout] | [INFO] [stdout] 405 | unsafe { VOLATILE_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:408:5 [INFO] [stdout] | [INFO] [stdout] 408 | setup!(client1); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:406:26 [INFO] [stdout] | [INFO] [stdout] 406 | unsafe { VOLATILE_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:408:5 [INFO] [stdout] | [INFO] [stdout] 408 | setup!(client1); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:410:30 [INFO] [stdout] | [INFO] [stdout] 410 | unsafe { INTERNAL_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:408:5 [INFO] [stdout] | [INFO] [stdout] 408 | setup!(client1); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:411:30 [INFO] [stdout] | [INFO] [stdout] 411 | unsafe { INTERNAL_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:408:5 [INFO] [stdout] | [INFO] [stdout] 408 | setup!(client1); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:413:30 [INFO] [stdout] | [INFO] [stdout] 413 | unsafe { EXTERNAL_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:408:5 [INFO] [stdout] | [INFO] [stdout] 408 | setup!(client1); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:414:30 [INFO] [stdout] | [INFO] [stdout] 414 | unsafe { EXTERNAL_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:408:5 [INFO] [stdout] | [INFO] [stdout] 408 | setup!(client1); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:416:30 [INFO] [stdout] | [INFO] [stdout] 416 | unsafe { VOLATILE_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:408:5 [INFO] [stdout] | [INFO] [stdout] 408 | setup!(client1); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:417:30 [INFO] [stdout] | [INFO] [stdout] 417 | unsafe { VOLATILE_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:408:5 [INFO] [stdout] | [INFO] [stdout] 408 | setup!(client1); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/tests.rs:109:26 [INFO] [stdout] | [INFO] [stdout] 109 | unsafe { INTERNAL_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 416 | let mem1 = create_memory!(); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `create_memory` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/tests.rs:110:26 [INFO] [stdout] | [INFO] [stdout] 110 | unsafe { INTERNAL_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 416 | let mem1 = create_memory!(); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `create_memory` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/tests.rs:111:26 [INFO] [stdout] | [INFO] [stdout] 111 | unsafe { EXTERNAL_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 416 | let mem1 = create_memory!(); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `create_memory` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/tests.rs:112:31 [INFO] [stdout] | [INFO] [stdout] 112 | unsafe { &mut EXTERNAL_STORAGE }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 416 | let mem1 = create_memory!(); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `create_memory` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/tests.rs:113:26 [INFO] [stdout] | [INFO] [stdout] 113 | unsafe { VOLATILE_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 416 | let mem1 = create_memory!(); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `create_memory` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/tests.rs:114:31 [INFO] [stdout] | [INFO] [stdout] 114 | unsafe { &mut VOLATILE_STORAGE }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 416 | let mem1 = create_memory!(); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `create_memory` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/tests.rs:109:26 [INFO] [stdout] | [INFO] [stdout] 109 | unsafe { INTERNAL_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 417 | let mem2 = create_memory!(); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `create_memory` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/tests.rs:110:26 [INFO] [stdout] | [INFO] [stdout] 110 | unsafe { INTERNAL_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 417 | let mem2 = create_memory!(); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `create_memory` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/tests.rs:111:26 [INFO] [stdout] | [INFO] [stdout] 111 | unsafe { EXTERNAL_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 417 | let mem2 = create_memory!(); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `create_memory` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/tests.rs:112:31 [INFO] [stdout] | [INFO] [stdout] 112 | unsafe { &mut EXTERNAL_STORAGE }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 417 | let mem2 = create_memory!(); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `create_memory` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/tests.rs:113:26 [INFO] [stdout] | [INFO] [stdout] 113 | unsafe { VOLATILE_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 417 | let mem2 = create_memory!(); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `create_memory` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/tests.rs:114:31 [INFO] [stdout] | [INFO] [stdout] 114 | unsafe { &mut VOLATILE_STORAGE }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 417 | let mem2 = create_memory!(); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `create_memory` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/tests.rs:109:26 [INFO] [stdout] | [INFO] [stdout] 109 | unsafe { INTERNAL_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 418 | let mem3 = create_memory!(); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `create_memory` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/tests.rs:110:26 [INFO] [stdout] | [INFO] [stdout] 110 | unsafe { INTERNAL_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 418 | let mem3 = create_memory!(); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `create_memory` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/tests.rs:111:26 [INFO] [stdout] | [INFO] [stdout] 111 | unsafe { EXTERNAL_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 418 | let mem3 = create_memory!(); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `create_memory` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/tests.rs:112:31 [INFO] [stdout] | [INFO] [stdout] 112 | unsafe { &mut EXTERNAL_STORAGE }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 418 | let mem3 = create_memory!(); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `create_memory` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/tests.rs:113:26 [INFO] [stdout] | [INFO] [stdout] 113 | unsafe { VOLATILE_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 418 | let mem3 = create_memory!(); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `create_memory` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/tests.rs:114:31 [INFO] [stdout] | [INFO] [stdout] 114 | unsafe { &mut VOLATILE_STORAGE }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 418 | let mem3 = create_memory!(); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `create_memory` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:209:26 [INFO] [stdout] | [INFO] [stdout] 209 | unsafe { INTERNAL_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:419:5 [INFO] [stdout] | [INFO] [stdout] 419 | setup!(client_twin1, StoreTwin1, PlatformTwin1, mem1, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:210:26 [INFO] [stdout] | [INFO] [stdout] 210 | unsafe { INTERNAL_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:419:5 [INFO] [stdout] | [INFO] [stdout] 419 | setup!(client_twin1, StoreTwin1, PlatformTwin1, mem1, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:212:26 [INFO] [stdout] | [INFO] [stdout] 212 | unsafe { EXTERNAL_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:419:5 [INFO] [stdout] | [INFO] [stdout] 419 | setup!(client_twin1, StoreTwin1, PlatformTwin1, mem1, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:213:26 [INFO] [stdout] | [INFO] [stdout] 213 | unsafe { EXTERNAL_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:419:5 [INFO] [stdout] | [INFO] [stdout] 419 | setup!(client_twin1, StoreTwin1, PlatformTwin1, mem1, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:215:26 [INFO] [stdout] | [INFO] [stdout] 215 | unsafe { VOLATILE_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:419:5 [INFO] [stdout] | [INFO] [stdout] 419 | setup!(client_twin1, StoreTwin1, PlatformTwin1, mem1, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:216:26 [INFO] [stdout] | [INFO] [stdout] 216 | unsafe { VOLATILE_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:419:5 [INFO] [stdout] | [INFO] [stdout] 419 | setup!(client_twin1, StoreTwin1, PlatformTwin1, mem1, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:268:22 [INFO] [stdout] | [INFO] [stdout] 268 | unsafe { IFS.as_mut_ptr() } [INFO] [stdout] | ^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:419:5 [INFO] [stdout] | [INFO] [stdout] 419 | setup!(client_twin1, StoreTwin1, PlatformTwin1, mem1, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:275:22 [INFO] [stdout] | [INFO] [stdout] 275 | unsafe { EFS.as_mut_ptr() } [INFO] [stdout] | ^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:419:5 [INFO] [stdout] | [INFO] [stdout] 419 | setup!(client_twin1, StoreTwin1, PlatformTwin1, mem1, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:282:22 [INFO] [stdout] | [INFO] [stdout] 282 | unsafe { VFS.as_mut_ptr() } [INFO] [stdout] | ^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:419:5 [INFO] [stdout] | [INFO] [stdout] 419 | setup!(client_twin1, StoreTwin1, PlatformTwin1, mem1, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:339:17 [INFO] [stdout] | [INFO] [stdout] 339 | IFS_ALLOC.as_mut_ptr().write(ifs_alloc); [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:419:5 [INFO] [stdout] | [INFO] [stdout] 419 | setup!(client_twin1, StoreTwin1, PlatformTwin1, mem1, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:340:17 [INFO] [stdout] | [INFO] [stdout] 340 | IFS_STORAGE.as_mut_ptr().write(ifs_storage); [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:419:5 [INFO] [stdout] | [INFO] [stdout] 419 | setup!(client_twin1, StoreTwin1, PlatformTwin1, mem1, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:342:27 [INFO] [stdout] | [INFO] [stdout] 342 | &mut *IFS_ALLOC.as_mut_ptr(), [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:419:5 [INFO] [stdout] | [INFO] [stdout] 419 | setup!(client_twin1, StoreTwin1, PlatformTwin1, mem1, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:343:27 [INFO] [stdout] | [INFO] [stdout] 343 | &mut *IFS_STORAGE.as_mut_ptr(), [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:419:5 [INFO] [stdout] | [INFO] [stdout] 419 | setup!(client_twin1, StoreTwin1, PlatformTwin1, mem1, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:345:50 [INFO] [stdout] | [INFO] [stdout] 345 | let ifs = $crate::store::Fs::new(IFS.as_ref().unwrap()); [INFO] [stdout] | ^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:419:5 [INFO] [stdout] | [INFO] [stdout] 419 | setup!(client_twin1, StoreTwin1, PlatformTwin1, mem1, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:348:17 [INFO] [stdout] | [INFO] [stdout] 348 | EFS_ALLOC.as_mut_ptr().write(efs_alloc); [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:419:5 [INFO] [stdout] | [INFO] [stdout] 419 | setup!(client_twin1, StoreTwin1, PlatformTwin1, mem1, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:349:17 [INFO] [stdout] | [INFO] [stdout] 349 | EFS_STORAGE.as_mut_ptr().write(efs_storage); [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:419:5 [INFO] [stdout] | [INFO] [stdout] 419 | setup!(client_twin1, StoreTwin1, PlatformTwin1, mem1, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:351:27 [INFO] [stdout] | [INFO] [stdout] 351 | &mut *EFS_ALLOC.as_mut_ptr(), [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:419:5 [INFO] [stdout] | [INFO] [stdout] 419 | setup!(client_twin1, StoreTwin1, PlatformTwin1, mem1, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:352:27 [INFO] [stdout] | [INFO] [stdout] 352 | &mut *EFS_STORAGE.as_mut_ptr(), [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:419:5 [INFO] [stdout] | [INFO] [stdout] 419 | setup!(client_twin1, StoreTwin1, PlatformTwin1, mem1, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:354:50 [INFO] [stdout] | [INFO] [stdout] 354 | let efs = $crate::store::Fs::new(EFS.as_ref().unwrap()); [INFO] [stdout] | ^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:419:5 [INFO] [stdout] | [INFO] [stdout] 419 | setup!(client_twin1, StoreTwin1, PlatformTwin1, mem1, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:357:17 [INFO] [stdout] | [INFO] [stdout] 357 | VFS_ALLOC.as_mut_ptr().write(vfs_alloc); [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:419:5 [INFO] [stdout] | [INFO] [stdout] 419 | setup!(client_twin1, StoreTwin1, PlatformTwin1, mem1, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:358:17 [INFO] [stdout] | [INFO] [stdout] 358 | VFS_STORAGE.as_mut_ptr().write(vfs_storage); [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:419:5 [INFO] [stdout] | [INFO] [stdout] 419 | setup!(client_twin1, StoreTwin1, PlatformTwin1, mem1, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:360:27 [INFO] [stdout] | [INFO] [stdout] 360 | &mut *VFS_ALLOC.as_mut_ptr(), [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:419:5 [INFO] [stdout] | [INFO] [stdout] 419 | setup!(client_twin1, StoreTwin1, PlatformTwin1, mem1, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:361:27 [INFO] [stdout] | [INFO] [stdout] 361 | &mut *VFS_STORAGE.as_mut_ptr(), [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:419:5 [INFO] [stdout] | [INFO] [stdout] 419 | setup!(client_twin1, StoreTwin1, PlatformTwin1, mem1, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:363:50 [INFO] [stdout] | [INFO] [stdout] 363 | let vfs = $crate::store::Fs::new(VFS.as_ref().unwrap()); [INFO] [stdout] | ^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:419:5 [INFO] [stdout] | [INFO] [stdout] 419 | setup!(client_twin1, StoreTwin1, PlatformTwin1, mem1, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:399:26 [INFO] [stdout] | [INFO] [stdout] 399 | unsafe { INTERNAL_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:419:5 [INFO] [stdout] | [INFO] [stdout] 419 | setup!(client_twin1, StoreTwin1, PlatformTwin1, mem1, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:400:26 [INFO] [stdout] | [INFO] [stdout] 400 | unsafe { INTERNAL_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:419:5 [INFO] [stdout] | [INFO] [stdout] 419 | setup!(client_twin1, StoreTwin1, PlatformTwin1, mem1, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:402:26 [INFO] [stdout] | [INFO] [stdout] 402 | unsafe { EXTERNAL_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:419:5 [INFO] [stdout] | [INFO] [stdout] 419 | setup!(client_twin1, StoreTwin1, PlatformTwin1, mem1, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:403:26 [INFO] [stdout] | [INFO] [stdout] 403 | unsafe { EXTERNAL_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:419:5 [INFO] [stdout] | [INFO] [stdout] 419 | setup!(client_twin1, StoreTwin1, PlatformTwin1, mem1, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:405:26 [INFO] [stdout] | [INFO] [stdout] 405 | unsafe { VOLATILE_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:419:5 [INFO] [stdout] | [INFO] [stdout] 419 | setup!(client_twin1, StoreTwin1, PlatformTwin1, mem1, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:406:26 [INFO] [stdout] | [INFO] [stdout] 406 | unsafe { VOLATILE_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:419:5 [INFO] [stdout] | [INFO] [stdout] 419 | setup!(client_twin1, StoreTwin1, PlatformTwin1, mem1, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:410:30 [INFO] [stdout] | [INFO] [stdout] 410 | unsafe { INTERNAL_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:419:5 [INFO] [stdout] | [INFO] [stdout] 419 | setup!(client_twin1, StoreTwin1, PlatformTwin1, mem1, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:411:30 [INFO] [stdout] | [INFO] [stdout] 411 | unsafe { INTERNAL_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:419:5 [INFO] [stdout] | [INFO] [stdout] 419 | setup!(client_twin1, StoreTwin1, PlatformTwin1, mem1, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:413:30 [INFO] [stdout] | [INFO] [stdout] 413 | unsafe { EXTERNAL_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:419:5 [INFO] [stdout] | [INFO] [stdout] 419 | setup!(client_twin1, StoreTwin1, PlatformTwin1, mem1, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:414:30 [INFO] [stdout] | [INFO] [stdout] 414 | unsafe { EXTERNAL_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:419:5 [INFO] [stdout] | [INFO] [stdout] 419 | setup!(client_twin1, StoreTwin1, PlatformTwin1, mem1, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:416:30 [INFO] [stdout] | [INFO] [stdout] 416 | unsafe { VOLATILE_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:419:5 [INFO] [stdout] | [INFO] [stdout] 419 | setup!(client_twin1, StoreTwin1, PlatformTwin1, mem1, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:417:30 [INFO] [stdout] | [INFO] [stdout] 417 | unsafe { VOLATILE_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:419:5 [INFO] [stdout] | [INFO] [stdout] 419 | setup!(client_twin1, StoreTwin1, PlatformTwin1, mem1, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:209:26 [INFO] [stdout] | [INFO] [stdout] 209 | unsafe { INTERNAL_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:420:5 [INFO] [stdout] | [INFO] [stdout] 420 | setup!(client_twin2, StoreTwin2, PlatformTwin2, mem2, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:210:26 [INFO] [stdout] | [INFO] [stdout] 210 | unsafe { INTERNAL_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:420:5 [INFO] [stdout] | [INFO] [stdout] 420 | setup!(client_twin2, StoreTwin2, PlatformTwin2, mem2, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:212:26 [INFO] [stdout] | [INFO] [stdout] 212 | unsafe { EXTERNAL_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:420:5 [INFO] [stdout] | [INFO] [stdout] 420 | setup!(client_twin2, StoreTwin2, PlatformTwin2, mem2, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:213:26 [INFO] [stdout] | [INFO] [stdout] 213 | unsafe { EXTERNAL_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:420:5 [INFO] [stdout] | [INFO] [stdout] 420 | setup!(client_twin2, StoreTwin2, PlatformTwin2, mem2, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:215:26 [INFO] [stdout] | [INFO] [stdout] 215 | unsafe { VOLATILE_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:420:5 [INFO] [stdout] | [INFO] [stdout] 420 | setup!(client_twin2, StoreTwin2, PlatformTwin2, mem2, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:216:26 [INFO] [stdout] | [INFO] [stdout] 216 | unsafe { VOLATILE_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:420:5 [INFO] [stdout] | [INFO] [stdout] 420 | setup!(client_twin2, StoreTwin2, PlatformTwin2, mem2, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:268:22 [INFO] [stdout] | [INFO] [stdout] 268 | unsafe { IFS.as_mut_ptr() } [INFO] [stdout] | ^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:420:5 [INFO] [stdout] | [INFO] [stdout] 420 | setup!(client_twin2, StoreTwin2, PlatformTwin2, mem2, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:275:22 [INFO] [stdout] | [INFO] [stdout] 275 | unsafe { EFS.as_mut_ptr() } [INFO] [stdout] | ^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:420:5 [INFO] [stdout] | [INFO] [stdout] 420 | setup!(client_twin2, StoreTwin2, PlatformTwin2, mem2, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:282:22 [INFO] [stdout] | [INFO] [stdout] 282 | unsafe { VFS.as_mut_ptr() } [INFO] [stdout] | ^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:420:5 [INFO] [stdout] | [INFO] [stdout] 420 | setup!(client_twin2, StoreTwin2, PlatformTwin2, mem2, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:339:17 [INFO] [stdout] | [INFO] [stdout] 339 | IFS_ALLOC.as_mut_ptr().write(ifs_alloc); [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:420:5 [INFO] [stdout] | [INFO] [stdout] 420 | setup!(client_twin2, StoreTwin2, PlatformTwin2, mem2, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:340:17 [INFO] [stdout] | [INFO] [stdout] 340 | IFS_STORAGE.as_mut_ptr().write(ifs_storage); [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:420:5 [INFO] [stdout] | [INFO] [stdout] 420 | setup!(client_twin2, StoreTwin2, PlatformTwin2, mem2, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:342:27 [INFO] [stdout] | [INFO] [stdout] 342 | &mut *IFS_ALLOC.as_mut_ptr(), [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:420:5 [INFO] [stdout] | [INFO] [stdout] 420 | setup!(client_twin2, StoreTwin2, PlatformTwin2, mem2, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:343:27 [INFO] [stdout] | [INFO] [stdout] 343 | &mut *IFS_STORAGE.as_mut_ptr(), [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:420:5 [INFO] [stdout] | [INFO] [stdout] 420 | setup!(client_twin2, StoreTwin2, PlatformTwin2, mem2, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:345:50 [INFO] [stdout] | [INFO] [stdout] 345 | let ifs = $crate::store::Fs::new(IFS.as_ref().unwrap()); [INFO] [stdout] | ^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:420:5 [INFO] [stdout] | [INFO] [stdout] 420 | setup!(client_twin2, StoreTwin2, PlatformTwin2, mem2, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:348:17 [INFO] [stdout] | [INFO] [stdout] 348 | EFS_ALLOC.as_mut_ptr().write(efs_alloc); [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:420:5 [INFO] [stdout] | [INFO] [stdout] 420 | setup!(client_twin2, StoreTwin2, PlatformTwin2, mem2, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:349:17 [INFO] [stdout] | [INFO] [stdout] 349 | EFS_STORAGE.as_mut_ptr().write(efs_storage); [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:420:5 [INFO] [stdout] | [INFO] [stdout] 420 | setup!(client_twin2, StoreTwin2, PlatformTwin2, mem2, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:351:27 [INFO] [stdout] | [INFO] [stdout] 351 | &mut *EFS_ALLOC.as_mut_ptr(), [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:420:5 [INFO] [stdout] | [INFO] [stdout] 420 | setup!(client_twin2, StoreTwin2, PlatformTwin2, mem2, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:352:27 [INFO] [stdout] | [INFO] [stdout] 352 | &mut *EFS_STORAGE.as_mut_ptr(), [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:420:5 [INFO] [stdout] | [INFO] [stdout] 420 | setup!(client_twin2, StoreTwin2, PlatformTwin2, mem2, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:354:50 [INFO] [stdout] | [INFO] [stdout] 354 | let efs = $crate::store::Fs::new(EFS.as_ref().unwrap()); [INFO] [stdout] | ^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:420:5 [INFO] [stdout] | [INFO] [stdout] 420 | setup!(client_twin2, StoreTwin2, PlatformTwin2, mem2, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:357:17 [INFO] [stdout] | [INFO] [stdout] 357 | VFS_ALLOC.as_mut_ptr().write(vfs_alloc); [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:420:5 [INFO] [stdout] | [INFO] [stdout] 420 | setup!(client_twin2, StoreTwin2, PlatformTwin2, mem2, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:358:17 [INFO] [stdout] | [INFO] [stdout] 358 | VFS_STORAGE.as_mut_ptr().write(vfs_storage); [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:420:5 [INFO] [stdout] | [INFO] [stdout] 420 | setup!(client_twin2, StoreTwin2, PlatformTwin2, mem2, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:360:27 [INFO] [stdout] | [INFO] [stdout] 360 | &mut *VFS_ALLOC.as_mut_ptr(), [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:420:5 [INFO] [stdout] | [INFO] [stdout] 420 | setup!(client_twin2, StoreTwin2, PlatformTwin2, mem2, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:361:27 [INFO] [stdout] | [INFO] [stdout] 361 | &mut *VFS_STORAGE.as_mut_ptr(), [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:420:5 [INFO] [stdout] | [INFO] [stdout] 420 | setup!(client_twin2, StoreTwin2, PlatformTwin2, mem2, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:363:50 [INFO] [stdout] | [INFO] [stdout] 363 | let vfs = $crate::store::Fs::new(VFS.as_ref().unwrap()); [INFO] [stdout] | ^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:420:5 [INFO] [stdout] | [INFO] [stdout] 420 | setup!(client_twin2, StoreTwin2, PlatformTwin2, mem2, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:399:26 [INFO] [stdout] | [INFO] [stdout] 399 | unsafe { INTERNAL_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:420:5 [INFO] [stdout] | [INFO] [stdout] 420 | setup!(client_twin2, StoreTwin2, PlatformTwin2, mem2, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:400:26 [INFO] [stdout] | [INFO] [stdout] 400 | unsafe { INTERNAL_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:420:5 [INFO] [stdout] | [INFO] [stdout] 420 | setup!(client_twin2, StoreTwin2, PlatformTwin2, mem2, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:402:26 [INFO] [stdout] | [INFO] [stdout] 402 | unsafe { EXTERNAL_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:420:5 [INFO] [stdout] | [INFO] [stdout] 420 | setup!(client_twin2, StoreTwin2, PlatformTwin2, mem2, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:403:26 [INFO] [stdout] | [INFO] [stdout] 403 | unsafe { EXTERNAL_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:420:5 [INFO] [stdout] | [INFO] [stdout] 420 | setup!(client_twin2, StoreTwin2, PlatformTwin2, mem2, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:405:26 [INFO] [stdout] | [INFO] [stdout] 405 | unsafe { VOLATILE_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:420:5 [INFO] [stdout] | [INFO] [stdout] 420 | setup!(client_twin2, StoreTwin2, PlatformTwin2, mem2, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:406:26 [INFO] [stdout] | [INFO] [stdout] 406 | unsafe { VOLATILE_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:420:5 [INFO] [stdout] | [INFO] [stdout] 420 | setup!(client_twin2, StoreTwin2, PlatformTwin2, mem2, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:410:30 [INFO] [stdout] | [INFO] [stdout] 410 | unsafe { INTERNAL_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:420:5 [INFO] [stdout] | [INFO] [stdout] 420 | setup!(client_twin2, StoreTwin2, PlatformTwin2, mem2, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:411:30 [INFO] [stdout] | [INFO] [stdout] 411 | unsafe { INTERNAL_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:420:5 [INFO] [stdout] | [INFO] [stdout] 420 | setup!(client_twin2, StoreTwin2, PlatformTwin2, mem2, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:413:30 [INFO] [stdout] | [INFO] [stdout] 413 | unsafe { EXTERNAL_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:420:5 [INFO] [stdout] | [INFO] [stdout] 420 | setup!(client_twin2, StoreTwin2, PlatformTwin2, mem2, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:414:30 [INFO] [stdout] | [INFO] [stdout] 414 | unsafe { EXTERNAL_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:420:5 [INFO] [stdout] | [INFO] [stdout] 420 | setup!(client_twin2, StoreTwin2, PlatformTwin2, mem2, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:416:30 [INFO] [stdout] | [INFO] [stdout] 416 | unsafe { VOLATILE_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:420:5 [INFO] [stdout] | [INFO] [stdout] 420 | setup!(client_twin2, StoreTwin2, PlatformTwin2, mem2, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:417:30 [INFO] [stdout] | [INFO] [stdout] 417 | unsafe { VOLATILE_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:420:5 [INFO] [stdout] | [INFO] [stdout] 420 | setup!(client_twin2, StoreTwin2, PlatformTwin2, mem2, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:209:26 [INFO] [stdout] | [INFO] [stdout] 209 | unsafe { INTERNAL_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:421:5 [INFO] [stdout] | [INFO] [stdout] 421 | setup!(client_3, StoreTwin3, PlatformTwin3, mem3, [0x02u8; 32], true); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:210:26 [INFO] [stdout] | [INFO] [stdout] 210 | unsafe { INTERNAL_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:421:5 [INFO] [stdout] | [INFO] [stdout] 421 | setup!(client_3, StoreTwin3, PlatformTwin3, mem3, [0x02u8; 32], true); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:212:26 [INFO] [stdout] | [INFO] [stdout] 212 | unsafe { EXTERNAL_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:421:5 [INFO] [stdout] | [INFO] [stdout] 421 | setup!(client_3, StoreTwin3, PlatformTwin3, mem3, [0x02u8; 32], true); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:213:26 [INFO] [stdout] | [INFO] [stdout] 213 | unsafe { EXTERNAL_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:421:5 [INFO] [stdout] | [INFO] [stdout] 421 | setup!(client_3, StoreTwin3, PlatformTwin3, mem3, [0x02u8; 32], true); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:215:26 [INFO] [stdout] | [INFO] [stdout] 215 | unsafe { VOLATILE_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:421:5 [INFO] [stdout] | [INFO] [stdout] 421 | setup!(client_3, StoreTwin3, PlatformTwin3, mem3, [0x02u8; 32], true); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:216:26 [INFO] [stdout] | [INFO] [stdout] 216 | unsafe { VOLATILE_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:421:5 [INFO] [stdout] | [INFO] [stdout] 421 | setup!(client_3, StoreTwin3, PlatformTwin3, mem3, [0x02u8; 32], true); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:268:22 [INFO] [stdout] | [INFO] [stdout] 268 | unsafe { IFS.as_mut_ptr() } [INFO] [stdout] | ^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:421:5 [INFO] [stdout] | [INFO] [stdout] 421 | setup!(client_3, StoreTwin3, PlatformTwin3, mem3, [0x02u8; 32], true); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:275:22 [INFO] [stdout] | [INFO] [stdout] 275 | unsafe { EFS.as_mut_ptr() } [INFO] [stdout] | ^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:421:5 [INFO] [stdout] | [INFO] [stdout] 421 | setup!(client_3, StoreTwin3, PlatformTwin3, mem3, [0x02u8; 32], true); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:282:22 [INFO] [stdout] | [INFO] [stdout] 282 | unsafe { VFS.as_mut_ptr() } [INFO] [stdout] | ^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:421:5 [INFO] [stdout] | [INFO] [stdout] 421 | setup!(client_3, StoreTwin3, PlatformTwin3, mem3, [0x02u8; 32], true); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:339:17 [INFO] [stdout] | [INFO] [stdout] 339 | IFS_ALLOC.as_mut_ptr().write(ifs_alloc); [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:421:5 [INFO] [stdout] | [INFO] [stdout] 421 | setup!(client_3, StoreTwin3, PlatformTwin3, mem3, [0x02u8; 32], true); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:340:17 [INFO] [stdout] | [INFO] [stdout] 340 | IFS_STORAGE.as_mut_ptr().write(ifs_storage); [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:421:5 [INFO] [stdout] | [INFO] [stdout] 421 | setup!(client_3, StoreTwin3, PlatformTwin3, mem3, [0x02u8; 32], true); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:342:27 [INFO] [stdout] | [INFO] [stdout] 342 | &mut *IFS_ALLOC.as_mut_ptr(), [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:421:5 [INFO] [stdout] | [INFO] [stdout] 421 | setup!(client_3, StoreTwin3, PlatformTwin3, mem3, [0x02u8; 32], true); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:343:27 [INFO] [stdout] | [INFO] [stdout] 343 | &mut *IFS_STORAGE.as_mut_ptr(), [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:421:5 [INFO] [stdout] | [INFO] [stdout] 421 | setup!(client_3, StoreTwin3, PlatformTwin3, mem3, [0x02u8; 32], true); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:345:50 [INFO] [stdout] | [INFO] [stdout] 345 | let ifs = $crate::store::Fs::new(IFS.as_ref().unwrap()); [INFO] [stdout] | ^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:421:5 [INFO] [stdout] | [INFO] [stdout] 421 | setup!(client_3, StoreTwin3, PlatformTwin3, mem3, [0x02u8; 32], true); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:348:17 [INFO] [stdout] | [INFO] [stdout] 348 | EFS_ALLOC.as_mut_ptr().write(efs_alloc); [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:421:5 [INFO] [stdout] | [INFO] [stdout] 421 | setup!(client_3, StoreTwin3, PlatformTwin3, mem3, [0x02u8; 32], true); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:349:17 [INFO] [stdout] | [INFO] [stdout] 349 | EFS_STORAGE.as_mut_ptr().write(efs_storage); [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:421:5 [INFO] [stdout] | [INFO] [stdout] 421 | setup!(client_3, StoreTwin3, PlatformTwin3, mem3, [0x02u8; 32], true); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:351:27 [INFO] [stdout] | [INFO] [stdout] 351 | &mut *EFS_ALLOC.as_mut_ptr(), [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:421:5 [INFO] [stdout] | [INFO] [stdout] 421 | setup!(client_3, StoreTwin3, PlatformTwin3, mem3, [0x02u8; 32], true); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:352:27 [INFO] [stdout] | [INFO] [stdout] 352 | &mut *EFS_STORAGE.as_mut_ptr(), [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:421:5 [INFO] [stdout] | [INFO] [stdout] 421 | setup!(client_3, StoreTwin3, PlatformTwin3, mem3, [0x02u8; 32], true); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:354:50 [INFO] [stdout] | [INFO] [stdout] 354 | let efs = $crate::store::Fs::new(EFS.as_ref().unwrap()); [INFO] [stdout] | ^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:421:5 [INFO] [stdout] | [INFO] [stdout] 421 | setup!(client_3, StoreTwin3, PlatformTwin3, mem3, [0x02u8; 32], true); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:357:17 [INFO] [stdout] | [INFO] [stdout] 357 | VFS_ALLOC.as_mut_ptr().write(vfs_alloc); [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:421:5 [INFO] [stdout] | [INFO] [stdout] 421 | setup!(client_3, StoreTwin3, PlatformTwin3, mem3, [0x02u8; 32], true); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:358:17 [INFO] [stdout] | [INFO] [stdout] 358 | VFS_STORAGE.as_mut_ptr().write(vfs_storage); [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:421:5 [INFO] [stdout] | [INFO] [stdout] 421 | setup!(client_3, StoreTwin3, PlatformTwin3, mem3, [0x02u8; 32], true); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:360:27 [INFO] [stdout] | [INFO] [stdout] 360 | &mut *VFS_ALLOC.as_mut_ptr(), [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:421:5 [INFO] [stdout] | [INFO] [stdout] 421 | setup!(client_3, StoreTwin3, PlatformTwin3, mem3, [0x02u8; 32], true); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:361:27 [INFO] [stdout] | [INFO] [stdout] 361 | &mut *VFS_STORAGE.as_mut_ptr(), [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:421:5 [INFO] [stdout] | [INFO] [stdout] 421 | setup!(client_3, StoreTwin3, PlatformTwin3, mem3, [0x02u8; 32], true); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:363:50 [INFO] [stdout] | [INFO] [stdout] 363 | let vfs = $crate::store::Fs::new(VFS.as_ref().unwrap()); [INFO] [stdout] | ^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:421:5 [INFO] [stdout] | [INFO] [stdout] 421 | setup!(client_3, StoreTwin3, PlatformTwin3, mem3, [0x02u8; 32], true); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:399:26 [INFO] [stdout] | [INFO] [stdout] 399 | unsafe { INTERNAL_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:421:5 [INFO] [stdout] | [INFO] [stdout] 421 | setup!(client_3, StoreTwin3, PlatformTwin3, mem3, [0x02u8; 32], true); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:400:26 [INFO] [stdout] | [INFO] [stdout] 400 | unsafe { INTERNAL_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:421:5 [INFO] [stdout] | [INFO] [stdout] 421 | setup!(client_3, StoreTwin3, PlatformTwin3, mem3, [0x02u8; 32], true); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:402:26 [INFO] [stdout] | [INFO] [stdout] 402 | unsafe { EXTERNAL_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:421:5 [INFO] [stdout] | [INFO] [stdout] 421 | setup!(client_3, StoreTwin3, PlatformTwin3, mem3, [0x02u8; 32], true); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:403:26 [INFO] [stdout] | [INFO] [stdout] 403 | unsafe { EXTERNAL_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:421:5 [INFO] [stdout] | [INFO] [stdout] 421 | setup!(client_3, StoreTwin3, PlatformTwin3, mem3, [0x02u8; 32], true); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:405:26 [INFO] [stdout] | [INFO] [stdout] 405 | unsafe { VOLATILE_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:421:5 [INFO] [stdout] | [INFO] [stdout] 421 | setup!(client_3, StoreTwin3, PlatformTwin3, mem3, [0x02u8; 32], true); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:406:26 [INFO] [stdout] | [INFO] [stdout] 406 | unsafe { VOLATILE_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:421:5 [INFO] [stdout] | [INFO] [stdout] 421 | setup!(client_3, StoreTwin3, PlatformTwin3, mem3, [0x02u8; 32], true); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:410:30 [INFO] [stdout] | [INFO] [stdout] 410 | unsafe { INTERNAL_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:421:5 [INFO] [stdout] | [INFO] [stdout] 421 | setup!(client_3, StoreTwin3, PlatformTwin3, mem3, [0x02u8; 32], true); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:411:30 [INFO] [stdout] | [INFO] [stdout] 411 | unsafe { INTERNAL_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:421:5 [INFO] [stdout] | [INFO] [stdout] 421 | setup!(client_3, StoreTwin3, PlatformTwin3, mem3, [0x02u8; 32], true); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:413:30 [INFO] [stdout] | [INFO] [stdout] 413 | unsafe { EXTERNAL_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:421:5 [INFO] [stdout] | [INFO] [stdout] 421 | setup!(client_3, StoreTwin3, PlatformTwin3, mem3, [0x02u8; 32], true); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:414:30 [INFO] [stdout] | [INFO] [stdout] 414 | unsafe { EXTERNAL_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:421:5 [INFO] [stdout] | [INFO] [stdout] 421 | setup!(client_3, StoreTwin3, PlatformTwin3, mem3, [0x02u8; 32], true); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:416:30 [INFO] [stdout] | [INFO] [stdout] 416 | unsafe { VOLATILE_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:421:5 [INFO] [stdout] | [INFO] [stdout] 421 | setup!(client_3, StoreTwin3, PlatformTwin3, mem3, [0x02u8; 32], true); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:417:30 [INFO] [stdout] | [INFO] [stdout] 417 | unsafe { VOLATILE_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:421:5 [INFO] [stdout] | [INFO] [stdout] 421 | setup!(client_3, StoreTwin3, PlatformTwin3, mem3, [0x02u8; 32], true); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/tests.rs:109:26 [INFO] [stdout] | [INFO] [stdout] 109 | unsafe { INTERNAL_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 439 | let mem = create_memory!(); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `create_memory` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/tests.rs:110:26 [INFO] [stdout] | [INFO] [stdout] 110 | unsafe { INTERNAL_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 439 | let mem = create_memory!(); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `create_memory` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/tests.rs:111:26 [INFO] [stdout] | [INFO] [stdout] 111 | unsafe { EXTERNAL_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 439 | let mem = create_memory!(); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `create_memory` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/tests.rs:112:31 [INFO] [stdout] | [INFO] [stdout] 112 | unsafe { &mut EXTERNAL_STORAGE }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 439 | let mem = create_memory!(); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `create_memory` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/tests.rs:113:26 [INFO] [stdout] | [INFO] [stdout] 113 | unsafe { VOLATILE_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 439 | let mem = create_memory!(); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `create_memory` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/tests.rs:114:31 [INFO] [stdout] | [INFO] [stdout] 114 | unsafe { &mut VOLATILE_STORAGE }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 439 | let mem = create_memory!(); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `create_memory` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:209:26 [INFO] [stdout] | [INFO] [stdout] 209 | unsafe { INTERNAL_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:443:5 [INFO] [stdout] | [INFO] [stdout] 443 | setup!(client_twin3, StoreTwin4, PlatformTwin4, mem, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:210:26 [INFO] [stdout] | [INFO] [stdout] 210 | unsafe { INTERNAL_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:443:5 [INFO] [stdout] | [INFO] [stdout] 443 | setup!(client_twin3, StoreTwin4, PlatformTwin4, mem, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:212:26 [INFO] [stdout] | [INFO] [stdout] 212 | unsafe { EXTERNAL_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:443:5 [INFO] [stdout] | [INFO] [stdout] 443 | setup!(client_twin3, StoreTwin4, PlatformTwin4, mem, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:213:26 [INFO] [stdout] | [INFO] [stdout] 213 | unsafe { EXTERNAL_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:443:5 [INFO] [stdout] | [INFO] [stdout] 443 | setup!(client_twin3, StoreTwin4, PlatformTwin4, mem, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:215:26 [INFO] [stdout] | [INFO] [stdout] 215 | unsafe { VOLATILE_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:443:5 [INFO] [stdout] | [INFO] [stdout] 443 | setup!(client_twin3, StoreTwin4, PlatformTwin4, mem, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:216:26 [INFO] [stdout] | [INFO] [stdout] 216 | unsafe { VOLATILE_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:443:5 [INFO] [stdout] | [INFO] [stdout] 443 | setup!(client_twin3, StoreTwin4, PlatformTwin4, mem, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:268:22 [INFO] [stdout] | [INFO] [stdout] 268 | unsafe { IFS.as_mut_ptr() } [INFO] [stdout] | ^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:443:5 [INFO] [stdout] | [INFO] [stdout] 443 | setup!(client_twin3, StoreTwin4, PlatformTwin4, mem, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:275:22 [INFO] [stdout] | [INFO] [stdout] 275 | unsafe { EFS.as_mut_ptr() } [INFO] [stdout] | ^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:443:5 [INFO] [stdout] | [INFO] [stdout] 443 | setup!(client_twin3, StoreTwin4, PlatformTwin4, mem, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:282:22 [INFO] [stdout] | [INFO] [stdout] 282 | unsafe { VFS.as_mut_ptr() } [INFO] [stdout] | ^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:443:5 [INFO] [stdout] | [INFO] [stdout] 443 | setup!(client_twin3, StoreTwin4, PlatformTwin4, mem, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:339:17 [INFO] [stdout] | [INFO] [stdout] 339 | IFS_ALLOC.as_mut_ptr().write(ifs_alloc); [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:443:5 [INFO] [stdout] | [INFO] [stdout] 443 | setup!(client_twin3, StoreTwin4, PlatformTwin4, mem, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:340:17 [INFO] [stdout] | [INFO] [stdout] 340 | IFS_STORAGE.as_mut_ptr().write(ifs_storage); [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:443:5 [INFO] [stdout] | [INFO] [stdout] 443 | setup!(client_twin3, StoreTwin4, PlatformTwin4, mem, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:342:27 [INFO] [stdout] | [INFO] [stdout] 342 | &mut *IFS_ALLOC.as_mut_ptr(), [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:443:5 [INFO] [stdout] | [INFO] [stdout] 443 | setup!(client_twin3, StoreTwin4, PlatformTwin4, mem, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:343:27 [INFO] [stdout] | [INFO] [stdout] 343 | &mut *IFS_STORAGE.as_mut_ptr(), [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:443:5 [INFO] [stdout] | [INFO] [stdout] 443 | setup!(client_twin3, StoreTwin4, PlatformTwin4, mem, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:345:50 [INFO] [stdout] | [INFO] [stdout] 345 | let ifs = $crate::store::Fs::new(IFS.as_ref().unwrap()); [INFO] [stdout] | ^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:443:5 [INFO] [stdout] | [INFO] [stdout] 443 | setup!(client_twin3, StoreTwin4, PlatformTwin4, mem, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:348:17 [INFO] [stdout] | [INFO] [stdout] 348 | EFS_ALLOC.as_mut_ptr().write(efs_alloc); [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:443:5 [INFO] [stdout] | [INFO] [stdout] 443 | setup!(client_twin3, StoreTwin4, PlatformTwin4, mem, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:349:17 [INFO] [stdout] | [INFO] [stdout] 349 | EFS_STORAGE.as_mut_ptr().write(efs_storage); [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:443:5 [INFO] [stdout] | [INFO] [stdout] 443 | setup!(client_twin3, StoreTwin4, PlatformTwin4, mem, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:351:27 [INFO] [stdout] | [INFO] [stdout] 351 | &mut *EFS_ALLOC.as_mut_ptr(), [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:443:5 [INFO] [stdout] | [INFO] [stdout] 443 | setup!(client_twin3, StoreTwin4, PlatformTwin4, mem, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:352:27 [INFO] [stdout] | [INFO] [stdout] 352 | &mut *EFS_STORAGE.as_mut_ptr(), [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:443:5 [INFO] [stdout] | [INFO] [stdout] 443 | setup!(client_twin3, StoreTwin4, PlatformTwin4, mem, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:354:50 [INFO] [stdout] | [INFO] [stdout] 354 | let efs = $crate::store::Fs::new(EFS.as_ref().unwrap()); [INFO] [stdout] | ^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:443:5 [INFO] [stdout] | [INFO] [stdout] 443 | setup!(client_twin3, StoreTwin4, PlatformTwin4, mem, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:357:17 [INFO] [stdout] | [INFO] [stdout] 357 | VFS_ALLOC.as_mut_ptr().write(vfs_alloc); [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:443:5 [INFO] [stdout] | [INFO] [stdout] 443 | setup!(client_twin3, StoreTwin4, PlatformTwin4, mem, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:358:17 [INFO] [stdout] | [INFO] [stdout] 358 | VFS_STORAGE.as_mut_ptr().write(vfs_storage); [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:443:5 [INFO] [stdout] | [INFO] [stdout] 443 | setup!(client_twin3, StoreTwin4, PlatformTwin4, mem, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:360:27 [INFO] [stdout] | [INFO] [stdout] 360 | &mut *VFS_ALLOC.as_mut_ptr(), [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:443:5 [INFO] [stdout] | [INFO] [stdout] 443 | setup!(client_twin3, StoreTwin4, PlatformTwin4, mem, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:361:27 [INFO] [stdout] | [INFO] [stdout] 361 | &mut *VFS_STORAGE.as_mut_ptr(), [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:443:5 [INFO] [stdout] | [INFO] [stdout] 443 | setup!(client_twin3, StoreTwin4, PlatformTwin4, mem, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:363:50 [INFO] [stdout] | [INFO] [stdout] 363 | let vfs = $crate::store::Fs::new(VFS.as_ref().unwrap()); [INFO] [stdout] | ^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:443:5 [INFO] [stdout] | [INFO] [stdout] 443 | setup!(client_twin3, StoreTwin4, PlatformTwin4, mem, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:399:26 [INFO] [stdout] | [INFO] [stdout] 399 | unsafe { INTERNAL_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:443:5 [INFO] [stdout] | [INFO] [stdout] 443 | setup!(client_twin3, StoreTwin4, PlatformTwin4, mem, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:400:26 [INFO] [stdout] | [INFO] [stdout] 400 | unsafe { INTERNAL_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:443:5 [INFO] [stdout] | [INFO] [stdout] 443 | setup!(client_twin3, StoreTwin4, PlatformTwin4, mem, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:402:26 [INFO] [stdout] | [INFO] [stdout] 402 | unsafe { EXTERNAL_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:443:5 [INFO] [stdout] | [INFO] [stdout] 443 | setup!(client_twin3, StoreTwin4, PlatformTwin4, mem, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:403:26 [INFO] [stdout] | [INFO] [stdout] 403 | unsafe { EXTERNAL_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:443:5 [INFO] [stdout] | [INFO] [stdout] 443 | setup!(client_twin3, StoreTwin4, PlatformTwin4, mem, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:405:26 [INFO] [stdout] | [INFO] [stdout] 405 | unsafe { VOLATILE_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:443:5 [INFO] [stdout] | [INFO] [stdout] 443 | setup!(client_twin3, StoreTwin4, PlatformTwin4, mem, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:406:26 [INFO] [stdout] | [INFO] [stdout] 406 | unsafe { VOLATILE_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:443:5 [INFO] [stdout] | [INFO] [stdout] 443 | setup!(client_twin3, StoreTwin4, PlatformTwin4, mem, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:410:30 [INFO] [stdout] | [INFO] [stdout] 410 | unsafe { INTERNAL_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:443:5 [INFO] [stdout] | [INFO] [stdout] 443 | setup!(client_twin3, StoreTwin4, PlatformTwin4, mem, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:411:30 [INFO] [stdout] | [INFO] [stdout] 411 | unsafe { INTERNAL_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:443:5 [INFO] [stdout] | [INFO] [stdout] 443 | setup!(client_twin3, StoreTwin4, PlatformTwin4, mem, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:413:30 [INFO] [stdout] | [INFO] [stdout] 413 | unsafe { EXTERNAL_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:443:5 [INFO] [stdout] | [INFO] [stdout] 443 | setup!(client_twin3, StoreTwin4, PlatformTwin4, mem, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:414:30 [INFO] [stdout] | [INFO] [stdout] 414 | unsafe { EXTERNAL_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:443:5 [INFO] [stdout] | [INFO] [stdout] 443 | setup!(client_twin3, StoreTwin4, PlatformTwin4, mem, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:416:30 [INFO] [stdout] | [INFO] [stdout] 416 | unsafe { VOLATILE_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:443:5 [INFO] [stdout] | [INFO] [stdout] 443 | setup!(client_twin3, StoreTwin4, PlatformTwin4, mem, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:417:30 [INFO] [stdout] | [INFO] [stdout] 417 | unsafe { VOLATILE_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:443:5 [INFO] [stdout] | [INFO] [stdout] 443 | setup!(client_twin3, StoreTwin4, PlatformTwin4, mem, [0x01u8; 32], true); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:209:26 [INFO] [stdout] | [INFO] [stdout] 209 | unsafe { INTERNAL_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:448:5 [INFO] [stdout] | [INFO] [stdout] 448 | setup!(client_twin4, StoreTwin5, PlatformTwin5, mem_copy, [0x01u8; 32], false); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:210:26 [INFO] [stdout] | [INFO] [stdout] 210 | unsafe { INTERNAL_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:448:5 [INFO] [stdout] | [INFO] [stdout] 448 | setup!(client_twin4, StoreTwin5, PlatformTwin5, mem_copy, [0x01u8; 32], false); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:212:26 [INFO] [stdout] | [INFO] [stdout] 212 | unsafe { EXTERNAL_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:448:5 [INFO] [stdout] | [INFO] [stdout] 448 | setup!(client_twin4, StoreTwin5, PlatformTwin5, mem_copy, [0x01u8; 32], false); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:213:26 [INFO] [stdout] | [INFO] [stdout] 213 | unsafe { EXTERNAL_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:448:5 [INFO] [stdout] | [INFO] [stdout] 448 | setup!(client_twin4, StoreTwin5, PlatformTwin5, mem_copy, [0x01u8; 32], false); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:215:26 [INFO] [stdout] | [INFO] [stdout] 215 | unsafe { VOLATILE_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:448:5 [INFO] [stdout] | [INFO] [stdout] 448 | setup!(client_twin4, StoreTwin5, PlatformTwin5, mem_copy, [0x01u8; 32], false); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:216:26 [INFO] [stdout] | [INFO] [stdout] 216 | unsafe { VOLATILE_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:448:5 [INFO] [stdout] | [INFO] [stdout] 448 | setup!(client_twin4, StoreTwin5, PlatformTwin5, mem_copy, [0x01u8; 32], false); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:268:22 [INFO] [stdout] | [INFO] [stdout] 268 | unsafe { IFS.as_mut_ptr() } [INFO] [stdout] | ^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:448:5 [INFO] [stdout] | [INFO] [stdout] 448 | setup!(client_twin4, StoreTwin5, PlatformTwin5, mem_copy, [0x01u8; 32], false); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:275:22 [INFO] [stdout] | [INFO] [stdout] 275 | unsafe { EFS.as_mut_ptr() } [INFO] [stdout] | ^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:448:5 [INFO] [stdout] | [INFO] [stdout] 448 | setup!(client_twin4, StoreTwin5, PlatformTwin5, mem_copy, [0x01u8; 32], false); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:282:22 [INFO] [stdout] | [INFO] [stdout] 282 | unsafe { VFS.as_mut_ptr() } [INFO] [stdout] | ^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:448:5 [INFO] [stdout] | [INFO] [stdout] 448 | setup!(client_twin4, StoreTwin5, PlatformTwin5, mem_copy, [0x01u8; 32], false); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:339:17 [INFO] [stdout] | [INFO] [stdout] 339 | IFS_ALLOC.as_mut_ptr().write(ifs_alloc); [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:448:5 [INFO] [stdout] | [INFO] [stdout] 448 | setup!(client_twin4, StoreTwin5, PlatformTwin5, mem_copy, [0x01u8; 32], false); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:340:17 [INFO] [stdout] | [INFO] [stdout] 340 | IFS_STORAGE.as_mut_ptr().write(ifs_storage); [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:448:5 [INFO] [stdout] | [INFO] [stdout] 448 | setup!(client_twin4, StoreTwin5, PlatformTwin5, mem_copy, [0x01u8; 32], false); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:342:27 [INFO] [stdout] | [INFO] [stdout] 342 | &mut *IFS_ALLOC.as_mut_ptr(), [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:448:5 [INFO] [stdout] | [INFO] [stdout] 448 | setup!(client_twin4, StoreTwin5, PlatformTwin5, mem_copy, [0x01u8; 32], false); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:343:27 [INFO] [stdout] | [INFO] [stdout] 343 | &mut *IFS_STORAGE.as_mut_ptr(), [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:448:5 [INFO] [stdout] | [INFO] [stdout] 448 | setup!(client_twin4, StoreTwin5, PlatformTwin5, mem_copy, [0x01u8; 32], false); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:345:50 [INFO] [stdout] | [INFO] [stdout] 345 | let ifs = $crate::store::Fs::new(IFS.as_ref().unwrap()); [INFO] [stdout] | ^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:448:5 [INFO] [stdout] | [INFO] [stdout] 448 | setup!(client_twin4, StoreTwin5, PlatformTwin5, mem_copy, [0x01u8; 32], false); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:348:17 [INFO] [stdout] | [INFO] [stdout] 348 | EFS_ALLOC.as_mut_ptr().write(efs_alloc); [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:448:5 [INFO] [stdout] | [INFO] [stdout] 448 | setup!(client_twin4, StoreTwin5, PlatformTwin5, mem_copy, [0x01u8; 32], false); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:349:17 [INFO] [stdout] | [INFO] [stdout] 349 | EFS_STORAGE.as_mut_ptr().write(efs_storage); [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:448:5 [INFO] [stdout] | [INFO] [stdout] 448 | setup!(client_twin4, StoreTwin5, PlatformTwin5, mem_copy, [0x01u8; 32], false); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:351:27 [INFO] [stdout] | [INFO] [stdout] 351 | &mut *EFS_ALLOC.as_mut_ptr(), [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:448:5 [INFO] [stdout] | [INFO] [stdout] 448 | setup!(client_twin4, StoreTwin5, PlatformTwin5, mem_copy, [0x01u8; 32], false); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:352:27 [INFO] [stdout] | [INFO] [stdout] 352 | &mut *EFS_STORAGE.as_mut_ptr(), [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:448:5 [INFO] [stdout] | [INFO] [stdout] 448 | setup!(client_twin4, StoreTwin5, PlatformTwin5, mem_copy, [0x01u8; 32], false); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:354:50 [INFO] [stdout] | [INFO] [stdout] 354 | let efs = $crate::store::Fs::new(EFS.as_ref().unwrap()); [INFO] [stdout] | ^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:448:5 [INFO] [stdout] | [INFO] [stdout] 448 | setup!(client_twin4, StoreTwin5, PlatformTwin5, mem_copy, [0x01u8; 32], false); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:357:17 [INFO] [stdout] | [INFO] [stdout] 357 | VFS_ALLOC.as_mut_ptr().write(vfs_alloc); [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:448:5 [INFO] [stdout] | [INFO] [stdout] 448 | setup!(client_twin4, StoreTwin5, PlatformTwin5, mem_copy, [0x01u8; 32], false); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:358:17 [INFO] [stdout] | [INFO] [stdout] 358 | VFS_STORAGE.as_mut_ptr().write(vfs_storage); [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:448:5 [INFO] [stdout] | [INFO] [stdout] 448 | setup!(client_twin4, StoreTwin5, PlatformTwin5, mem_copy, [0x01u8; 32], false); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:360:27 [INFO] [stdout] | [INFO] [stdout] 360 | &mut *VFS_ALLOC.as_mut_ptr(), [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:448:5 [INFO] [stdout] | [INFO] [stdout] 448 | setup!(client_twin4, StoreTwin5, PlatformTwin5, mem_copy, [0x01u8; 32], false); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:361:27 [INFO] [stdout] | [INFO] [stdout] 361 | &mut *VFS_STORAGE.as_mut_ptr(), [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:448:5 [INFO] [stdout] | [INFO] [stdout] 448 | setup!(client_twin4, StoreTwin5, PlatformTwin5, mem_copy, [0x01u8; 32], false); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:363:50 [INFO] [stdout] | [INFO] [stdout] 363 | let vfs = $crate::store::Fs::new(VFS.as_ref().unwrap()); [INFO] [stdout] | ^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:448:5 [INFO] [stdout] | [INFO] [stdout] 448 | setup!(client_twin4, StoreTwin5, PlatformTwin5, mem_copy, [0x01u8; 32], false); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:399:26 [INFO] [stdout] | [INFO] [stdout] 399 | unsafe { INTERNAL_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:448:5 [INFO] [stdout] | [INFO] [stdout] 448 | setup!(client_twin4, StoreTwin5, PlatformTwin5, mem_copy, [0x01u8; 32], false); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:400:26 [INFO] [stdout] | [INFO] [stdout] 400 | unsafe { INTERNAL_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:448:5 [INFO] [stdout] | [INFO] [stdout] 448 | setup!(client_twin4, StoreTwin5, PlatformTwin5, mem_copy, [0x01u8; 32], false); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:402:26 [INFO] [stdout] | [INFO] [stdout] 402 | unsafe { EXTERNAL_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:448:5 [INFO] [stdout] | [INFO] [stdout] 448 | setup!(client_twin4, StoreTwin5, PlatformTwin5, mem_copy, [0x01u8; 32], false); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:403:26 [INFO] [stdout] | [INFO] [stdout] 403 | unsafe { EXTERNAL_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:448:5 [INFO] [stdout] | [INFO] [stdout] 448 | setup!(client_twin4, StoreTwin5, PlatformTwin5, mem_copy, [0x01u8; 32], false); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:405:26 [INFO] [stdout] | [INFO] [stdout] 405 | unsafe { VOLATILE_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:448:5 [INFO] [stdout] | [INFO] [stdout] 448 | setup!(client_twin4, StoreTwin5, PlatformTwin5, mem_copy, [0x01u8; 32], false); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:406:26 [INFO] [stdout] | [INFO] [stdout] 406 | unsafe { VOLATILE_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:448:5 [INFO] [stdout] | [INFO] [stdout] 448 | setup!(client_twin4, StoreTwin5, PlatformTwin5, mem_copy, [0x01u8; 32], false); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:410:30 [INFO] [stdout] | [INFO] [stdout] 410 | unsafe { INTERNAL_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:448:5 [INFO] [stdout] | [INFO] [stdout] 448 | setup!(client_twin4, StoreTwin5, PlatformTwin5, mem_copy, [0x01u8; 32], false); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:411:30 [INFO] [stdout] | [INFO] [stdout] 411 | unsafe { INTERNAL_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:448:5 [INFO] [stdout] | [INFO] [stdout] 448 | setup!(client_twin4, StoreTwin5, PlatformTwin5, mem_copy, [0x01u8; 32], false); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:413:30 [INFO] [stdout] | [INFO] [stdout] 413 | unsafe { EXTERNAL_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:448:5 [INFO] [stdout] | [INFO] [stdout] 448 | setup!(client_twin4, StoreTwin5, PlatformTwin5, mem_copy, [0x01u8; 32], false); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:414:30 [INFO] [stdout] | [INFO] [stdout] 414 | unsafe { EXTERNAL_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:448:5 [INFO] [stdout] | [INFO] [stdout] 448 | setup!(client_twin4, StoreTwin5, PlatformTwin5, mem_copy, [0x01u8; 32], false); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:416:30 [INFO] [stdout] | [INFO] [stdout] 416 | unsafe { VOLATILE_FS_ALLOC.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:448:5 [INFO] [stdout] | [INFO] [stdout] 448 | setup!(client_twin4, StoreTwin5, PlatformTwin5, mem_copy, [0x01u8; 32], false); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/store.rs:417:30 [INFO] [stdout] | [INFO] [stdout] 417 | unsafe { VOLATILE_STORAGE.as_mut().unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:448:5 [INFO] [stdout] | [INFO] [stdout] 448 | setup!(client_twin4, StoreTwin5, PlatformTwin5, mem_copy, [0x01u8; 32], false); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `store` which comes from the expansion of the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 12.56s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bindgen v0.56.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "0adb396eec4f787885ffe77208780a66743812bb292688dad1713a329573c6bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0adb396eec4f787885ffe77208780a66743812bb292688dad1713a329573c6bf", kill_on_drop: false }` [INFO] [stdout] 0adb396eec4f787885ffe77208780a66743812bb292688dad1713a329573c6bf