[INFO] cloning repository https://github.com/tam1192/rust_memo1 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tam1192/rust_memo1" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftam1192%2Frust_memo1", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftam1192%2Frust_memo1'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 055967f0e73739e25aa6a9cee3c1a3c1e167be2f [INFO] checking tam1192/rust_memo1 against master#ecb170afc878648c3ae355dbd596c8e4b6f7ebdc for pr-139022 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftam1192%2Frust_memo1" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tam1192/rust_memo1 on toolchain ecb170afc878648c3ae355dbd596c8e4b6f7ebdc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ecb170afc878648c3ae355dbd596c8e4b6f7ebdc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tam1192/rust_memo1 [INFO] finished tweaking git repo https://github.com/tam1192/rust_memo1 [INFO] tweaked toml for git repo https://github.com/tam1192/rust_memo1 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/tam1192/rust_memo1 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" "+ecb170afc878648c3ae355dbd596c8e4b6f7ebdc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+ecb170afc878648c3ae355dbd596c8e4b6f7ebdc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 10efc34ee75db062c3ada93fd8d4f7a35fa124a1589c152bf2c6849b19c23bc3 [INFO] running `Command { std: "docker" "start" "-a" "10efc34ee75db062c3ada93fd8d4f7a35fa124a1589c152bf2c6849b19c23bc3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "10efc34ee75db062c3ada93fd8d4f7a35fa124a1589c152bf2c6849b19c23bc3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10efc34ee75db062c3ada93fd8d4f7a35fa124a1589c152bf2c6849b19c23bc3", kill_on_drop: false }` [INFO] [stdout] 10efc34ee75db062c3ada93fd8d4f7a35fa124a1589c152bf2c6849b19c23bc3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+ecb170afc878648c3ae355dbd596c8e4b6f7ebdc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 80b9cd6dc0d59e31aecf5864e385a467dc265035ef8eae1fda56c3e6baafff22 [INFO] running `Command { std: "docker" "start" "-a" "80b9cd6dc0d59e31aecf5864e385a467dc265035ef8eae1fda56c3e6baafff22", kill_on_drop: false }` [INFO] [stderr] Checking rust_fun4 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `DerefMut`, `Deref`, and `fmt` [INFO] [stdout] --> src/block.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | fmt, [INFO] [stdout] | ^^^ [INFO] [stdout] 3 | ops::{Deref, DerefMut}, [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc`, `Mutex`, `marker`, `thread`, and `time::Duration` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | marker, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 5 | sync::{Arc, Mutex}, [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] 6 | thread, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 7 | time::Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DerefMut`, `Deref`, and `fmt` [INFO] [stdout] --> src/block.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | fmt, [INFO] [stdout] | ^^^ [INFO] [stdout] 3 | ops::{Deref, DerefMut}, [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc`, `Mutex`, `marker`, `thread`, and `time::Duration` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | marker, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 5 | sync::{Arc, Mutex}, [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] 6 | thread, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 7 | time::Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Green`, `Yellow`, and `Purple` are never constructed [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 14 | enum SimpleColor { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 15 | Red, [INFO] [stdout] 16 | Green, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 17 | Blue, [INFO] [stdout] 18 | Yellow, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | Purple, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SimpleColor` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/main.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 27 | impl Color { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 28 | fn new(red: u8, green: u8, blue: u8) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_row`, `get_col`, `col_flip`, and `row_flip` are never used [INFO] [stdout] --> src/block.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl Block { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 31 | /// Returns the get row of this [`Screen`]. [INFO] [stdout] 32 | pub fn get_row(&self) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn get_col(&self) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn col_flip(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn row_flip(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_dot` and `write_line` are never used [INFO] [stdout] --> src/block/change.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 3 | / impl Block [INFO] [stdout] 4 | | where [INFO] [stdout] 5 | | T: Clone, [INFO] [stdout] | |_____________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 8 | pub fn set_dot(&mut self, row: usize, col: usize, c: &T) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn write_line( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Green`, `Yellow`, and `Purple` are never constructed [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 14 | enum SimpleColor { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 15 | Red, [INFO] [stdout] 16 | Green, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 17 | Blue, [INFO] [stdout] 18 | Yellow, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | Purple, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SimpleColor` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/main.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 27 | impl Color { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 28 | fn new(red: u8, green: u8, blue: u8) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_row`, `get_col`, `col_flip`, and `row_flip` are never used [INFO] [stdout] --> src/block.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl Block { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 31 | /// Returns the get row of this [`Screen`]. [INFO] [stdout] 32 | pub fn get_row(&self) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn get_col(&self) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn col_flip(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn row_flip(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_dot` and `write_line` are never used [INFO] [stdout] --> src/block/change.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 3 | / impl Block [INFO] [stdout] 4 | | where [INFO] [stdout] 5 | | T: Clone, [INFO] [stdout] | |_____________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 8 | pub fn set_dot(&mut self, row: usize, col: usize, c: &T) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn write_line( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.24s [INFO] running `Command { std: "docker" "inspect" "80b9cd6dc0d59e31aecf5864e385a467dc265035ef8eae1fda56c3e6baafff22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80b9cd6dc0d59e31aecf5864e385a467dc265035ef8eae1fda56c3e6baafff22", kill_on_drop: false }` [INFO] [stdout] 80b9cd6dc0d59e31aecf5864e385a467dc265035ef8eae1fda56c3e6baafff22