[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] building hamdav/luffarshack against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [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 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 41c3bcaa26ddfd3fd4653fa2b5fe81188e69d73fbb374f309910b0062bf773c0 [INFO] running `Command { std: "docker" "start" "-a" "41c3bcaa26ddfd3fd4653fa2b5fe81188e69d73fbb374f309910b0062bf773c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "41c3bcaa26ddfd3fd4653fa2b5fe81188e69d73fbb374f309910b0062bf773c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41c3bcaa26ddfd3fd4653fa2b5fe81188e69d73fbb374f309910b0062bf773c0", kill_on_drop: false }` [INFO] [stdout] 41c3bcaa26ddfd3fd4653fa2b5fe81188e69d73fbb374f309910b0062bf773c0 [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 -Dtail-expr-drop-order" "-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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 94f163f5f835fccad219f367e9ebb3e15837965f1e152f69231d2d99446cab49 [INFO] running `Command { std: "docker" "start" "-a" "94f163f5f835fccad219f367e9ebb3e15837965f1e152f69231d2d99446cab49", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling regex-syntax v0.7.1 [INFO] [stderr] Compiling aho-corasick v1.0.1 [INFO] [stderr] Compiling regex v1.8.1 [INFO] [stderr] Compiling 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.22s [INFO] running `Command { std: "docker" "inspect" "94f163f5f835fccad219f367e9ebb3e15837965f1e152f69231d2d99446cab49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94f163f5f835fccad219f367e9ebb3e15837965f1e152f69231d2d99446cab49", kill_on_drop: false }` [INFO] [stdout] 94f163f5f835fccad219f367e9ebb3e15837965f1e152f69231d2d99446cab49 [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 -Dtail-expr-drop-order" "-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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bb239ea1952779664d4fec68f1ba9f027cbf088d7d118fca4ffc335cf34d0fc2 [INFO] running `Command { std: "docker" "start" "-a" "bb239ea1952779664d4fec68f1ba9f027cbf088d7d118fca4ffc335cf34d0fc2", kill_on_drop: false }` [INFO] [stderr] Compiling 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.47s [INFO] running `Command { std: "docker" "inspect" "bb239ea1952779664d4fec68f1ba9f027cbf088d7d118fca4ffc335cf34d0fc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb239ea1952779664d4fec68f1ba9f027cbf088d7d118fca4ffc335cf34d0fc2", kill_on_drop: false }` [INFO] [stdout] bb239ea1952779664d4fec68f1ba9f027cbf088d7d118fca4ffc335cf34d0fc2