[INFO] cloning repository https://github.com/Warhorst/board [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Warhorst/board" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWarhorst%2Fboard", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWarhorst%2Fboard'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bc184d3a8ccae4a67dceb435f3610e2ac8259cf6 [INFO] checking Warhorst/board against master#db1fb85cff63ad5fffe435e17128f99f9e1d970c for pr-89056 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWarhorst%2Fboard" "/workspace/builds/worker-112/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-112/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Warhorst/board on toolchain db1fb85cff63ad5fffe435e17128f99f9e1d970c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Warhorst/board [INFO] finished tweaking git repo https://github.com/Warhorst/board [INFO] tweaked toml for git repo https://github.com/Warhorst/board written to /workspace/builds/worker-112/source/Cargo.toml [INFO] crate git repo https://github.com/Warhorst/board already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "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-112/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-112/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f3fe37b073f005156030aa1c2cb34442368d502596b3737611d2a351ffb22a28 [INFO] running `Command { std: "docker" "start" "-a" "f3fe37b073f005156030aa1c2cb34442368d502596b3737611d2a351ffb22a28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f3fe37b073f005156030aa1c2cb34442368d502596b3737611d2a351ffb22a28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3fe37b073f005156030aa1c2cb34442368d502596b3737611d2a351ffb22a28", kill_on_drop: false }` [INFO] [stdout] f3fe37b073f005156030aa1c2cb34442368d502596b3737611d2a351ffb22a28 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-112/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-112/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" "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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 239c740dbf8e82530fabb9f066b5e6cd1c41ca4832cb2f7b7b0bd3841c8301a9 [INFO] running `Command { std: "docker" "start" "-a" "239c740dbf8e82530fabb9f066b5e6cd1c41ca4832cb2f7b7b0bd3841c8301a9", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking board v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/dimension.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(width: usize, height: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_origin` [INFO] [stdout] --> src/dimension.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn from_origin(origin: Position, width: usize, height: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `width` [INFO] [stdout] --> src/dimension.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn width(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `height` [INFO] [stdout] --> src/dimension.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn height(&self) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `field_amount` [INFO] [stdout] --> src/dimension.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn field_amount(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `contains_position` [INFO] [stdout] --> src/dimension.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn contains_position(&self, position: Position) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `resize` [INFO] [stdout] --> src/dimension.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn resize(&mut self, position: Position) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `iter` [INFO] [stdout] --> src/dimension.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn iter(&self) -> DimensionIterator { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/dimension.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn new(dimension: &Dimension) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Board` [INFO] [stdout] --> src/lib.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct Board { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/lib.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(dimension: Dimension) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_resizeable` [INFO] [stdout] --> src/lib.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn new_resizeable(dimension: Dimension) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `clear` [INFO] [stdout] --> src/lib.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_field` [INFO] [stdout] --> src/lib.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn get_field(&self, position: Position) -> Option<&T> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_field` [INFO] [stdout] --> src/lib.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn set_field(&mut self, position: Position, value: T) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `clear_field` [INFO] [stdout] --> src/lib.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn clear_field(&mut self, position: Position) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `iter` [INFO] [stdout] --> src/lib.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn iter(&self) -> BoardIter<'_, T> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print` [INFO] [stdout] --> src/lib.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn print(&self, empty: &str) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `calculate_cell_size` [INFO] [stdout] --> src/lib.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | fn calculate_cell_size(empty: &str, dimension: &Dimension, field_strings: &[String]) -> (usize, usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print_width_indexes` [INFO] [stdout] --> src/lib.rs:101:8 [INFO] [stdout] | [INFO] [stdout] 101 | fn print_width_indexes(width: usize, cell_width: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print_row` [INFO] [stdout] --> src/lib.rs:114:8 [INFO] [stdout] | [INFO] [stdout] 114 | fn print_row(index_string: &str, cell_size: (usize, usize), strings: &[String]) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `whitespace` [INFO] [stdout] --> src/lib.rs:150:8 [INFO] [stdout] | [INFO] [stdout] 150 | fn whitespace(length: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 28s [INFO] running `Command { std: "docker" "inspect" "239c740dbf8e82530fabb9f066b5e6cd1c41ca4832cb2f7b7b0bd3841c8301a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "239c740dbf8e82530fabb9f066b5e6cd1c41ca4832cb2f7b7b0bd3841c8301a9", kill_on_drop: false }` [INFO] [stdout] 239c740dbf8e82530fabb9f066b5e6cd1c41ca4832cb2f7b7b0bd3841c8301a9