[INFO] cloning repository https://github.com/SuccessfullyFailed/glass_panel [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SuccessfullyFailed/glass_panel" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSuccessfullyFailed%2Fglass_panel", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSuccessfullyFailed%2Fglass_panel'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 13087e8b8284318173208a94f6a215635e339703 [INFO] checking SuccessfullyFailed/glass_panel/13087e8b8284318173208a94f6a215635e339703 against try#65132f36b923285d5da381c2fbafee6ce899e841 for pr-132712-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSuccessfullyFailed%2Fglass_panel" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SuccessfullyFailed/glass_panel on toolchain 65132f36b923285d5da381c2fbafee6ce899e841 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/SuccessfullyFailed/glass_panel [INFO] finished tweaking git repo https://github.com/SuccessfullyFailed/glass_panel [INFO] tweaked toml for git repo https://github.com/SuccessfullyFailed/glass_panel written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/SuccessfullyFailed/glass_panel 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" "+65132f36b923285d5da381c2fbafee6ce899e841" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a25bdf0480e1dc1681f013181cb98c913d61b8a0bf31fe610bb8d259f92c4618 [INFO] running `Command { std: "docker" "start" "-a" "a25bdf0480e1dc1681f013181cb98c913d61b8a0bf31fe610bb8d259f92c4618", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a25bdf0480e1dc1681f013181cb98c913d61b8a0bf31fe610bb8d259f92c4618", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a25bdf0480e1dc1681f013181cb98c913d61b8a0bf31fe610bb8d259f92c4618", kill_on_drop: false }` [INFO] [stdout] a25bdf0480e1dc1681f013181cb98c913d61b8a0bf31fe610bb8d259f92c4618 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e91d5f45df96fb143ef12a6ef81dcf1388bcc716458d5d7bc312a0acb9835892 [INFO] running `Command { std: "docker" "start" "-a" "e91d5f45df96fb143ef12a6ef81dcf1388bcc716458d5d7bc312a0acb9835892", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling pkg-config v0.3.29 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling xml-rs v0.8.19 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Checking libloading v0.8.1 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Compiling rustix v0.38.30 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking rayon v1.8.1 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking nix v0.24.3 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Checking weezl v0.1.8 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Checking wayland-commons v0.29.5 [INFO] [stderr] Checking jpeg-decoder v0.3.1 [INFO] [stderr] Compiling regex-automata v0.4.5 [INFO] [stderr] Compiling minifb v0.23.0 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking fdeflate v0.3.4 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking ttf-parser v0.15.2 [INFO] [stderr] Checking fastrand v2.0.1 [INFO] [stderr] Checking bytemuck v1.14.1 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Checking xcursor v0.3.5 [INFO] [stderr] Checking cty v0.2.2 [INFO] [stderr] Checking half v2.2.1 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking raw-window-handle v0.4.3 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking tempfile v3.9.0 [INFO] [stderr] Checking png v0.17.11 [INFO] [stderr] Checking exr v1.71.0 [INFO] [stderr] Checking wayland-cursor v0.29.5 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Checking gif v0.12.0 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Checking owned_ttf_parser v0.15.2 [INFO] [stderr] Checking rusttype v0.9.3 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Compiling rust_build_buddy v0.1.1 (https://gitlab.com/RenzoGerritzenSaxion/rust-build-buddy.git#382315e9) [INFO] [stderr] Compiling glass_panel v0.1.11 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] Checking image v0.24.8 [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/elements/tridimensional/static_mesh_storage.rs (1 fix) [INFO] [stderr] Fixed src/glass_panel.rs (1 fix) [INFO] [stderr] Fixed src/elements/tridimensional/model/mesh.rs (1 fix) [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/_unit_testing/support.rs:28:116 [INFO] [stdout] | [INFO] [stdout] 28 | let img:TestImage = TestImage { path: format!("{}/test_img_{}.png", std::env::current_dir().unwrap().display(), TEST_I... [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [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: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/elements/tridimensional/static_mesh_storage.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | MESH_STORAGE.lock().unwrap()[source_id].as_mut().unwrap().usages += 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/elements/tridimensional/static_mesh_storage.rs:33:19 [INFO] [stdout] | [INFO] [stdout] 33 | let id:usize = MESH_STORAGE.lock().unwrap().len(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/elements/tridimensional/static_mesh_storage.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | MESH_STORAGE.lock().unwrap().push(Some(StaticMesh { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/elements/tridimensional/static_mesh_storage.rs:51:4 [INFO] [stdout] | [INFO] [stdout] 51 | MESH_STORAGE.lock().unwrap().iter().position(|mesh_opt| [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/elements/tridimensional/static_mesh_storage.rs:64:4 [INFO] [stdout] | [INFO] [stdout] 64 | MESH_STORAGE.lock().unwrap().iter().map(|mesh_opt| [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/elements/tridimensional/static_mesh_storage.rs:91:10 [INFO] [stdout] | [INFO] [stdout] 91 | match MESH_STORAGE.lock()?[self.id].as_ref() { Some(mesh_ref) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/elements/tridimensional/static_mesh_storage.rs:105:24 [INFO] [stdout] | [INFO] [stdout] 105 | if let Some(mesh) = MESH_STORAGE.lock().unwrap()[self.id].as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/elements/tridimensional/static_mesh_storage.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | MESH_STORAGE.lock().unwrap()[self.id] = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/elements/tridimensional/static_mesh_storage.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 119 | unsafe { MESH_STORAGE.lock().unwrap()[self.id].as_mut().unwrap().usages += 1; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [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] [INFO] [stdout] [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/_unit_testing/support.rs:28:116 [INFO] [stdout] | [INFO] [stdout] 28 | let img:TestImage = TestImage { path: format!("{}/test_img_{}.png", std::env::current_dir().unwrap().display(), TEST_I... [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [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: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/_unit_testing/test_listener.rs:56:15 [INFO] [stdout] | [INFO] [stdout] 56 | assert_eq!(HANDLER_ADAPTOR, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/_unit_testing/test_listener.rs:58:15 [INFO] [stdout] | [INFO] [stdout] 58 | assert_eq!(HANDLER_ADAPTOR, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/_unit_testing/test_listener.rs:60:15 [INFO] [stdout] | [INFO] [stdout] 60 | assert_eq!(HANDLER_ADAPTOR, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/_unit_testing/test_listener.rs:62:15 [INFO] [stdout] | [INFO] [stdout] 62 | assert_eq!(HANDLER_ADAPTOR, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/_unit_testing/test_listener.rs:64:15 [INFO] [stdout] | [INFO] [stdout] 64 | assert_eq!(HANDLER_ADAPTOR, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/_unit_testing/test_listener.rs:66:15 [INFO] [stdout] | [INFO] [stdout] 66 | assert_eq!(HANDLER_ADAPTOR, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/_unit_testing/test_listener.rs:68:15 [INFO] [stdout] | [INFO] [stdout] 68 | assert_eq!(HANDLER_ADAPTOR, 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/_unit_testing/test_listener.rs:70:15 [INFO] [stdout] | [INFO] [stdout] 70 | assert_eq!(HANDLER_ADAPTOR, 2); [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/_unit_testing/test_listener.rs:92:15 [INFO] [stdout] | [INFO] [stdout] 92 | assert_eq!(HANDLER_ADAPTOR, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/_unit_testing/test_listener.rs:96:15 [INFO] [stdout] | [INFO] [stdout] 96 | assert_eq!(HANDLER_ADAPTOR, 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/_unit_testing/test_listener.rs:100:15 [INFO] [stdout] | [INFO] [stdout] 100 | assert_eq!(HANDLER_ADAPTOR, 2); [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/_unit_testing/test_listener.rs:104:15 [INFO] [stdout] | [INFO] [stdout] 104 | assert_eq!(HANDLER_ADAPTOR, 3); [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/_unit_testing/test_listener.rs:108:15 [INFO] [stdout] | [INFO] [stdout] 108 | assert_eq!(HANDLER_ADAPTOR, 4); [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/_unit_testing/test_listener.rs:112:15 [INFO] [stdout] | [INFO] [stdout] 112 | assert_eq!(HANDLER_ADAPTOR, 5); [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/_unit_testing/test_listener.rs:126:15 [INFO] [stdout] | [INFO] [stdout] 126 | assert_eq!(HANDLER_ADAPTOR, 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/_unit_testing/test_listener.rs:133:15 [INFO] [stdout] | [INFO] [stdout] 133 | assert_eq!(HANDLER_ADAPTOR, 2); [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/elements/tridimensional/static_mesh_storage.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | MESH_STORAGE.lock().unwrap()[source_id].as_mut().unwrap().usages += 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/elements/tridimensional/static_mesh_storage.rs:33:19 [INFO] [stdout] | [INFO] [stdout] 33 | let id:usize = MESH_STORAGE.lock().unwrap().len(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/elements/tridimensional/static_mesh_storage.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | MESH_STORAGE.lock().unwrap().push(Some(StaticMesh { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/elements/tridimensional/static_mesh_storage.rs:51:4 [INFO] [stdout] | [INFO] [stdout] 51 | MESH_STORAGE.lock().unwrap().iter().position(|mesh_opt| [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/elements/tridimensional/static_mesh_storage.rs:64:4 [INFO] [stdout] | [INFO] [stdout] 64 | MESH_STORAGE.lock().unwrap().iter().map(|mesh_opt| [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/elements/tridimensional/static_mesh_storage.rs:91:10 [INFO] [stdout] | [INFO] [stdout] 91 | match MESH_STORAGE.lock()?[self.id].as_ref() { Some(mesh_ref) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/elements/tridimensional/static_mesh_storage.rs:105:24 [INFO] [stdout] | [INFO] [stdout] 105 | if let Some(mesh) = MESH_STORAGE.lock().unwrap()[self.id].as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/elements/tridimensional/static_mesh_storage.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | MESH_STORAGE.lock().unwrap()[self.id] = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/elements/tridimensional/static_mesh_storage.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 119 | unsafe { MESH_STORAGE.lock().unwrap()[self.id].as_mut().unwrap().usages += 1; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [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] [INFO] [stdout] [INFO] [stderr] Fixed src/main.rs (1 fix) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.87s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Compiling glass_panel v0.1.11 (/tmp/fixit) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.84s [INFO] running `Command { std: "docker" "inspect" "e91d5f45df96fb143ef12a6ef81dcf1388bcc716458d5d7bc312a0acb9835892", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e91d5f45df96fb143ef12a6ef81dcf1388bcc716458d5d7bc312a0acb9835892", kill_on_drop: false }` [INFO] [stdout] e91d5f45df96fb143ef12a6ef81dcf1388bcc716458d5d7bc312a0acb9835892