[INFO] cloning repository https://github.com/kshitijk83/snake-game [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kshitijk83/snake-game" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkshitijk83%2Fsnake-game", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkshitijk83%2Fsnake-game'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c058fb714aa3de987d5ba17381324b3e6ebeda8d [INFO] checking kshitijk83/snake-game against try#2277c63fa464d237b17b68d3b87f9fbb89e58a3e for pr-133570-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkshitijk83%2Fsnake-game" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kshitijk83/snake-game on toolchain 2277c63fa464d237b17b68d3b87f9fbb89e58a3e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2277c63fa464d237b17b68d3b87f9fbb89e58a3e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kshitijk83/snake-game [INFO] finished tweaking git repo https://github.com/kshitijk83/snake-game [INFO] tweaked toml for git repo https://github.com/kshitijk83/snake-game written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/kshitijk83/snake-game 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" "+2277c63fa464d237b17b68d3b87f9fbb89e58a3e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: Found `debug_assertions` in `target.'cfg(...)'.dependencies`. This value is not supported for selecting dependencies and will not work as expected. To learn more visit https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#platform-specific-dependencies [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+2277c63fa464d237b17b68d3b87f9fbb89e58a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 91ff7c1a030f31c3aa6c6979095928a70b6027d65163821b705054e8ba27fba6 [INFO] running `Command { std: "docker" "start" "-a" "91ff7c1a030f31c3aa6c6979095928a70b6027d65163821b705054e8ba27fba6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "91ff7c1a030f31c3aa6c6979095928a70b6027d65163821b705054e8ba27fba6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91ff7c1a030f31c3aa6c6979095928a70b6027d65163821b705054e8ba27fba6", kill_on_drop: false }` [INFO] [stdout] 91ff7c1a030f31c3aa6c6979095928a70b6027d65163821b705054e8ba27fba6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+2277c63fa464d237b17b68d3b87f9fbb89e58a3e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c328c17e7b8af3a01c6f983e647266983a5dd1f567441d551af303b157f72112 [INFO] running `Command { std: "docker" "start" "-a" "c328c17e7b8af3a01c6f983e647266983a5dd1f567441d551af303b157f72112", kill_on_drop: false }` [INFO] [stderr] warning: Found `debug_assertions` in `target.'cfg(...)'.dependencies`. This value is not supported for selecting dependencies and will not work as expected. To learn more visit https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#platform-specific-dependencies [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.91 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling bumpalo v3.15.3 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.91 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling anyhow v1.0.80 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking futures v0.1.31 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.2.50 [INFO] [stderr] Compiling syn v2.0.50 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.91 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.91 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.91 [INFO] [stderr] Checking js-sys v0.3.68 [INFO] [stderr] Checking console_error_panic_hook v0.1.7 [INFO] [stderr] Checking wasm-bindgen-futures v0.3.27 [INFO] [stderr] Checking web-sys v0.3.68 [INFO] [stderr] Checking wasm-bindgen-test v0.2.50 [INFO] [stderr] Checking rust-webpack-template v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Result` and `anyhow` [INFO] [stdout] --> src/canvas.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{anyhow, Result}; [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UnwrapThrowExt` [INFO] [stdout] --> src/canvas.rs:2:37 [INFO] [stdout] | [INFO] [stdout] 2 | use wasm_bindgen::{JsCast, JsValue, UnwrapThrowExt}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Document`, `Element`, `Window`, and `console` [INFO] [stdout] --> src/canvas.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use web_sys::{console, CanvasRenderingContext2d, Document, Element, HtmlCanvasElement, Window}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ ^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Result` and `anyhow` [INFO] [stdout] --> src/canvas.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{anyhow, Result}; [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UnwrapThrowExt` [INFO] [stdout] --> src/canvas.rs:2:37 [INFO] [stdout] | [INFO] [stdout] 2 | use wasm_bindgen::{JsCast, JsValue, UnwrapThrowExt}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Document`, `Element`, `Window`, and `console` [INFO] [stdout] --> src/canvas.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use web_sys::{console, CanvasRenderingContext2d, Document, Element, HtmlCanvasElement, Window}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ ^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `canvas` is never read [INFO] [stdout] --> src/canvas.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Canvas{ [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 47 | pub canvas: HtmlCanvasElement, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `canvas` is never read [INFO] [stdout] --> src/canvas.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Canvas{ [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 47 | pub canvas: HtmlCanvasElement, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.96s [INFO] running `Command { std: "docker" "inspect" "c328c17e7b8af3a01c6f983e647266983a5dd1f567441d551af303b157f72112", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c328c17e7b8af3a01c6f983e647266983a5dd1f567441d551af303b157f72112", kill_on_drop: false }` [INFO] [stdout] c328c17e7b8af3a01c6f983e647266983a5dd1f567441d551af303b157f72112