[INFO] cloning repository https://github.com/teppyboy/railers [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/teppyboy/railers" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fteppyboy%2Frailers", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fteppyboy%2Frailers'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c9067a633e2f3e0f57f0a9172d0cb1cc0c19e454 [INFO] checking teppyboy/railers against try#51de2e90f91fdec6cf64ff542a4e15b9c177a797 for pr-147294 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fteppyboy%2Frailers" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/teppyboy/railers [INFO] finished tweaking git repo https://github.com/teppyboy/railers [INFO] tweaked toml for git repo https://github.com/teppyboy/railers written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/teppyboy/railers on toolchain 51de2e90f91fdec6cf64ff542a4e15b9c177a797 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+51de2e90f91fdec6cf64ff542a4e15b9c177a797" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/teppyboy/railers 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" "+51de2e90f91fdec6cf64ff542a4e15b9c177a797" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+51de2e90f91fdec6cf64ff542a4e15b9c177a797" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1fd9d4bf57f480f70afecdcc9eb1d74b5229bf033e0ca9278a89f14acb0dcbea [INFO] running `Command { std: "docker" "start" "-a" "1fd9d4bf57f480f70afecdcc9eb1d74b5229bf033e0ca9278a89f14acb0dcbea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1fd9d4bf57f480f70afecdcc9eb1d74b5229bf033e0ca9278a89f14acb0dcbea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1fd9d4bf57f480f70afecdcc9eb1d74b5229bf033e0ca9278a89f14acb0dcbea", kill_on_drop: false }` [INFO] [stdout] 1fd9d4bf57f480f70afecdcc9eb1d74b5229bf033e0ca9278a89f14acb0dcbea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+51de2e90f91fdec6cf64ff542a4e15b9c177a797" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6e065ced7e49c2c107f5f0531f8194f62ecdfadf444bf3d2d70af912725a29ae [INFO] running `Command { std: "docker" "start" "-a" "6e065ced7e49c2c107f5f0531f8194f62ecdfadf444bf3d2d70af912725a29ae", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Compiling pkg-config v0.3.29 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking libloading v0.8.1 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling winnow v0.5.37 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Checking fastrand v2.0.1 [INFO] [stderr] Checking futures-lite v2.2.0 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Checking waker-fn v1.1.1 [INFO] [stderr] Checking ttf-parser v0.20.0 [INFO] [stderr] Checking async-task v4.7.0 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Checking piper v0.2.1 [INFO] [stderr] Compiling wayland-sys v0.31.1 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling ahash v0.8.7 [INFO] [stderr] Compiling async-fs v1.6.0 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling quick-xml v0.31.0 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling indexmap v2.2.2 [INFO] [stderr] Checking futures-lite v1.13.0 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking concurrent-queue v2.4.0 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Compiling xml-rs v0.8.19 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking event-listener v4.0.3 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking async-broadcast v0.5.1 [INFO] [stderr] Checking ordered-stream v0.2.0 [INFO] [stderr] Compiling wayland-backend v0.3.3 [INFO] [stderr] Checking event-listener-strategy v0.4.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.18.0 [INFO] [stderr] Checking cursor-icon v1.1.0 [INFO] [stderr] Checking xcursor v0.3.5 [INFO] [stderr] Checking async-lock v3.3.0 [INFO] [stderr] Checking async-channel v2.1.1 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Checking xkeysym v0.2.0 [INFO] [stderr] Compiling wayland-scanner v0.31.1 [INFO] [stderr] Checking accesskit v0.12.2 [INFO] [stderr] Checking async-executor v1.8.0 [INFO] [stderr] Checking strict-num v0.1.1 [INFO] [stderr] Checking arrayref v0.3.7 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking raw-window-handle v0.5.2 [INFO] [stderr] Compiling winit v0.29.10 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Checking io-lifetimes v1.0.11 [INFO] [stderr] Checking owned_ttf_parser v0.20.0 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rustix v0.37.27 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking ab_glyph v0.2.23 [INFO] [stderr] Checking xdg-home v1.1.0 [INFO] [stderr] Checking memmap2 v0.9.4 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking x11rb-protocol v0.13.0 [INFO] [stderr] Checking as-raw-xcb-connection v1.0.1 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling glutin_glx_sys v0.5.0 [INFO] [stderr] Compiling regex-automata v0.4.5 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling glutin_egl_sys v0.6.0 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking raw-window-handle v0.6.0 [INFO] [stderr] Compiling x11rb v0.12.0 [INFO] [stderr] Checking smol_str v0.2.1 [INFO] [stderr] Compiling windows_x86_64_gnu v0.52.0 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Checking x11rb-protocol v0.12.0 [INFO] [stderr] Checking accesskit_consumer v0.16.1 [INFO] [stderr] Checking gethostname v0.3.0 [INFO] [stderr] Compiling glutin v0.31.2 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Checking async-once-cell v0.5.3 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking fdeflate v0.3.4 [INFO] [stderr] Compiling x11 v2.21.0 [INFO] [stderr] Compiling glutin-winit v0.4.2 [INFO] [stderr] Checking home v0.5.9 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking png v0.17.11 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking windows-targets v0.52.0 [INFO] [stderr] Checking web-time v0.2.4 [INFO] [stderr] Checking glow v0.13.1 [INFO] [stderr] Checking unicode-segmentation v1.10.1 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Checking windows-core v0.52.0 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking webbrowser v0.8.12 [INFO] [stderr] Checking crossbeam-channel v0.5.11 [INFO] [stderr] Compiling zvariant_utils v1.0.1 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Checking windows v0.52.0 [INFO] [stderr] Compiling document-features v0.2.8 [INFO] [stderr] Checking rdev v0.5.3 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling bytemuck_derive v1.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling enumflags2_derive v0.7.8 [INFO] [stderr] Compiling serde_repr v0.1.18 [INFO] [stderr] Compiling async-recursion v1.0.5 [INFO] [stderr] Compiling zvariant_derive v3.15.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Checking bytemuck v1.14.1 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Checking ecolor v0.26.0 [INFO] [stderr] Checking emath v0.26.0 [INFO] [stderr] Checking image v0.24.8 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Checking epaint v0.26.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling zbus_macros v3.15.0 [INFO] [stderr] Checking blocking v1.5.1 [INFO] [stderr] Checking egui v0.26.0 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking arboard v3.3.0 [INFO] [stderr] Checking egui_glow v0.26.0 [INFO] [stderr] Checking egui-modal v0.3.3 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Checking enumflags2 v0.7.8 [INFO] [stderr] Checking xkbcommon-dl v0.4.1 [INFO] [stderr] Checking keyboard-types v0.7.0 [INFO] [stderr] Checking zvariant v3.15.0 [INFO] [stderr] Checking global-hotkey v0.4.2 [INFO] [stderr] Checking zbus_names v2.6.0 [INFO] [stderr] Checking zbus v3.15.0 [INFO] [stderr] Checking polling v3.4.0 [INFO] [stderr] Checking x11rb v0.13.0 [INFO] [stderr] Checking calloop v0.12.4 [INFO] [stderr] Checking wayland-client v0.31.2 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking atspi-common 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.1 [INFO] [stderr] Checking atspi-proxies v0.3.0 [INFO] [stderr] Checking wayland-protocols-wlr v0.2.0 [INFO] [stderr] Checking wayland-protocols-plasma v0.2.0 [INFO] [stderr] Checking atspi-connection v0.3.0 [INFO] [stderr] Checking atspi v0.19.0 [INFO] [stderr] Checking accesskit_unix v0.6.2 [INFO] [stderr] Checking sctk-adwaita v0.8.1 [INFO] [stderr] Checking smithay-clipboard v0.7.0 [INFO] [stderr] Checking accesskit_winit v0.16.1 [INFO] [stderr] Checking egui-winit v0.26.0 [INFO] [stderr] Checking eframe v0.26.0 [INFO] [stderr] Checking railers v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `cc` [INFO] [stdout] --> src/main.rs:197:12 [INFO] [stdout] | [INFO] [stdout] 197 | fn new(cc: &eframe::CreationContext<'_>) -> Self { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cc` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame` [INFO] [stdout] --> src/main.rs:302:41 [INFO] [stdout] | [INFO] [stdout] 302 | fn update(&mut self, ctx: &Context, frame: &mut eframe::Frame) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_frame` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/main.rs:101:36 [INFO] [stdout] | [INFO] [stdout] 101 | let hwnd = OUR_HWND.get().unwrap().clone(); [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)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/main.rs:121:33 [INFO] [stdout] | [INFO] [stdout] 121 | let hwnd = unsafe { OUR_HWND.get().unwrap().clone() }; [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 [INFO] [stdout] --> src/main.rs:157:53 [INFO] [stdout] | [INFO] [stdout] 157 | ... let hwnd = unsafe { OUR_HWND.get().unwrap().clone() }; [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 [INFO] [stdout] --> src/main.rs:272:28 [INFO] [stdout] | [INFO] [stdout] 272 | let hwnd = OUR_HWND.get().unwrap().clone(); [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 [INFO] [stdout] --> src/main.rs:280:28 [INFO] [stdout] | [INFO] [stdout] 280 | let hwnd = OUR_HWND.get().unwrap().clone(); [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 [INFO] [stdout] --> src/main.rs:305:16 [INFO] [stdout] | [INFO] [stdout] 305 | if OUR_HWND.get().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 [INFO] [stdout] --> src/main.rs:319:17 [INFO] [stdout] | [INFO] [stdout] 319 | OUR_HWND.set(active_hwnd).unwrap(); [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 [INFO] [stdout] --> src/main.rs:333:40 [INFO] [stdout] | [INFO] [stdout] 333 | ... let hwnd = OUR_HWND.get().unwrap().clone(); [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 [INFO] [stdout] --> src/main.rs:341:36 [INFO] [stdout] | [INFO] [stdout] 341 | let hwnd = OUR_HWND.get().unwrap().clone(); [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 [INFO] [stdout] --> src/main.rs:348:40 [INFO] [stdout] | [INFO] [stdout] 348 | ... ShowWindow(OUR_HWND.get().unwrap().clone(), SW_HIDE); [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: unused variable: `cc` [INFO] [stdout] --> src/main.rs:197:12 [INFO] [stdout] | [INFO] [stdout] 197 | fn new(cc: &eframe::CreationContext<'_>) -> Self { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cc` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame` [INFO] [stdout] --> src/main.rs:302:41 [INFO] [stdout] | [INFO] [stdout] 302 | fn update(&mut self, ctx: &Context, frame: &mut eframe::Frame) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_frame` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/main.rs:101:36 [INFO] [stdout] | [INFO] [stdout] 101 | let hwnd = OUR_HWND.get().unwrap().clone(); [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)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/main.rs:121:33 [INFO] [stdout] | [INFO] [stdout] 121 | let hwnd = unsafe { OUR_HWND.get().unwrap().clone() }; [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 [INFO] [stdout] --> src/main.rs:157:53 [INFO] [stdout] | [INFO] [stdout] 157 | ... let hwnd = unsafe { OUR_HWND.get().unwrap().clone() }; [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 [INFO] [stdout] --> src/main.rs:272:28 [INFO] [stdout] | [INFO] [stdout] 272 | let hwnd = OUR_HWND.get().unwrap().clone(); [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 [INFO] [stdout] --> src/main.rs:280:28 [INFO] [stdout] | [INFO] [stdout] 280 | let hwnd = OUR_HWND.get().unwrap().clone(); [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 [INFO] [stdout] --> src/main.rs:305:16 [INFO] [stdout] | [INFO] [stdout] 305 | if OUR_HWND.get().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 [INFO] [stdout] --> src/main.rs:319:17 [INFO] [stdout] | [INFO] [stdout] 319 | OUR_HWND.set(active_hwnd).unwrap(); [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 [INFO] [stdout] --> src/main.rs:333:40 [INFO] [stdout] | [INFO] [stdout] 333 | ... let hwnd = OUR_HWND.get().unwrap().clone(); [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 [INFO] [stdout] --> src/main.rs:341:36 [INFO] [stdout] | [INFO] [stdout] 341 | let hwnd = OUR_HWND.get().unwrap().clone(); [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 [INFO] [stdout] --> src/main.rs:348:40 [INFO] [stdout] | [INFO] [stdout] 348 | ... ShowWindow(OUR_HWND.get().unwrap().clone(), SW_HIDE); [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] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 03s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: document-features v0.2.8 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "6e065ced7e49c2c107f5f0531f8194f62ecdfadf444bf3d2d70af912725a29ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e065ced7e49c2c107f5f0531f8194f62ecdfadf444bf3d2d70af912725a29ae", kill_on_drop: false }` [INFO] [stdout] 6e065ced7e49c2c107f5f0531f8194f62ecdfadf444bf3d2d70af912725a29ae