[INFO] cloning repository https://github.com/MeloenCoding/win32-d3d11 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MeloenCoding/win32-d3d11" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMeloenCoding%2Fwin32-d3d11", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMeloenCoding%2Fwin32-d3d11'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d468901a362606610268b5a80d682a1eaa1cf9f8 [INFO] checking MeloenCoding/win32-d3d11/d468901a362606610268b5a80d682a1eaa1cf9f8 against try#65132f36b923285d5da381c2fbafee6ce899e841 for pr-132712-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMeloenCoding%2Fwin32-d3d11" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MeloenCoding/win32-d3d11 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/MeloenCoding/win32-d3d11 [INFO] finished tweaking git repo https://github.com/MeloenCoding/win32-d3d11 [INFO] tweaked toml for git repo https://github.com/MeloenCoding/win32-d3d11 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/MeloenCoding/win32-d3d11 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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] a09a3082784bf885d915c8b18448022e0ffbd16676c0191e18fa5f75dbeff9a4 [INFO] running `Command { std: "docker" "start" "-a" "a09a3082784bf885d915c8b18448022e0ffbd16676c0191e18fa5f75dbeff9a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a09a3082784bf885d915c8b18448022e0ffbd16676c0191e18fa5f75dbeff9a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a09a3082784bf885d915c8b18448022e0ffbd16676c0191e18fa5f75dbeff9a4", kill_on_drop: false }` [INFO] [stdout] a09a3082784bf885d915c8b18448022e0ffbd16676c0191e18fa5f75dbeff9a4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] adab2cd1d54fda74ec6771e3bf0e1a5078004a47890cf3c744767df0291941c5 [INFO] running `Command { std: "docker" "start" "-a" "adab2cd1d54fda74ec6771e3bf0e1a5078004a47890cf3c744767df0291941c5", 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 windows_x86_64_gnu v0.48.0 [INFO] [stderr] Compiling directx_math v0.2.2 [INFO] [stderr] Checking windows-targets v0.48.0 [INFO] [stderr] Checking windows v0.48.0 [INFO] [stderr] Checking win32-d3d11 v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/window.rs:217:13 [INFO] [stdout] | [INFO] [stdout] 217 | io::KEYBOARD.reset(); [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] = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/window.rs:218:13 [INFO] [stdout] | [INFO] [stdout] 218 | io::MOUSE.reset(); [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 mutable reference to mutable static is discouraged [INFO] [stdout] --> src/window.rs:232:32 [INFO] [stdout] | [INFO] [stdout] 232 | keyboard: unsafe { &mut io::KEYBOARD }, [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] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 232 | keyboard: unsafe { &raw mut io::KEYBOARD }, [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/window.rs:233:29 [INFO] [stdout] | [INFO] [stdout] 233 | mouse: unsafe { &mut io::MOUSE }, [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] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 233 | mouse: unsafe { &raw mut io::MOUSE }, [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/window.rs:279:21 [INFO] [stdout] | [INFO] [stdout] 279 | io::KEYBOARD.reset(); [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 mutable reference to mutable static is discouraged [INFO] [stdout] --> src/window.rs:290:21 [INFO] [stdout] | [INFO] [stdout] 290 | io::KEYBOARD.on_char(wparam.0 as u32); [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 mutable reference to mutable static is discouraged [INFO] [stdout] --> src/window.rs:297:25 [INFO] [stdout] | [INFO] [stdout] 297 | io::KEYBOARD.enable_auto_repeat(); [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 mutable reference to mutable static is discouraged [INFO] [stdout] --> src/window.rs:299:21 [INFO] [stdout] | [INFO] [stdout] 299 | io::KEYBOARD.on_key_press(wparam.0 as u32); [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 mutable reference to mutable static is discouraged [INFO] [stdout] --> src/window.rs:302:21 [INFO] [stdout] | [INFO] [stdout] 302 | io::KEYBOARD.disable_auto_repeat(); [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 mutable reference to mutable static is discouraged [INFO] [stdout] --> src/window.rs:303:21 [INFO] [stdout] | [INFO] [stdout] 303 | io::KEYBOARD.on_key_release(wparam.0 as u32); [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 mutable reference to mutable static is discouraged [INFO] [stdout] --> src/window.rs:314:25 [INFO] [stdout] | [INFO] [stdout] 314 | io::MOUSE.on_mouse_move(points); [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 mutable reference to mutable static is discouraged [INFO] [stdout] --> src/window.rs:318:29 [INFO] [stdout] | [INFO] [stdout] 318 | ... io::MOUSE.on_mouse_enter(); [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 mutable reference to mutable static is discouraged [INFO] [stdout] --> src/window.rs:326:29 [INFO] [stdout] | [INFO] [stdout] 326 | ... io::MOUSE.on_mouse_move(points); [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 mutable reference to mutable static is discouraged [INFO] [stdout] --> src/window.rs:329:29 [INFO] [stdout] | [INFO] [stdout] 329 | ... io::MOUSE.on_mouse_leave(); [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 mutable reference to mutable static is discouraged [INFO] [stdout] --> src/window.rs:334:21 [INFO] [stdout] | [INFO] [stdout] 334 | io::MOUSE.on_left_press(); [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 mutable reference to mutable static is discouraged [INFO] [stdout] --> src/window.rs:337:21 [INFO] [stdout] | [INFO] [stdout] 337 | io::MOUSE.on_left_release(); [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 mutable reference to mutable static is discouraged [INFO] [stdout] --> src/window.rs:340:21 [INFO] [stdout] | [INFO] [stdout] 340 | io::MOUSE.on_right_release(); [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 mutable reference to mutable static is discouraged [INFO] [stdout] --> src/window.rs:343:21 [INFO] [stdout] | [INFO] [stdout] 343 | io::MOUSE.on_right_press(); [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 mutable reference to mutable static is discouraged [INFO] [stdout] --> src/window.rs:347:21 [INFO] [stdout] | [INFO] [stdout] 347 | io::MOUSE.on_wheel_press(); [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 mutable reference to mutable static is discouraged [INFO] [stdout] --> src/window.rs:350:21 [INFO] [stdout] | [INFO] [stdout] 350 | io::MOUSE.on_wheel_release(); [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 mutable reference to mutable static is discouraged [INFO] [stdout] --> src/window.rs:356:21 [INFO] [stdout] | [INFO] [stdout] 356 | io::MOUSE.on_wheel_delta(points.x, points.y, delta); [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 mutable reference to mutable static is discouraged [INFO] [stdout] --> src/window.rs:217:13 [INFO] [stdout] | [INFO] [stdout] 217 | io::KEYBOARD.reset(); [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] = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/window.rs:218:13 [INFO] [stdout] | [INFO] [stdout] 218 | io::MOUSE.reset(); [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 mutable reference to mutable static is discouraged [INFO] [stdout] --> src/window.rs:232:32 [INFO] [stdout] | [INFO] [stdout] 232 | keyboard: unsafe { &mut io::KEYBOARD }, [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] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 232 | keyboard: unsafe { &raw mut io::KEYBOARD }, [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/window.rs:233:29 [INFO] [stdout] | [INFO] [stdout] 233 | mouse: unsafe { &mut io::MOUSE }, [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] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 233 | mouse: unsafe { &raw mut io::MOUSE }, [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/window.rs:279:21 [INFO] [stdout] | [INFO] [stdout] 279 | io::KEYBOARD.reset(); [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 mutable reference to mutable static is discouraged [INFO] [stdout] --> src/window.rs:290:21 [INFO] [stdout] | [INFO] [stdout] 290 | io::KEYBOARD.on_char(wparam.0 as u32); [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 mutable reference to mutable static is discouraged [INFO] [stdout] --> src/window.rs:297:25 [INFO] [stdout] | [INFO] [stdout] 297 | io::KEYBOARD.enable_auto_repeat(); [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 mutable reference to mutable static is discouraged [INFO] [stdout] --> src/window.rs:299:21 [INFO] [stdout] | [INFO] [stdout] 299 | io::KEYBOARD.on_key_press(wparam.0 as u32); [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 mutable reference to mutable static is discouraged [INFO] [stdout] --> src/window.rs:302:21 [INFO] [stdout] | [INFO] [stdout] 302 | io::KEYBOARD.disable_auto_repeat(); [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 mutable reference to mutable static is discouraged [INFO] [stdout] --> src/window.rs:303:21 [INFO] [stdout] | [INFO] [stdout] 303 | io::KEYBOARD.on_key_release(wparam.0 as u32); [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 mutable reference to mutable static is discouraged [INFO] [stdout] --> src/window.rs:314:25 [INFO] [stdout] | [INFO] [stdout] 314 | io::MOUSE.on_mouse_move(points); [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 mutable reference to mutable static is discouraged [INFO] [stdout] --> src/window.rs:318:29 [INFO] [stdout] | [INFO] [stdout] 318 | ... io::MOUSE.on_mouse_enter(); [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 mutable reference to mutable static is discouraged [INFO] [stdout] --> src/window.rs:326:29 [INFO] [stdout] | [INFO] [stdout] 326 | ... io::MOUSE.on_mouse_move(points); [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 mutable reference to mutable static is discouraged [INFO] [stdout] --> src/window.rs:329:29 [INFO] [stdout] | [INFO] [stdout] 329 | ... io::MOUSE.on_mouse_leave(); [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 mutable reference to mutable static is discouraged [INFO] [stdout] --> src/window.rs:334:21 [INFO] [stdout] | [INFO] [stdout] 334 | io::MOUSE.on_left_press(); [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 mutable reference to mutable static is discouraged [INFO] [stdout] --> src/window.rs:337:21 [INFO] [stdout] | [INFO] [stdout] 337 | io::MOUSE.on_left_release(); [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 mutable reference to mutable static is discouraged [INFO] [stdout] --> src/window.rs:340:21 [INFO] [stdout] | [INFO] [stdout] 340 | io::MOUSE.on_right_release(); [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 mutable reference to mutable static is discouraged [INFO] [stdout] --> src/window.rs:343:21 [INFO] [stdout] | [INFO] [stdout] 343 | io::MOUSE.on_right_press(); [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 mutable reference to mutable static is discouraged [INFO] [stdout] --> src/window.rs:347:21 [INFO] [stdout] | [INFO] [stdout] 347 | io::MOUSE.on_wheel_press(); [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 mutable reference to mutable static is discouraged [INFO] [stdout] --> src/window.rs:350:21 [INFO] [stdout] | [INFO] [stdout] 350 | io::MOUSE.on_wheel_release(); [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 mutable reference to mutable static is discouraged [INFO] [stdout] --> src/window.rs:356:21 [INFO] [stdout] | [INFO] [stdout] 356 | io::MOUSE.on_wheel_delta(points.x, points.y, delta); [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.04s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking win32-d3d11 v0.1.0 (/tmp/fixit) [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/window/graphics.rs:203:14 [INFO] [stdout] | [INFO] [stdout] 203 | &self [INFO] [stdout] | _____________-^ [INFO] [stdout] | |______________| [INFO] [stdout] 204 | || .device [INFO] [stdout] 205 | || .CreateBuffer(&buff_desc, Some(&data), Some(vertex_buff)) [INFO] [stdout] | || ^ [INFO] [stdout] | || | [INFO] [stdout] | ||_________________________________________________________________________temporary value is freed at the end of this statement [INFO] [stdout] | |_________________________________________________________________________creates a temporary value which is freed while still in use [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/window/graphics.rs:203:14 [INFO] [stdout] | [INFO] [stdout] 203 | &self [INFO] [stdout] | _____________-^ [INFO] [stdout] | |______________| [INFO] [stdout] 204 | || .device [INFO] [stdout] 205 | || .CreateBuffer(&buff_desc, Some(&data), Some(vertex_buff)) [INFO] [stdout] | || ^ [INFO] [stdout] | || | [INFO] [stdout] | ||_________________________________________________________________________temporary value is freed at the end of this statement [INFO] [stdout] | |_________________________________________________________________________creates a temporary value which is freed while still in use [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/window/graphics.rs:245:14 [INFO] [stdout] | [INFO] [stdout] 245 | &self [INFO] [stdout] | _____________-^ [INFO] [stdout] | |______________| [INFO] [stdout] 246 | || .device [INFO] [stdout] 247 | || .CreateBuffer(&indices_buff_desc, Some(&indices_data), Some(index_buffer)) [INFO] [stdout] | || ^ [INFO] [stdout] | || | [INFO] [stdout] | ||__________________________________________________________________________________________temporary value is freed at the end of this statement [INFO] [stdout] | |__________________________________________________________________________________________creates a temporary value which is freed while still in use [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/window/graphics.rs:245:14 [INFO] [stdout] | [INFO] [stdout] 245 | &self [INFO] [stdout] | _____________-^ [INFO] [stdout] | |______________| [INFO] [stdout] 246 | || .device [INFO] [stdout] 247 | || .CreateBuffer(&indices_buff_desc, Some(&indices_data), Some(index_buffer)) [INFO] [stdout] | || ^ [INFO] [stdout] | || | [INFO] [stdout] | ||__________________________________________________________________________________________temporary value is freed at the end of this statement [INFO] [stdout] | |__________________________________________________________________________________________creates a temporary value which is freed while still in use [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/window/graphics.rs:307:14 [INFO] [stdout] | [INFO] [stdout] 307 | &self.device.CreateVertexShader( [INFO] [stdout] | _____________-^ [INFO] [stdout] | |______________| [INFO] [stdout] 308 | || std::slice::from_raw_parts( [INFO] [stdout] 309 | || vertex_blob.as_ref().unwrap().GetBufferPointer().cast(), [INFO] [stdout] 310 | || vertex_blob.as_ref().unwrap().GetBufferSize(), [INFO] [stdout] ... || [INFO] [stdout] 313 | || Some(&mut vertex_shader), [INFO] [stdout] 314 | || ) [INFO] [stdout] | || ^ [INFO] [stdout] | || | [INFO] [stdout] | ||_____________temporary value is freed at the end of this statement [INFO] [stdout] | |_____________creates a temporary value which is freed while still in use [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/window/graphics.rs:358:14 [INFO] [stdout] | [INFO] [stdout] 358 | &self [INFO] [stdout] | _____________-^ [INFO] [stdout] | |______________| [INFO] [stdout] 359 | || .device [INFO] [stdout] 360 | || .CreateBuffer(&const_buff_desc, Some(&const_subresource_data), Some(const_buff)) [INFO] [stdout] | || ^ [INFO] [stdout] | || | [INFO] [stdout] | ||________________________________________________________________________________________________temporary value is freed at the end of this statement [INFO] [stdout] | |________________________________________________________________________________________________creates a temporary value which is freed while still in use [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/window/graphics.rs:307:14 [INFO] [stdout] | [INFO] [stdout] 307 | &self.device.CreateVertexShader( [INFO] [stdout] | _____________-^ [INFO] [stdout] | |______________| [INFO] [stdout] 308 | || std::slice::from_raw_parts( [INFO] [stdout] 309 | || vertex_blob.as_ref().unwrap().GetBufferPointer().cast(), [INFO] [stdout] 310 | || vertex_blob.as_ref().unwrap().GetBufferSize(), [INFO] [stdout] ... || [INFO] [stdout] 313 | || Some(&mut vertex_shader), [INFO] [stdout] 314 | || ) [INFO] [stdout] | || ^ [INFO] [stdout] | || | [INFO] [stdout] | ||_____________temporary value is freed at the end of this statement [INFO] [stdout] | |_____________creates a temporary value which is freed while still in use [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/window/graphics.rs:403:14 [INFO] [stdout] | [INFO] [stdout] 403 | &self [INFO] [stdout] | _____________-^ [INFO] [stdout] | |______________| [INFO] [stdout] 404 | || .device [INFO] [stdout] 405 | || .CreateBuffer(&const_buff_desc2, Some(&const_subresource_data2), Some(const_buff2)) [INFO] [stdout] | || ^ [INFO] [stdout] | || | [INFO] [stdout] | ||___________________________________________________________________________________________________temporary value is freed at the end of this statement [INFO] [stdout] | |___________________________________________________________________________________________________creates a temporary value which is freed while still in use [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/window/graphics.rs:358:14 [INFO] [stdout] | [INFO] [stdout] 358 | &self [INFO] [stdout] | _____________-^ [INFO] [stdout] | |______________| [INFO] [stdout] 359 | || .device [INFO] [stdout] 360 | || .CreateBuffer(&const_buff_desc, Some(&const_subresource_data), Some(const_buff)) [INFO] [stdout] | || ^ [INFO] [stdout] | || | [INFO] [stdout] | ||________________________________________________________________________________________________temporary value is freed at the end of this statement [INFO] [stdout] | |________________________________________________________________________________________________creates a temporary value which is freed while still in use [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/window/graphics.rs:452:14 [INFO] [stdout] | [INFO] [stdout] 452 | &self.device.CreatePixelShader( [INFO] [stdout] | _____________-^ [INFO] [stdout] | |______________| [INFO] [stdout] 453 | || std::slice::from_raw_parts( [INFO] [stdout] 454 | || pixel_blob.as_ref().unwrap().GetBufferPointer().cast(), [INFO] [stdout] 455 | || pixel_blob.as_ref().unwrap().GetBufferSize(), [INFO] [stdout] ... || [INFO] [stdout] 458 | || Some(&mut pixel_shader), [INFO] [stdout] 459 | || ) [INFO] [stdout] | || ^ [INFO] [stdout] | || | [INFO] [stdout] | ||_____________temporary value is freed at the end of this statement [INFO] [stdout] | |_____________creates a temporary value which is freed while still in use [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/window/graphics.rs:403:14 [INFO] [stdout] | [INFO] [stdout] 403 | &self [INFO] [stdout] | _____________-^ [INFO] [stdout] | |______________| [INFO] [stdout] 404 | || .device [INFO] [stdout] 405 | || .CreateBuffer(&const_buff_desc2, Some(&const_subresource_data2), Some(const_buff2)) [INFO] [stdout] | || ^ [INFO] [stdout] | || | [INFO] [stdout] | ||___________________________________________________________________________________________________temporary value is freed at the end of this statement [INFO] [stdout] | |___________________________________________________________________________________________________creates a temporary value which is freed while still in use [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/window/graphics.rs:452:14 [INFO] [stdout] | [INFO] [stdout] 452 | &self.device.CreatePixelShader( [INFO] [stdout] | _____________-^ [INFO] [stdout] | |______________| [INFO] [stdout] 453 | || std::slice::from_raw_parts( [INFO] [stdout] 454 | || pixel_blob.as_ref().unwrap().GetBufferPointer().cast(), [INFO] [stdout] 455 | || pixel_blob.as_ref().unwrap().GetBufferSize(), [INFO] [stdout] ... || [INFO] [stdout] 458 | || Some(&mut pixel_shader), [INFO] [stdout] 459 | || ) [INFO] [stdout] | || ^ [INFO] [stdout] | || | [INFO] [stdout] | ||_____________temporary value is freed at the end of this statement [INFO] [stdout] | |_____________creates a temporary value which is freed while still in use [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0716`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0716`. [INFO] [stdout] [INFO] [stderr] error: could not compile `win32-d3d11` (bin "win32-d3d11") due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `win32-d3d11` (bin "win32-d3d11" test) due to 6 previous errors [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "adab2cd1d54fda74ec6771e3bf0e1a5078004a47890cf3c744767df0291941c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "adab2cd1d54fda74ec6771e3bf0e1a5078004a47890cf3c744767df0291941c5", kill_on_drop: false }` [INFO] [stdout] adab2cd1d54fda74ec6771e3bf0e1a5078004a47890cf3c744767df0291941c5