[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#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhamdav%2Fluffarshack" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hamdav/luffarshack on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "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-6-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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 834d53c5e22b4679b9f6539c9192877a117f658471cdaf3f252c2474fa30cc95 [INFO] running `Command { std: "docker" "start" "-a" "834d53c5e22b4679b9f6539c9192877a117f658471cdaf3f252c2474fa30cc95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "834d53c5e22b4679b9f6539c9192877a117f658471cdaf3f252c2474fa30cc95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "834d53c5e22b4679b9f6539c9192877a117f658471cdaf3f252c2474fa30cc95", kill_on_drop: false }` [INFO] [stdout] 834d53c5e22b4679b9f6539c9192877a117f658471cdaf3f252c2474fa30cc95 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9399455fd4dbedfa935e7a249b959611701517eb00bee1fb20d10805ab4532c3 [INFO] running `Command { std: "docker" "start" "-a" "9399455fd4dbedfa935e7a249b959611701517eb00bee1fb20d10805ab4532c3", kill_on_drop: false }` [INFO] [stderr] Checking regex-syntax v0.7.1 [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: 9 warnings emitted [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: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.53s [INFO] running `Command { std: "docker" "inspect" "9399455fd4dbedfa935e7a249b959611701517eb00bee1fb20d10805ab4532c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9399455fd4dbedfa935e7a249b959611701517eb00bee1fb20d10805ab4532c3", kill_on_drop: false }` [INFO] [stdout] 9399455fd4dbedfa935e7a249b959611701517eb00bee1fb20d10805ab4532c3 [INFO] checking hamdav/luffarshack against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhamdav%2Fluffarshack" "/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/hamdav/luffarshack on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "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-6-tc2/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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 177e6ffbd00b2f384fffbd01426c7065246588420257e1b8c3cc9ac9214f854d [INFO] running `Command { std: "docker" "start" "-a" "177e6ffbd00b2f384fffbd01426c7065246588420257e1b8c3cc9ac9214f854d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "177e6ffbd00b2f384fffbd01426c7065246588420257e1b8c3cc9ac9214f854d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "177e6ffbd00b2f384fffbd01426c7065246588420257e1b8c3cc9ac9214f854d", kill_on_drop: false }` [INFO] [stdout] 177e6ffbd00b2f384fffbd01426c7065246588420257e1b8c3cc9ac9214f854d [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 964ac4d2d86c85a6d181a6fba63f96b058dbb58ee33f0c8497ebd351ee37f1ae [INFO] running `Command { std: "docker" "start" "-a" "964ac4d2d86c85a6d181a6fba63f96b058dbb58ee33f0c8497ebd351ee37f1ae", kill_on_drop: false }` [INFO] [stderr] Checking aho-corasick v1.0.1 [INFO] [stderr] Checking regex-syntax v0.7.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: 9 warnings emitted [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: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.07s [INFO] running `Command { std: "docker" "inspect" "964ac4d2d86c85a6d181a6fba63f96b058dbb58ee33f0c8497ebd351ee37f1ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "964ac4d2d86c85a6d181a6fba63f96b058dbb58ee33f0c8497ebd351ee37f1ae", kill_on_drop: false }` [INFO] [stdout] 964ac4d2d86c85a6d181a6fba63f96b058dbb58ee33f0c8497ebd351ee37f1ae