[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 beta-2020-07-24 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FrabbitXIII%2Fwasm_snake" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rabbitXIII/wasm_snake on toolchain beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "read-manifest" "--manifest-path" "Cargo.toml", 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-4/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" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 27e0ac06c64ae3c981d7c1ef087804a7b35b58eadec3d19963fead49b02f521d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "27e0ac06c64ae3c981d7c1ef087804a7b35b58eadec3d19963fead49b02f521d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "27e0ac06c64ae3c981d7c1ef087804a7b35b58eadec3d19963fead49b02f521d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27e0ac06c64ae3c981d7c1ef087804a7b35b58eadec3d19963fead49b02f521d", kill_on_drop: false }` [INFO] [stdout] 27e0ac06c64ae3c981d7c1ef087804a7b35b58eadec3d19963fead49b02f521d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f4eb21d7400a26ce08015d6d8aa594fc7de3e779f10905188e7d1e7ca8879b1a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "f4eb21d7400a26ce08015d6d8aa594fc7de3e779f10905188e7d1e7ca8879b1a", kill_on_drop: false }` [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 base-x v0.2.6 [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 code: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-Wl,--eh-frame-hdr" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/wasm_snake-cfb203c9af7e7ae6.wasm_snake.9xqq57iw-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/wasm_snake-cfb203c9af7e7ae6.wasm_snake.9xqq57iw-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/wasm_snake-cfb203c9af7e7ae6.wasm_snake.9xqq57iw-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/wasm_snake-cfb203c9af7e7ae6.wasm_snake.9xqq57iw-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/wasm_snake-cfb203c9af7e7ae6.wasm_snake.9xqq57iw-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/wasm_snake-cfb203c9af7e7ae6.wasm_snake.9xqq57iw-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/wasm_snake-cfb203c9af7e7ae6.wasm_snake.9xqq57iw-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/wasm_snake-cfb203c9af7e7ae6.wasm_snake.9xqq57iw-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/wasm_snake-cfb203c9af7e7ae6.wasm_snake.9xqq57iw-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/wasm_snake-cfb203c9af7e7ae6.wasm_snake.9xqq57iw-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/wasm_snake-cfb203c9af7e7ae6.wasm_snake.9xqq57iw-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/wasm_snake-cfb203c9af7e7ae6.wasm_snake.9xqq57iw-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/wasm_snake-cfb203c9af7e7ae6.wasm_snake.9xqq57iw-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/wasm_snake-cfb203c9af7e7ae6.wasm_snake.9xqq57iw-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/wasm_snake-cfb203c9af7e7ae6.wasm_snake.9xqq57iw-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/wasm_snake-cfb203c9af7e7ae6.wasm_snake.9xqq57iw-cgu.9.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/wasm_snake-cfb203c9af7e7ae6" "/opt/rustwide/target/debug/deps/wasm_snake-cfb203c9af7e7ae6.226qntxoor2jbclh.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libstdweb-bccbd604cd719f89.rlib" "/opt/rustwide/target/debug/deps/libdiscard-567e082f2ad47cfa.rlib" "/opt/rustwide/target/debug/deps/libstdweb_internal_runtime-0b85212332cbaf0f.rlib" "/opt/rustwide/target/debug/deps/libserde_json-2967255d386eb940.rlib" "/opt/rustwide/target/debug/deps/libryu-09efcdfca7c9a68a.rlib" "/opt/rustwide/target/debug/deps/libitoa-d09b03244d96d381.rlib" "/opt/rustwide/target/debug/deps/libserde-39d8aeb01e0f5635.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-d66e0ceb8eaec9b8.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-9717ec0599b569a0.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-04369de9ba916647.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-997d622c2e4dbe5c.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-0359c4288a5ef89f.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-1b25ede22d698ab3.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-37940b486a68e488.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-06b77c27e794c7c6.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-4d07e02a8df36da1.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-fb29e0695c0a0f79.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-e16188b4cf97e8bb.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-5eb391c8dabdee77.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-b0689b528b222bee.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-ed072ac495e62e7a.rlib" "-Wl,-Bdynamic" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-ldl" "-lutil" [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/debug/deps/wasm_snake-cfb203c9af7e7ae6.wasm_snake.9xqq57iw-cgu.1.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-cfb203c9af7e7ae6.wasm_snake.9xqq57iw-cgu.1.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-bccbd604cd719f89.rlib(stdweb-bccbd604cd719f89.stdweb.bsvn5e6i-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-bccbd604cd719f89.rlib(stdweb-bccbd604cd719f89.stdweb.bsvn5e6i-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-bccbd604cd719f89.rlib(stdweb-bccbd604cd719f89.stdweb.bsvn5e6i-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-bccbd604cd719f89.rlib(stdweb-bccbd604cd719f89.stdweb.bsvn5e6i-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-bccbd604cd719f89.rlib(stdweb-bccbd604cd719f89.stdweb.bsvn5e6i-cgu.6.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:9: 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-bccbd604cd719f89.rlib(stdweb-bccbd604cd719f89.stdweb.bsvn5e6i-cgu.6.rcgu.o): in function `stdweb::webapi::window::window::snippet::__cargo_web_snippet_0f503de1d61309643e0e13a7871406891e3691c9': [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-bccbd604cd719f89.rlib(stdweb-bccbd604cd719f89.stdweb.bsvn5e6i-cgu.6.rcgu.o): in function `stdweb::webapi::window::Window::request_animation_frame::snippet::__cargo_web_snippet_f1c5b555b7858c4f021b91769dce6f5bafdef9a2': [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-bccbd604cd719f89.rlib(stdweb-bccbd604cd719f89.stdweb.bsvn5e6i-cgu.6.rcgu.o): in function `stdweb::webapi::non_element_parent_node::INonElementParentNode::get_element_by_id::snippet::__cargo_web_snippet_d5e30f74cb752784e06bd97a37b1f89b6c3433a7': [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-bccbd604cd719f89.rlib(stdweb-bccbd604cd719f89.stdweb.bsvn5e6i-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-bccbd604cd719f89.rlib(stdweb-bccbd604cd719f89.stdweb.bsvn5e6i-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-bccbd604cd719f89.rlib(stdweb-bccbd604cd719f89.stdweb.bsvn5e6i-cgu.7.rcgu.o):/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.20/src/webcore/macros.rs:149: more undefined references to `emscripten_asm_const_int' follow [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [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`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "f4eb21d7400a26ce08015d6d8aa594fc7de3e779f10905188e7d1e7ca8879b1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4eb21d7400a26ce08015d6d8aa594fc7de3e779f10905188e7d1e7ca8879b1a", kill_on_drop: false }` [INFO] [stdout] f4eb21d7400a26ce08015d6d8aa594fc7de3e779f10905188e7d1e7ca8879b1a