[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.45.2 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-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rabbitXIII/wasm_snake on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "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-9/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.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 4bb3af1c9c7d987d9d51004eed341b1e09dc420025f8b07e78331576d10a2099 [INFO] running `Command { std: "docker" "start" "-a" "4bb3af1c9c7d987d9d51004eed341b1e09dc420025f8b07e78331576d10a2099", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4bb3af1c9c7d987d9d51004eed341b1e09dc420025f8b07e78331576d10a2099", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4bb3af1c9c7d987d9d51004eed341b1e09dc420025f8b07e78331576d10a2099", kill_on_drop: false }` [INFO] [stdout] 4bb3af1c9c7d987d9d51004eed341b1e09dc420025f8b07e78331576d10a2099 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d75721123ddb94e4b5ac61d5e667009d9739e66385a3d30b4cbc4298f83fd675 [INFO] running `Command { std: "docker" "start" "-a" "d75721123ddb94e4b5ac61d5e667009d9739e66385a3d30b4cbc4298f83fd675", 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 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_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] [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" "-L" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/wasm_snake-f4ac030bfeb4741e.wasm_snake.eqzy1ybq-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/wasm_snake-f4ac030bfeb4741e.wasm_snake.eqzy1ybq-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/wasm_snake-f4ac030bfeb4741e.wasm_snake.eqzy1ybq-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/wasm_snake-f4ac030bfeb4741e.wasm_snake.eqzy1ybq-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/wasm_snake-f4ac030bfeb4741e.wasm_snake.eqzy1ybq-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/wasm_snake-f4ac030bfeb4741e.wasm_snake.eqzy1ybq-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/wasm_snake-f4ac030bfeb4741e.wasm_snake.eqzy1ybq-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/wasm_snake-f4ac030bfeb4741e.wasm_snake.eqzy1ybq-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/wasm_snake-f4ac030bfeb4741e.wasm_snake.eqzy1ybq-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/wasm_snake-f4ac030bfeb4741e.wasm_snake.eqzy1ybq-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/wasm_snake-f4ac030bfeb4741e.wasm_snake.eqzy1ybq-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/wasm_snake-f4ac030bfeb4741e.wasm_snake.eqzy1ybq-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/wasm_snake-f4ac030bfeb4741e.wasm_snake.eqzy1ybq-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/wasm_snake-f4ac030bfeb4741e.wasm_snake.eqzy1ybq-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/wasm_snake-f4ac030bfeb4741e.wasm_snake.eqzy1ybq-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/wasm_snake-f4ac030bfeb4741e.wasm_snake.eqzy1ybq-cgu.9.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/wasm_snake-f4ac030bfeb4741e" "/opt/rustwide/target/debug/deps/wasm_snake-f4ac030bfeb4741e.tcm67q7t2xlomf7.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libstdweb-77724f3cf4ffdf43.rlib" "/opt/rustwide/target/debug/deps/libdiscard-ff595bbfeefd76ad.rlib" "/opt/rustwide/target/debug/deps/libstdweb_internal_runtime-d70d193811ed8f34.rlib" "/opt/rustwide/target/debug/deps/libserde_json-200c23f7ef63c5f7.rlib" "/opt/rustwide/target/debug/deps/libryu-bd4b817854ed0cc6.rlib" "/opt/rustwide/target/debug/deps/libitoa-f38c0eb4fa3e9416.rlib" "/opt/rustwide/target/debug/deps/libserde-31005aa1febaf018.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-8bb11f807a7b6b4c.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-ca8087507780d964.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-259c92b387c1c166.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-16e0a2fbbb8e14b3.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-8a1651b8e23d2aaf.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-23bdd98b0574083e.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-855a92055ec33e2e.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-24c70dd44fbacdfb.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-b326273841bae587.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-ac3c1f0e16507051.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-a5729542b65954aa.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-09bd1119ab1cad7d.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-9a787681bfbeaf61.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-5a0398ee67f74664.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-f4ac030bfeb4741e.wasm_snake.eqzy1ybq-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-f4ac030bfeb4741e.wasm_snake.eqzy1ybq-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-77724f3cf4ffdf43.rlib(stdweb-77724f3cf4ffdf43.stdweb.b6vyie0v-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-77724f3cf4ffdf43.rlib(stdweb-77724f3cf4ffdf43.stdweb.b6vyie0v-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-77724f3cf4ffdf43.rlib(stdweb-77724f3cf4ffdf43.stdweb.b6vyie0v-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-77724f3cf4ffdf43.rlib(stdweb-77724f3cf4ffdf43.stdweb.b6vyie0v-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-77724f3cf4ffdf43.rlib(stdweb-77724f3cf4ffdf43.stdweb.b6vyie0v-cgu.8.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-77724f3cf4ffdf43.rlib(stdweb-77724f3cf4ffdf43.stdweb.b6vyie0v-cgu.8.rcgu.o): in function `::instance_of::snippet::__cargo_web_snippet_7c8dfab835dc8a552cd9d67f27d26624590e052c': [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-77724f3cf4ffdf43.rlib(stdweb-77724f3cf4ffdf43.stdweb.b6vyie0v-cgu.9.rcgu.o): in function `::instance_of::snippet::__cargo_web_snippet_2566a94332f60241405fa45e6a379e8daa71af81': [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-77724f3cf4ffdf43.rlib(stdweb-77724f3cf4ffdf43.stdweb.b6vyie0v-cgu.9.rcgu.o): in function `stdweb::webapi::html_elements::canvas::CanvasElement::height::snippet::__cargo_web_snippet_d3336fefc8646aa17b501ca0d1fc23db2bfd8df2': [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-77724f3cf4ffdf43.rlib(stdweb-77724f3cf4ffdf43.stdweb.b6vyie0v-cgu.9.rcgu.o): in function `stdweb::webapi::html_elements::canvas::CanvasElement::width::snippet::__cargo_web_snippet_275c52510376b526efc3b77789bb01b8a440efd4': [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-77724f3cf4ffdf43.rlib(stdweb-77724f3cf4ffdf43.stdweb.b6vyie0v-cgu.9.rcgu.o): in function `stdweb::webapi::parent_node::IParentNode::query_selector::snippet::__cargo_web_snippet_a152e8d0e8fac5476f30c1d19e4ab217dbcba73d': [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-77724f3cf4ffdf43.rlib(stdweb-77724f3cf4ffdf43.stdweb.b6vyie0v-cgu.9.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" "d75721123ddb94e4b5ac61d5e667009d9739e66385a3d30b4cbc4298f83fd675", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d75721123ddb94e4b5ac61d5e667009d9739e66385a3d30b4cbc4298f83fd675", kill_on_drop: false }` [INFO] [stdout] d75721123ddb94e4b5ac61d5e667009d9739e66385a3d30b4cbc4298f83fd675