[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#f45c1ab62d4de6b63f69b4daa9d1f0b90c38a208 for pr-139419 [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] validating manifest of git repo https://github.com/just-a-mango/trm-engine on toolchain f45c1ab62d4de6b63f69b4daa9d1f0b90c38a208 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f45c1ab62d4de6b63f69b4daa9d1f0b90c38a208" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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] 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" "+f45c1ab62d4de6b63f69b4daa9d1f0b90c38a208" "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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+f45c1ab62d4de6b63f69b4daa9d1f0b90c38a208" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9c9609492d6236919d378b8e783a159e5cff79e780ff64bd9c6a8f4a00024863 [INFO] running `Command { std: "docker" "start" "-a" "9c9609492d6236919d378b8e783a159e5cff79e780ff64bd9c6a8f4a00024863", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9c9609492d6236919d378b8e783a159e5cff79e780ff64bd9c6a8f4a00024863", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c9609492d6236919d378b8e783a159e5cff79e780ff64bd9c6a8f4a00024863", kill_on_drop: false }` [INFO] [stdout] 9c9609492d6236919d378b8e783a159e5cff79e780ff64bd9c6a8f4a00024863 [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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+f45c1ab62d4de6b63f69b4daa9d1f0b90c38a208" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c8fb9db44a7cb497e99cc740c3eb12d24808bdd44555aa7819866feac282a953 [INFO] running `Command { std: "docker" "start" "-a" "c8fb9db44a7cb497e99cc740c3eb12d24808bdd44555aa7819866feac282a953", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.140 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling parking_lot_core v0.9.7 [INFO] [stderr] Checking smallvec v1.10.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking fastrand v2.0.2 [INFO] [stderr] Compiling lock_api v0.4.9 [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: 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 3.43s [INFO] running `Command { std: "docker" "inspect" "c8fb9db44a7cb497e99cc740c3eb12d24808bdd44555aa7819866feac282a953", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8fb9db44a7cb497e99cc740c3eb12d24808bdd44555aa7819866feac282a953", kill_on_drop: false }` [INFO] [stdout] c8fb9db44a7cb497e99cc740c3eb12d24808bdd44555aa7819866feac282a953