[INFO] cloning repository https://github.com/iveltondequeiroz/wasm-snake [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/iveltondequeiroz/wasm-snake" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiveltondequeiroz%2Fwasm-snake", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiveltondequeiroz%2Fwasm-snake'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4e41269b252e19886afd9c7548c69fb8fc60536f [INFO] testing iveltondequeiroz/wasm-snake against 1.85.0 for beta-1.86-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiveltondequeiroz%2Fwasm-snake" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/iveltondequeiroz/wasm-snake on toolchain 1.85.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.85.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/iveltondequeiroz/wasm-snake [INFO] finished tweaking git repo https://github.com/iveltondequeiroz/wasm-snake [INFO] tweaked toml for git repo https://github.com/iveltondequeiroz/wasm-snake written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/iveltondequeiroz/wasm-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" "+1.85.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded stdweb-internal-macros v0.2.5 [INFO] [stderr] Downloaded stdweb v0.4.13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d1165c0195369ef768bd480c6a29d3bebc8ef4f5a9e7c7f548e18ac75cb7ae19 [INFO] running `Command { std: "docker" "start" "-a" "d1165c0195369ef768bd480c6a29d3bebc8ef4f5a9e7c7f548e18ac75cb7ae19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d1165c0195369ef768bd480c6a29d3bebc8ef4f5a9e7c7f548e18ac75cb7ae19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1165c0195369ef768bd480c6a29d3bebc8ef4f5a9e7c7f548e18ac75cb7ae19", kill_on_drop: false }` [INFO] [stdout] d1165c0195369ef768bd480c6a29d3bebc8ef4f5a9e7c7f548e18ac75cb7ae19 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a7f5e1a14deb05ad74ed2c082c952d7ceca98026956d8472ff5d4764fe087038 [INFO] running `Command { std: "docker" "start" "-a" "a7f5e1a14deb05ad74ed2c082c952d7ceca98026956d8472ff5d4764fe087038", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling serde v1.0.87 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling ryu v0.2.7 [INFO] [stderr] Compiling stdweb-internal-runtime v0.1.3 [INFO] [stderr] Compiling itoa v0.4.3 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling base-x v0.2.4 [INFO] [stderr] Compiling discard v1.0.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling stdweb v0.4.13 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Compiling syn v0.15.26 [INFO] [stderr] Compiling serde_json v1.0.38 [INFO] [stderr] Compiling serde_derive v1.0.87 [INFO] [stderr] Compiling stdweb-internal-macros v0.2.5 [INFO] [stderr] Compiling stdweb-derive v0.5.1 [INFO] [stderr] Compiling wasm-snake v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `canvas` is never read [INFO] [stdout] --> src/canvas.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Canvas { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 7 | pub canvas: CanvasElement, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: LC_ALL="C" PATH="/opt/rustwide/rustup-home/toolchains/1.85.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/bin:/opt/rustwide/cargo-home/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" VSLANG="1033" "cc" "-m64" "/tmp/rustcziVLef/symbols.o" "<3 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libstdweb-6c2aa968e8520cc7.rlib,libdiscard-2f35ec44dca28cff.rlib,libstdweb_internal_runtime-5f79fd0ef237db06.rlib,libserde_json-ffb4992f53899dc6.rlib,libryu-11c2e6209f787529.rlib,libitoa-b39e6a0d039025ea.rlib,libserde-8f16b96fff24a748.rlib}" "/opt/rustwide/rustup-home/toolchains/1.85.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-6273572f18644c87.rlib,libpanic_unwind-267e668abf74a283.rlib,libobject-ec6154ccae37a33e.rlib,libmemchr-500edd5521c440d4.rlib,libaddr2line-86d8d9428792e8ef.rlib,libgimli-10f06487503767c2.rlib,librustc_demangle-6a38424de1e5bca5.rlib,libstd_detect-de9763ea1c19dca3.rlib,libhashbrown-a7f5bb2f736d3c49.rlib,librustc_std_workspace_alloc-7e368919bdc4a44c.rlib,libminiz_oxide-376454d49910c786.rlib,libadler-fa99f5692b5dce85.rlib,libunwind-91cafdaf16f7fe40.rlib,libcfg_if-f7ee3f1ea78d9dae.rlib,liblibc-d3a35665f881365a.rlib,liballoc-715bc629a88bca60.rlib,librustc_std_workspace_core-ae70165d1278cff7.rlib,libcore-406129d0e3fbc101.rlib,libcompiler_builtins-1af05515ab19524a.rlib}" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/1.85.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/wasm_snake-8101f05bb02ddefb" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/debug/deps/wasm_snake-8101f05bb02ddefb.wasm_snake.8d7048dbead1a9bb-cgu.0.rcgu.o: in function `wasm_snake::snake::Snake::new::snippet::__cargo_web_snippet_ad7d159412cc3f611a3ed6f04ff238a29b21a272': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/stdweb-0.4.13/src/webcore/macros.rs:101: undefined reference to `emscripten_asm_const_int' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/wasm_snake-8101f05bb02ddefb.wasm_snake.8d7048dbead1a9bb-cgu.0.rcgu.o: in function `wasm_snake::snake::Snake::new::snippet::__cargo_web_snippet_ad7d159412cc3f611a3ed6f04ff238a29b21a272': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/stdweb-0.4.13/src/webcore/macros.rs:101: undefined reference to `emscripten_asm_const_int' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/wasm_snake-8101f05bb02ddefb.wasm_snake.8d7048dbead1a9bb-cgu.0.rcgu.o: in function `wasm_snake::snake::Snake::new::snippet::__cargo_web_snippet_ad7d159412cc3f611a3ed6f04ff238a29b21a272': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/stdweb-0.4.13/src/webcore/macros.rs:101: undefined reference to `emscripten_asm_const_int' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/wasm_snake-8101f05bb02ddefb.wasm_snake.8d7048dbead1a9bb-cgu.0.rcgu.o: in function `wasm_snake::snake::Snake::new::snippet::__cargo_web_snippet_ad7d159412cc3f611a3ed6f04ff238a29b21a272': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/stdweb-0.4.13/src/webcore/macros.rs:101: undefined reference to `emscripten_asm_const_int' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/wasm_snake-8101f05bb02ddefb.wasm_snake.8d7048dbead1a9bb-cgu.0.rcgu.o: in function `wasm_snake::snake::Snake::update::snippet::__cargo_web_snippet_ad7d159412cc3f611a3ed6f04ff238a29b21a272': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/stdweb-0.4.13/src/webcore/macros.rs:101: undefined reference to `emscripten_asm_const_int' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/wasm_snake-8101f05bb02ddefb.wasm_snake.8d7048dbead1a9bb-cgu.0.rcgu.o:/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/stdweb-0.4.13/src/webcore/macros.rs:101: more undefined references to `emscripten_asm_const_int' follow [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libstdweb-6c2aa968e8520cc7.rlib(stdweb-6c2aa968e8520cc7.stdweb.cf93bc1d6ddd8cf4-cgu.07.rcgu.o): in function `stdweb::webcore::ffi::emscripten::event_loop': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/stdweb-0.4.13/src/webcore/ffi/emscripten.rs:11: undefined reference to `emscripten_pause_main_loop' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/stdweb-0.4.13/src/webcore/ffi/emscripten.rs:11: undefined reference to `emscripten_set_main_loop' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libstdweb-6c2aa968e8520cc7.rlib(stdweb-6c2aa968e8520cc7.stdweb.cf93bc1d6ddd8cf4-cgu.07.rcgu.o): in function `::drop::snippet::__cargo_web_snippet_e9638d6405ab65f78daf4a5af9c9de14ecf1e2ec': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/stdweb-0.4.13/src/webcore/macros.rs:91: undefined reference to `emscripten_asm_const_int' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libstdweb-6c2aa968e8520cc7.rlib(stdweb-6c2aa968e8520cc7.stdweb.cf93bc1d6ddd8cf4-cgu.07.rcgu.o): in function `::instance_of::snippet::__cargo_web_snippet_7c8dfab835dc8a552cd9d67f27d26624590e052c': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/stdweb-0.4.13/src/webcore/macros.rs:32: undefined reference to `emscripten_asm_const_int' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libstdweb-6c2aa968e8520cc7.rlib(stdweb-6c2aa968e8520cc7.stdweb.cf93bc1d6ddd8cf4-cgu.11.rcgu.o): in function `stdweb::webcore::initialization::initialize::snippet::__cargo_web_snippet_59c63ba786179baf0cde1136695be8a5ad97ddb3': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/stdweb-0.4.13/src/webcore/macros.rs:32: undefined reference to `emscripten_asm_const_int' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libstdweb-6c2aa968e8520cc7.rlib(stdweb-6c2aa968e8520cc7.stdweb.cf93bc1d6ddd8cf4-cgu.11.rcgu.o): in function `stdweb::webcore::initialization::initialize::{{closure}}::snippet::__cargo_web_snippet_dc2fd915bd92f9e9c6a3bd15174f1414eee3dbaf': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/stdweb-0.4.13/src/webcore/macros.rs:32: undefined reference to `emscripten_asm_const_int' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libstdweb-6c2aa968e8520cc7.rlib(stdweb-6c2aa968e8520cc7.stdweb.cf93bc1d6ddd8cf4-cgu.11.rcgu.o): in function `stdweb::webcore::initialization::initialize::{{closure}}::snippet::__cargo_web_snippet_97495987af1720d8a9a923fa4683a7b683e3acd6': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/stdweb-0.4.13/src/webcore/macros.rs:32: undefined reference to `emscripten_asm_const_int' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libstdweb-6c2aa968e8520cc7.rlib(stdweb-6c2aa968e8520cc7.stdweb.cf93bc1d6ddd8cf4-cgu.11.rcgu.o):/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/stdweb-0.4.13/src/webcore/macros.rs:32: more undefined references to `emscripten_asm_const_int' follow [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wasm-snake` (bin "wasm-snake") due to 1 previous error; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "a7f5e1a14deb05ad74ed2c082c952d7ceca98026956d8472ff5d4764fe087038", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7f5e1a14deb05ad74ed2c082c952d7ceca98026956d8472ff5d4764fe087038", kill_on_drop: false }` [INFO] [stdout] a7f5e1a14deb05ad74ed2c082c952d7ceca98026956d8472ff5d4764fe087038