[INFO] cloning repository https://github.com/BurNiinTRee/Snake [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/BurNiinTRee/Snake" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBurNiinTRee%2FSnake", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBurNiinTRee%2FSnake'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 939672e99f5696fbce21db0cc3903dad070bd4dc [INFO] building BurNiinTRee/Snake against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBurNiinTRee%2FSnake" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-6-tc2/source/.cargo/config [INFO] started tweaking git repo https://github.com/BurNiinTRee/Snake [INFO] finished tweaking git repo https://github.com/BurNiinTRee/Snake [INFO] tweaked toml for git repo https://github.com/BurNiinTRee/Snake written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/BurNiinTRee/Snake 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/BurNiinTRee/Snake 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] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 1f9ef8d8fadaea1db4fc99e3436b0257518e035532ff43a61010c98316436a2c [INFO] running `Command { std: "docker" "start" "-a" "1f9ef8d8fadaea1db4fc99e3436b0257518e035532ff43a61010c98316436a2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1f9ef8d8fadaea1db4fc99e3436b0257518e035532ff43a61010c98316436a2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f9ef8d8fadaea1db4fc99e3436b0257518e035532ff43a61010c98316436a2c", kill_on_drop: false }` [INFO] [stdout] 1f9ef8d8fadaea1db4fc99e3436b0257518e035532ff43a61010c98316436a2c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 58852069726f6d2e01d711acd125d739e922842d5caf8628e2b90dc8f48d2f1a [INFO] running `Command { std: "docker" "start" "-a" "58852069726f6d2e01d711acd125d739e922842d5caf8628e2b90dc8f48d2f1a", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling dtoa v0.4.2 [INFO] [stderr] Compiling itoa v0.3.4 [INFO] [stderr] Compiling stdweb v0.4.2 [INFO] [stderr] Compiling serde v1.0.33 [INFO] [stderr] Compiling num-traits v0.2.1 [INFO] [stderr] Compiling futures v0.1.18 [INFO] [stderr] Compiling syn v0.12.14 [INFO] [stderr] Compiling serde_derive_internals v0.21.0 [INFO] [stderr] Compiling serde_derive v1.0.33 [INFO] [stderr] Compiling serde_json v1.0.11 [INFO] [stderr] Compiling stdweb-derive v0.4.0 [INFO] [stderr] Compiling snake v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `canvas` is never read [INFO] [stdout] --> src/renderer.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Renderer { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 8 | pub canvas: CanvasElement, [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" "-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/{libstdweb-839b2cdb993259c1,libfutures-6881063f58aa3719,libserde_json-4918eff31275248e,libdtoa-60b8d935435f82ba,libitoa-a6d78d405065fff7,libnum_traits-07141c6d1f735398,libserde-cf2e1b25e3b997e1}.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-d08fa5a89ceebc55.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-d08fa5a89ceebc55.snake.245d6d8d2aaed819-cgu.0.rcgu.o: undefined symbol: emscripten_asm_const_int [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/snake-d08fa5a89ceebc55.snake.245d6d8d2aaed819-cgu.0.rcgu.o: undefined symbol: emscripten_asm_const_int [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/snake-d08fa5a89ceebc55.snake.245d6d8d2aaed819-cgu.0.rcgu.o: undefined symbol: emscripten_asm_const_int [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/snake-d08fa5a89ceebc55.snake.245d6d8d2aaed819-cgu.0.rcgu.o: undefined symbol: emscripten_asm_const_int [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/snake-d08fa5a89ceebc55.snake.245d6d8d2aaed819-cgu.0.rcgu.o: undefined symbol: emscripten_asm_const_int [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/snake-d08fa5a89ceebc55.snake.245d6d8d2aaed819-cgu.0.rcgu.o: undefined symbol: emscripten_asm_const_int [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/snake-d08fa5a89ceebc55.snake.245d6d8d2aaed819-cgu.0.rcgu.o: undefined symbol: emscripten_asm_const_int [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/snake-d08fa5a89ceebc55.snake.245d6d8d2aaed819-cgu.0.rcgu.o: undefined symbol: emscripten_asm_const_int [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/snake-d08fa5a89ceebc55.snake.245d6d8d2aaed819-cgu.0.rcgu.o: undefined symbol: emscripten_asm_const_int [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/snake-d08fa5a89ceebc55.snake.245d6d8d2aaed819-cgu.0.rcgu.o: undefined symbol: emscripten_asm_const_int [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/snake-d08fa5a89ceebc55.snake.245d6d8d2aaed819-cgu.0.rcgu.o: undefined symbol: emscripten_asm_const_int [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/snake-d08fa5a89ceebc55.snake.245d6d8d2aaed819-cgu.0.rcgu.o: undefined symbol: emscripten_asm_const_int [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/snake-d08fa5a89ceebc55.snake.245d6d8d2aaed819-cgu.0.rcgu.o: undefined symbol: emscripten_asm_const_int [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libstdweb-839b2cdb993259c1.rlib(stdweb-839b2cdb993259c1.stdweb.f33fdb21e5f24b11-cgu.00.rcgu.o): undefined symbol: emscripten_asm_const_int [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libstdweb-839b2cdb993259c1.rlib(stdweb-839b2cdb993259c1.stdweb.f33fdb21e5f24b11-cgu.00.rcgu.o): undefined symbol: emscripten_asm_const_int [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libstdweb-839b2cdb993259c1.rlib(stdweb-839b2cdb993259c1.stdweb.f33fdb21e5f24b11-cgu.00.rcgu.o): undefined symbol: emscripten_asm_const_int [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libstdweb-839b2cdb993259c1.rlib(stdweb-839b2cdb993259c1.stdweb.f33fdb21e5f24b11-cgu.00.rcgu.o): undefined symbol: emscripten_asm_const_int [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libstdweb-839b2cdb993259c1.rlib(stdweb-839b2cdb993259c1.stdweb.f33fdb21e5f24b11-cgu.02.rcgu.o): undefined symbol: emscripten_asm_const_int [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libstdweb-839b2cdb993259c1.rlib(stdweb-839b2cdb993259c1.stdweb.f33fdb21e5f24b11-cgu.04.rcgu.o): undefined symbol: emscripten_pause_main_loop [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libstdweb-839b2cdb993259c1.rlib(stdweb-839b2cdb993259c1.stdweb.f33fdb21e5f24b11-cgu.04.rcgu.o): undefined symbol: emscripten_set_main_loop [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` (bin "snake") due to 1 previous error; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "58852069726f6d2e01d711acd125d739e922842d5caf8628e2b90dc8f48d2f1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58852069726f6d2e01d711acd125d739e922842d5caf8628e2b90dc8f48d2f1a", kill_on_drop: false }` [INFO] [stdout] 58852069726f6d2e01d711acd125d739e922842d5caf8628e2b90dc8f48d2f1a