[INFO] cloning repository https://github.com/Tetr4k/simple-snake-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Tetr4k/simple-snake-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTetr4k%2Fsimple-snake-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTetr4k%2Fsimple-snake-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 41650b8ff08c9f56cb15da8cd66ed9cb389e5f37 [INFO] building Tetr4k/simple-snake-rust against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTetr4k%2Fsimple-snake-rust" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Tetr4k/simple-snake-rust [INFO] finished tweaking git repo https://github.com/Tetr4k/simple-snake-rust [INFO] tweaked toml for git repo https://github.com/Tetr4k/simple-snake-rust written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Tetr4k/simple-snake-rust 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/Tetr4k/simple-snake-rust 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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 76fa654b56dfd2c06f131120a91112cc4818a96cdacbc872a7cc583fa4617fa8 [INFO] running `Command { std: "docker" "start" "-a" "76fa654b56dfd2c06f131120a91112cc4818a96cdacbc872a7cc583fa4617fa8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "76fa654b56dfd2c06f131120a91112cc4818a96cdacbc872a7cc583fa4617fa8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76fa654b56dfd2c06f131120a91112cc4818a96cdacbc872a7cc583fa4617fa8", kill_on_drop: false }` [INFO] [stdout] 76fa654b56dfd2c06f131120a91112cc4818a96cdacbc872a7cc583fa4617fa8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 6143d313b66c88cd1654dc7c4b7885ca30f0d57bd8500c0ac6156d27c9bf2cb0 [INFO] running `Command { std: "docker" "start" "-a" "6143d313b66c88cd1654dc7c4b7885ca30f0d57bd8500c0ac6156d27c9bf2cb0", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.17 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling once_cell v1.20.3 [INFO] [stderr] Compiling miniquad v0.4.6 [INFO] [stderr] Compiling quad-snd v0.2.8 [INFO] [stderr] Compiling bytemuck v1.21.0 [INFO] [stderr] Compiling miniz_oxide v0.8.5 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling ttf-parser v0.15.2 [INFO] [stderr] Compiling quad-rand v0.2.3 [INFO] [stderr] Compiling macroquad_macro v0.1.8 [INFO] [stderr] Compiling glam v0.27.0 [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling rand_core v0.9.2 [INFO] [stderr] Compiling flate2 v1.1.0 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.0 [INFO] [stderr] Compiling fontdue v0.7.3 [INFO] [stderr] Compiling macroquad v0.4.13 [INFO] [stderr] Compiling simple-snake-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cobra.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | let mut cor = BLUE; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cobra.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 68 | let mut tamanho = tamanho_celula; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/cobra.rs:66:14 [INFO] [stdout] | [INFO] [stdout] 66 | for (i, &corpo) in self.corpo.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (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" "<3 object files omitted>" "/lib/rustlib/wasm32-wasip1/lib/libpanic_abort-*.rlib" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{librand-09a8e4f8555f3d3b,librand_chacha-0aaf30606ebb6d51,libppv_lite86-3883135dad5615a8,librand_core-40e0992763eca0e2,libgetrandom-1bd159d886506bd4,libzerocopy-d2d0e40458324dc8,libmacroquad-10e4ed54944b5643,libfontdue-681bb77480bbbecd,libttf_parser-2dad05e889eb49b2,libhashbrown-50786892854204c3,libahash-07ddc13ae6a7586c,libonce_cell-31f59b00bf51a90f,libzerocopy-a23bea265b1a7c9b,libimage-36fc2dc25b859074,libbytemuck-5759e99afaf0e95c,libcolor_quant-8e07a515e6ff48c0,libbyteorder-529cc76400af54b3,libpng-933327e23001bbc9,libbitflags-15e3d67e03629ffa,libflate2-86c992e34eac4263,libminiz_oxide-ad66249be0e0f73f,libfdeflate-1973eda695894699,libsimd_adler32-f60c9d1329d503cc,libcrc32fast-e0220637d8011755,libcfg_if-50b02a9e3502ecf2,libnum_traits-b77bdcaa9e27e278,libquad_rand-c335779a0f85c006,libslotmap-e0fb2445f2417256,libglam-1547a7719eb4aa0f,libquad_snd-bd01717f2ca19560,libminiquad-252c34ba76d6ce48}.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/simple_snake_rust-cbd0dd6ecd5931b1.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/simple_snake_rust-cbd0dd6ecd5931b1.simple_snake_rust.6bb9fbab62e097d6-cgu.1.rcgu.o: undefined symbol: init_webgl [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/simple_snake_rust-cbd0dd6ecd5931b1.simple_snake_rust.6bb9fbab62e097d6-cgu.1.rcgu.o: undefined symbol: setup_canvas_size [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/simple_snake_rust-cbd0dd6ecd5931b1.simple_snake_rust.6bb9fbab62e097d6-cgu.1.rcgu.o: undefined symbol: canvas_width [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/simple_snake_rust-cbd0dd6ecd5931b1.simple_snake_rust.6bb9fbab62e097d6-cgu.1.rcgu.o: undefined symbol: canvas_height [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/simple_snake_rust-cbd0dd6ecd5931b1.simple_snake_rust.6bb9fbab62e097d6-cgu.1.rcgu.o: undefined symbol: run_animation_loop [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/simple_snake_rust-cbd0dd6ecd5931b1.simple_snake_rust.6bb9fbab62e097d6-cgu.1.rcgu.o: undefined symbol: console_log [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-10e4ed54944b5643.rlib(macroquad-10e4ed54944b5643.macroquad.8c926d21f3bf212b-cgu.04.rcgu.o): undefined symbol: fs_load_file [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-10e4ed54944b5643.rlib(macroquad-10e4ed54944b5643.macroquad.8c926d21f3bf212b-cgu.04.rcgu.o): undefined symbol: glFlush [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-10e4ed54944b5643.rlib(macroquad-10e4ed54944b5643.macroquad.8c926d21f3bf212b-cgu.04.rcgu.o): undefined symbol: glFinish [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-10e4ed54944b5643.rlib(macroquad-10e4ed54944b5643.macroquad.8c926d21f3bf212b-cgu.14.rcgu.o): undefined symbol: glBindTexture [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-10e4ed54944b5643.rlib(macroquad-10e4ed54944b5643.macroquad.8c926d21f3bf212b-cgu.14.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_is_loaded [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libminiquad-252c34ba76d6ce48.rlib(miniquad-252c34ba76d6ce48.miniquad.c82c2a1fb442b241-cgu.2.rcgu.o): undefined symbol: sapp_set_cursor_grab [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libminiquad-252c34ba76d6ce48.rlib(miniquad-252c34ba76d6ce48.miniquad.c82c2a1fb442b241-cgu.2.rcgu.o): undefined symbol: sapp_set_fullscreen [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libminiquad-252c34ba76d6ce48.rlib(miniquad-252c34ba76d6ce48.miniquad.c82c2a1fb442b241-cgu.2.rcgu.o): undefined symbol: sapp_schedule_update [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libminiquad-252c34ba76d6ce48.rlib(miniquad-252c34ba76d6ce48.miniquad.c82c2a1fb442b241-cgu.2.rcgu.o): undefined symbol: sapp_set_cursor [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libminiquad-252c34ba76d6ce48.rlib(miniquad-252c34ba76d6ce48.miniquad.c82c2a1fb442b241-cgu.2.rcgu.o): undefined symbol: sapp_set_clipboard [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 `simple-snake-rust` (bin "simple-snake-rust") due to 1 previous error; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6143d313b66c88cd1654dc7c4b7885ca30f0d57bd8500c0ac6156d27c9bf2cb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6143d313b66c88cd1654dc7c4b7885ca30f0d57bd8500c0ac6156d27c9bf2cb0", kill_on_drop: false }` [INFO] [stdout] 6143d313b66c88cd1654dc7c4b7885ca30f0d57bd8500c0ac6156d27c9bf2cb0