[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] checking kirinokirino/text_editor against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkirinokirino%2Ftext_editor" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kirinokirino/text_editor on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-3-tc1/source/Cargo.toml [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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded orbclient v0.3.39 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b6430da90994df201e5809ca02fbdf71d9128f5a3d4e2cc7ddddb92c0013cca9 [INFO] running `Command { std: "docker" "start" "-a" "b6430da90994df201e5809ca02fbdf71d9128f5a3d4e2cc7ddddb92c0013cca9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b6430da90994df201e5809ca02fbdf71d9128f5a3d4e2cc7ddddb92c0013cca9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6430da90994df201e5809ca02fbdf71d9128f5a3d4e2cc7ddddb92c0013cca9", kill_on_drop: false }` [INFO] [stdout] b6430da90994df201e5809ca02fbdf71d9128f5a3d4e2cc7ddddb92c0013cca9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1ab8b19953f75e6dfc41fdc945f313b5ec59d3f776d9d853721848030313b73f [INFO] running `Command { std: "docker" "start" "-a" "1ab8b19953f75e6dfc41fdc945f313b5ec59d3f776d9d853721848030313b73f", 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 pkg-config v0.3.26 [INFO] [stderr] Compiling libc v0.2.137 [INFO] [stderr] Compiling cc v1.0.76 [INFO] [stderr] Checking cty v0.2.2 [INFO] [stderr] Checking raw-window-handle v0.4.3 [INFO] [stderr] Compiling x11-dl v2.20.0 [INFO] [stderr] Compiling minifb v0.23.0 [INFO] [stderr] Checking 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)]` 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:168:16 [INFO] [stdout] | [INFO] [stdout] 168 | if (self.cursor.y == 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` 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: 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, [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)]` 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] = note: `Vec2` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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] = note: `Size` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [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: 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, [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)]` 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] = note: `Vec2` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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] = note: `Size` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [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)]` 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] [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)]` 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] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.13s [INFO] running `Command { std: "docker" "inspect" "1ab8b19953f75e6dfc41fdc945f313b5ec59d3f776d9d853721848030313b73f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ab8b19953f75e6dfc41fdc945f313b5ec59d3f776d9d853721848030313b73f", kill_on_drop: false }` [INFO] [stdout] 1ab8b19953f75e6dfc41fdc945f313b5ec59d3f776d9d853721848030313b73f [INFO] checking kirinokirino/text_editor against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkirinokirino%2Ftext_editor" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kirinokirino/text_editor on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-3-tc2/source/Cargo.toml [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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0c42b66bb4c6fe749c08232d0585dc7b53239cd949e969f41de3825680da7d95 [INFO] running `Command { std: "docker" "start" "-a" "0c42b66bb4c6fe749c08232d0585dc7b53239cd949e969f41de3825680da7d95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0c42b66bb4c6fe749c08232d0585dc7b53239cd949e969f41de3825680da7d95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c42b66bb4c6fe749c08232d0585dc7b53239cd949e969f41de3825680da7d95", kill_on_drop: false }` [INFO] [stdout] 0c42b66bb4c6fe749c08232d0585dc7b53239cd949e969f41de3825680da7d95 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1e74c7f82f0eb067cef9e8efc4c973c5725095c6d38112c98712ac728fa93e2c [INFO] running `Command { std: "docker" "start" "-a" "1e74c7f82f0eb067cef9e8efc4c973c5725095c6d38112c98712ac728fa93e2c", 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] Checking cty v0.2.2 [INFO] [stderr] Checking raw-window-handle v0.4.3 [INFO] [stderr] Compiling x11-dl v2.20.0 [INFO] [stderr] Compiling minifb v0.23.0 [INFO] [stderr] Checking 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)]` 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:168:16 [INFO] [stdout] | [INFO] [stdout] 168 | if (self.cursor.y == 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` 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: 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, [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)]` 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] = note: `Vec2` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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] = note: `Size` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [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: 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, [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)]` 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] = note: `Vec2` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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] = note: `Size` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [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)]` 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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/editor.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new>(path: P) -> Result { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 63 | Err(io::Error::new( [INFO] [stdout] | _____________^ [INFO] [stdout] 64 | | io::ErrorKind::InvalidData, [INFO] [stdout] 65 | | "Couldn't split file on newline!", [INFO] [stdout] 66 | | )) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [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] [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)]` 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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/editor.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new>(path: P) -> Result { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 63 | Err(io::Error::new( [INFO] [stdout] | _____________^ [INFO] [stdout] 64 | | io::ErrorKind::InvalidData, [INFO] [stdout] 65 | | "Couldn't split file on newline!", [INFO] [stdout] 66 | | )) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [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] [stdout] error: aborting due to 1 previous error; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `text_editor` (bin "text_editor" test) due to 2 previous errors; 9 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `text_editor` (bin "text_editor") due to 2 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1e74c7f82f0eb067cef9e8efc4c973c5725095c6d38112c98712ac728fa93e2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e74c7f82f0eb067cef9e8efc4c973c5725095c6d38112c98712ac728fa93e2c", kill_on_drop: false }` [INFO] [stdout] 1e74c7f82f0eb067cef9e8efc4c973c5725095c6d38112c98712ac728fa93e2c