[INFO] cloning repository https://github.com/claudiomattera/minesweeper [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/claudiomattera/minesweeper" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fclaudiomattera%2Fminesweeper", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fclaudiomattera%2Fminesweeper'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ecbad54a79fe30dee9549a0f6b8c45aa6210e2ab [INFO] building claudiomattera/minesweeper against master#f5209000832c9d3bc29c91f4daef4ca9f28dc797+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fclaudiomattera%2Fminesweeper" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-3-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/claudiomattera/minesweeper [INFO] finished tweaking git repo https://github.com/claudiomattera/minesweeper [INFO] tweaked toml for git repo https://github.com/claudiomattera/minesweeper written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/claudiomattera/minesweeper on toolchain f5209000832c9d3bc29c91f4daef4ca9f28dc797 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/claudiomattera/minesweeper 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" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded buddy-alloc v0.4.1 [INFO] [stderr] Downloaded core2 v0.3.2 [INFO] [stderr] Downloaded deflate v0.9.1 [INFO] [stderr] Downloaded png v0.17.2 [INFO] [stderr] Downloaded png2wasm4src v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9122f12d32abac9022753395dc69dd46b8efb18642e5e7c083a9c36fbd156f62 [INFO] running `Command { std: "docker" "start" "-a" "9122f12d32abac9022753395dc69dd46b8efb18642e5e7c083a9c36fbd156f62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9122f12d32abac9022753395dc69dd46b8efb18642e5e7c083a9c36fbd156f62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9122f12d32abac9022753395dc69dd46b8efb18642e5e7c083a9c36fbd156f62", kill_on_drop: false }` [INFO] [stdout] 9122f12d32abac9022753395dc69dd46b8efb18642e5e7c083a9c36fbd156f62 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "build" "--frozen" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 6fcfd70e2f64b37fdf47ae21584df661e5d497af609c7f27715d92dab067bbd1 [INFO] running `Command { std: "docker" "start" "-a" "6fcfd70e2f64b37fdf47ae21584df661e5d497af609c7f27715d92dab067bbd1", kill_on_drop: false }` [INFO] [stderr] Compiling encoding_index_tests v0.1.4 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling crc32fast v1.2.2 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling bytemuck v1.7.2 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling buddy-alloc v0.4.1 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling encoding-index-korean v1.20141219.5 [INFO] [stderr] Compiling encoding-index-japanese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Compiling deflate v0.9.1 [INFO] [stderr] Compiling rand_xorshift v0.3.0 [INFO] [stderr] Compiling encoding v0.2.33 [INFO] [stderr] Compiling core2 v0.3.2 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling png v0.17.2 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling png2wasm4src v0.1.0 [INFO] [stderr] Compiling minesweeper v1.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: methods `set_one`, `set`, and `get` are never used [INFO] [stdout] --> src/graphics/drawcolors.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl DrawColorsImpl { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] 48 | pub fn set_one(&mut self, index: usize, value: u8) -> &mut Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn set(&mut self, value: u16) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn get(&self) -> u16 { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/game/loop.rs:19:34 [INFO] [stdout] | [INFO] [stdout] 19 | let state_machine = unsafe { &mut STATE_MACHINE }; [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)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 19 | let state_machine = unsafe { &raw mut STATE_MACHINE }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/statemachine/pregame.rs:73:34 [INFO] [stdout] | [INFO] [stdout] 73 | let generator = unsafe { &mut RNG }; [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] 73 | let generator = unsafe { &raw mut RNG }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.98s [INFO] running `Command { std: "docker" "inspect" "6fcfd70e2f64b37fdf47ae21584df661e5d497af609c7f27715d92dab067bbd1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6fcfd70e2f64b37fdf47ae21584df661e5d497af609c7f27715d92dab067bbd1", kill_on_drop: false }` [INFO] [stdout] 6fcfd70e2f64b37fdf47ae21584df661e5d497af609c7f27715d92dab067bbd1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "test" "--frozen" "--no-run" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 3d65ab694113291f0b959c9703b2a9fe8e67ccf3726833ecc79c7207bb995788 [INFO] running `Command { std: "docker" "start" "-a" "3d65ab694113291f0b959c9703b2a9fe8e67ccf3726833ecc79c7207bb995788", kill_on_drop: false }` [INFO] [stderr] Compiling minesweeper v1.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/game/loop.rs:19:34 [INFO] [stdout] | [INFO] [stdout] 19 | let state_machine = unsafe { &mut STATE_MACHINE }; [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)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 19 | let state_machine = unsafe { &raw mut STATE_MACHINE }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/statemachine/pregame.rs:73:34 [INFO] [stdout] | [INFO] [stdout] 73 | let generator = unsafe { &mut RNG }; [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] 73 | let generator = unsafe { &raw mut RNG }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.89s [INFO] running `Command { std: "docker" "inspect" "3d65ab694113291f0b959c9703b2a9fe8e67ccf3726833ecc79c7207bb995788", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d65ab694113291f0b959c9703b2a9fe8e67ccf3726833ecc79c7207bb995788", kill_on_drop: false }` [INFO] [stdout] 3d65ab694113291f0b959c9703b2a9fe8e67ccf3726833ecc79c7207bb995788