[INFO] updating cached repository https://github.com/ahouts/web-snake [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8e71f901278c9f31fdddec2d9d158cb848184525 [INFO] testing ahouts/web-snake against try#03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fahouts%2Fweb-snake" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ahouts/web-snake on toolchain 03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ahouts/web-snake [INFO] finished tweaking git repo https://github.com/ahouts/web-snake [INFO] tweaked toml for git repo https://github.com/ahouts/web-snake written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/ahouts/web-snake already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d4e69370f105d53cd4d49dc8ff83ff4a80ebfe07255509192297bac368c96c23 [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" "d4e69370f105d53cd4d49dc8ff83ff4a80ebfe07255509192297bac368c96c23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d4e69370f105d53cd4d49dc8ff83ff4a80ebfe07255509192297bac368c96c23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4e69370f105d53cd4d49dc8ff83ff4a80ebfe07255509192297bac368c96c23", kill_on_drop: false }` [INFO] [stdout] d4e69370f105d53cd4d49dc8ff83ff4a80ebfe07255509192297bac368c96c23 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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=forbid" "-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:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ec1fa0d8674491ec630ad7de5486a75835a3c8e66d14ba738a40fe8fd83150cf [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" "ec1fa0d8674491ec630ad7de5486a75835a3c8e66d14ba738a40fe8fd83150cf", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.21 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling stdweb-internal-runtime v0.1.2 [INFO] [stderr] Compiling base-x v0.2.3 [INFO] [stderr] Compiling libc v0.2.43 [INFO] [stderr] Compiling alloc-no-stdlib v1.3.0 [INFO] [stderr] Compiling bincode v1.0.1 [INFO] [stderr] Compiling stdweb-internal-macros v0.2.2 [INFO] [stderr] Compiling stdweb v0.4.10 [INFO] [stderr] Compiling serde_json v1.0.33 [INFO] [stderr] Compiling brotli-decompressor v1.3.1 [INFO] [stderr] Compiling time v0.1.40 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Compiling syn v0.15.18 [INFO] [stderr] Compiling brotli v2.5.1 [INFO] [stderr] Compiling chrono v0.4.6 [INFO] [stderr] Compiling serde_derive v1.0.80 [INFO] [stderr] Compiling stdweb-derive v0.5.1 [INFO] [stderr] Compiling web-snake v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:145:17 [INFO] [stdout] | [INFO] [stdout] 145 | let mut snake_game = snake_ref.borrow_mut(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [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/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/web_snake-596ecd108c73c7fa.web_snake.58mg2y0n-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/web_snake-596ecd108c73c7fa.web_snake.58mg2y0n-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/web_snake-596ecd108c73c7fa.web_snake.58mg2y0n-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/web_snake-596ecd108c73c7fa.web_snake.58mg2y0n-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/web_snake-596ecd108c73c7fa.web_snake.58mg2y0n-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/web_snake-596ecd108c73c7fa.web_snake.58mg2y0n-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/web_snake-596ecd108c73c7fa.web_snake.58mg2y0n-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/web_snake-596ecd108c73c7fa.web_snake.58mg2y0n-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/web_snake-596ecd108c73c7fa.web_snake.58mg2y0n-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/web_snake-596ecd108c73c7fa.web_snake.58mg2y0n-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/web_snake-596ecd108c73c7fa.web_snake.58mg2y0n-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/web_snake-596ecd108c73c7fa.web_snake.58mg2y0n-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/web_snake-596ecd108c73c7fa.web_snake.58mg2y0n-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/web_snake-596ecd108c73c7fa.web_snake.58mg2y0n-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/web_snake-596ecd108c73c7fa.web_snake.58mg2y0n-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/web_snake-596ecd108c73c7fa.web_snake.58mg2y0n-cgu.9.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/web_snake-596ecd108c73c7fa" "/opt/rustwide/target/debug/deps/web_snake-596ecd108c73c7fa.383qnm1d0hh26pak.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libchrono-336c2a146d006b2f.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-40614c7ab30ccc3a.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-7201d1d9077769fe.rlib" "/opt/rustwide/target/debug/deps/libtime-c1fe6559b1e9e322.rlib" "/opt/rustwide/target/debug/deps/liblibc-111fa2dfb6f588ad.rlib" "/opt/rustwide/target/debug/deps/libbincode-57197bf976c1ad7f.rlib" "/opt/rustwide/target/debug/deps/libbyteorder-be2aee989aa9b6c3.rlib" "/opt/rustwide/target/debug/deps/libbrotli-6e2b379572970ab8.rlib" "/opt/rustwide/target/debug/deps/libbrotli_decompressor-6294f08b93bf5279.rlib" "/opt/rustwide/target/debug/deps/liballoc_no_stdlib-29eace1d0ce1adf6.rlib" "/opt/rustwide/target/debug/deps/libstdweb-c8eaef5b0c463d62.rlib" "/opt/rustwide/target/debug/deps/libdiscard-1415ef746499cfd1.rlib" "/opt/rustwide/target/debug/deps/libstdweb_internal_runtime-eacdfb77a9052ef6.rlib" "/opt/rustwide/target/debug/deps/libserde_json-07b211b358f41a21.rlib" "/opt/rustwide/target/debug/deps/libryu-f991c015be4841d6.rlib" "/opt/rustwide/target/debug/deps/libitoa-c56ff378b0141619.rlib" "/opt/rustwide/target/debug/deps/libserde-d8d021277ef79377.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-5989bcf78182f65e.rlib" "/opt/rustwide/rustup-home/toolchains/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-4d6da34bc177af8d.rlib" "/opt/rustwide/rustup-home/toolchains/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-10e0d6c948699482.rlib" "/opt/rustwide/rustup-home/toolchains/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-c2318e2415657781.rlib" "/opt/rustwide/rustup-home/toolchains/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-3815b93ed84badbb.rlib" "/opt/rustwide/rustup-home/toolchains/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-d7999143d95238cb.rlib" "/opt/rustwide/rustup-home/toolchains/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-c58298a0d40df8b8.rlib" "/opt/rustwide/rustup-home/toolchains/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-b7de97e2ba6fb4e2.rlib" "/opt/rustwide/rustup-home/toolchains/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-6f71c9f654d72cce.rlib" "/opt/rustwide/rustup-home/toolchains/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-95ea48ddc44a311b.rlib" "/opt/rustwide/rustup-home/toolchains/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-7402cd4761aebc14.rlib" "/opt/rustwide/rustup-home/toolchains/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-68f423c59dc48a40.rlib" "/opt/rustwide/rustup-home/toolchains/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-54580c7798bf2225.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-95a4d456339b7385.rlib" "-Wl,-Bdynamic" "-lutil" "-lutil" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-ldl" "-lutil" [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/debug/deps/web_snake-596ecd108c73c7fa.web_snake.58mg2y0n-cgu.10.rcgu.o: in function `> as stdweb::webcore::serialization::FuncallAdapter>::funcall_adapter': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.10/src/webcore/macros.rs:37: undefined reference to `emscripten_asm_const_int' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/web_snake-596ecd108c73c7fa.web_snake.58mg2y0n-cgu.10.rcgu.o: in function `> as stdweb::webcore::serialization::FuncallAdapter>::funcall_adapter': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.10/src/webcore/macros.rs:37: undefined reference to `emscripten_asm_const_int' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/web_snake-596ecd108c73c7fa.web_snake.58mg2y0n-cgu.10.rcgu.o: in function `> as stdweb::webcore::serialization::FuncallAdapter>::funcall_adapter': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.10/src/webcore/macros.rs:37: undefined reference to `emscripten_asm_const_int' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/web_snake-596ecd108c73c7fa.web_snake.58mg2y0n-cgu.10.rcgu.o: in function `> as stdweb::webcore::serialization::FuncallAdapter>::funcall_adapter': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.10/src/webcore/macros.rs:37: undefined reference to `emscripten_asm_const_int' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/web_snake-596ecd108c73c7fa.web_snake.58mg2y0n-cgu.10.rcgu.o: in function `> as stdweb::webcore::serialization::FuncallAdapter>::funcall_adapter': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.10/src/webcore/macros.rs:37: undefined reference to `emscripten_asm_const_int' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/web_snake-596ecd108c73c7fa.web_snake.58mg2y0n-cgu.10.rcgu.o:/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.10/src/webcore/macros.rs:37: more undefined references to `emscripten_asm_const_int' follow [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libstdweb-c8eaef5b0c463d62.rlib(stdweb-c8eaef5b0c463d62.stdweb.2431tcpk-cgu.2.rcgu.o): in function `stdweb::webcore::ffi::emscripten::event_loop': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.10/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.10/src/webcore/ffi/emscripten.rs:11: undefined reference to `emscripten_set_main_loop' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libstdweb-c8eaef5b0c463d62.rlib(stdweb-c8eaef5b0c463d62.stdweb.2431tcpk-cgu.3.rcgu.o): in function `::instance_of': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.10/src/webcore/macros.rs:546: undefined reference to `emscripten_asm_const_int' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libstdweb-c8eaef5b0c463d62.rlib(stdweb-c8eaef5b0c463d62.stdweb.2431tcpk-cgu.7.rcgu.o): in function `stdweb::webapi::html_element::Rect::get_top': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.10/src/webapi/html_element.rs:57: undefined reference to `emscripten_asm_const_int' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libstdweb-c8eaef5b0c463d62.rlib(stdweb-c8eaef5b0c463d62.stdweb.2431tcpk-cgu.7.rcgu.o): in function `stdweb::webapi::html_element::Rect::get_left': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.10/src/webapi/html_element.rs:84: undefined reference to `emscripten_asm_const_int' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libstdweb-c8eaef5b0c463d62.rlib(stdweb-c8eaef5b0c463d62.stdweb.2431tcpk-cgu.7.rcgu.o): in function `::instance_of': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.10/src/webapi/element.rs:236: undefined reference to `emscripten_asm_const_int' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `web-snake`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "ec1fa0d8674491ec630ad7de5486a75835a3c8e66d14ba738a40fe8fd83150cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec1fa0d8674491ec630ad7de5486a75835a3c8e66d14ba738a40fe8fd83150cf", kill_on_drop: false }` [INFO] [stdout] ec1fa0d8674491ec630ad7de5486a75835a3c8e66d14ba738a40fe8fd83150cf