[INFO] cloning repository https://github.com/filosganga/minesweeper.rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/filosganga/minesweeper.rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffilosganga%2Fminesweeper.rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffilosganga%2Fminesweeper.rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e01fb8cc968559c9b5df4e1de0bf720b1cfa0b76 [INFO] building filosganga/minesweeper.rs against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffilosganga%2Fminesweeper.rs" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/filosganga/minesweeper.rs [INFO] finished tweaking git repo https://github.com/filosganga/minesweeper.rs [INFO] tweaked toml for git repo https://github.com/filosganga/minesweeper.rs written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/filosganga/minesweeper.rs 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/filosganga/minesweeper.rs 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 2f5bfb17b63d08c2bb7171ca20e80f017d78cb298139af665bd8160e38615d7b [INFO] running `Command { std: "docker" "start" "-a" "2f5bfb17b63d08c2bb7171ca20e80f017d78cb298139af665bd8160e38615d7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2f5bfb17b63d08c2bb7171ca20e80f017d78cb298139af665bd8160e38615d7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f5bfb17b63d08c2bb7171ca20e80f017d78cb298139af665bd8160e38615d7b", kill_on_drop: false }` [INFO] [stdout] 2f5bfb17b63d08c2bb7171ca20e80f017d78cb298139af665bd8160e38615d7b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] aa015bb92749b2029d2b6c6b2a7e0a9a3fafe9b8ed85ac72f914d28249a61f9d [INFO] running `Command { std: "docker" "start" "-a" "aa015bb92749b2029d2b6c6b2a7e0a9a3fafe9b8ed85ac72f914d28249a61f9d", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling anstyle-query v1.1.4 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling miniquad v0.4.8 [INFO] [stderr] Compiling quad-snd v0.2.8 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling rustc-demangle v0.1.26 [INFO] [stderr] Compiling ttf-parser v0.21.1 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling bytemuck v1.23.2 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling anstream v0.6.20 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling clap_derive v4.5.47 [INFO] [stderr] Compiling quad-rand v0.2.3 [INFO] [stderr] Compiling jiff v0.2.15 [INFO] [stderr] Compiling macroquad_macro v0.1.8 [INFO] [stderr] Compiling glam v0.27.0 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling clap_builder v4.5.47 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling fontdue v0.9.3 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling clap v4.5.47 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling backtrace v0.3.75 [INFO] [stderr] Compiling macroquad v0.4.14 [INFO] [stderr] Compiling minesweeper v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `log::info` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use log::info; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `args` should have an upper case name [INFO] [stdout] --> src/main.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | static args: LazyLock = LazyLock::new(|| Args::parse()); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 31 - static args: LazyLock = LazyLock::new(|| Args::parse()); [INFO] [stdout] 31 + static ARGS: LazyLock = LazyLock::new(|| Args::parse()); [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" "__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" "<5 object files omitted>" "/lib/rustlib/wasm32-wasip1/lib/libpanic_abort-*.rlib" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{libenv_logger-64dce6465d5e0031,libjiff-3dee7bcc69e71df2,libenv_filter-bb726a2b0a0ea220,libregex-e902b08c955cc7e9,libregex_automata-b6303efc8f664ad0,libaho_corasick-1168afdca500ae46,libmemchr-16325235a5e5bbef,libregex_syntax-2f438836655424c9,libuuid-2731678c34998e10,librand-68b803818d797a64,librand_chacha-8c19c2e69c43d591,libppv_lite86-192d02c173a8dbe7,libzerocopy-be50dee542865eaf,librand_core-609bedbd3d4f1ecc,libgetrandom-2a7c4285ceac590b,libmacroquad-1f412cb27cab9a4c,libbacktrace-03f65eb16c49dbb9,librustc_demangle-ee551842d694ad1d,libfontdue-979c1f2127db35f0,libhashbrown-1c629eb99450a059,libfoldhash-6e98285c7e677e53,libequivalent-e75e9a7d273f0189,liballocator_api2-8e8748a307852ab5,libttf_parser-f7891d02a2dd8704,libimage-acb0db58d31eb769,libbytemuck-40e1368c304b85a9,libcolor_quant-8e07a515e6ff48c0,libbyteorder-529cc76400af54b3,libpng-148ec56dd79f174b,libbitflags-15e3d67e03629ffa,libflate2-1ed7451fa99b5da3,libminiz_oxide-add2caca990dcbb8,libfdeflate-1973eda695894699,libsimd_adler32-f60c9d1329d503cc,libcrc32fast-9ee53671ffbc9f44,libcfg_if-dbbbee20ad045a35,libnum_traits-3a8e83649fd78d15,libquad_rand-c335779a0f85c006,libglam-1547a7719eb4aa0f,libquad_snd-bd01717f2ca19560,libminiquad-ee8216464762dde6,liblog-b3567743efedf309,libclap-dfedbb431081465a,libclap_builder-d6eba4fe6cad4e16,libstrsim-e512297c5f919e18,libanstream-d721235434eed465,libanstyle_query-25cf9bebe6874096,libis_terminal_polyfill-55cc14b2bc4075e2,libcolorchoice-b271fc8e70ab819f,libanstyle_parse-31a2135f17b38bcb,libutf8parse-9c3910e1de91e7db,libclap_lex-393357da8b6e08be,libanstyle-9228908f29f78a59}.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-6dbe1d7be27df923.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/minesweeper-6dbe1d7be27df923.minesweeper.b73bc659e141f17c-cgu.3.rcgu.o: undefined symbol: init_webgl [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/minesweeper-6dbe1d7be27df923.minesweeper.b73bc659e141f17c-cgu.3.rcgu.o: undefined symbol: setup_canvas_size [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/minesweeper-6dbe1d7be27df923.minesweeper.b73bc659e141f17c-cgu.3.rcgu.o: undefined symbol: canvas_width [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/minesweeper-6dbe1d7be27df923.minesweeper.b73bc659e141f17c-cgu.3.rcgu.o: undefined symbol: canvas_height [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/minesweeper-6dbe1d7be27df923.minesweeper.b73bc659e141f17c-cgu.3.rcgu.o: undefined symbol: dpi_scale [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/minesweeper-6dbe1d7be27df923.minesweeper.b73bc659e141f17c-cgu.3.rcgu.o: undefined symbol: run_animation_loop [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/minesweeper-6dbe1d7be27df923.minesweeper.b73bc659e141f17c-cgu.3.rcgu.o: undefined symbol: console_log [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-1f412cb27cab9a4c.rlib(macroquad-1f412cb27cab9a4c.macroquad.249e9f5812dd116d-cgu.03.rcgu.o): undefined symbol: glFlush [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-1f412cb27cab9a4c.rlib(macroquad-1f412cb27cab9a4c.macroquad.249e9f5812dd116d-cgu.03.rcgu.o): undefined symbol: glFinish [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-1f412cb27cab9a4c.rlib(macroquad-1f412cb27cab9a4c.macroquad.249e9f5812dd116d-cgu.05.rcgu.o): undefined symbol: glBindTexture [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-1f412cb27cab9a4c.rlib(macroquad-1f412cb27cab9a4c.macroquad.249e9f5812dd116d-cgu.05.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/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: /opt/rustwide/target/wasm32-wasip1/debug/deps/libminiquad-ee8216464762dde6.rlib(miniquad-ee8216464762dde6.miniquad.a46dca1772deceb0-cgu.3.rcgu.o): undefined symbol: glBindTexture [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: glDisableVertexAttribArray [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libminiquad-ee8216464762dde6.rlib(miniquad-ee8216464762dde6.miniquad.a46dca1772deceb0-cgu.4.rcgu.o): undefined symbol: fs_get_buffer_size [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libminiquad-ee8216464762dde6.rlib(miniquad-ee8216464762dde6.miniquad.a46dca1772deceb0-cgu.4.rcgu.o): undefined symbol: fs_take_buffer [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libminiquad-ee8216464762dde6.rlib(miniquad-ee8216464762dde6.miniquad.a46dca1772deceb0-cgu.5.rcgu.o): undefined symbol: sapp_set_cursor_grab [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 `minesweeper` (bin "minesweeper") due to 1 previous error; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "aa015bb92749b2029d2b6c6b2a7e0a9a3fafe9b8ed85ac72f914d28249a61f9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa015bb92749b2029d2b6c6b2a7e0a9a3fafe9b8ed85ac72f914d28249a61f9d", kill_on_drop: false }` [INFO] [stdout] aa015bb92749b2029d2b6c6b2a7e0a9a3fafe9b8ed85ac72f914d28249a61f9d