[INFO] cloning repository https://github.com/youngbrycecode/rust_ge [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/youngbrycecode/rust_ge" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyoungbrycecode%2Frust_ge", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyoungbrycecode%2Frust_ge'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 08c36842d765336db6be1d0a148bfd80598e07f6 [INFO] testing youngbrycecode/rust_ge against master#ebf0cf75d368c035f4c7e7246d203bd469ee4a51 for pr-137940 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyoungbrycecode%2Frust_ge" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/youngbrycecode/rust_ge on toolchain ebf0cf75d368c035f4c7e7246d203bd469ee4a51 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/youngbrycecode/rust_ge [INFO] finished tweaking git repo https://github.com/youngbrycecode/rust_ge [INFO] tweaked toml for git repo https://github.com/youngbrycecode/rust_ge written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/youngbrycecode/rust_ge 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" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/bjz/glfw-rs.git` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ogl33 v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 07bde476ae313e95f8bca557ecd1d0af3e8e3a541e552e340df43a4572e0a338 [INFO] running `Command { std: "docker" "start" "-a" "07bde476ae313e95f8bca557ecd1d0af3e8e3a541e552e340df43a4572e0a338", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "07bde476ae313e95f8bca557ecd1d0af3e8e3a541e552e340df43a4572e0a338", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07bde476ae313e95f8bca557ecd1d0af3e8e3a541e552e340df43a4572e0a338", kill_on_drop: false }` [INFO] [stdout] 07bde476ae313e95f8bca557ecd1d0af3e8e3a541e552e340df43a4572e0a338 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d54e6f2b82759de8942ab4c4c492e697967bcd450e8aae0df24088be30a13504 [INFO] running `Command { std: "docker" "start" "-a" "d54e6f2b82759de8942ab4c4c492e697967bcd450e8aae0df24088be30a13504", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.131 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.11 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling once_cell v1.13.0 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling futures-core v0.3.23 [INFO] [stderr] Compiling crossbeam-channel v0.5.6 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.10 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling cmake v0.1.48 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Compiling crossbeam-deque v0.8.2 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling glfw-sys v4.0.0+3.3.5 [INFO] [stderr] Compiling miniz_oxide v0.5.3 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling either v1.7.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling spin v0.9.4 [INFO] [stderr] Compiling nanorand v0.7.0 [INFO] [stderr] Compiling deflate v1.0.0 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling futures-sink v0.3.23 [INFO] [stderr] Compiling weezl v0.1.7 [INFO] [stderr] Compiling raw-window-handle v0.4.3 [INFO] [stderr] Compiling flate2 v1.0.24 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling half v1.8.2 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling lebe v0.5.1 [INFO] [stderr] Compiling smallvec v1.9.0 [INFO] [stderr] Compiling bit_field v0.10.1 [INFO] [stderr] Compiling gif v0.11.4 [INFO] [stderr] Compiling png v0.17.5 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling ogl33 v0.2.0 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling glfw v0.45.0 (https://github.com/bjz/glfw-rs.git#3e7598e1) [INFO] [stderr] Compiling bytemuck v1.12.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling serializers v0.1.0 (/opt/rustwide/workdir/serializers) [INFO] [stderr] Compiling timer v0.1.0 (/opt/rustwide/workdir/timer) [INFO] [stderr] Compiling glmath v0.1.0 (/opt/rustwide/workdir/glmath) [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling jpeg-decoder v0.2.6 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling pin-project-internal v1.0.12 [INFO] [stderr] Compiling window v0.1.0 (/opt/rustwide/workdir/core_engine/window) [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> core_engine/window/src/window.rs:102:40 [INFO] [stdout] | [INFO] [stdout] 102 | self.keyboard_input.update(&mut keyboard_input::KEY_INPUTS.keys_pressed_frame, [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: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 102 | self.keyboard_input.update(&raw mut keyboard_input::KEY_INPUTS.keys_pressed_frame, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> core_engine/window/src/window.rs:103:17 [INFO] [stdout] | [INFO] [stdout] 103 | &mut keyboard_input::KEY_INPUTS.keys_released_frame); [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] 103 | &raw mut keyboard_input::KEY_INPUTS.keys_released_frame); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> core_engine/window/src/window.rs:105:44 [INFO] [stdout] | [INFO] [stdout] 105 | self.mouse_button_input.update(&mut mouse_input::MOUSE_BUTTON_INPUTS.buttons_pressed_frame, [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] 105 | self.mouse_button_input.update(&raw mut mouse_input::MOUSE_BUTTON_INPUTS.buttons_pressed_frame, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> core_engine/window/src/window.rs:106:17 [INFO] [stdout] | [INFO] [stdout] 106 | &mut mouse_input::MOUSE_BUTTON_INPUTS.buttons_released_frame); [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] 106 | &raw mut mouse_input::MOUSE_BUTTON_INPUTS.buttons_released_frame); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> core_engine/window/src/keyboard_input.rs:149:17 [INFO] [stdout] | [INFO] [stdout] 149 | KEY_INPUTS.keys_pressed_frame.push(key); [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] --> core_engine/window/src/keyboard_input.rs:152:17 [INFO] [stdout] | [INFO] [stdout] 152 | KEY_INPUTS.keys_released_frame.push(key); [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] --> core_engine/window/src/mouse_input.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | MOUSE_BUTTON_INPUTS.buttons_pressed_frame.push(button); [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] --> core_engine/window/src/mouse_input.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | MOUSE_BUTTON_INPUTS.buttons_released_frame.push(button); [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] Compiling pin-project v1.0.12 [INFO] [stderr] Compiling tiff v0.7.3 [INFO] [stderr] Compiling flume v0.10.14 [INFO] [stderr] Compiling exr v1.4.2 [INFO] [stderr] Compiling image v0.24.3 [INFO] [stderr] Compiling core_engine v0.1.0 (/opt/rustwide/workdir/core_engine) [INFO] [stderr] Compiling game_engine v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 56.60s [INFO] running `Command { std: "docker" "inspect" "d54e6f2b82759de8942ab4c4c492e697967bcd450e8aae0df24088be30a13504", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d54e6f2b82759de8942ab4c4c492e697967bcd450e8aae0df24088be30a13504", kill_on_drop: false }` [INFO] [stdout] d54e6f2b82759de8942ab4c4c492e697967bcd450e8aae0df24088be30a13504 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c668985e43eb0f9214ff0592da6461e6d3533ad2026cec36e8ec216c6627e3d8 [INFO] running `Command { std: "docker" "start" "-a" "c668985e43eb0f9214ff0592da6461e6d3533ad2026cec36e8ec216c6627e3d8", kill_on_drop: false }` [INFO] [stderr] Compiling game_engine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> core_engine/window/src/window.rs:102:40 [INFO] [stdout] | [INFO] [stdout] 102 | self.keyboard_input.update(&mut keyboard_input::KEY_INPUTS.keys_pressed_frame, [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: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 102 | self.keyboard_input.update(&raw mut keyboard_input::KEY_INPUTS.keys_pressed_frame, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> core_engine/window/src/window.rs:103:17 [INFO] [stdout] | [INFO] [stdout] 103 | &mut keyboard_input::KEY_INPUTS.keys_released_frame); [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] 103 | &raw mut keyboard_input::KEY_INPUTS.keys_released_frame); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> core_engine/window/src/window.rs:105:44 [INFO] [stdout] | [INFO] [stdout] 105 | self.mouse_button_input.update(&mut mouse_input::MOUSE_BUTTON_INPUTS.buttons_pressed_frame, [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] 105 | self.mouse_button_input.update(&raw mut mouse_input::MOUSE_BUTTON_INPUTS.buttons_pressed_frame, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> core_engine/window/src/window.rs:106:17 [INFO] [stdout] | [INFO] [stdout] 106 | &mut mouse_input::MOUSE_BUTTON_INPUTS.buttons_released_frame); [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] 106 | &raw mut mouse_input::MOUSE_BUTTON_INPUTS.buttons_released_frame); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> core_engine/window/src/keyboard_input.rs:149:17 [INFO] [stdout] | [INFO] [stdout] 149 | KEY_INPUTS.keys_pressed_frame.push(key); [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] --> core_engine/window/src/keyboard_input.rs:152:17 [INFO] [stdout] | [INFO] [stdout] 152 | KEY_INPUTS.keys_released_frame.push(key); [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] --> core_engine/window/src/mouse_input.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | MOUSE_BUTTON_INPUTS.buttons_pressed_frame.push(button); [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] --> core_engine/window/src/mouse_input.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | MOUSE_BUTTON_INPUTS.buttons_released_frame.push(button); [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 `test` profile [unoptimized + debuginfo] target(s) in 0.56s [INFO] running `Command { std: "docker" "inspect" "c668985e43eb0f9214ff0592da6461e6d3533ad2026cec36e8ec216c6627e3d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c668985e43eb0f9214ff0592da6461e6d3533ad2026cec36e8ec216c6627e3d8", kill_on_drop: false }` [INFO] [stdout] c668985e43eb0f9214ff0592da6461e6d3533ad2026cec36e8ec216c6627e3d8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f5fdf6e443f533a9b5eb00a1fe550383ba8cacc797242a604ee185a58e21f279 [INFO] running `Command { std: "docker" "start" "-a" "f5fdf6e443f533a9b5eb00a1fe550383ba8cacc797242a604ee185a58e21f279", kill_on_drop: false }` [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> core_engine/window/src/window.rs:102:40 [INFO] [stderr] | [INFO] [stderr] 102 | self.keyboard_input.update(&mut keyboard_input::KEY_INPUTS.keys_pressed_frame, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stderr] help: use `&raw mut` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 102 | self.keyboard_input.update(&raw mut keyboard_input::KEY_INPUTS.keys_pressed_frame, [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> core_engine/window/src/window.rs:103:17 [INFO] [stderr] | [INFO] [stderr] 103 | &mut keyboard_input::KEY_INPUTS.keys_released_frame); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] help: use `&raw mut` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 103 | &raw mut keyboard_input::KEY_INPUTS.keys_released_frame); [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> core_engine/window/src/window.rs:105:44 [INFO] [stderr] | [INFO] [stderr] 105 | self.mouse_button_input.update(&mut mouse_input::MOUSE_BUTTON_INPUTS.buttons_pressed_frame, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] help: use `&raw mut` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 105 | self.mouse_button_input.update(&raw mut mouse_input::MOUSE_BUTTON_INPUTS.buttons_pressed_frame, [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> core_engine/window/src/window.rs:106:17 [INFO] [stderr] | [INFO] [stderr] 106 | &mut mouse_input::MOUSE_BUTTON_INPUTS.buttons_released_frame); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] help: use `&raw mut` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 106 | &raw mut mouse_input::MOUSE_BUTTON_INPUTS.buttons_released_frame); [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> core_engine/window/src/keyboard_input.rs:149:17 [INFO] [stderr] | [INFO] [stderr] 149 | KEY_INPUTS.keys_pressed_frame.push(key); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> core_engine/window/src/keyboard_input.rs:152:17 [INFO] [stderr] | [INFO] [stderr] 152 | KEY_INPUTS.keys_released_frame.push(key); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> core_engine/window/src/mouse_input.rs:36:17 [INFO] [stderr] | [INFO] [stderr] 36 | MOUSE_BUTTON_INPUTS.buttons_pressed_frame.push(button); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> core_engine/window/src/mouse_input.rs:39:17 [INFO] [stderr] | [INFO] [stderr] 39 | MOUSE_BUTTON_INPUTS.buttons_released_frame.push(button); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: `window` (lib) generated 8 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/game_engine-b02fa1dab0924b25) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f5fdf6e443f533a9b5eb00a1fe550383ba8cacc797242a604ee185a58e21f279", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5fdf6e443f533a9b5eb00a1fe550383ba8cacc797242a604ee185a58e21f279", kill_on_drop: false }` [INFO] [stdout] f5fdf6e443f533a9b5eb00a1fe550383ba8cacc797242a604ee185a58e21f279