[INFO] cloning repository https://github.com/Terence-23/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/Terence-23/text-editor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTerence-23%2Ftext-editor", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTerence-23%2Ftext-editor'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 003509a0aa773ba53849e11a7657acafb02613a5
[INFO] checking Terence-23/text-editor against try#012cd62c9add58ab3910e44c137d87db3ab70f61 for pr-155915
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTerence-23%2Ftext-editor" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-1-tc2/source/rust-toolchain.toml
[INFO] started tweaking git repo https://github.com/Terence-23/text-editor
[INFO] finished tweaking git repo https://github.com/Terence-23/text-editor
[INFO] tweaked toml for git repo https://github.com/Terence-23/text-editor written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Terence-23/text-editor on toolchain 012cd62c9add58ab3910e44c137d87db3ab70f61
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+012cd62c9add58ab3910e44c137d87db3ab70f61" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Terence-23/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" "+012cd62c9add58ab3910e44c137d87db3ab70f61" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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" "+012cd62c9add58ab3910e44c137d87db3ab70f61" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 18eb4e2b1ccc797870e27a8df110a828cb8ad7b56f1a8c41e35097ebfdfd2d9d
[INFO] running `Command { std: "docker" "start" "-a" "18eb4e2b1ccc797870e27a8df110a828cb8ad7b56f1a8c41e35097ebfdfd2d9d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "18eb4e2b1ccc797870e27a8df110a828cb8ad7b56f1a8c41e35097ebfdfd2d9d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "18eb4e2b1ccc797870e27a8df110a828cb8ad7b56f1a8c41e35097ebfdfd2d9d", kill_on_drop: false }`
[INFO] [stdout] 18eb4e2b1ccc797870e27a8df110a828cb8ad7b56f1a8c41e35097ebfdfd2d9d
[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" "+012cd62c9add58ab3910e44c137d87db3ab70f61" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1d3b365a36c6938a360a327d1353020efa360e05bcd42434d27ad453e1b9c0b3
[INFO] running `Command { std: "docker" "start" "-a" "1d3b365a36c6938a360a327d1353020efa360e05bcd42434d27ad453e1b9c0b3", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.76
[INFO] [stderr]    Compiling libc v0.2.152
[INFO] [stderr]    Compiling serde v1.0.195
[INFO] [stderr]    Compiling parking_lot_core v0.9.9
[INFO] [stderr]     Checking log v0.4.20
[INFO] [stderr]     Checking scopeguard v1.2.0
[INFO] [stderr]     Checking utf8parse v0.2.1
[INFO] [stderr]     Checking smallvec v1.11.2
[INFO] [stderr]    Compiling signal-hook v0.3.17
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]     Checking anstyle v1.0.4
[INFO] [stderr]     Checking equivalent v1.0.1
[INFO] [stderr]     Checking hashbrown v0.14.3
[INFO] [stderr]     Checking anstyle-query v1.0.2
[INFO] [stderr]    Compiling lock_api v0.4.11
[INFO] [stderr]    Compiling num-traits v0.2.17
[INFO] [stderr]     Checking colorchoice v1.0.0
[INFO] [stderr]     Checking clap_lex v0.6.0
[INFO] [stderr]     Checking winnow v0.5.34
[INFO] [stderr]     Checking strsim v0.10.0
[INFO] [stderr]     Checking anstyle-parse v0.2.3
[INFO] [stderr]     Checking option-ext v0.2.0
[INFO] [stderr]     Checking pin-project-lite v0.2.13
[INFO] [stderr]     Checking bitflags v2.4.1
[INFO] [stderr]     Checking iana-time-zone v0.1.59
[INFO] [stderr]     Checking bytes v1.5.0
[INFO] [stderr]     Checking anstream v0.6.7
[INFO] [stderr]     Checking clap_builder v4.4.16
[INFO] [stderr]     Checking indexmap v2.1.0
[INFO] [stderr]     Checking signal-hook-registry v1.4.1
[INFO] [stderr]     Checking mio v0.8.10
[INFO] [stderr]     Checking dirs-sys v0.4.1
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]     Checking socket2 v0.5.5
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]     Checking directories v5.0.1
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]    Compiling syn v2.0.48
[INFO] [stderr]     Checking signal-hook-mio v0.2.3
[INFO] [stderr]     Checking crossterm v0.27.0
[INFO] [stderr]     Checking chrono v0.4.31
[INFO] [stderr]    Compiling serde_derive v1.0.195
[INFO] [stderr]    Compiling tokio-macros v2.2.0
[INFO] [stderr]    Compiling clap_derive v4.4.7
[INFO] [stderr]     Checking tokio v1.35.1
[INFO] [stderr]     Checking clap v4.4.16
[INFO] [stderr]     Checking toml_datetime v0.6.5
[INFO] [stderr]     Checking serde_spanned v0.6.5
[INFO] [stderr]     Checking toml_edit v0.21.0
[INFO] [stderr]     Checking toml v0.8.8
[INFO] [stderr]     Checking text-editor v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `default`
[INFO] [stdout]  --> src/data.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     default,
[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: `default`
[INFO] [stdout]  --> src/data.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     default,
[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: `Line`
[INFO] [stdout]  --> src/main.rs:8:22
[INFO] [stdout]   |
[INFO] [stdout] 8 | use data::{FileData, Line, Prompt, PromptStatus, SharedData, TextPos};
[INFO] [stdout]   |                      ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Instant`
[INFO] [stdout]   --> src/main.rs:19:22
[INFO] [stdout]    |
[INFO] [stdout] 19 |     time::{Duration, Instant},
[INFO] [stdout]    |                      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Line`
[INFO] [stdout]  --> src/main.rs:8:22
[INFO] [stdout]   |
[INFO] [stdout] 8 | use data::{FileData, Line, Prompt, PromptStatus, SharedData, TextPos};
[INFO] [stdout]   |                      ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Instant`
[INFO] [stdout]   --> src/main.rs:19:22
[INFO] [stdout]    |
[INFO] [stdout] 19 |     time::{Duration, Instant},
[INFO] [stdout]    |                      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `round_char_boundary` has been stable since 1.91.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/main.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(round_char_boundary)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `round_char_boundary` has been stable since 1.91.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/main.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(round_char_boundary)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `config_path` is never read
[INFO] [stdout]   --> src/cmdline.rs:68:9
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub struct Config {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] 67 |     pub file: Option<PathBuf>,
[INFO] [stdout] 68 |     pub config_path: PathBuf,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are 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: method `get_char_span` is never used
[INFO] [stdout]    --> src/data.rs:122:12
[INFO] [stdout]     |
[INFO] [stdout]  68 | impl Line {
[INFO] [stdout]     | --------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 122 |     pub fn get_char_span(&self, first: usize, last: usize) -> (usize, usize) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `save`, `get_next_and_prev_chars`, and `read` are never used
[INFO] [stdout]    --> src/data.rs:322:12
[INFO] [stdout]     |
[INFO] [stdout] 311 | impl SharedData {
[INFO] [stdout]     | --------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 322 |     pub fn save(&self) -> io::Result<()> {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 325 |     pub fn get_next_and_prev_chars(&self) -> (usize, usize) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 346 |     pub fn read(
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/cmdline.rs:98:17
[INFO] [stdout]    |
[INFO] [stdout] 98 |     pub fn read(&self) -> RwLockReadGuard<RawRwLock, Config> {
[INFO] [stdout]    |                 ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 98 |     pub fn read(&self) -> RwLockReadGuard<'_, RawRwLock, Config> {
[INFO] [stdout]    |                                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/cmdline.rs:101:18
[INFO] [stdout]     |
[INFO] [stdout] 101 |     pub fn write(&self) -> RwLockWriteGuard<RawRwLock, Config> {
[INFO] [stdout]     |                  ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                  |
[INFO] [stdout]     |                  the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 101 |     pub fn write(&self) -> RwLockWriteGuard<'_, RawRwLock, Config> {
[INFO] [stdout]     |                                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `config_path` is never read
[INFO] [stdout]   --> src/cmdline.rs:68:9
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub struct Config {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] 67 |     pub file: Option<PathBuf>,
[INFO] [stdout] 68 |     pub config_path: PathBuf,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are 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: method `get_char_span` is never used
[INFO] [stdout]    --> src/data.rs:122:12
[INFO] [stdout]     |
[INFO] [stdout]  68 | impl Line {
[INFO] [stdout]     | --------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 122 |     pub fn get_char_span(&self, first: usize, last: usize) -> (usize, usize) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `save`, `get_next_and_prev_chars`, and `read` are never used
[INFO] [stdout]    --> src/data.rs:322:12
[INFO] [stdout]     |
[INFO] [stdout] 311 | impl SharedData {
[INFO] [stdout]     | --------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 322 |     pub fn save(&self) -> io::Result<()> {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 325 |     pub fn get_next_and_prev_chars(&self) -> (usize, usize) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 346 |     pub fn read(
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/cmdline.rs:98:17
[INFO] [stdout]    |
[INFO] [stdout] 98 |     pub fn read(&self) -> RwLockReadGuard<RawRwLock, Config> {
[INFO] [stdout]    |                 ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 98 |     pub fn read(&self) -> RwLockReadGuard<'_, RawRwLock, Config> {
[INFO] [stdout]    |                                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/cmdline.rs:101:18
[INFO] [stdout]     |
[INFO] [stdout] 101 |     pub fn write(&self) -> RwLockWriteGuard<RawRwLock, Config> {
[INFO] [stdout]     |                  ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                  |
[INFO] [stdout]     |                  the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 101 |     pub fn write(&self) -> RwLockWriteGuard<'_, RawRwLock, Config> {
[INFO] [stdout]     |                                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.76s
[INFO] running `Command { std: "docker" "inspect" "1d3b365a36c6938a360a327d1353020efa360e05bcd42434d27ad453e1b9c0b3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1d3b365a36c6938a360a327d1353020efa360e05bcd42434d27ad453e1b9c0b3", kill_on_drop: false }`
[INFO] [stdout] 1d3b365a36c6938a360a327d1353020efa360e05bcd42434d27ad453e1b9c0b3
