[INFO] cloning repository https://github.com/rabbitXIII/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/rabbitXIII/wasm_snake" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FrabbitXIII%2Fwasm_snake", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FrabbitXIII%2Fwasm_snake'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 792cbbf65d134d99bb608dfd10bf0e15f0b8e8e3 [INFO] testing rabbitXIII/wasm_snake against 1.55.0 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FrabbitXIII%2Fwasm_snake" "/workspace/builds/worker-110/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-110/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rabbitXIII/wasm_snake on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rabbitXIII/wasm_snake [INFO] finished tweaking git repo https://github.com/rabbitXIII/wasm_snake [INFO] tweaked toml for git repo https://github.com/rabbitXIII/wasm_snake written to /workspace/builds/worker-110/source/Cargo.toml [INFO] crate git repo https://github.com/rabbitXIII/wasm_snake already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-110/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-110/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a87a9eaeffa8879e6ec70b4d2bb020775659250a84062c7538b9927592f80391 [INFO] running `Command { std: "docker" "start" "-a" "a87a9eaeffa8879e6ec70b4d2bb020775659250a84062c7538b9927592f80391", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a87a9eaeffa8879e6ec70b4d2bb020775659250a84062c7538b9927592f80391", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a87a9eaeffa8879e6ec70b4d2bb020775659250a84062c7538b9927592f80391", kill_on_drop: false }` [INFO] [stdout] a87a9eaeffa8879e6ec70b4d2bb020775659250a84062c7538b9927592f80391 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-110/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-110/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" "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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 63b71050c790a6aa442abd853f2d3f5e9e707c035f5ebd2460571465e4e012af [INFO] running `Command { std: "docker" "start" "-a" "63b71050c790a6aa442abd853f2d3f5e9e707c035f5ebd2460571465e4e012af", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.5 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling serde v1.0.101 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling stdweb-internal-runtime v0.1.5 [INFO] [stderr] Compiling base-x v0.2.6 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling discard v1.0.4 [INFO] [stderr] Compiling stdweb v0.4.20 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling serde_json v1.0.41 [INFO] [stderr] Compiling serde_derive v1.0.101 [INFO] [stderr] Compiling stdweb-internal-macros v0.2.9 [INFO] [stderr] Compiling stdweb-derive v0.5.3 [INFO] [stderr] Compiling wasm_snake v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `length` [INFO] [stdout] --> src/snake.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | let length = input_queue.len() as i32; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_length` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BLUE` [INFO] [stdout] --> src/snake.rs:15:3 [INFO] [stdout] | [INFO] [stdout] 15 | BLUE, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `RED` [INFO] [stdout] --> src/snake.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 16 | RED, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/wasm_snake-a933493696d5df18.wasm_snake.0a2beaa0-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/wasm_snake-a933493696d5df18.wasm_snake.0a2beaa0-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/wasm_snake-a933493696d5df18.wasm_snake.0a2beaa0-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/wasm_snake-a933493696d5df18.wasm_snake.0a2beaa0-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/wasm_snake-a933493696d5df18.wasm_snake.0a2beaa0-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/wasm_snake-a933493696d5df18.wasm_snake.0a2beaa0-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/wasm_snake-a933493696d5df18.wasm_snake.0a2beaa0-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/wasm_snake-a933493696d5df18.wasm_snake.0a2beaa0-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/wasm_snake-a933493696d5df18.wasm_snake.0a2beaa0-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/wasm_snake-a933493696d5df18.wasm_snake.0a2beaa0-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/wasm_snake-a933493696d5df18.wasm_snake.0a2beaa0-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/wasm_snake-a933493696d5df18.wasm_snake.0a2beaa0-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/wasm_snake-a933493696d5df18.wasm_snake.0a2beaa0-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/wasm_snake-a933493696d5df18.wasm_snake.0a2beaa0-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/wasm_snake-a933493696d5df18.wasm_snake.0a2beaa0-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/wasm_snake-a933493696d5df18.wasm_snake.0a2beaa0-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/wasm_snake-a933493696d5df18.exj96bfy4swvwer.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libstdweb-1343f1cc74b7dae3.rlib" "/opt/rustwide/target/debug/deps/libdiscard-166bdae8beb99e0a.rlib" "/opt/rustwide/target/debug/deps/libstdweb_internal_runtime-0c733f45e9dfd1e5.rlib" "/opt/rustwide/target/debug/deps/libserde_json-973beab124eb1d7b.rlib" "/opt/rustwide/target/debug/deps/libryu-661440c36dd5b86c.rlib" "/opt/rustwide/target/debug/deps/libitoa-41951a538d0a7733.rlib" "/opt/rustwide/target/debug/deps/libserde-2655a9b22579ead9.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-008055cc7d873802.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-06f01ac2578bda94.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-f9a3c3274a1835e0.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-d4cbb754ee9f4daa.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-95c14e1c1e3ebcc4.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-d489f0ca872880cc.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-75f07df0b18fea39.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-0c35b278736219a2.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-e530649c9a06e3c6.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-6b148909d375a785.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-cd15fa647f4775d1.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-74be3a703f788ba2.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-8f2c5b445c28b2e3.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-8480e85e0be96197.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-ac23a75f6f42004e.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-557ba8776e04d182.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-4beb03d03503c439.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-dd7db1bec6909f24.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/wasm_snake-a933493696d5df18" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/debug/deps/wasm_snake-a933493696d5df18.wasm_snake.0a2beaa0-cgu.7.rcgu.o: in function `wasm_snake::snake::Snake::create_food::snippet::__cargo_web_snippet_ad7d159412cc3f611a3ed6f04ff238a29b21a272': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.20/src/webcore/macros.rs:149: undefined reference to `emscripten_asm_const_int' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/wasm_snake-a933493696d5df18.wasm_snake.0a2beaa0-cgu.7.rcgu.o: in function `wasm_snake::snake::Snake::create_food::snippet::__cargo_web_snippet_ad7d159412cc3f611a3ed6f04ff238a29b21a272': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.20/src/webcore/macros.rs:149: undefined reference to `emscripten_asm_const_int' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libstdweb-1343f1cc74b7dae3.rlib(stdweb-1343f1cc74b7dae3.stdweb.e96d78c7-cgu.0.rcgu.o): in function `::instance_of::snippet::__cargo_web_snippet_550049fd354fc2e2d13b8dacf6ebece3de7d60a0': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.20/src/webcore/macros.rs:64: undefined reference to `emscripten_asm_const_int' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libstdweb-1343f1cc74b7dae3.rlib(stdweb-1343f1cc74b7dae3.stdweb.e96d78c7-cgu.0.rcgu.o): in function `::from_canvas::snippet::__cargo_web_snippet_49ae24e0f2d690c290030200ef793256363af281': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.20/src/webcore/macros.rs:149: undefined reference to `emscripten_asm_const_int' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libstdweb-1343f1cc74b7dae3.rlib(stdweb-1343f1cc74b7dae3.stdweb.e96d78c7-cgu.0.rcgu.o): in function `stdweb::webapi::rendering_context::CanvasRenderingContext2d::set_fill_style_color::snippet::__cargo_web_snippet_7e69871d2f0243bddcb8cffc809fd6fb5fb78697': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.20/src/webcore/macros.rs:139: undefined reference to `emscripten_asm_const_int' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libstdweb-1343f1cc74b7dae3.rlib(stdweb-1343f1cc74b7dae3.stdweb.e96d78c7-cgu.0.rcgu.o):/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.20/src/webcore/macros.rs:139: more undefined references to `emscripten_asm_const_int' follow [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libstdweb-1343f1cc74b7dae3.rlib(stdweb-1343f1cc74b7dae3.stdweb.e96d78c7-cgu.7.rcgu.o): in function `stdweb::webcore::ffi::emscripten::event_loop': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.20/src/webcore/ffi/emscripten.rs:11: undefined reference to `emscripten_pause_main_loop' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.20/src/webcore/ffi/emscripten.rs:11: undefined reference to `emscripten_set_main_loop' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libstdweb-1343f1cc74b7dae3.rlib(stdweb-1343f1cc74b7dae3.stdweb.e96d78c7-cgu.7.rcgu.o): in function `stdweb::webcore::value::Reference::from_raw_unchecked::snippet::__cargo_web_snippet_9f22d4ca7bc938409787341b7db181f8dd41e6df': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.20/src/webcore/macros.rs:32: undefined reference to `emscripten_asm_const_int' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libstdweb-1343f1cc74b7dae3.rlib(stdweb-1343f1cc74b7dae3.stdweb.e96d78c7-cgu.7.rcgu.o): in function `::drop::snippet::__cargo_web_snippet_80d6d56760c65e49b7be8b6b01c1ea861b046bf0': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.20/src/webcore/macros.rs:32: undefined reference to `emscripten_asm_const_int' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libstdweb-1343f1cc74b7dae3.rlib(stdweb-1343f1cc74b7dae3.stdweb.e96d78c7-cgu.7.rcgu.o): in function `::drop::snippet::__cargo_web_snippet_e9638d6405ab65f78daf4a5af9c9de14ecf1e2ec': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.20/src/webcore/macros.rs:139: undefined reference to `emscripten_asm_const_int' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libstdweb-1343f1cc74b7dae3.rlib(stdweb-1343f1cc74b7dae3.stdweb.e96d78c7-cgu.9.rcgu.o): in function `stdweb::webapi::event_target::IEventTarget::add_event_listener::snippet::__cargo_web_snippet_99c4eefdc8d4cc724135163b8c8665a1f3de99e4': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.20/src/webcore/macros.rs:149: undefined reference to `emscripten_asm_const_int' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = help: 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#cargorustc-link-libkindname) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wasm_snake` due to 2 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "63b71050c790a6aa442abd853f2d3f5e9e707c035f5ebd2460571465e4e012af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63b71050c790a6aa442abd853f2d3f5e9e707c035f5ebd2460571465e4e012af", kill_on_drop: false }` [INFO] [stdout] 63b71050c790a6aa442abd853f2d3f5e9e707c035f5ebd2460571465e4e012af