[INFO] cloning repository https://github.com/zk2k2/snake-game-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zk2k2/snake-game-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzk2k2%2Fsnake-game-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzk2k2%2Fsnake-game-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f13ff40f92b01af7ffcdc7aa68b8cc5b203115a9 [INFO] building zk2k2/snake-game-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%2Fzk2k2%2Fsnake-game-rust" "/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/zk2k2/snake-game-rust [INFO] finished tweaking git repo https://github.com/zk2k2/snake-game-rust [INFO] tweaked toml for git repo https://github.com/zk2k2/snake-game-rust written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/zk2k2/snake-game-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/zk2k2/snake-game-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-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] ec7af735d28f586a6472638cbdc2e87d0fd9b9725cc249ca25e877d3a4be684a [INFO] running `Command { std: "docker" "start" "-a" "ec7af735d28f586a6472638cbdc2e87d0fd9b9725cc249ca25e877d3a4be684a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ec7af735d28f586a6472638cbdc2e87d0fd9b9725cc249ca25e877d3a4be684a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec7af735d28f586a6472638cbdc2e87d0fd9b9725cc249ca25e877d3a4be684a", kill_on_drop: false }` [INFO] [stdout] ec7af735d28f586a6472638cbdc2e87d0fd9b9725cc249ca25e877d3a4be684a [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] dd280556c58d2deee30b0ba790df2c98a595fae5ed48f39c3171e183d21da1cc [INFO] running `Command { std: "docker" "start" "-a" "dd280556c58d2deee30b0ba790df2c98a595fae5ed48f39c3171e183d21da1cc", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling miniquad v0.4.0-alpha.4 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling ttf-parser v0.15.2 [INFO] [stderr] Compiling bytemuck v1.24.0 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling quad-rand v0.2.3 [INFO] [stderr] Compiling flate2 v1.1.5 [INFO] [stderr] Compiling glam v0.21.3 [INFO] [stderr] Compiling fontdue v0.7.3 [INFO] [stderr] Compiling macroquad_macro v0.1.8 [INFO] [stderr] Compiling bumpalo v3.19.0 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling macroquad v0.4.0 [INFO] [stderr] Compiling snake-game v0.1.0 (/opt/rustwide/workdir) [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" "-z" "stack-size=1048576" "--stack-first" "--no-demangle" "/lib/rustlib/wasm32-wasip1/lib/self-contained/crt1-command.o" "<2 object files omitted>" "/lib/rustlib/wasm32-wasip1/lib/libpanic_abort-*.rlib" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{librand-328017ac5a7f64f7,librand_chacha-a70206a6331e4a05,libppv_lite86-192d02c173a8dbe7,librand_core-ab6c29c8a9477844,libgetrandom-05ce37e63bde0bcc,libwasi-1720e192b4055643,libmacroquad-608fe13fd5cb7c6b,libbumpalo-d16828b2bdc82ac8,libfontdue-55f33e5b3f105e39,libttf_parser-2dad05e889eb49b2,libhashbrown-d1fc7f187a10e983,libahash-21d486c1b6b95402,libonce_cell-904453684a9de20a,libzerocopy-be50dee542865eaf,libimage-26f49b23437d0c5c,libbytemuck-64558e758bffb654,libcolor_quant-8e07a515e6ff48c0,libbyteorder-529cc76400af54b3,libpng-b7214e2d701d597d,libbitflags-15e3d67e03629ffa,libflate2-bcc15a3e54a73a21,libminiz_oxide-add2caca990dcbb8,libfdeflate-1973eda695894699,libsimd_adler32-f60c9d1329d503cc,libcrc32fast-c19ce4228a5bbdd7,libcfg_if-d6bc76d3bc4619c0,libnum_traits-3a8e83649fd78d15,libquad_rand-c335779a0f85c006,libglam-ca429907f5f11390,libminiquad-07d5e548d70eb08b,libslotmap-e0fb2445f2417256}.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/snake_game-4d86afd997480400.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/snake_game-4d86afd997480400.snake_game.28b36323d751d2d8-cgu.0.rcgu.o: undefined symbol: setup_canvas_size [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/snake_game-4d86afd997480400.snake_game.28b36323d751d2d8-cgu.0.rcgu.o: undefined symbol: canvas_width [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/snake_game-4d86afd997480400.snake_game.28b36323d751d2d8-cgu.0.rcgu.o: undefined symbol: canvas_height [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/snake_game-4d86afd997480400.snake_game.28b36323d751d2d8-cgu.0.rcgu.o: undefined symbol: run_animation_loop [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/snake_game-4d86afd997480400.snake_game.28b36323d751d2d8-cgu.0.rcgu.o: undefined symbol: console_log [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-608fe13fd5cb7c6b.rlib(macroquad-608fe13fd5cb7c6b.macroquad.fd81677d871201f4-cgu.05.rcgu.o): undefined symbol: glFlush [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-608fe13fd5cb7c6b.rlib(macroquad-608fe13fd5cb7c6b.macroquad.fd81677d871201f4-cgu.05.rcgu.o): undefined symbol: glFinish [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-608fe13fd5cb7c6b.rlib(macroquad-608fe13fd5cb7c6b.macroquad.fd81677d871201f4-cgu.12.rcgu.o): undefined symbol: glBindTexture [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-608fe13fd5cb7c6b.rlib(macroquad-608fe13fd5cb7c6b.macroquad.fd81677d871201f4-cgu.12.rcgu.o): undefined symbol: glCopyTexImage2D [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libminiquad-07d5e548d70eb08b.rlib(miniquad-07d5e548d70eb08b.miniquad.900e07ba71282ea7-cgu.0.rcgu.o): undefined symbol: glGetUniformLocation [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libminiquad-07d5e548d70eb08b.rlib(miniquad-07d5e548d70eb08b.miniquad.900e07ba71282ea7-cgu.0.rcgu.o): undefined symbol: glTexParameteri [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libminiquad-07d5e548d70eb08b.rlib(miniquad-07d5e548d70eb08b.miniquad.900e07ba71282ea7-cgu.0.rcgu.o): undefined symbol: glTexParameteri [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libminiquad-07d5e548d70eb08b.rlib(miniquad-07d5e548d70eb08b.miniquad.900e07ba71282ea7-cgu.0.rcgu.o): undefined symbol: glGetIntegerv [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libminiquad-07d5e548d70eb08b.rlib(miniquad-07d5e548d70eb08b.miniquad.900e07ba71282ea7-cgu.0.rcgu.o): undefined symbol: glGenFramebuffers [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libminiquad-07d5e548d70eb08b.rlib(miniquad-07d5e548d70eb08b.miniquad.900e07ba71282ea7-cgu.0.rcgu.o): undefined symbol: glBindFramebuffer [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libminiquad-07d5e548d70eb08b.rlib(miniquad-07d5e548d70eb08b.miniquad.900e07ba71282ea7-cgu.0.rcgu.o): undefined symbol: glFramebufferTexture2D [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libminiquad-07d5e548d70eb08b.rlib(miniquad-07d5e548d70eb08b.miniquad.900e07ba71282ea7-cgu.0.rcgu.o): undefined symbol: glReadPixels [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libminiquad-07d5e548d70eb08b.rlib(miniquad-07d5e548d70eb08b.miniquad.900e07ba71282ea7-cgu.0.rcgu.o): undefined symbol: glBindFramebuffer [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libminiquad-07d5e548d70eb08b.rlib(miniquad-07d5e548d70eb08b.miniquad.900e07ba71282ea7-cgu.0.rcgu.o): undefined symbol: glDeleteFramebuffers [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libminiquad-07d5e548d70eb08b.rlib(miniquad-07d5e548d70eb08b.miniquad.900e07ba71282ea7-cgu.0.rcgu.o): undefined symbol: glPixelStorei [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 `snake-game` (bin "snake-game") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "dd280556c58d2deee30b0ba790df2c98a595fae5ed48f39c3171e183d21da1cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd280556c58d2deee30b0ba790df2c98a595fae5ed48f39c3171e183d21da1cc", kill_on_drop: false }` [INFO] [stdout] dd280556c58d2deee30b0ba790df2c98a595fae5ed48f39c3171e183d21da1cc