[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 try#23647e694de8d0904848ad068b2e0ec2dd098c37+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-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-3-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/claudiomattera/minesweeper on toolchain 23647e694de8d0904848ad068b2e0ec2dd098c37 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "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" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8117834f5c2a96557044834b4a6307cb66dc8df452da18939271ea099c5c3b53 [INFO] running `Command { std: "docker" "start" "-a" "8117834f5c2a96557044834b4a6307cb66dc8df452da18939271ea099c5c3b53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8117834f5c2a96557044834b4a6307cb66dc8df452da18939271ea099c5c3b53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8117834f5c2a96557044834b4a6307cb66dc8df452da18939271ea099c5c3b53", kill_on_drop: false }` [INFO] [stdout] 8117834f5c2a96557044834b4a6307cb66dc8df452da18939271ea099c5c3b53 [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=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" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "build" "--frozen" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] e1055382ba4a441c103e87b56cd5976a16542cedba6a2a4cb2aa873ad370857e [INFO] running `Command { std: "docker" "start" "-a" "e1055382ba4a441c103e87b56cd5976a16542cedba6a2a4cb2aa873ad370857e", 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 crc32fast v1.2.2 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling bytemuck v1.7.2 [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 encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Compiling encoding-index-tradchinese 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-japanese v1.20141219.5 [INFO] [stderr] Compiling deflate v0.9.1 [INFO] [stderr] Compiling rand_xorshift v0.3.0 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling encoding v0.2.33 [INFO] [stderr] Compiling core2 v0.3.2 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling png v0.17.2 [INFO] [stderr] Compiling quote v1.0.10 [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] [stdout] error: linking with `rust-lld` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "rust-lld" "-flavor" "wasm" "--export" "start" "--export" "update" "-z" "stack-size=1048576" "--stack-first" "--no-demangle" "<5 object files omitted>" "/lib/rustlib/wasm32-wasip1/lib/libpanic_abort-*.rlib" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{libcore2-35144afe5222827a,librand_xorshift-7d158b9218d7d3f3,librand_core-a3c9964fe8e184b4,libonce_cell-8f3ff8f679fdc41b,libbuddy_alloc-737b3816977d0ffc}.rlib" "/lib/rustlib/wasm32-wasip1/lib/{libstd-*,libwasi-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*}.rlib" "-l" "c" "/lib/rustlib/wasm32-wasip1/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/lib/rustlib/wasm32-wasip1/lib/self-contained" "-o" "/opt/rustwide/target/wasm32-wasip1/debug/deps/minesweeper.wasm" "--gc-sections" "--no-entry" "-O0" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/minesweeper.minesweeper.da90344e0de59f9a-cgu.0.rcgu.o: undefined symbol: diskr [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/minesweeper.minesweeper.da90344e0de59f9a-cgu.0.rcgu.o: undefined symbol: diskw [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/minesweeper.minesweeper.da90344e0de59f9a-cgu.3.rcgu.o: undefined symbol: textUtf8 [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/minesweeper.minesweeper.da90344e0de59f9a-cgu.3.rcgu.o: undefined symbol: textUtf8 [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/minesweeper.minesweeper.da90344e0de59f9a-cgu.3.rcgu.o: undefined symbol: textUtf8 [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/minesweeper.minesweeper.da90344e0de59f9a-cgu.3.rcgu.o: undefined symbol: traceUtf8 [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/minesweeper.minesweeper.da90344e0de59f9a-cgu.3.rcgu.o: undefined symbol: rect [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/minesweeper.minesweeper.da90344e0de59f9a-cgu.3.rcgu.o: undefined symbol: hline [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/minesweeper.minesweeper.da90344e0de59f9a-cgu.3.rcgu.o: undefined symbol: vline [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/minesweeper.minesweeper.da90344e0de59f9a-cgu.3.rcgu.o: undefined symbol: blitSub [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `minesweeper` (lib) due to 1 previous error; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e1055382ba4a441c103e87b56cd5976a16542cedba6a2a4cb2aa873ad370857e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1055382ba4a441c103e87b56cd5976a16542cedba6a2a4cb2aa873ad370857e", kill_on_drop: false }` [INFO] [stdout] e1055382ba4a441c103e87b56cd5976a16542cedba6a2a4cb2aa873ad370857e