[INFO] cloning repository https://github.com/AkinAguda/snake_game_wasm
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AkinAguda/snake_game_wasm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAkinAguda%2Fsnake_game_wasm", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAkinAguda%2Fsnake_game_wasm'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 78bfd09c00ffc6383961ea6d314038c637a4b04c
[INFO] building AkinAguda/snake_game_wasm against try#334963c956d25708feab489a3816ae63f639355d for pr-135216
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAkinAguda%2Fsnake_game_wasm" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/AkinAguda/snake_game_wasm on toolchain 334963c956d25708feab489a3816ae63f639355d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/AkinAguda/snake_game_wasm
[INFO] finished tweaking git repo https://github.com/AkinAguda/snake_game_wasm
[INFO] tweaked toml for git repo https://github.com/AkinAguda/snake_game_wasm written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/AkinAguda/snake_game_wasm already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a8d5651c682f42f9f217a270da9072f01ebb67f73c9f402df9ae326c1a838ad4
[INFO] running `Command { std: "docker" "start" "-a" "a8d5651c682f42f9f217a270da9072f01ebb67f73c9f402df9ae326c1a838ad4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a8d5651c682f42f9f217a270da9072f01ebb67f73c9f402df9ae326c1a838ad4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a8d5651c682f42f9f217a270da9072f01ebb67f73c9f402df9ae326c1a838ad4", kill_on_drop: false }`
[INFO] [stdout] a8d5651c682f42f9f217a270da9072f01ebb67f73c9f402df9ae326c1a838ad4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 88ad326ea1e3c06f57a320146acd778b9a8b6f9e6405b68dc583ad30a05a5d43
[INFO] running `Command { std: "docker" "start" "-a" "88ad326ea1e3c06f57a320146acd778b9a8b6f9e6405b68dc583ad30a05a5d43", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.6
[INFO] [stderr]    Compiling unicode-xid v0.2.0
[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 itoa v0.4.4
[INFO] [stderr]    Compiling sha1 v0.6.0
[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-derive v0.5.3
[INFO] [stderr]    Compiling stdweb-internal-macros v0.2.9
[INFO] [stderr]    Compiling snake_game v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: field `canvas` is never read
[INFO] [stdout]  --> src/canvas.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct Canvas {
[INFO] [stdout]   |            ------ field in this struct
[INFO] [stdout] 7 |     pub canvas: CanvasElement,
[INFO] [stdout]   |         ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note: LC_ALL="C" PATH="/opt/rustwide/rustup-home/toolchains/334963c956d25708feab489a3816ae63f639355d/lib/rustlib/x86_64-unknown-linux-gnu/bin:/opt/rustwide/rustup-home/toolchains/334963c956d25708feab489a3816ae63f639355d/lib/rustlib/x86_64-unknown-linux-gnu/bin/self-contained:/opt/rustwide/cargo-home/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" VSLANG="1033" "cc" "-m64" "/tmp/rustcjuQmSS/symbols.o" "<3 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libstdweb-49adc1c8271c5480.rlib,libdiscard-11fc78d17c12a98b.rlib,libstdweb_internal_runtime-8c1c4c6ef32bc894.rlib,libserde_json-cea885fe2fe34a2c.rlib,libryu-5b64ee6fc25be5f8.rlib,libitoa-31d14328344a312a.rlib,libserde-01ef0e5e71861f50.rlib}" "/opt/rustwide/rustup-home/toolchains/334963c956d25708feab489a3816ae63f639355d/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-d6f1d924b2f4233e.rlib,libpanic_unwind-00eb06e39850f679.rlib,libobject-d0382f11baa011b6.rlib,libmemchr-b7e2e2c1a7e4643d.rlib,libaddr2line-30ced7f1999cfa29.rlib,libgimli-3ee7e14c58e31ebd.rlib,librustc_demangle-a4f649bba77ffcc5.rlib,libstd_detect-c89a3ce7ad7c3dbd.rlib,libhashbrown-e1ce1d3d110c6707.rlib,librustc_std_workspace_alloc-e0604fecbf0f39dc.rlib,libminiz_oxide-0a9c6172f04822cc.rlib,libadler2-14a33f7117abcee7.rlib,libunwind-24c16adbe5e57356.rlib,libcfg_if-d2688d4a5c8e415b.rlib,liblibc-8ff7ba6d97853f27.rlib,liballoc-5c001d095eb077ec.rlib,librustc_std_workspace_core-395a38b8e0851c9b.rlib,libcore-d453bab70303062c.rlib,libcompiler_builtins-dd545221bb4f4734.rlib}" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-B/opt/rustwide/rustup-home/toolchains/334963c956d25708feab489a3816ae63f639355d/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/334963c956d25708feab489a3816ae63f639355d/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/snake_game-558e27a65b20533e" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
[INFO] [stdout]   = note: some arguments are omitted. use `--verbose` to show all linker arguments
[INFO] [stdout]   = note: rust-lld: error: undefined symbol: emscripten_asm_const_int
[INFO] [stdout]           >>> referenced by macros.rs:64 (src/webcore/macros.rs:64)
[INFO] [stdout]           >>>               stdweb-49adc1c8271c5480.stdweb.9b0871b86b4846c7-cgu.00.rcgu.o:(_$LT$stdweb..webapi..rendering_context..CanvasRenderingContext2d$u20$as$u20$stdweb..webcore..instance_of..InstanceOf$GT$::instance_of::snippet::__cargo_web_snippet_550049fd354fc2e2d13b8dacf6ebece3de7d60a0::h3d5123ebe2b4679b) in archive /opt/rustwide/target/debug/deps/libstdweb-49adc1c8271c5480.rlib
[INFO] [stdout]           >>> referenced by macros.rs:149 (src/webcore/macros.rs:149)
[INFO] [stdout]           >>>               stdweb-49adc1c8271c5480.stdweb.9b0871b86b4846c7-cgu.00.rcgu.o:(_$LT$stdweb..webapi..rendering_context..CanvasRenderingContext2d$u20$as$u20$stdweb..webapi..rendering_context..RenderingContext$GT$::from_canvas::snippet::__cargo_web_snippet_49ae24e0f2d690c290030200ef793256363af281::h0948758173d256db) in archive /opt/rustwide/target/debug/deps/libstdweb-49adc1c8271c5480.rlib
[INFO] [stdout]           >>> referenced by macros.rs:139 (src/webcore/macros.rs:139)
[INFO] [stdout]           >>>               stdweb-49adc1c8271c5480.stdweb.9b0871b86b4846c7-cgu.00.rcgu.o:(stdweb::webapi::rendering_context::CanvasRenderingContext2d::set_fill_style_color::snippet::__cargo_web_snippet_7e69871d2f0243bddcb8cffc809fd6fb5fb78697::h9b396f55f9d8c105) in archive /opt/rustwide/target/debug/deps/libstdweb-49adc1c8271c5480.rlib
[INFO] [stdout]           >>> referenced 30 more times
[INFO] [stdout]           
[INFO] [stdout]           rust-lld: error: undefined symbol: emscripten_pause_main_loop
[INFO] [stdout]           >>> referenced by emscripten.rs:11 (src/webcore/ffi/emscripten.rs:11)
[INFO] [stdout]           >>>               stdweb-49adc1c8271c5480.stdweb.9b0871b86b4846c7-cgu.06.rcgu.o:(stdweb::webcore::ffi::emscripten::event_loop::h956d599de2f38046) in archive /opt/rustwide/target/debug/deps/libstdweb-49adc1c8271c5480.rlib
[INFO] [stdout]           
[INFO] [stdout]           rust-lld: error: undefined symbol: emscripten_set_main_loop
[INFO] [stdout]           >>> referenced by emscripten.rs:11 (src/webcore/ffi/emscripten.rs:11)
[INFO] [stdout]           >>>               stdweb-49adc1c8271c5480.stdweb.9b0871b86b4846c7-cgu.06.rcgu.o:(stdweb::webcore::ffi::emscripten::event_loop::h956d599de2f38046) in archive /opt/rustwide/target/debug/deps/libstdweb-49adc1c8271c5480.rlib
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `snake_game` (bin "snake_game") due to 1 previous error; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "88ad326ea1e3c06f57a320146acd778b9a8b6f9e6405b68dc583ad30a05a5d43", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "88ad326ea1e3c06f57a320146acd778b9a8b6f9e6405b68dc583ad30a05a5d43", kill_on_drop: false }`
[INFO] [stdout] 88ad326ea1e3c06f57a320146acd778b9a8b6f9e6405b68dc583ad30a05a5d43
