[INFO] fetching crate simple_engine_2d 0.1.1... [INFO] checking simple_engine_2d-0.1.1 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate simple_engine_2d 0.1.1 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate simple_engine_2d 0.1.1 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] started tweaking crates.io crate simple_engine_2d 0.1.1 [INFO] finished tweaking crates.io crate simple_engine_2d 0.1.1 [INFO] tweaked toml for crates.io crate simple_engine_2d 0.1.1 written to /workspace/builds/worker-5-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] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 296 packages to latest compatible versions [INFO] [stderr] Adding aligned-vec v0.5.0 (available: v0.6.1) [INFO] [stderr] Adding android-activity v0.5.2 (available: v0.6.0) [INFO] [stderr] Adding ash v0.37.3+1.3.251 (available: v0.38.0+1.3.281) [INFO] [stderr] Adding bit-set v0.5.3 (available: v0.8.0) [INFO] [stderr] Adding bit-vec v0.6.3 (available: v0.8.0) [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding block2 v0.3.0 (available: v0.5.1) [INFO] [stderr] Adding calloop v0.12.4 (available: v0.14.1) [INFO] [stderr] Adding calloop-wayland-source v0.2.0 (available: v0.4.0) [INFO] [stderr] Adding cfg-expr v0.15.8 (available: v0.17.0) [INFO] [stderr] Adding cfg_aliases v0.1.1 (available: v0.2.1) [INFO] [stderr] Adding core-foundation v0.9.4 (available: v0.10.0) [INFO] [stderr] Adding core-graphics v0.23.2 (available: v0.24.0) [INFO] [stderr] Adding core-graphics-types v0.1.3 (available: v0.2.0) [INFO] [stderr] Adding d3d12 v0.19.0 (available: v22.0.0) [INFO] [stderr] Adding gethostname v0.4.3 (available: v0.5.0) [INFO] [stderr] Adding glow v0.13.1 (available: v0.14.1) [INFO] [stderr] Adding glutin_wgl_sys v0.5.0 (available: v0.6.0) [INFO] [stderr] Adding gpu-allocator v0.25.0 (available: v0.27.0) [INFO] [stderr] Adding gpu-descriptor v0.2.4 (available: v0.3.0) [INFO] [stderr] Adding gpu-descriptor-types v0.1.2 (available: v0.2.0) [INFO] [stderr] Adding icrate v0.0.4 (available: v0.1.2) [INFO] [stderr] Adding itertools v0.12.1 (available: v0.13.0) [INFO] [stderr] Adding jni-sys v0.3.0 (available: v0.4.0) [INFO] [stderr] Adding libloading v0.7.4 (available: v0.8.5) [INFO] [stderr] Adding libredox v0.0.2 (available: v0.1.3) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (available: v0.6.5) [INFO] [stderr] Adding malloc_buf v0.0.6 (available: v1.0.0) [INFO] [stderr] Adding metal v0.27.0 (available: v0.29.0) [INFO] [stderr] Adding miniz_oxide v0.7.4 (available: v0.8.0) [INFO] [stderr] Adding naga v0.19.2 (available: v22.1.0) [INFO] [stderr] Adding ndk v0.8.0 (available: v0.9.0) [INFO] [stderr] Adding ndk-sys v0.5.0+25.2.9519653 (available: v0.6.0+11769913) [INFO] [stderr] Adding objc2 v0.4.1 (available: v0.5.2) [INFO] [stderr] Adding objc2-encode v3.0.0 (available: v4.0.3) [INFO] [stderr] Adding redox_syscall v0.3.5 (available: v0.5.6) [INFO] [stderr] Adding redox_syscall v0.4.1 (available: v0.5.6) [INFO] [stderr] Adding rustc-hash v1.1.0 (available: v2.0.0) [INFO] [stderr] Adding sctk-adwaita v0.8.3 (available: v0.10.1) [INFO] [stderr] Adding smithay-client-toolkit v0.18.1 (available: v0.19.2) [INFO] [stderr] Adding smol_str v0.2.2 (available: v0.3.1) [INFO] [stderr] Adding strict-num v0.1.1 (available: v0.2.0) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.79) [INFO] [stderr] Adding system-deps v6.2.2 (available: v7.0.3) [INFO] [stderr] Adding unicode-width v0.1.14 (available: v0.2.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding wayland-protocols v0.31.2 (available: v0.32.4) [INFO] [stderr] Adding wayland-protocols-plasma v0.2.0 (available: v0.3.4) [INFO] [stderr] Adding wayland-protocols-wlr v0.2.0 (available: v0.3.4) [INFO] [stderr] Adding web-time v0.2.4 (available: v1.1.0) [INFO] [stderr] Adding wgpu v0.19.4 (available: v22.1.0) [INFO] [stderr] Adding wgpu-core v0.19.4 (available: v22.1.0) [INFO] [stderr] Adding wgpu-hal v0.19.5 (available: v22.0.0) [INFO] [stderr] Adding wgpu-types v0.19.2 (available: v22.0.0) [INFO] [stderr] Adding windows v0.52.0 (available: v0.58.0) [INFO] [stderr] Adding windows-core v0.52.0 (available: v0.58.0) [INFO] [stderr] Adding windows-sys v0.45.0 (available: v0.59.0) [INFO] [stderr] Adding windows-sys v0.48.0 (available: v0.59.0) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] [stderr] Adding windows-targets v0.42.2 (available: v0.52.6) [INFO] [stderr] Adding windows-targets v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_aarch64_gnullvm v0.42.2 (available: v0.52.6) [INFO] [stderr] Adding windows_aarch64_gnullvm v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_aarch64_msvc v0.42.2 (available: v0.52.6) [INFO] [stderr] Adding windows_aarch64_msvc v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_gnu v0.42.2 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_gnu v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_msvc v0.42.2 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_msvc v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnu v0.42.2 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnu v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnullvm v0.42.2 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnullvm v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_msvc v0.42.2 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_msvc v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding winit v0.29.15 (available: v0.30.5) [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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] d1758e116835b8e3242af08f54d81fecadda0724055ad780640bc8f0980a62f2 [INFO] running `Command { std: "docker" "start" "-a" "d1758e116835b8e3242af08f54d81fecadda0724055ad780640bc8f0980a62f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d1758e116835b8e3242af08f54d81fecadda0724055ad780640bc8f0980a62f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1758e116835b8e3242af08f54d81fecadda0724055ad780640bc8f0980a62f2", kill_on_drop: false }` [INFO] [stdout] d1758e116835b8e3242af08f54d81fecadda0724055ad780640bc8f0980a62f2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] b5bee82fe62f6e7023e57621deb5bdc818b280fb315d0f31407538be89407f17 [INFO] running `Command { std: "docker" "start" "-a" "b5bee82fe62f6e7023e57621deb5bdc818b280fb315d0f31407538be89407f17", kill_on_drop: false }` [INFO] [stderr] Checking libloading v0.8.5 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Compiling wayland-sys v0.31.5 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling wayland-backend v0.3.7 [INFO] [stderr] Checking downcast-rs v1.2.1 [INFO] [stderr] Compiling quick-xml v0.36.2 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Compiling wayland-client v0.31.6 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling ash v0.37.3+1.3.251 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Compiling khronos-egl v6.0.0 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Compiling wgpu-hal v0.19.5 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking gpu-descriptor-types v0.1.2 [INFO] [stderr] Checking spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Checking gpu-alloc-types v0.3.0 [INFO] [stderr] Checking libloading v0.7.4 [INFO] [stderr] Checking raw-window-handle v0.6.2 [INFO] [stderr] Checking arrayref v0.3.9 [INFO] [stderr] Checking ttf-parser v0.24.1 [INFO] [stderr] Checking hexf-parse v0.2.1 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking unicode-xid v0.2.6 [INFO] [stderr] Checking strict-num v0.1.1 [INFO] [stderr] Checking xkeysym v0.2.1 [INFO] [stderr] Checking xcursor v0.3.8 [INFO] [stderr] Checking bytemuck v1.18.0 [INFO] [stderr] Compiling wayland-scanner v0.31.5 [INFO] [stderr] Compiling smithay-client-toolkit v0.18.1 [INFO] [stderr] Checking cursor-icon v1.1.0 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Checking gpu-alloc v0.6.0 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Checking gpu-descriptor v0.2.4 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling wgpu-core v0.19.4 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Checking memmap2 v0.9.5 [INFO] [stderr] Checking wgpu-types v0.19.2 [INFO] [stderr] Checking glow v0.13.1 [INFO] [stderr] Checking renderdoc-sys v1.1.0 [INFO] [stderr] Checking profiling v1.0.15 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Checking naga v0.19.2 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Compiling winit v0.29.15 [INFO] [stderr] Checking owned_ttf_parser v0.24.0 [INFO] [stderr] Compiling wgpu v0.19.4 [INFO] [stderr] Checking ab_glyph v0.2.28 [INFO] [stderr] Checking x11rb-protocol v0.13.1 [INFO] [stderr] Checking as-raw-xcb-connection v1.0.1 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking smol_str v0.2.2 [INFO] [stderr] Checking pollster v0.3.0 [INFO] [stderr] Checking polling v3.7.3 [INFO] [stderr] Checking calloop v0.12.4 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking wayland-protocols v0.31.2 [INFO] [stderr] Checking calloop-wayland-source v0.2.0 [INFO] [stderr] Checking wayland-cursor v0.31.6 [INFO] [stderr] Checking wayland-protocols-wlr v0.2.0 [INFO] [stderr] Checking wayland-protocols-plasma v0.2.0 [INFO] [stderr] Checking sctk-adwaita v0.8.3 [INFO] [stderr] Checking x11rb v0.13.1 [INFO] [stderr] Checking simple_engine_2d v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/lib.rs:70:43 [INFO] [stdout] | [INFO] [stdout] 70 | fn background_color(&'static self) -> &Color { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'static` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] help: consider specifying it explicitly [INFO] [stdout] | [INFO] [stdout] 70 | fn background_color(&'static self) -> &'static Color { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/lib.rs:70:43 [INFO] [stdout] | [INFO] [stdout] 70 | fn background_color(&'static self) -> &Color { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'static` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] help: consider specifying it explicitly [INFO] [stdout] | [INFO] [stdout] 70 | fn background_color(&'static self) -> &'static Color { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/application/app.rs:51:26 [INFO] [stdout] | [INFO] [stdout] 51 | assert!(unsafe { APP.is_none() }, "Application already initialized"); [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: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/application/app.rs:65:32 [INFO] [stdout] | [INFO] [stdout] 65 | debug_assert!(unsafe { APP.is_some() }, "Application not initialized"); [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/application/app.rs:66:18 [INFO] [stdout] | [INFO] [stdout] 66 | unsafe { APP.as_ref().unwrap_unchecked() } [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/application/app.rs:70:32 [INFO] [stdout] | [INFO] [stdout] 70 | debug_assert!(unsafe { APP.is_some() }, "Application not initialized"); [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 mutable reference to mutable static is discouraged [INFO] [stdout] --> src/application/app.rs:71:18 [INFO] [stdout] | [INFO] [stdout] 71 | unsafe { APP.as_mut().unwrap_unchecked() } [INFO] [stdout] | ^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/application/gpu_state.rs:29:26 [INFO] [stdout] | [INFO] [stdout] 29 | assert!(unsafe { GPU_STATE.is_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/application/gpu_state.rs:83:22 [INFO] [stdout] | [INFO] [stdout] 83 | unsafe { GPU_STATE.is_some() }, [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/application/gpu_state.rs:86:18 [INFO] [stdout] | [INFO] [stdout] 86 | unsafe { GPU_STATE.as_ref().unwrap_unchecked() } [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/application/gpu_state.rs:91:22 [INFO] [stdout] | [INFO] [stdout] 91 | unsafe { GPU_STATE.is_some() }, [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 mutable reference to mutable static is discouraged [INFO] [stdout] --> src/application/gpu_state.rs:94:18 [INFO] [stdout] | [INFO] [stdout] 94 | unsafe { GPU_STATE.as_mut().unwrap_unchecked() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/application/window_state.rs:27:26 [INFO] [stdout] | [INFO] [stdout] 27 | assert!(unsafe { WIN_STATE.is_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/application/window_state.rs:50:22 [INFO] [stdout] | [INFO] [stdout] 50 | unsafe { WIN_STATE.is_some() }, [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/application/window_state.rs:53:18 [INFO] [stdout] | [INFO] [stdout] 53 | unsafe { WIN_STATE.as_ref().unwrap_unchecked() } [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/application/window_state.rs:58:22 [INFO] [stdout] | [INFO] [stdout] 58 | unsafe { WIN_STATE.is_some() }, [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 mutable reference to mutable static is discouraged [INFO] [stdout] --> src/application/window_state.rs:61:18 [INFO] [stdout] | [INFO] [stdout] 61 | unsafe { WIN_STATE.as_mut().unwrap_unchecked() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/application/app.rs:51:26 [INFO] [stdout] | [INFO] [stdout] 51 | assert!(unsafe { APP.is_none() }, "Application already initialized"); [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: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/application/app.rs:65:32 [INFO] [stdout] | [INFO] [stdout] 65 | debug_assert!(unsafe { APP.is_some() }, "Application not initialized"); [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/application/app.rs:66:18 [INFO] [stdout] | [INFO] [stdout] 66 | unsafe { APP.as_ref().unwrap_unchecked() } [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/application/app.rs:70:32 [INFO] [stdout] | [INFO] [stdout] 70 | debug_assert!(unsafe { APP.is_some() }, "Application not initialized"); [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 mutable reference to mutable static is discouraged [INFO] [stdout] --> src/application/app.rs:71:18 [INFO] [stdout] | [INFO] [stdout] 71 | unsafe { APP.as_mut().unwrap_unchecked() } [INFO] [stdout] | ^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/application/gpu_state.rs:29:26 [INFO] [stdout] | [INFO] [stdout] 29 | assert!(unsafe { GPU_STATE.is_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/application/gpu_state.rs:83:22 [INFO] [stdout] | [INFO] [stdout] 83 | unsafe { GPU_STATE.is_some() }, [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/application/gpu_state.rs:86:18 [INFO] [stdout] | [INFO] [stdout] 86 | unsafe { GPU_STATE.as_ref().unwrap_unchecked() } [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/application/gpu_state.rs:91:22 [INFO] [stdout] | [INFO] [stdout] 91 | unsafe { GPU_STATE.is_some() }, [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 mutable reference to mutable static is discouraged [INFO] [stdout] --> src/application/gpu_state.rs:94:18 [INFO] [stdout] | [INFO] [stdout] 94 | unsafe { GPU_STATE.as_mut().unwrap_unchecked() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/application/window_state.rs:27:26 [INFO] [stdout] | [INFO] [stdout] 27 | assert!(unsafe { WIN_STATE.is_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/application/window_state.rs:50:22 [INFO] [stdout] | [INFO] [stdout] 50 | unsafe { WIN_STATE.is_some() }, [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/application/window_state.rs:53:18 [INFO] [stdout] | [INFO] [stdout] 53 | unsafe { WIN_STATE.as_ref().unwrap_unchecked() } [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/application/window_state.rs:58:22 [INFO] [stdout] | [INFO] [stdout] 58 | unsafe { WIN_STATE.is_some() }, [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 mutable reference to mutable static is discouraged [INFO] [stdout] --> src/application/window_state.rs:61:18 [INFO] [stdout] | [INFO] [stdout] 61 | unsafe { WIN_STATE.as_mut().unwrap_unchecked() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 43s [INFO] running `Command { std: "docker" "inspect" "b5bee82fe62f6e7023e57621deb5bdc818b280fb315d0f31407538be89407f17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5bee82fe62f6e7023e57621deb5bdc818b280fb315d0f31407538be89407f17", kill_on_drop: false }` [INFO] [stdout] b5bee82fe62f6e7023e57621deb5bdc818b280fb315d0f31407538be89407f17