[INFO] cloning repository https://github.com/AviKupinsky/rust-minesweeper [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AviKupinsky/rust-minesweeper" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAviKupinsky%2Frust-minesweeper", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAviKupinsky%2Frust-minesweeper'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ae62f1ddef043e7315078e61fbaa401222b7cfe4 [INFO] building AviKupinsky/rust-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%2FAviKupinsky%2Frust-minesweeper" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/AviKupinsky/rust-minesweeper [INFO] finished tweaking git repo https://github.com/AviKupinsky/rust-minesweeper [INFO] tweaked toml for git repo https://github.com/AviKupinsky/rust-minesweeper written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/AviKupinsky/rust-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/AviKupinsky/rust-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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] d03007220457fb3fcde186d65d105d44f8e0fb500ab307723fc8b302e101d6bc [INFO] running `Command { std: "docker" "start" "-a" "d03007220457fb3fcde186d65d105d44f8e0fb500ab307723fc8b302e101d6bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d03007220457fb3fcde186d65d105d44f8e0fb500ab307723fc8b302e101d6bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d03007220457fb3fcde186d65d105d44f8e0fb500ab307723fc8b302e101d6bc", kill_on_drop: false }` [INFO] [stdout] d03007220457fb3fcde186d65d105d44f8e0fb500ab307723fc8b302e101d6bc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] fbde67eb2e1fc0ef7248fd33dc3aa396c0ad4827aafcad18e8b98aff2d682280 [INFO] running `Command { std: "docker" "start" "-a" "fbde67eb2e1fc0ef7248fd33dc3aa396c0ad4827aafcad18e8b98aff2d682280", kill_on_drop: false }` [INFO] [stderr] Compiling bumpalo v3.18.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling ttf-parser v0.25.1 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling syn v2.0.102 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling varisat-formula v0.2.2 [INFO] [stderr] Compiling epaint_default_fonts v0.31.1 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling miniquad v0.4.8 [INFO] [stderr] Compiling quad-snd v0.2.8 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling varisat v0.2.2 [INFO] [stderr] Compiling ttf-parser v0.21.1 [INFO] [stderr] Compiling glam v0.27.0 [INFO] [stderr] Compiling vec_mut_scan v0.3.0 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling varisat-internal-proof v0.2.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling macroquad_macro v0.1.8 [INFO] [stderr] Compiling quad-rand v0.2.3 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling fontdue v0.9.3 [INFO] [stderr] Compiling ordered-float v2.10.1 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling owned_ttf_parser v0.25.0 [INFO] [stderr] Compiling ab_glyph v0.2.29 [INFO] [stderr] Compiling partial_ref_derive v0.3.3 [INFO] [stderr] Compiling partial_ref v0.3.3 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.100 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling varisat-internal-macros v0.2.2 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.100 [INFO] [stderr] Compiling bytemuck_derive v1.9.3 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling bytemuck v1.23.1 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.100 [INFO] [stderr] Compiling emath v0.31.1 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling image v0.25.6 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling wasm-bindgen v0.2.100 [INFO] [stderr] Compiling varisat-dimacs v0.2.2 [INFO] [stderr] Compiling ecolor v0.31.1 [INFO] [stderr] Compiling epaint v0.31.1 [INFO] [stderr] Compiling varisat-checker v0.2.2 [INFO] [stderr] Compiling js-sys v0.3.77 [INFO] [stderr] Compiling macroquad v0.4.14 [INFO] [stderr] Compiling egui v0.31.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling web-sys v0.3.77 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.50 [INFO] [stderr] Compiling glow v0.16.0 [INFO] [stderr] Compiling egui_glow v0.31.1 [INFO] [stderr] Compiling eframe v0.31.1 [INFO] [stderr] Compiling rust_project v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: methods `set_cell`, `set_cell_state`, `insert_mine_position`, and `mine_positions_is_empty` are never used [INFO] [stdout] --> src/board.rs:291:12 [INFO] [stdout] | [INFO] [stdout] 108 | impl Board { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 291 | pub fn set_cell(&mut self, row: usize, col: usize, cell: Cell) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 300 | pub fn set_cell_state(&mut self, row: usize, col: usize, state: CellState) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 309 | pub fn insert_mine_position(&mut self, row: usize, col: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 314 | pub fn mine_positions_is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [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" "__main_void" "--export" "CONTEXT" "--export" "allocate_vec_u8" "--export" "crate_version" "--export" "file_loaded" "--export" "focus" "--export" "frame" "--export" "key_down" "--export" "key_press" "--export" "key_up" "--export" "mouse_down" "--export" "mouse_move" "--export" "mouse_up" "--export" "mouse_wheel" "--export" "on_clipboard_paste" "--export" "on_file_dropped" "--export" "on_files_dropped_finish" "--export" "on_files_dropped_start" "--export" "raw_mouse_move" "--export" "resize" "--export" "touch" "--export" "macroquad_audio_crate_version" "-z" "stack-size=1048576" "--stack-first" "--no-demangle" "/lib/rustlib/wasm32-wasip1/lib/self-contained/crt1-command.o" "<10 object files omitted>" "/lib/rustlib/wasm32-wasip1/lib/libpanic_abort-*.rlib" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{libmacroquad-9687b84bc441bb01,libfontdue-376a0966aeaef339,libhashbrown-662abfc39cbd340d,libfoldhash-6e98285c7e677e53,libequivalent-e75e9a7d273f0189,liballocator_api2-8e8748a307852ab5,libttf_parser-f7891d02a2dd8704,libimage-e6ac34c735467741,libbytemuck-8711f2798653bd81,libcolor_quant-8e07a515e6ff48c0,libbyteorder-529cc76400af54b3,libpng-8a1fec55a765f34c,libbitflags-15e3d67e03629ffa,libflate2-f85e5fe358135877,libminiz_oxide-add2caca990dcbb8,libfdeflate-1973eda695894699,libsimd_adler32-f60c9d1329d503cc,libcrc32fast-14fd7ee403b1bea0,libnum_traits-38190a61cbd006f9,libquad_rand-c335779a0f85c006,libglam-1547a7719eb4aa0f,libquad_snd-bd01717f2ca19560,libminiquad-ee8216464762dde6,librand-237f1ffe41c8c06d,librand_chacha-65064d038b88881a,libppv_lite86-464cf900fd63326a,libzerocopy-df3851e798b988b2,librand_core-9d95ed7e109b7cde,libgetrandom-1e2a5313ee4cda32,libwasi-b9c6bfbff0bef49f,libcfg_if-beec54d71ff48acf}.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/rust_project-0c72fad740d9ddbb.wasm" "--gc-sections" "-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/rust_project-0c72fad740d9ddbb.rust_project.b7ddf1319041e81f-cgu.8.rcgu.o: undefined symbol: init_webgl [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/rust_project-0c72fad740d9ddbb.rust_project.b7ddf1319041e81f-cgu.8.rcgu.o: undefined symbol: setup_canvas_size [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/rust_project-0c72fad740d9ddbb.rust_project.b7ddf1319041e81f-cgu.8.rcgu.o: undefined symbol: canvas_width [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/rust_project-0c72fad740d9ddbb.rust_project.b7ddf1319041e81f-cgu.8.rcgu.o: undefined symbol: canvas_height [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/rust_project-0c72fad740d9ddbb.rust_project.b7ddf1319041e81f-cgu.8.rcgu.o: undefined symbol: dpi_scale [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/rust_project-0c72fad740d9ddbb.rust_project.b7ddf1319041e81f-cgu.8.rcgu.o: undefined symbol: run_animation_loop [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/rust_project-0c72fad740d9ddbb.rust_project.b7ddf1319041e81f-cgu.8.rcgu.o: undefined symbol: console_log [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-9687b84bc441bb01.rlib(macroquad-9687b84bc441bb01.macroquad.fa4c1bf31eb63935-cgu.08.rcgu.o): undefined symbol: glFlush [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-9687b84bc441bb01.rlib(macroquad-9687b84bc441bb01.macroquad.fa4c1bf31eb63935-cgu.08.rcgu.o): undefined symbol: glFinish [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-9687b84bc441bb01.rlib(macroquad-9687b84bc441bb01.macroquad.fa4c1bf31eb63935-cgu.10.rcgu.o): undefined symbol: fs_load_file [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-9687b84bc441bb01.rlib(macroquad-9687b84bc441bb01.macroquad.fa4c1bf31eb63935-cgu.13.rcgu.o): undefined symbol: glBindTexture [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-9687b84bc441bb01.rlib(macroquad-9687b84bc441bb01.macroquad.fa4c1bf31eb63935-cgu.13.rcgu.o): undefined symbol: glCopyTexImage2D [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libquad_snd-bd01717f2ca19560.rlib(quad_snd-bd01717f2ca19560.quad_snd.ee1a68b6d1b196db-cgu.0.rcgu.o): undefined symbol: audio_init [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libquad_snd-bd01717f2ca19560.rlib(quad_snd-bd01717f2ca19560.quad_snd.ee1a68b6d1b196db-cgu.0.rcgu.o): undefined symbol: audio_add_buffer [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libquad_snd-bd01717f2ca19560.rlib(quad_snd-bd01717f2ca19560.quad_snd.ee1a68b6d1b196db-cgu.0.rcgu.o): undefined symbol: audio_play_buffer [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libquad_snd-bd01717f2ca19560.rlib(quad_snd-bd01717f2ca19560.quad_snd.ee1a68b6d1b196db-cgu.0.rcgu.o): undefined symbol: audio_source_delete [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libquad_snd-bd01717f2ca19560.rlib(quad_snd-bd01717f2ca19560.quad_snd.ee1a68b6d1b196db-cgu.0.rcgu.o): undefined symbol: audio_source_is_loaded [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libminiquad-ee8216464762dde6.rlib(miniquad-ee8216464762dde6.miniquad.a46dca1772deceb0-cgu.3.rcgu.o): undefined symbol: glBindBuffer [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libminiquad-ee8216464762dde6.rlib(miniquad-ee8216464762dde6.miniquad.a46dca1772deceb0-cgu.3.rcgu.o): undefined symbol: glBindBuffer [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libminiquad-ee8216464762dde6.rlib(miniquad-ee8216464762dde6.miniquad.a46dca1772deceb0-cgu.3.rcgu.o): undefined symbol: glActiveTexture [INFO] [stdout] rust-lld: error: too many errors emitted, stopping now (use -error-limit=0 to see all errors) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_project` (bin "rust_project") due to 1 previous error; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "fbde67eb2e1fc0ef7248fd33dc3aa396c0ad4827aafcad18e8b98aff2d682280", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fbde67eb2e1fc0ef7248fd33dc3aa396c0ad4827aafcad18e8b98aff2d682280", kill_on_drop: false }` [INFO] [stdout] fbde67eb2e1fc0ef7248fd33dc3aa396c0ad4827aafcad18e8b98aff2d682280