[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] 0b02066d422fed68d923f643df2153a9cd7c044d [INFO] checking just-a-mango/trm-engine against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjust-a-mango%2Ftrm-engine" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-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-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/just-a-mango/trm-engine on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7303737b9a56799982da47c833122a75637144892b44242d8aa979b4f71ffd74 [INFO] running `Command { std: "docker" "start" "-a" "7303737b9a56799982da47c833122a75637144892b44242d8aa979b4f71ffd74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7303737b9a56799982da47c833122a75637144892b44242d8aa979b4f71ffd74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7303737b9a56799982da47c833122a75637144892b44242d8aa979b4f71ffd74", kill_on_drop: false }` [INFO] [stdout] 7303737b9a56799982da47c833122a75637144892b44242d8aa979b4f71ffd74 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bb6c169e6bd35f6f4c036280e72575a706ee6e8d1d5c6dbb38f3fd24b4e4d2d5 [INFO] running `Command { std: "docker" "start" "-a" "bb6c169e6bd35f6f4c036280e72575a706ee6e8d1d5c6dbb38f3fd24b4e4d2d5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.140 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Checking smallvec v1.10.0 [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_core v0.9.7 [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: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | if (obj.pixels[0].y < 10) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 84 - if (obj.pixels[0].y < 10) { [INFO] [stdout] 84 + if obj.pixels[0].y < 10 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 90 | if (terrain.pixels[0].y > 29) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 90 - if (terrain.pixels[0].y > 29) { [INFO] [stdout] 90 + if terrain.pixels[0].y > 29 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | if (line.pixels[0].y > 45) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 97 - if (line.pixels[0].y > 45) { [INFO] [stdout] 97 + if line.pixels[0].y > 45 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | if (obj.pixels[0].y < 10) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 84 - if (obj.pixels[0].y < 10) { [INFO] [stdout] 84 + if obj.pixels[0].y < 10 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 90 | if (terrain.pixels[0].y > 29) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 90 - if (terrain.pixels[0].y > 29) { [INFO] [stdout] 90 + if terrain.pixels[0].y > 29 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | if (line.pixels[0].y > 45) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 97 - if (line.pixels[0].y > 45) { [INFO] [stdout] 97 + if line.pixels[0].y > 45 { [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] = note: `#[warn(dead_code)]` on by default [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 `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_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: 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: methods `erase_pixels`, `add_pixels`, `offset`, `delete`, and `optimize` 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] [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: 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] [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: 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] = note: `#[warn(dead_code)]` on by default [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 `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_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: 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: methods `erase_pixels`, `add_pixels`, `offset`, `delete`, and `optimize` 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] [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: 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] [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.75s [INFO] running `Command { std: "docker" "inspect" "bb6c169e6bd35f6f4c036280e72575a706ee6e8d1d5c6dbb38f3fd24b4e4d2d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb6c169e6bd35f6f4c036280e72575a706ee6e8d1d5c6dbb38f3fd24b4e4d2d5", kill_on_drop: false }` [INFO] [stdout] bb6c169e6bd35f6f4c036280e72575a706ee6e8d1d5c6dbb38f3fd24b4e4d2d5