[INFO] cloning repository https://github.com/yilmazbingo/rust-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/yilmazbingo/rust-snake-game" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyilmazbingo%2Frust-snake-game", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyilmazbingo%2Frust-snake-game'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ad2e911cc6ed5522ff63daad61d40cfe9a853ee2 [INFO] checking yilmazbingo/rust-snake-game against master#e4106065bf1bb515935d5d024e8d9c86454e2b22 for pr-112160 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyilmazbingo%2Frust-snake-game" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yilmazbingo/rust-snake-game on toolchain e4106065bf1bb515935d5d024e8d9c86454e2b22 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e4106065bf1bb515935d5d024e8d9c86454e2b22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/yilmazbingo/rust-snake-game [INFO] finished tweaking git repo https://github.com/yilmazbingo/rust-snake-game [INFO] tweaked toml for git repo https://github.com/yilmazbingo/rust-snake-game written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/yilmazbingo/rust-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" "+e4106065bf1bb515935d5d024e8d9c86454e2b22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+e4106065bf1bb515935d5d024e8d9c86454e2b22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0ed1abfb4d14d312b153c7f247454c4637ab0804b0dca6fec5833122b94e8cb0 [INFO] running `Command { std: "docker" "start" "-a" "0ed1abfb4d14d312b153c7f247454c4637ab0804b0dca6fec5833122b94e8cb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0ed1abfb4d14d312b153c7f247454c4637ab0804b0dca6fec5833122b94e8cb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ed1abfb4d14d312b153c7f247454c4637ab0804b0dca6fec5833122b94e8cb0", kill_on_drop: false }` [INFO] [stdout] 0ed1abfb4d14d312b153c7f247454c4637ab0804b0dca6fec5833122b94e8cb0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+e4106065bf1bb515935d5d024e8d9c86454e2b22" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 23f8dafa0a877ba1de80bbb5045fb2a474ccad9bd8ef9d06669b4799cc474984 [INFO] running `Command { std: "docker" "start" "-a" "23f8dafa0a877ba1de80bbb5045fb2a474ccad9bd8ef9d06669b4799cc474984", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.79 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling bumpalo v3.9.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling libc v0.2.113 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Compiling wasm-bindgen v0.2.79 [INFO] [stderr] Checking memory_units v0.4.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.79 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.79 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.79 [INFO] [stderr] Checking snake_game v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:199:19 [INFO] [stdout] | [INFO] [stdout] 199 | if(self.snake_length() src/lib.rs:199:19 [INFO] [stdout] | [INFO] [stdout] 199 | if(self.snake_length() src/lib.rs:164:13 [INFO] [stdout] | [INFO] [stdout] 164 | let message_2=&message; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message_2` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message_2` [INFO] [stdout] --> src/lib.rs:164:13 [INFO] [stdout] | [INFO] [stdout] 164 | let message_2=&message; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message_2` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `main` is never used [INFO] [stdout] --> src/lib.rs:162:8 [INFO] [stdout] | [INFO] [stdout] 70 | impl World{ [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 162 | fn main(){ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `main` is never used [INFO] [stdout] --> src/lib.rs:162:8 [INFO] [stdout] | [INFO] [stdout] 70 | impl World{ [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 162 | fn main(){ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.84s [INFO] running `Command { std: "docker" "inspect" "23f8dafa0a877ba1de80bbb5045fb2a474ccad9bd8ef9d06669b4799cc474984", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23f8dafa0a877ba1de80bbb5045fb2a474ccad9bd8ef9d06669b4799cc474984", kill_on_drop: false }` [INFO] [stdout] 23f8dafa0a877ba1de80bbb5045fb2a474ccad9bd8ef9d06669b4799cc474984