[INFO] cloning repository https://github.com/djmill0326/active [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/djmill0326/active" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdjmill0326%2Factive", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdjmill0326%2Factive'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0fbc444dd9bef8a9aa05cd4052922fdf714e2eed [INFO] checking djmill0326/active against try#d7b15db413fd2070daa09a2c5b7f2ab38417429f for pr-144544 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdjmill0326%2Factive" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/djmill0326/active [INFO] finished tweaking git repo https://github.com/djmill0326/active [INFO] tweaked toml for git repo https://github.com/djmill0326/active written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/djmill0326/active on toolchain d7b15db413fd2070daa09a2c5b7f2ab38417429f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d7b15db413fd2070daa09a2c5b7f2ab38417429f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/djmill0326/active already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d7b15db413fd2070daa09a2c5b7f2ab38417429f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+d7b15db413fd2070daa09a2c5b7f2ab38417429f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a71bd157cc003c087091229f32aac648f5965df6a0cf995246190acfaef0935c [INFO] running `Command { std: "docker" "start" "-a" "a71bd157cc003c087091229f32aac648f5965df6a0cf995246190acfaef0935c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a71bd157cc003c087091229f32aac648f5965df6a0cf995246190acfaef0935c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a71bd157cc003c087091229f32aac648f5965df6a0cf995246190acfaef0935c", kill_on_drop: false }` [INFO] [stdout] a71bd157cc003c087091229f32aac648f5965df6a0cf995246190acfaef0935c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+d7b15db413fd2070daa09a2c5b7f2ab38417429f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9356bf681ac31c6c4f07516f80e88fad32277e9761b8f5ca0246927437b99519 [INFO] running `Command { std: "docker" "start" "-a" "9356bf681ac31c6c4f07516f80e88fad32277e9761b8f5ca0246927437b99519", kill_on_drop: false }` [INFO] [stderr] Checking active v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `MaybeUninit`, `borrow::BorrowMut`, and `fmt::Debug` [INFO] [stdout] --> src/active.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | ...::{borrow::BorrowMut, cell::UnsafeCell, collections::{HashMap, HashSet}, ffi::c_void, fmt::Debug, marker::PhantomData, mem::{size_of, MaybeUninit}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MaybeUninit`, `borrow::BorrowMut`, and `fmt::Debug` [INFO] [stdout] --> src/active.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | ...::{borrow::BorrowMut, cell::UnsafeCell, collections::{HashMap, HashSet}, ffi::c_void, fmt::Debug, marker::PhantomData, mem::{size_of, MaybeUninit}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/active.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | unsafe { $name.as_mut().unwrap_unchecked() } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 22 | unsafe { std::mem::transmute($expr) } [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 63 | erase!(global!(LISTENERS).get(&tag).unwrap_unchecked()) [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] = note: this warning originates in the macro `global` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/active.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | unsafe { $name.as_mut().unwrap_unchecked() } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 22 | unsafe { std::mem::transmute($expr) } [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 67 | erase!(global!(LISTENERS).get_mut(&tag).unwrap_unchecked()) [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `global` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/active.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | unsafe { $name.as_mut().unwrap_unchecked() } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 22 | unsafe { std::mem::transmute($expr) } [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 63 | erase!(global!(LISTENERS).get(&tag).unwrap_unchecked()) [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] = note: this warning originates in the macro `global` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/active.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | unsafe { $name.as_mut().unwrap_unchecked() } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 22 | unsafe { std::mem::transmute($expr) } [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 67 | erase!(global!(LISTENERS).get_mut(&tag).unwrap_unchecked()) [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `global` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `2` and `3` are never read [INFO] [stdout] --> src/active.rs:78:75 [INFO] [stdout] | [INFO] [stdout] 78 | struct ValueShell (T, Option, Transform, usize); [INFO] [stdout] | ---------- fields in this struct ^^^^^^^^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] = note: `ValueShell` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `update` is never used [INFO] [stdout] --> src/active.rs:198:8 [INFO] [stdout] | [INFO] [stdout] 183 | impl<'a, T: Copy> Slab<'a, T> { [INFO] [stdout] | ----------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 198 | fn update(&mut self, index: usize, value: &Type) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `addEventListener` should have a snake case name [INFO] [stdout] --> src/active.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | fn addEventListener(&mut self, f: ErasedListener) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `add_event_listener` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `removeEventListener` should have a snake case name [INFO] [stdout] --> src/active.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | fn removeEventListener(&mut self, f: ErasedListener) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `remove_event_listener` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/active.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | unsafe { $name.as_mut().unwrap_unchecked() } [INFO] [stdout] | ^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 63 | erase!(global!(LISTENERS).get(&tag).unwrap_unchecked()) [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other 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 `global` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/active.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | unsafe { $name.as_mut().unwrap_unchecked() } [INFO] [stdout] | ^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 67 | erase!(global!(LISTENERS).get_mut(&tag).unwrap_unchecked()) [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `global` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/active.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | unsafe { $name.as_mut().unwrap_unchecked() } [INFO] [stdout] | ^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 71 | let tag = global!(LISTENER_TAG); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `global` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/active.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | unsafe { $name.as_mut().unwrap_unchecked() } [INFO] [stdout] | ^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 73 | global!(LISTENERS).insert(*tag, HashSet::new()); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `global` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/active.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | unsafe { $name.as_mut().unwrap_unchecked() } [INFO] [stdout] | ^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 222 | Slab::new(&mut global!(STORAGE)[size_of::>()]) [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `global` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/active.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | unsafe { $name.as_mut().unwrap_unchecked() } [INFO] [stdout] | ^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 283 | global!(STORAGE).resize(64, Vec::new()); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `global` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `2` and `3` are never read [INFO] [stdout] --> src/active.rs:78:75 [INFO] [stdout] | [INFO] [stdout] 78 | struct ValueShell (T, Option, Transform, usize); [INFO] [stdout] | ---------- fields in this struct ^^^^^^^^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] = note: `ValueShell` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `update` is never used [INFO] [stdout] --> src/active.rs:198:8 [INFO] [stdout] | [INFO] [stdout] 183 | impl<'a, T: Copy> Slab<'a, T> { [INFO] [stdout] | ----------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 198 | fn update(&mut self, index: usize, value: &Type) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `addEventListener` should have a snake case name [INFO] [stdout] --> src/active.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | fn addEventListener(&mut self, f: ErasedListener) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `add_event_listener` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `removeEventListener` should have a snake case name [INFO] [stdout] --> src/active.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | fn removeEventListener(&mut self, f: ErasedListener) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `remove_event_listener` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/active.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | unsafe { $name.as_mut().unwrap_unchecked() } [INFO] [stdout] | ^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 63 | erase!(global!(LISTENERS).get(&tag).unwrap_unchecked()) [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other 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 `global` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/active.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | unsafe { $name.as_mut().unwrap_unchecked() } [INFO] [stdout] | ^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 67 | erase!(global!(LISTENERS).get_mut(&tag).unwrap_unchecked()) [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `global` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/active.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | unsafe { $name.as_mut().unwrap_unchecked() } [INFO] [stdout] | ^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 71 | let tag = global!(LISTENER_TAG); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `global` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/active.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | unsafe { $name.as_mut().unwrap_unchecked() } [INFO] [stdout] | ^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 73 | global!(LISTENERS).insert(*tag, HashSet::new()); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `global` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/active.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | unsafe { $name.as_mut().unwrap_unchecked() } [INFO] [stdout] | ^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 222 | Slab::new(&mut global!(STORAGE)[size_of::>()]) [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `global` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/active.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | unsafe { $name.as_mut().unwrap_unchecked() } [INFO] [stdout] | ^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 283 | global!(STORAGE).resize(64, Vec::new()); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `global` (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 0.19s [INFO] running `Command { std: "docker" "inspect" "9356bf681ac31c6c4f07516f80e88fad32277e9761b8f5ca0246927437b99519", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9356bf681ac31c6c4f07516f80e88fad32277e9761b8f5ca0246927437b99519", kill_on_drop: false }` [INFO] [stdout] 9356bf681ac31c6c4f07516f80e88fad32277e9761b8f5ca0246927437b99519