[INFO] cloning repository https://github.com/kirinokirino/text_editor
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kirinokirino/text_editor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkirinokirino%2Ftext_editor", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkirinokirino%2Ftext_editor'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 09e5cceda498cfb6e93e86272920ab9854c19d08
[INFO] building kirinokirino/text_editor against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkirinokirino%2Ftext_editor" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/kirinokirino/text_editor
[INFO] finished tweaking git repo https://github.com/kirinokirino/text_editor
[INFO] tweaked toml for git repo https://github.com/kirinokirino/text_editor written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/kirinokirino/text_editor on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/kirinokirino/text_editor 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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition
[INFO] [stderr] (in the `minifb` dependency)
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3b98ec1bbc0931d8e010f703b16702b61e8913f2ea97fe56b9169faac1dea19c
[INFO] running `Command { std: "docker" "start" "-a" "3b98ec1bbc0931d8e010f703b16702b61e8913f2ea97fe56b9169faac1dea19c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3b98ec1bbc0931d8e010f703b16702b61e8913f2ea97fe56b9169faac1dea19c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3b98ec1bbc0931d8e010f703b16702b61e8913f2ea97fe56b9169faac1dea19c", kill_on_drop: false }`
[INFO] [stdout] 3b98ec1bbc0931d8e010f703b16702b61e8913f2ea97fe56b9169faac1dea19c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b74ef2761d222fad1d7fc67350f992c2ffb287f0ffc405c5d38896f77a070c8d
[INFO] running `Command { std: "docker" "start" "-a" "b74ef2761d222fad1d7fc67350f992c2ffb287f0ffc405c5d38896f77a070c8d", kill_on_drop: false }`
[INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition
[INFO] [stderr] (in the `minifb` dependency)
[INFO] [stderr]    Compiling libc v0.2.137
[INFO] [stderr]    Compiling pkg-config v0.3.26
[INFO] [stderr]    Compiling cc v1.0.76
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling cty v0.2.2
[INFO] [stderr]    Compiling raw-window-handle v0.4.3
[INFO] [stderr]    Compiling x11-dl v2.20.0
[INFO] [stderr]    Compiling minifb v0.23.0
[INFO] [stderr]    Compiling text_editor v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/editor.rs:168:16
[INFO] [stdout]     |
[INFO] [stdout] 168 |             if (self.cursor.y == 0) {
[INFO] [stdout]     |                ^                  ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 168 -             if (self.cursor.y == 0) {
[INFO] [stdout] 168 +             if self.cursor.y == 0 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/editor.rs:275:12
[INFO] [stdout]     |
[INFO] [stdout] 275 |         if (ch.is_whitespace()) {
[INFO] [stdout]     |            ^                  ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 275 -         if (ch.is_whitespace()) {
[INFO] [stdout] 275 +         if ch.is_whitespace() {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `path` and `named` are never read
[INFO] [stdout]  --> src/cli.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Arguments {
[INFO] [stdout]   |            --------- fields in this struct
[INFO] [stdout] 6 |     pub path: String,
[INFO] [stdout]   |         ^^^^
[INFO] [stdout] 7 |     pub named: HashMap<String, String>,
[INFO] [stdout]   |         ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Arguments` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Vec2` is never constructed
[INFO] [stdout]   --> src/common.rs:39:12
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub struct Vec2 {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/common.rs:45:12
[INFO] [stdout]    |
[INFO] [stdout] 44 | impl Vec2 {
[INFO] [stdout]    | --------- associated function in this implementation
[INFO] [stdout] 45 |     pub fn new(x: f32, y: f32) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Size` is never constructed
[INFO] [stdout]   --> src/common.rs:51:12
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub struct Size {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `area` are never used
[INFO] [stdout]   --> src/common.rs:57:12
[INFO] [stdout]    |
[INFO] [stdout] 56 | impl Size {
[INFO] [stdout]    | --------- associated items in this implementation
[INFO] [stdout] 57 |     pub fn new(width: u32, height: u32) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 61 |     pub fn area(&self) -> u32 {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/main.rs:127:9
[INFO] [stdout]     |
[INFO] [stdout] 127 |         fs::write(path, contents.as_bytes());
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 127 |         let _ = fs::write(path, contents.as_bytes());
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/editor.rs:176:21
[INFO] [stdout]     |
[INFO] [stdout] 176 |                     mem::replace(previous_line, format!("{previous_line}{current_line}"));
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 176 |                     let _ = mem::replace(previous_line, format!("{previous_line}{current_line}"));
[INFO] [stdout]     |                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.65s
[INFO] running `Command { std: "docker" "inspect" "b74ef2761d222fad1d7fc67350f992c2ffb287f0ffc405c5d38896f77a070c8d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b74ef2761d222fad1d7fc67350f992c2ffb287f0ffc405c5d38896f77a070c8d", kill_on_drop: false }`
[INFO] [stdout] b74ef2761d222fad1d7fc67350f992c2ffb287f0ffc405c5d38896f77a070c8d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8f5036880ee1de4efc118de1efc2d0289d30e1845c5c3389aaae9863a4d5dfcc
[INFO] running `Command { std: "docker" "start" "-a" "8f5036880ee1de4efc118de1efc2d0289d30e1845c5c3389aaae9863a4d5dfcc", kill_on_drop: false }`
[INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition
[INFO] [stderr] (in the `minifb` dependency)
[INFO] [stderr]    Compiling text_editor v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/editor.rs:168:16
[INFO] [stdout]     |
[INFO] [stdout] 168 |             if (self.cursor.y == 0) {
[INFO] [stdout]     |                ^                  ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 168 -             if (self.cursor.y == 0) {
[INFO] [stdout] 168 +             if self.cursor.y == 0 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/editor.rs:275:12
[INFO] [stdout]     |
[INFO] [stdout] 275 |         if (ch.is_whitespace()) {
[INFO] [stdout]     |            ^                  ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 275 -         if (ch.is_whitespace()) {
[INFO] [stdout] 275 +         if ch.is_whitespace() {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `path` and `named` are never read
[INFO] [stdout]  --> src/cli.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Arguments {
[INFO] [stdout]   |            --------- fields in this struct
[INFO] [stdout] 6 |     pub path: String,
[INFO] [stdout]   |         ^^^^
[INFO] [stdout] 7 |     pub named: HashMap<String, String>,
[INFO] [stdout]   |         ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Arguments` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Vec2` is never constructed
[INFO] [stdout]   --> src/common.rs:39:12
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub struct Vec2 {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/common.rs:45:12
[INFO] [stdout]    |
[INFO] [stdout] 44 | impl Vec2 {
[INFO] [stdout]    | --------- associated function in this implementation
[INFO] [stdout] 45 |     pub fn new(x: f32, y: f32) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Size` is never constructed
[INFO] [stdout]   --> src/common.rs:51:12
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub struct Size {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `area` are never used
[INFO] [stdout]   --> src/common.rs:57:12
[INFO] [stdout]    |
[INFO] [stdout] 56 | impl Size {
[INFO] [stdout]    | --------- associated items in this implementation
[INFO] [stdout] 57 |     pub fn new(width: u32, height: u32) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 61 |     pub fn area(&self) -> u32 {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/main.rs:127:9
[INFO] [stdout]     |
[INFO] [stdout] 127 |         fs::write(path, contents.as_bytes());
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 127 |         let _ = fs::write(path, contents.as_bytes());
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/editor.rs:176:21
[INFO] [stdout]     |
[INFO] [stdout] 176 |                     mem::replace(previous_line, format!("{previous_line}{current_line}"));
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 176 |                     let _ = mem::replace(previous_line, format!("{previous_line}{current_line}"));
[INFO] [stdout]     |                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.44s
[INFO] running `Command { std: "docker" "inspect" "8f5036880ee1de4efc118de1efc2d0289d30e1845c5c3389aaae9863a4d5dfcc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8f5036880ee1de4efc118de1efc2d0289d30e1845c5c3389aaae9863a4d5dfcc", kill_on_drop: false }`
[INFO] [stdout] 8f5036880ee1de4efc118de1efc2d0289d30e1845c5c3389aaae9863a4d5dfcc
