[INFO] cloning repository https://github.com/just-a-mango/trm-engine [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/just-a-mango/trm-engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjust-a-mango%2Ftrm-engine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjust-a-mango%2Ftrm-engine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 10f32acad6eae2de96aa4e99303ac05cd128aa6c [INFO] checking just-a-mango/trm-engine against try#e622d8d7bed4f2668d446e06c6c1436ecae15796 for pr-156776 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjust-a-mango%2Ftrm-engine" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/just-a-mango/trm-engine [INFO] finished tweaking git repo https://github.com/just-a-mango/trm-engine [INFO] tweaked toml for git repo https://github.com/just-a-mango/trm-engine written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/just-a-mango/trm-engine on toolchain e622d8d7bed4f2668d446e06c6c1436ecae15796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e622d8d7bed4f2668d446e06c6c1436ecae15796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/just-a-mango/trm-engine 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" "+e622d8d7bed4f2668d446e06c6c1436ecae15796" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded fastrand v2.0.2 [INFO] [stderr] Downloaded crossterm v0.27.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+e622d8d7bed4f2668d446e06c6c1436ecae15796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 690494cb1bc33cc9b6b149d2b402811413d37e1e3dedcc9ff1f65673cd28a275 [INFO] running `Command { std: "docker" "start" "-a" "690494cb1bc33cc9b6b149d2b402811413d37e1e3dedcc9ff1f65673cd28a275", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "690494cb1bc33cc9b6b149d2b402811413d37e1e3dedcc9ff1f65673cd28a275", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "690494cb1bc33cc9b6b149d2b402811413d37e1e3dedcc9ff1f65673cd28a275", kill_on_drop: false }` [INFO] [stdout] 690494cb1bc33cc9b6b149d2b402811413d37e1e3dedcc9ff1f65673cd28a275 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+e622d8d7bed4f2668d446e06c6c1436ecae15796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c2e93ed12932ac18c525c783a702befe8aa3e8db80228f97276dee45196ceece [INFO] running `Command { std: "docker" "start" "-a" "c2e93ed12932ac18c525c783a702befe8aa3e8db80228f97276dee45196ceece", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.140 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling parking_lot_core v0.9.7 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Checking smallvec v1.10.0 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking fastrand v2.0.2 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking mio v0.8.6 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking signal-hook-mio v0.2.3 [INFO] [stderr] Checking crossterm v0.27.0 [INFO] [stderr] Checking trm-engine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `circle` and `triangle` [INFO] [stdout] --> src/main.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::shapes::{circle, triangle}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::util::random_color` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::util::random_color; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `circle` and `triangle` [INFO] [stdout] --> src/main.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::shapes::{circle, triangle}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::util::random_color` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::util::random_color; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `KeyboardEvent` is never used [INFO] [stdout] --> src/input.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum KeyboardEvent { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_char` is never used [INFO] [stdout] --> src/input.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn read_char() -> KeyCode { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/object.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Object { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn erase_pixels(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn add_pixels(&mut self, pixels: Vec) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn offset(&mut self, x: i32, y: i32) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn delete(self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn optimize(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | pub fn change_color(&mut self, color: Color) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn merge(&mut self, mut obj: Object) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_text_to_terminal` is never used [INFO] [stdout] --> src/rendering.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn draw_text_to_terminal(x: u16, y: u16, color:Color, text: &str, attribute: Option>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_vector_to_terminal` is never used [INFO] [stdout] --> src/rendering.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn draw_vector_to_terminal(pixels: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `erase_pixel_area` is never used [INFO] [stdout] --> src/rendering.rs:112:8 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn erase_pixel_area(x1: u16, y1: u16, x2: u16, y2: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `square` is never used [INFO] [stdout] --> src/shapes.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn square(x: i32, y: i32, side_length: i32, color: Color) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rectangle` is never used [INFO] [stdout] --> src/shapes.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn rectangle(x: i32, y: i32, width: i32, height: i32, color: Color) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_line` is never used [INFO] [stdout] --> src/shapes.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn draw_line(mut x1: i32, mut y1: i32, x2: i32, y2: i32, color: Color) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `triangle` is never used [INFO] [stdout] --> src/shapes.rs:109:8 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn triangle(x1: i32, y1: i32, x2: i32, y2: i32, x3: i32, y3: i32, color: Color) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `circle` is never used [INFO] [stdout] --> src/shapes.rs:117:8 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn circle(x: i32, y: i32) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_big_text` is never used [INFO] [stdout] --> src/text.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn draw_big_text(x: u16, y: u16, text: &str, color: Color) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `erase_terminal` is never used [INFO] [stdout] --> src/util.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn erase_terminal() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_color` is never used [INFO] [stdout] --> src/util.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn random_color() -> Color { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_rgb_color` is never used [INFO] [stdout] --> src/util.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn random_rgb_color() -> Color { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `KeyboardEvent` is never used [INFO] [stdout] --> src/input.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum KeyboardEvent { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_char` is never used [INFO] [stdout] --> src/input.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn read_char() -> KeyCode { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/object.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Object { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn erase_pixels(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn add_pixels(&mut self, pixels: Vec) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn offset(&mut self, x: i32, y: i32) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn delete(self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn optimize(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | pub fn change_color(&mut self, color: Color) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn merge(&mut self, mut obj: Object) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_text_to_terminal` is never used [INFO] [stdout] --> src/rendering.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn draw_text_to_terminal(x: u16, y: u16, color:Color, text: &str, attribute: Option>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_vector_to_terminal` is never used [INFO] [stdout] --> src/rendering.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn draw_vector_to_terminal(pixels: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `erase_pixel_area` is never used [INFO] [stdout] --> src/rendering.rs:112:8 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn erase_pixel_area(x1: u16, y1: u16, x2: u16, y2: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `square` is never used [INFO] [stdout] --> src/shapes.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn square(x: i32, y: i32, side_length: i32, color: Color) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rectangle` is never used [INFO] [stdout] --> src/shapes.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn rectangle(x: i32, y: i32, width: i32, height: i32, color: Color) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_line` is never used [INFO] [stdout] --> src/shapes.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn draw_line(mut x1: i32, mut y1: i32, x2: i32, y2: i32, color: Color) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `triangle` is never used [INFO] [stdout] --> src/shapes.rs:109:8 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn triangle(x1: i32, y1: i32, x2: i32, y2: i32, x3: i32, y3: i32, color: Color) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `circle` is never used [INFO] [stdout] --> src/shapes.rs:117:8 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn circle(x: i32, y: i32) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_big_text` is never used [INFO] [stdout] --> src/text.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn draw_big_text(x: u16, y: u16, text: &str, color: Color) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `erase_terminal` is never used [INFO] [stdout] --> src/util.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn erase_terminal() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_color` is never used [INFO] [stdout] --> src/util.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn random_color() -> Color { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_rgb_color` is never used [INFO] [stdout] --> src/util.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn random_rgb_color() -> Color { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.50s [INFO] running `Command { std: "docker" "inspect" "c2e93ed12932ac18c525c783a702befe8aa3e8db80228f97276dee45196ceece", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2e93ed12932ac18c525c783a702befe8aa3e8db80228f97276dee45196ceece", kill_on_drop: false }` [INFO] [stdout] c2e93ed12932ac18c525c783a702befe8aa3e8db80228f97276dee45196ceece