[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] checking claudiomattera/minesweeper against master#ba412a6e70ac84641be7764d088acabd0eb3fa39 for pr-145457 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fclaudiomattera%2Fminesweeper" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-4-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-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/claudiomattera/minesweeper on toolchain ba412a6e70ac84641be7764d088acabd0eb3fa39 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ba412a6e70ac84641be7764d088acabd0eb3fa39" "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" "+ba412a6e70ac84641be7764d088acabd0eb3fa39" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded crc32fast v1.2.2 [INFO] [stderr] Downloaded png2wasm4src v0.1.0 [INFO] [stderr] Downloaded core2 v0.3.2 [INFO] [stderr] Downloaded png v0.17.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ba412a6e70ac84641be7764d088acabd0eb3fa39" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a7e188cdf7080b9ef66022e5ec0ecf449c532d705538fa829ff33c5d74b34a60 [INFO] running `Command { std: "docker" "start" "-a" "a7e188cdf7080b9ef66022e5ec0ecf449c532d705538fa829ff33c5d74b34a60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a7e188cdf7080b9ef66022e5ec0ecf449c532d705538fa829ff33c5d74b34a60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7e188cdf7080b9ef66022e5ec0ecf449c532d705538fa829ff33c5d74b34a60", kill_on_drop: false }` [INFO] [stdout] a7e188cdf7080b9ef66022e5ec0ecf449c532d705538fa829ff33c5d74b34a60 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ba412a6e70ac84641be7764d088acabd0eb3fa39" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d9c79d0be9cdc519d2b53162265f75b1758b222714e17e9c3f9ddd83e8a96625 [INFO] running `Command { std: "docker" "start" "-a" "d9c79d0be9cdc519d2b53162265f75b1758b222714e17e9c3f9ddd83e8a96625", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling encoding_index_tests v0.1.4 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling crc32fast v1.2.2 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling bytemuck v1.7.2 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking buddy-alloc v0.4.1 [INFO] [stderr] Compiling encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-japanese v1.20141219.5 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling encoding-index-korean v1.20141219.5 [INFO] [stderr] Compiling encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Compiling deflate v0.9.1 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling encoding v0.2.33 [INFO] [stderr] Checking core2 v0.3.2 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling quote v1.0.10 [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)]` 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)]` 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] [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)]` 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 11.25s [INFO] running `Command { std: "docker" "inspect" "d9c79d0be9cdc519d2b53162265f75b1758b222714e17e9c3f9ddd83e8a96625", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9c79d0be9cdc519d2b53162265f75b1758b222714e17e9c3f9ddd83e8a96625", kill_on_drop: false }` [INFO] [stdout] d9c79d0be9cdc519d2b53162265f75b1758b222714e17e9c3f9ddd83e8a96625