[INFO] fetching crate trussed 0.1.0... [INFO] checking trussed-0.1.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate trussed 0.1.0 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate trussed 0.1.0 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-1-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-1-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 128 packages to latest compatible versions [INFO] [stderr] Adding aead v0.4.3 (available: v0.5.2) [INFO] [stderr] Adding aes v0.7.5 (available: v0.8.4) [INFO] [stderr] Adding bindgen v0.56.0 (available: v0.70.1) [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding blake2 v0.9.2 (available: v0.10.6) [INFO] [stderr] Adding block-buffer v0.9.0 (available: v0.10.4) [INFO] [stderr] Adding block-modes v0.8.1 (available: v0.9.1) [INFO] [stderr] Adding block-padding v0.2.1 (available: v0.3.3) [INFO] [stderr] Adding cexpr v0.4.0 (available: v0.6.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 cipher v0.3.0 (available: v0.4.4) [INFO] [stderr] Adding crypto-bigint v0.2.11 (available: v0.5.5) [INFO] [stderr] Adding crypto-mac v0.8.0 (available: v0.11.1) [INFO] [stderr] Adding der v0.4.5 (available: v0.7.9) [INFO] [stderr] Adding der_derive v0.4.1 (available: v0.7.3) [INFO] [stderr] Adding des v0.7.0 (available: v0.8.1) [INFO] [stderr] Adding digest v0.9.0 (available: v0.10.7) [INFO] [stderr] Adding ecdsa v0.12.4 (available: v0.16.9) [INFO] [stderr] Adding ed25519 v1.5.3 (available: v2.2.3) [INFO] [stderr] Adding elliptic-curve v0.10.6 (available: v0.13.8) [INFO] [stderr] Adding embedded-hal v0.2.7 (available: v1.0.0) [INFO] [stderr] Adding ff v0.10.1 (available: v0.13.0) [INFO] [stderr] Adding generic-array v0.14.7 (available: v1.1.0) [INFO] [stderr] Adding group v0.10.0 (available: v0.13.0) [INFO] [stderr] Adding half v1.8.3 (available: v2.4.1) [INFO] [stderr] Adding hash32 v0.2.1 (available: v0.3.1) [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.1) [INFO] [stderr] Adding littlefs2 v0.3.2 (available: v0.4.0) [INFO] [stderr] Adding littlefs2-sys v0.1.7 (available: v0.2.0) [INFO] [stderr] Adding nb v0.1.3 (available: v1.1.0) [INFO] [stderr] Adding nom v5.1.3 (available: v7.1.3) [INFO] [stderr] Adding p256 v0.9.0 (available: v0.13.2) [INFO] [stderr] Adding parking_lot v0.11.2 (available: v0.12.3) [INFO] [stderr] Adding parking_lot_core v0.8.6 (available: v0.9.10) [INFO] [stderr] Adding peeking_take_while v0.1.2 (available: v1.0.0) [INFO] [stderr] Adding poly1305 v0.7.2 (available: v0.8.0) [INFO] [stderr] Adding postcard v0.7.3 (available: v1.0.10) [INFO] [stderr] Adding postcard-cobs v0.1.5-pre (available: v0.2.0) [INFO] [stderr] Adding redox_syscall v0.2.16 (available: v0.5.6) [INFO] [stderr] Adding rustc-hash v1.1.0 (available: v2.0.0) [INFO] [stderr] Adding salty v0.2.0 (available: v0.3.0) [INFO] [stderr] Adding serial_test v0.6.0 (available: v3.1.1) [INFO] [stderr] Adding serial_test_derive v0.6.0 (available: v3.1.1) [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 shlex v0.1.1 (available: v1.3.0) [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 syn v1.0.109 (available: v2.0.79) [INFO] [stderr] Adding synstructure v0.12.6 (available: v0.13.1) [INFO] [stderr] Adding universal-hash v0.4.1 (available: v0.5.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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8cb987a2887a1ec1a3d38b4438812bf4a8386a88d9df7c38c750ee7656a9433f [INFO] running `Command { std: "docker" "start" "-a" "8cb987a2887a1ec1a3d38b4438812bf4a8386a88d9df7c38c750ee7656a9433f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8cb987a2887a1ec1a3d38b4438812bf4a8386a88d9df7c38c750ee7656a9433f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8cb987a2887a1ec1a3d38b4438812bf4a8386a88d9df7c38c750ee7656a9433f", kill_on_drop: false }` [INFO] [stdout] 8cb987a2887a1ec1a3d38b4438812bf4a8386a88d9df7c38c750ee7656a9433f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Dtail_expr_drop_order" "-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7ac32079c0d94ca38af11c124a4656288a56abf8ec32a3ec36cbfaad8310b0b0 [INFO] running `Command { std: "docker" "start" "-a" "7ac32079c0d94ca38af11c124a4656288a56abf8ec32a3ec36cbfaad8310b0b0", kill_on_drop: false }` [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Checking hash32 v0.2.1 [INFO] [stderr] Compiling heapless v0.7.17 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling nom v5.1.3 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling libloading v0.8.5 [INFO] [stderr] Compiling bindgen v0.56.0 [INFO] [stderr] Checking crypto-bigint v0.2.11 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Checking signature v1.3.2 [INFO] [stderr] Checking ff v0.10.1 [INFO] [stderr] Checking cipher v0.3.0 [INFO] [stderr] Checking cty v0.2.2 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling delog v0.1.7 [INFO] [stderr] Checking group v0.10.0 [INFO] [stderr] Checking crypto-mac v0.11.1 [INFO] [stderr] Checking hmac v0.11.0 [INFO] [stderr] Compiling der_derive v0.4.1 [INFO] [stderr] Checking elliptic-curve v0.10.6 [INFO] [stderr] Compiling p256-cortex-m4-sys v0.1.0 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Compiling salty v0.2.0 [INFO] [stderr] Compiling p256-cortex-m4 v0.1.0-alpha.6 [INFO] [stderr] Checking der v0.4.5 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Checking poly1305 v0.7.2 [INFO] [stderr] Checking cstr_core v0.2.6 [INFO] [stderr] Compiling flexiber_derive v0.1.0 [INFO] [stderr] Checking chacha20 v0.7.3 [INFO] [stderr] Checking ecdsa v0.12.4 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Checking ed25519 v1.5.3 [INFO] [stderr] Checking p256 v0.9.0 [INFO] [stderr] Checking postcard-cobs v0.1.5-pre [INFO] [stderr] Checking block-padding v0.2.1 [INFO] [stderr] Checking embedded-hal v0.2.7 [INFO] [stderr] Checking block-modes v0.8.1 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Compiling serial_test_derive v0.6.0 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking sha-1 v0.9.8 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking des v0.7.0 [INFO] [stderr] Checking aes v0.7.5 [INFO] [stderr] Compiling serde-indexed v0.1.1 [INFO] [stderr] Checking aead v0.4.3 [INFO] [stderr] Checking chacha20poly1305 v0.8.2 [INFO] [stderr] Checking flexiber v0.1.1 [INFO] [stderr] Checking postcard v0.7.3 [INFO] [stderr] Compiling hex-literal v0.3.4 [INFO] [stderr] Checking interchange v0.2.2 [INFO] [stderr] Checking heapless-bytes v0.3.0 [INFO] [stderr] Checking serial_test v0.6.0 [INFO] [stderr] Checking entropy v0.4.2 [INFO] [stderr] Checking cosey v0.3.1 [INFO] [stderr] Checking cbor-smol v0.4.0 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling littlefs2-sys v0.1.7 [INFO] [stderr] Checking littlefs2 v0.3.2 [INFO] [stderr] Checking trussed v0.1.0 (/opt/rustwide/workdir) [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] = note: `#[warn(unexpected_cfgs)]` on by default [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] = note: `#[warn(unexpected_cfgs)]` on by default [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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/service/attest.rs:181:23 [INFO] [stdout] | [INFO] [stdout] 181 | #[derive(Clone, Copy, Encodable, Eq, PartialEq)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Container` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_flexiber_Container_FOR_TbsCertificate` [INFO] [stdout] 182 | pub struct TbsCertificate<'l> { [INFO] [stdout] | -------------- `TbsCertificate` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Encodable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Encodable` may come from an old version of the `flexiber_derive` crate, try updating your dependency with `cargo update -p flexiber_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Encodable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/service/attest.rs:181:23 [INFO] [stdout] | [INFO] [stdout] 181 | #[derive(Clone, Copy, Encodable, Eq, PartialEq)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Encodable` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_flexiber_Container_FOR_TbsCertificate` [INFO] [stdout] 182 | pub struct TbsCertificate<'l> { [INFO] [stdout] | -------------- `TbsCertificate` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Encodable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Encodable` may come from an old version of the `flexiber_derive` crate, try updating your dependency with `cargo update -p flexiber_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Encodable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/service/attest.rs:205:17 [INFO] [stdout] | [INFO] [stdout] 205 | #[derive(Clone, Encodable, Eq, PartialEq)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Tagged` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_flexiber_Tagged_FOR_Certificate` [INFO] [stdout] 206 | #[tlv(constructed, number = "0x10")] // SEQUENCE [INFO] [stdout] 207 | pub struct Certificate<'l> { [INFO] [stdout] | ----------- `Certificate` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Encodable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Encodable` may come from an old version of the `flexiber_derive` crate, try updating your dependency with `cargo update -p flexiber_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Encodable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/service/attest.rs:205:17 [INFO] [stdout] | [INFO] [stdout] 205 | #[derive(Clone, Encodable, Eq, PartialEq)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Container` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_flexiber_Tagged_FOR_Certificate` [INFO] [stdout] 206 | #[tlv(constructed, number = "0x10")] // SEQUENCE [INFO] [stdout] 207 | pub struct Certificate<'l> { [INFO] [stdout] | ----------- `Certificate` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Encodable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Encodable` may come from an old version of the `flexiber_derive` crate, try updating your dependency with `cargo update -p flexiber_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Encodable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/service/attest.rs:378:23 [INFO] [stdout] | [INFO] [stdout] 378 | #[derive(Clone, Copy, Encodable, Eq, PartialEq)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Tagged` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_flexiber_Tagged_FOR_EncodedPart` [INFO] [stdout] 379 | #[tlv(constructed, number = "0x10")] // SEQUENCE = 0x10 [INFO] [stdout] 380 | struct EncodedPart<'l> { [INFO] [stdout] | ----------- `EncodedPart` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Encodable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Encodable` may come from an old version of the `flexiber_derive` crate, try updating your dependency with `cargo update -p flexiber_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Encodable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/service/attest.rs:378:23 [INFO] [stdout] | [INFO] [stdout] 378 | #[derive(Clone, Copy, Encodable, Eq, PartialEq)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Container` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_flexiber_Tagged_FOR_EncodedPart` [INFO] [stdout] 379 | #[tlv(constructed, number = "0x10")] // SEQUENCE = 0x10 [INFO] [stdout] 380 | struct EncodedPart<'l> { [INFO] [stdout] | ----------- `EncodedPart` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Encodable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Encodable` may come from an old version of the `flexiber_derive` crate, try updating your dependency with `cargo update -p flexiber_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Encodable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [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: 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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/service/attest.rs:181:23 [INFO] [stdout] | [INFO] [stdout] 181 | #[derive(Clone, Copy, Encodable, Eq, PartialEq)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Container` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_flexiber_Container_FOR_TbsCertificate` [INFO] [stdout] 182 | pub struct TbsCertificate<'l> { [INFO] [stdout] | -------------- `TbsCertificate` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Encodable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Encodable` may come from an old version of the `flexiber_derive` crate, try updating your dependency with `cargo update -p flexiber_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Encodable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/service/attest.rs:181:23 [INFO] [stdout] | [INFO] [stdout] 181 | #[derive(Clone, Copy, Encodable, Eq, PartialEq)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Encodable` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_flexiber_Container_FOR_TbsCertificate` [INFO] [stdout] 182 | pub struct TbsCertificate<'l> { [INFO] [stdout] | -------------- `TbsCertificate` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Encodable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Encodable` may come from an old version of the `flexiber_derive` crate, try updating your dependency with `cargo update -p flexiber_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Encodable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/service/attest.rs:205:17 [INFO] [stdout] | [INFO] [stdout] 205 | #[derive(Clone, Encodable, Eq, PartialEq)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Tagged` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_flexiber_Tagged_FOR_Certificate` [INFO] [stdout] 206 | #[tlv(constructed, number = "0x10")] // SEQUENCE [INFO] [stdout] 207 | pub struct Certificate<'l> { [INFO] [stdout] | ----------- `Certificate` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Encodable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Encodable` may come from an old version of the `flexiber_derive` crate, try updating your dependency with `cargo update -p flexiber_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Encodable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/service/attest.rs:205:17 [INFO] [stdout] | [INFO] [stdout] 205 | #[derive(Clone, Encodable, Eq, PartialEq)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Container` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_flexiber_Tagged_FOR_Certificate` [INFO] [stdout] 206 | #[tlv(constructed, number = "0x10")] // SEQUENCE [INFO] [stdout] 207 | pub struct Certificate<'l> { [INFO] [stdout] | ----------- `Certificate` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Encodable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Encodable` may come from an old version of the `flexiber_derive` crate, try updating your dependency with `cargo update -p flexiber_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Encodable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/service/attest.rs:378:23 [INFO] [stdout] | [INFO] [stdout] 378 | #[derive(Clone, Copy, Encodable, Eq, PartialEq)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Tagged` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_flexiber_Tagged_FOR_EncodedPart` [INFO] [stdout] 379 | #[tlv(constructed, number = "0x10")] // SEQUENCE = 0x10 [INFO] [stdout] 380 | struct EncodedPart<'l> { [INFO] [stdout] | ----------- `EncodedPart` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Encodable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Encodable` may come from an old version of the `flexiber_derive` crate, try updating your dependency with `cargo update -p flexiber_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Encodable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/service/attest.rs:378:23 [INFO] [stdout] | [INFO] [stdout] 378 | #[derive(Clone, Copy, Encodable, Eq, PartialEq)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Container` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_flexiber_Tagged_FOR_EncodedPart` [INFO] [stdout] 379 | #[tlv(constructed, number = "0x10")] // SEQUENCE = 0x10 [INFO] [stdout] 380 | struct EncodedPart<'l> { [INFO] [stdout] | ----------- `EncodedPart` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Encodable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Encodable` may come from an old version of the `flexiber_derive` crate, try updating your dependency with `cargo update -p flexiber_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Encodable` (in Nightly builds, run with -Z 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] 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: 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 39.17s [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] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bindgen v0.56.0 [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] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [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] [stdout] warning: 464 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7ac32079c0d94ca38af11c124a4656288a56abf8ec32a3ec36cbfaad8310b0b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ac32079c0d94ca38af11c124a4656288a56abf8ec32a3ec36cbfaad8310b0b0", kill_on_drop: false }` [INFO] [stdout] 7ac32079c0d94ca38af11c124a4656288a56abf8ec32a3ec36cbfaad8310b0b0