[INFO] cloning repository https://github.com/rabbitXIII/wasm_snake [INFO] running `"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"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FrabbitXIII%2Fwasm_snake'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 792cbbf65d134d99bb608dfd10bf0e15f0b8e8e3 [INFO] testing rabbitXIII/wasm_snake against 1.44.0 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FrabbitXIII%2Fwasm_snake" "/workspace/builds/worker-1/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rabbitXIII/wasm_snake on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "read-manifest" "--manifest-path" "Cargo.toml"` [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-1/source/Cargo.toml [INFO] crate git repo https://github.com/rabbitXIII/wasm_snake already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.44.0" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 444599cf9d4eefa53c51c1d92343bea58b6cf544c6ead506dcdfa8fef85471c9 [INFO] running `"docker" "start" "-a" "444599cf9d4eefa53c51c1d92343bea58b6cf544c6ead506dcdfa8fef85471c9"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling proc-macro2 v1.0.5 [INFO] [stderr] Compiling serde v1.0.101 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling stdweb-internal-runtime v0.1.5 [INFO] [stderr] Compiling itoa v0.4.4 [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_derive v1.0.101 [INFO] [stderr] Compiling serde_json v1.0.41 [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] [stderr] warning: unused variable: `length` [INFO] [stderr] --> src/snake.rs:146:9 [INFO] [stderr] | [INFO] [stderr] 146 | let length = input_queue.len() as i32; [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_length` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `BLUE` [INFO] [stderr] --> src/snake.rs:15:3 [INFO] [stderr] | [INFO] [stderr] 15 | BLUE, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `RED` [INFO] [stderr] --> src/snake.rs:16:3 [INFO] [stderr] | [INFO] [stderr] 16 | RED, [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: linking with `cc` failed: exit code: 1 [INFO] [stderr] | [INFO] [stderr] = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/opt/rustwide/rustup-home/toolchains/1.44.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/wasm_snake-e142a0033e3e3de0.wasm_snake.avs3366y-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/wasm_snake-e142a0033e3e3de0.wasm_snake.avs3366y-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/wasm_snake-e142a0033e3e3de0.wasm_snake.avs3366y-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/wasm_snake-e142a0033e3e3de0.wasm_snake.avs3366y-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/wasm_snake-e142a0033e3e3de0.wasm_snake.avs3366y-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/wasm_snake-e142a0033e3e3de0.wasm_snake.avs3366y-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/wasm_snake-e142a0033e3e3de0.wasm_snake.avs3366y-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/wasm_snake-e142a0033e3e3de0.wasm_snake.avs3366y-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/wasm_snake-e142a0033e3e3de0.wasm_snake.avs3366y-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/wasm_snake-e142a0033e3e3de0.wasm_snake.avs3366y-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/wasm_snake-e142a0033e3e3de0.wasm_snake.avs3366y-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/wasm_snake-e142a0033e3e3de0.wasm_snake.avs3366y-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/wasm_snake-e142a0033e3e3de0.wasm_snake.avs3366y-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/wasm_snake-e142a0033e3e3de0.wasm_snake.avs3366y-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/wasm_snake-e142a0033e3e3de0.wasm_snake.avs3366y-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/wasm_snake-e142a0033e3e3de0.wasm_snake.avs3366y-cgu.9.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/wasm_snake-e142a0033e3e3de0" "/opt/rustwide/target/debug/deps/wasm_snake-e142a0033e3e3de0.2wrk4z6n2u5ylgdk.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/1.44.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libstdweb-61ee15c1ead6fc2f.rlib" "/opt/rustwide/target/debug/deps/libdiscard-467a332ec5511321.rlib" "/opt/rustwide/target/debug/deps/libstdweb_internal_runtime-f1bfcb4c6bc1def4.rlib" "/opt/rustwide/target/debug/deps/libserde_json-37073ed809cb25a9.rlib" "/opt/rustwide/target/debug/deps/libryu-c5e7eec2cc573ee0.rlib" "/opt/rustwide/target/debug/deps/libitoa-0d9b2c9addc04afb.rlib" "/opt/rustwide/target/debug/deps/libserde-f850ea08d8435a53.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/1.44.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-205127404fcba336.rlib" "/opt/rustwide/rustup-home/toolchains/1.44.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-a657948fb7763780.rlib" "/opt/rustwide/rustup-home/toolchains/1.44.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-4af901391177f653.rlib" "/opt/rustwide/rustup-home/toolchains/1.44.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-9bdd51edf637d1e0.rlib" "/opt/rustwide/rustup-home/toolchains/1.44.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-df9a9630b2ea2e1e.rlib" "/opt/rustwide/rustup-home/toolchains/1.44.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-fddbfe63d5cc9339.rlib" "/opt/rustwide/rustup-home/toolchains/1.44.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-dc1fcc6e43806791.rlib" "/opt/rustwide/rustup-home/toolchains/1.44.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-e2f4bff19e00107e.rlib" "/opt/rustwide/rustup-home/toolchains/1.44.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-a152d13c1d7ed405.rlib" "/opt/rustwide/rustup-home/toolchains/1.44.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-d92b841792fc008d.rlib" "/opt/rustwide/rustup-home/toolchains/1.44.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-a64c249515c023f5.rlib" "/opt/rustwide/rustup-home/toolchains/1.44.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-57654524b3e40c00.rlib" "/opt/rustwide/rustup-home/toolchains/1.44.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-72180f1527a726a2.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/1.44.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-990cc8f4a91a3ab4.rlib" "-Wl,-Bdynamic" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-ldl" "-lutil" [INFO] [stderr] = note: /usr/bin/ld: /opt/rustwide/target/debug/deps/wasm_snake-e142a0033e3e3de0.wasm_snake.avs3366y-cgu.2.rcgu.o: in function `wasm_snake::snake::Snake::create_food::snippet::__cargo_web_snippet_ad7d159412cc3f611a3ed6f04ff238a29b21a272': [INFO] [stderr] /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] [stderr] /usr/bin/ld: /opt/rustwide/target/debug/deps/wasm_snake-e142a0033e3e3de0.wasm_snake.avs3366y-cgu.2.rcgu.o: in function `wasm_snake::snake::Snake::create_food::snippet::__cargo_web_snippet_ad7d159412cc3f611a3ed6f04ff238a29b21a272': [INFO] [stderr] /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] [stderr] /usr/bin/ld: /opt/rustwide/target/debug/deps/libstdweb-61ee15c1ead6fc2f.rlib(stdweb-61ee15c1ead6fc2f.stdweb.1d0wdso9-cgu.0.rcgu.o): in function `::instance_of::snippet::__cargo_web_snippet_550049fd354fc2e2d13b8dacf6ebece3de7d60a0': [INFO] [stderr] /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] [stderr] /usr/bin/ld: /opt/rustwide/target/debug/deps/libstdweb-61ee15c1ead6fc2f.rlib(stdweb-61ee15c1ead6fc2f.stdweb.1d0wdso9-cgu.0.rcgu.o): in function `::from_canvas::snippet::__cargo_web_snippet_49ae24e0f2d690c290030200ef793256363af281': [INFO] [stderr] /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] [stderr] /usr/bin/ld: /opt/rustwide/target/debug/deps/libstdweb-61ee15c1ead6fc2f.rlib(stdweb-61ee15c1ead6fc2f.stdweb.1d0wdso9-cgu.0.rcgu.o): in function `stdweb::webapi::rendering_context::CanvasRenderingContext2d::set_fill_style_color::snippet::__cargo_web_snippet_7e69871d2f0243bddcb8cffc809fd6fb5fb78697': [INFO] [stderr] /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] [stderr] /usr/bin/ld: /opt/rustwide/target/debug/deps/libstdweb-61ee15c1ead6fc2f.rlib(stdweb-61ee15c1ead6fc2f.stdweb.1d0wdso9-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] [stderr] /usr/bin/ld: /opt/rustwide/target/debug/deps/libstdweb-61ee15c1ead6fc2f.rlib(stdweb-61ee15c1ead6fc2f.stdweb.1d0wdso9-cgu.5.rcgu.o): in function `stdweb::webcore::ffi::emscripten::event_loop': [INFO] [stderr] /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.20/src/webcore/ffi/emscripten.rs:9: undefined reference to `emscripten_pause_main_loop' [INFO] [stderr] /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] [stderr] /usr/bin/ld: /opt/rustwide/target/debug/deps/libstdweb-61ee15c1ead6fc2f.rlib(stdweb-61ee15c1ead6fc2f.stdweb.1d0wdso9-cgu.5.rcgu.o): in function `stdweb::webapi::non_element_parent_node::INonElementParentNode::get_element_by_id::snippet::__cargo_web_snippet_d5e30f74cb752784e06bd97a37b1f89b6c3433a7': [INFO] [stderr] /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] [stderr] /usr/bin/ld: /opt/rustwide/target/debug/deps/libstdweb-61ee15c1ead6fc2f.rlib(stdweb-61ee15c1ead6fc2f.stdweb.1d0wdso9-cgu.6.rcgu.o): in function `stdweb::webapi::node::INode::set_text_content::snippet::__cargo_web_snippet_f765b15a1a1b5cd266e922e6fca98dd570f17edc': [INFO] [stderr] /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] [stderr] /usr/bin/ld: /opt/rustwide/target/debug/deps/libstdweb-61ee15c1ead6fc2f.rlib(stdweb-61ee15c1ead6fc2f.stdweb.1d0wdso9-cgu.7.rcgu.o): in function `stdweb::webapi::window::window::snippet::__cargo_web_snippet_0f503de1d61309643e0e13a7871406891e3691c9': [INFO] [stderr] /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] [stderr] /usr/bin/ld: /opt/rustwide/target/debug/deps/libstdweb-61ee15c1ead6fc2f.rlib(stdweb-61ee15c1ead6fc2f.stdweb.1d0wdso9-cgu.7.rcgu.o): in function `stdweb::webapi::window::Window::request_animation_frame::snippet::__cargo_web_snippet_f1c5b555b7858c4f021b91769dce6f5bafdef9a2': [INFO] [stderr] /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] [stderr] /usr/bin/ld: /opt/rustwide/target/debug/deps/libstdweb-61ee15c1ead6fc2f.rlib(stdweb-61ee15c1ead6fc2f.stdweb.1d0wdso9-cgu.8.rcgu.o): in function `stdweb::webcore::value::Reference::from_raw_unchecked::snippet::__cargo_web_snippet_9f22d4ca7bc938409787341b7db181f8dd41e6df': [INFO] [stderr] /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] [stderr] /usr/bin/ld: /opt/rustwide/target/debug/deps/libstdweb-61ee15c1ead6fc2f.rlib(stdweb-61ee15c1ead6fc2f.stdweb.1d0wdso9-cgu.8.rcgu.o):/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.20/src/webcore/macros.rs:32: more undefined references to `emscripten_asm_const_int' follow [INFO] [stderr] collect2: error: ld returned 1 exit status [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error; 3 warnings emitted [INFO] [stderr] [INFO] [stderr] error: could not compile `wasm_snake`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "444599cf9d4eefa53c51c1d92343bea58b6cf544c6ead506dcdfa8fef85471c9"` [INFO] running `"docker" "rm" "-f" "444599cf9d4eefa53c51c1d92343bea58b6cf544c6ead506dcdfa8fef85471c9"` [INFO] [stdout] 444599cf9d4eefa53c51c1d92343bea58b6cf544c6ead506dcdfa8fef85471c9