[INFO] cloning repository https://github.com/MathItYT/mathlikeanim-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MathItYT/mathlikeanim-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMathItYT%2Fmathlikeanim-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMathItYT%2Fmathlikeanim-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c63b25aa53523a46d20e976a23a634a7c289efc5 [INFO] checking MathItYT/mathlikeanim-rs against master#ceab6128fa48a616bfd3e3adf4bc80133b8ee223 for no-never-type-fallback [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMathItYT%2Fmathlikeanim-rs" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MathItYT/mathlikeanim-rs on toolchain ceab6128fa48a616bfd3e3adf4bc80133b8ee223 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/MathItYT/mathlikeanim-rs [INFO] finished tweaking git repo https://github.com/MathItYT/mathlikeanim-rs [INFO] tweaked toml for git repo https://github.com/MathItYT/mathlikeanim-rs written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/MathItYT/mathlikeanim-rs 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" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bumpalo v3.15.2 [INFO] [stderr] Downloaded parcel_sourcemap v2.1.1 [INFO] [stderr] Downloaded simd-abstraction v0.7.1 [INFO] [stderr] Downloaded base64-simd v0.7.0 [INFO] [stderr] Downloaded outref v0.1.0 [INFO] [stderr] Downloaded vlq v0.5.1 [INFO] [stderr] Downloaded svg v0.15.1 [INFO] [stderr] Downloaded ahash v0.8.9 [INFO] [stderr] Downloaded lightningcss v1.0.0-alpha.53 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 85d31f65f690db68b91ef3a5d5c74ff0817ff4e6fe492df3ca6b70ead9a6779f [INFO] running `Command { std: "docker" "start" "-a" "85d31f65f690db68b91ef3a5d5c74ff0817ff4e6fe492df3ca6b70ead9a6779f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "85d31f65f690db68b91ef3a5d5c74ff0817ff4e6fe492df3ca6b70ead9a6779f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85d31f65f690db68b91ef3a5d5c74ff0817ff4e6fe492df3ca6b70ead9a6779f", kill_on_drop: false }` [INFO] [stdout] 85d31f65f690db68b91ef3a5d5c74ff0817ff4e6fe492df3ca6b70ead9a6779f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9f3997e1eb788e26b185b2c80525e502bc9cf0d178c7ae25f068bd7388f5c391 [INFO] running `Command { std: "docker" "start" "-a" "9f3997e1eb788e26b185b2c80525e502bc9cf0d178c7ae25f068bd7388f5c391", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.92 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling bumpalo v3.15.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Checking dtoa v1.0.9 [INFO] [stderr] Compiling wasm-bindgen v0.2.92 [INFO] [stderr] Compiling syn v2.0.50 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking phf_shared v0.11.2 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Checking dtoa-short v0.3.4 [INFO] [stderr] Compiling rkyv v0.7.44 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking outref v0.1.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking simd-abstraction v0.7.1 [INFO] [stderr] Compiling ahash v0.8.9 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking seahash v4.1.0 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking base64-simd v0.7.0 [INFO] [stderr] Checking data-url v0.1.1 [INFO] [stderr] Checking phf v0.10.1 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking vlq v0.5.1 [INFO] [stderr] Checking precomputed-hash v0.1.1 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking data-encoding v2.5.0 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking svg v0.15.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking rayon v1.8.1 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling phf_codegen v0.10.0 [INFO] [stderr] Compiling parcel_selectors v0.26.4 [INFO] [stderr] Compiling ptr_meta_derive v0.1.4 [INFO] [stderr] Compiling rkyv_derive v0.7.44 [INFO] [stderr] Compiling const-str-proc-macro v0.3.2 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.92 [INFO] [stderr] Checking ptr_meta v0.1.4 [INFO] [stderr] Checking const-str v0.3.2 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.92 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Checking cssparser v0.33.0 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.92 [INFO] [stderr] Checking cssparser-color v0.1.0 [INFO] [stderr] Checking js-sys v0.3.69 [INFO] [stderr] Checking web-sys v0.3.69 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.42 [INFO] [stderr] Checking parcel_sourcemap v2.1.1 [INFO] [stderr] Checking lightningcss v1.0.0-alpha.53 [INFO] [stderr] Checking mathlikeanim-rs v0.5.4 (/opt/rustwide/workdir) [INFO] [stderr] Checking svg_example v0.1.0 (/opt/rustwide/workdir/examples/svg_example) [INFO] [stderr] Checking html_canvas_example v0.1.0 (/opt/rustwide/workdir/examples/html_canvas_example) [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> examples/svg_example/src/lib.rs:19:26 [INFO] [stdout] | [INFO] [stdout] 19 | let scene = unsafe { &mut SVG_SCENE }; [INFO] [stdout] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 19 | let scene = unsafe { addr_of_mut!(SVG_SCENE) }; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> examples/svg_example/src/lib.rs:19:26 [INFO] [stdout] | [INFO] [stdout] 19 | let scene = unsafe { &mut SVG_SCENE }; [INFO] [stdout] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 19 | let scene = unsafe { addr_of_mut!(SVG_SCENE) }; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> examples/svg_example/src/lib.rs:33:26 [INFO] [stdout] | [INFO] [stdout] 33 | let scene = unsafe { &mut SVG_SCENE }; [INFO] [stdout] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | let scene = unsafe { addr_of_mut!(SVG_SCENE) }; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> examples/html_canvas_example/src/lib.rs:55:26 [INFO] [stdout] | [INFO] [stdout] 55 | let scene = unsafe { &mut SCENE }; [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 55 | let scene = unsafe { addr_of_mut!(SCENE) }; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> examples/svg_example/src/lib.rs:33:26 [INFO] [stdout] | [INFO] [stdout] 33 | let scene = unsafe { &mut SVG_SCENE }; [INFO] [stdout] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | let scene = unsafe { addr_of_mut!(SVG_SCENE) }; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> examples/html_canvas_example/src/lib.rs:75:26 [INFO] [stdout] | [INFO] [stdout] 75 | let scene = unsafe { &mut SCENE }; [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 75 | let scene = unsafe { addr_of_mut!(SCENE) }; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> examples/html_canvas_example/src/lib.rs:115:28 [INFO] [stdout] | [INFO] [stdout] 115 | let vec_lst = unsafe { &mut VECTOR_LIST }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 115 | let vec_lst = unsafe { addr_of_mut!(VECTOR_LIST) }; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> examples/svg_example/src/lib.rs:176:26 [INFO] [stdout] | [INFO] [stdout] 176 | let scene = unsafe { &mut SVG_SCENE }; [INFO] [stdout] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 176 | let scene = unsafe { addr_of_mut!(SVG_SCENE) }; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> examples/svg_example/src/lib.rs:176:26 [INFO] [stdout] | [INFO] [stdout] 176 | let scene = unsafe { &mut SVG_SCENE }; [INFO] [stdout] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 176 | let scene = unsafe { addr_of_mut!(SVG_SCENE) }; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> examples/html_canvas_example/src/lib.rs:28:32 [INFO] [stdout] | [INFO] [stdout] 28 | let vector_list = unsafe { &mut VECTOR_LIST }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 28 | let vector_list = unsafe { addr_of_mut!(VECTOR_LIST) }; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> examples/html_canvas_example/src/lib.rs:55:26 [INFO] [stdout] | [INFO] [stdout] 55 | let scene = unsafe { &mut SCENE }; [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 55 | let scene = unsafe { addr_of_mut!(SCENE) }; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> examples/html_canvas_example/src/lib.rs:75:26 [INFO] [stdout] | [INFO] [stdout] 75 | let scene = unsafe { &mut SCENE }; [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 75 | let scene = unsafe { addr_of_mut!(SCENE) }; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> examples/html_canvas_example/src/lib.rs:115:28 [INFO] [stdout] | [INFO] [stdout] 115 | let vec_lst = unsafe { &mut VECTOR_LIST }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 115 | let vec_lst = unsafe { addr_of_mut!(VECTOR_LIST) }; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> examples/html_canvas_example/src/lib.rs:28:32 [INFO] [stdout] | [INFO] [stdout] 28 | let vector_list = unsafe { &mut VECTOR_LIST }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 28 | let vector_list = unsafe { addr_of_mut!(VECTOR_LIST) }; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.50s [INFO] running `Command { std: "docker" "inspect" "9f3997e1eb788e26b185b2c80525e502bc9cf0d178c7ae25f068bd7388f5c391", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f3997e1eb788e26b185b2c80525e502bc9cf0d178c7ae25f068bd7388f5c391", kill_on_drop: false }` [INFO] [stdout] 9f3997e1eb788e26b185b2c80525e502bc9cf0d178c7ae25f068bd7388f5c391