[INFO] cloning repository https://github.com/hamdav/luffarshack [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hamdav/luffarshack" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhamdav%2Fluffarshack", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhamdav%2Fluffarshack'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8800bfd93e8d611387adf31d2c5068804c5048bf [INFO] checking hamdav/luffarshack against master#b2728d5426bab1d8c39709768c7e22b7f66dde5d for pr-135852 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhamdav%2Fluffarshack" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hamdav/luffarshack on toolchain b2728d5426bab1d8c39709768c7e22b7f66dde5d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b2728d5426bab1d8c39709768c7e22b7f66dde5d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hamdav/luffarshack [INFO] finished tweaking git repo https://github.com/hamdav/luffarshack [INFO] tweaked toml for git repo https://github.com/hamdav/luffarshack written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/hamdav/luffarshack 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" "+b2728d5426bab1d8c39709768c7e22b7f66dde5d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+b2728d5426bab1d8c39709768c7e22b7f66dde5d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bc4feccf4ec05ce48b0915c8044f4fa0b776fc3d01d8f64782197c201ce579b5 [INFO] running `Command { std: "docker" "start" "-a" "bc4feccf4ec05ce48b0915c8044f4fa0b776fc3d01d8f64782197c201ce579b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bc4feccf4ec05ce48b0915c8044f4fa0b776fc3d01d8f64782197c201ce579b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc4feccf4ec05ce48b0915c8044f4fa0b776fc3d01d8f64782197c201ce579b5", kill_on_drop: false }` [INFO] [stdout] bc4feccf4ec05ce48b0915c8044f4fa0b776fc3d01d8f64782197c201ce579b5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+b2728d5426bab1d8c39709768c7e22b7f66dde5d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fd96c6b4fe6d42a3293e25471a07b0cd3d136e963397ac862f2839f0b9891911 [INFO] running `Command { std: "docker" "start" "-a" "fd96c6b4fe6d42a3293e25471a07b0cd3d136e963397ac862f2839f0b9891911", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking regex-syntax v0.7.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking aho-corasick v1.0.1 [INFO] [stderr] Checking regex v1.8.1 [INFO] [stderr] Checking luffarschack v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/hobo.rs:35:29 [INFO] [stdout] | [INFO] [stdout] 35 | fn move_is_legal(&self, c: Coord) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/hobo.rs:42:33 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn make_move(&mut self, c: Coord) -> Result<(),()> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/hobo.rs:51:30 [INFO] [stdout] | [INFO] [stdout] 51 | fn move_wins_game(&self, c: Coord) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Player` is never constructed [INFO] [stdout] --> src/main.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | struct Player{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `game` is never used [INFO] [stdout] --> src/main.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn game(p1: &mut Player, p2: &mut Player) -> io::Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_string` is never used [INFO] [stdout] --> src/hobo.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Coord { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 9 | pub fn from_string(s: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `X` and `O` are never constructed [INFO] [stdout] --> src/hobo.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub enum Mark{ [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 24 | X, [INFO] [stdout] | ^ [INFO] [stdout] 25 | O, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Mark` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HoboGame` is never constructed [INFO] [stdout] --> src/hobo.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct HoboGame { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `move_is_legal`, `make_move`, `move_wins_game`, `new`, and `to_string` are never used [INFO] [stdout] --> src/hobo.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 34 | impl HoboGame { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 35 | fn move_is_legal(&self, c: Coord) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn make_move(&mut self, c: Coord) -> Result<(),()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | fn move_wins_game(&self, c: Coord) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/hobo.rs:35:29 [INFO] [stdout] | [INFO] [stdout] 35 | fn move_is_legal(&self, c: Coord) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/hobo.rs:42:33 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn make_move(&mut self, c: Coord) -> Result<(),()> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/hobo.rs:51:30 [INFO] [stdout] | [INFO] [stdout] 51 | fn move_wins_game(&self, c: Coord) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Player` is never constructed [INFO] [stdout] --> src/main.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | struct Player{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `game` is never used [INFO] [stdout] --> src/main.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn game(p1: &mut Player, p2: &mut Player) -> io::Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_string` is never used [INFO] [stdout] --> src/hobo.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Coord { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 9 | pub fn from_string(s: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `X` and `O` are never constructed [INFO] [stdout] --> src/hobo.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub enum Mark{ [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 24 | X, [INFO] [stdout] | ^ [INFO] [stdout] 25 | O, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Mark` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HoboGame` is never constructed [INFO] [stdout] --> src/hobo.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct HoboGame { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `move_is_legal`, `make_move`, `move_wins_game`, `new`, and `to_string` are never used [INFO] [stdout] --> src/hobo.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 34 | impl HoboGame { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 35 | fn move_is_legal(&self, c: Coord) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn make_move(&mut self, c: Coord) -> Result<(),()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | fn move_wins_game(&self, c: Coord) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.68s [INFO] running `Command { std: "docker" "inspect" "fd96c6b4fe6d42a3293e25471a07b0cd3d136e963397ac862f2839f0b9891911", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd96c6b4fe6d42a3293e25471a07b0cd3d136e963397ac862f2839f0b9891911", kill_on_drop: false }` [INFO] [stdout] fd96c6b4fe6d42a3293e25471a07b0cd3d136e963397ac862f2839f0b9891911