[INFO] cloning repository https://github.com/pants721/pants-editor [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pants721/pants-editor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpants721%2Fpants-editor", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpants721%2Fpants-editor'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ca8a45b42f5ad731c2b2e08dcf76aac5bee631ba [INFO] testing pants721/pants-editor/ca8a45b42f5ad731c2b2e08dcf76aac5bee631ba against master#562dee4820c458d823175268e41601d4c060588a for pr-154210 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpants721%2Fpants-editor" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/pants721/pants-editor [INFO] finished tweaking git repo https://github.com/pants721/pants-editor [INFO] tweaked toml for git repo https://github.com/pants721/pants-editor written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/pants721/pants-editor on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/pants721/pants-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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded stability v0.1.1 [INFO] [stderr] Downloaded serde_derive v1.0.198 [INFO] [stderr] Downloaded lru v0.12.3 [INFO] [stderr] Downloaded strum v0.26.2 [INFO] [stderr] Downloaded castaway v0.2.2 [INFO] [stderr] Downloaded clap_lex v0.7.0 [INFO] [stderr] Downloaded atomic v0.6.0 [INFO] [stderr] Downloaded anstream v0.6.13 [INFO] [stderr] Downloaded clap_derive v4.5.4 [INFO] [stderr] Downloaded bytemuck v1.15.0 [INFO] [stderr] Downloaded clap v4.5.4 [INFO] [stderr] Downloaded toml v0.8.12 [INFO] [stderr] Downloaded figment v0.10.17 [INFO] [stderr] Downloaded zerocopy v0.7.32 [INFO] [stderr] Downloaded toml_edit v0.22.9 [INFO] [stderr] Downloaded clap_builder v4.5.2 [INFO] [stderr] Downloaded winnow v0.6.6 [INFO] [stderr] Downloaded serde v1.0.198 [INFO] [stderr] Downloaded compact_str v0.7.1 [INFO] [stderr] Downloaded zerocopy-derive v0.7.32 [INFO] [stderr] Downloaded strum_macros v0.26.2 [INFO] [stderr] Downloaded syn v2.0.58 [INFO] [stderr] Downloaded ratatui v0.26.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b1dbc9c59f391711a9091fcd79d86a8e6ad2a21f5cb9cdcbb7c3dbfb26cb250c [INFO] running `Command { std: "docker" "start" "-a" "b1dbc9c59f391711a9091fcd79d86a8e6ad2a21f5cb9cdcbb7c3dbfb26cb250c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b1dbc9c59f391711a9091fcd79d86a8e6ad2a21f5cb9cdcbb7c3dbfb26cb250c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1dbc9c59f391711a9091fcd79d86a8e6ad2a21f5cb9cdcbb7c3dbfb26cb250c", kill_on_drop: false }` [INFO] [stdout] b1dbc9c59f391711a9091fcd79d86a8e6ad2a21f5cb9cdcbb7c3dbfb26cb250c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6992c85837098d3b16147f20ff28cb5795e63ba89ef2c3eb20667388ad54add9 [INFO] running `Command { std: "docker" "start" "-a" "6992c85837098d3b16147f20ff28cb5795e63ba89ef2c3eb20667388ad54add9", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.198 [INFO] [stderr] Compiling zerocopy v0.7.32 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling winnow v0.6.6 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling anstyle-query v1.0.2 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling anstyle-parse v0.2.3 [INFO] [stderr] Compiling figment v0.10.17 [INFO] [stderr] Compiling clap_lex v0.7.0 [INFO] [stderr] Compiling anyhow v1.0.81 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling anstream v0.6.13 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling clap_builder v4.5.2 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling castaway v0.2.2 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling signal-hook-mio v0.2.3 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling lru v0.12.3 [INFO] [stderr] Compiling stability v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.198 [INFO] [stderr] Compiling strum_macros v0.26.2 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Compiling strum v0.26.2 [INFO] [stderr] Compiling clap v4.5.4 [INFO] [stderr] Compiling serde_spanned v0.6.5 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling compact_str v0.7.1 [INFO] [stderr] Compiling crossterm v0.27.0 [INFO] [stderr] Compiling toml_edit v0.22.9 [INFO] [stderr] Compiling ratatui v0.26.1 [INFO] [stderr] Compiling toml v0.8.12 [INFO] [stderr] Compiling pants-editor v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: constant `MEDIUM_SCROLL` is never used [INFO] [stdout] --> src/editor.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const MEDIUM_SCROLL: usize = 19; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COMMAND_HISTORY_MAX` is never used [INFO] [stdout] --> src/editor.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | const COMMAND_HISTORY_MAX: usize = 100; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Start` and `End` are never constructed [INFO] [stdout] --> src/editor.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub enum CursorMove { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 29 | Start, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 30 | End, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `search`, `command`, `command_x`, `command_history`, and `command_history_idx` are never read [INFO] [stdout] --> src/editor.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct Editor { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 47 | pub search: Search, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub command: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 52 | pub command_x: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 53 | pub command_history: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 54 | pub command_history_idx: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/editor.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl Editor { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn save(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | pub fn delete_char_at_cursor(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | pub fn delete_line_at_cursor(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 176 | pub fn newline_above_cursor(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | pub fn newline_under_cursor(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 299 | pub fn move_command_cursor(&mut self, cursor_move: CursorMove) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 317 | pub fn scroll_up(&mut self, amount: usize) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 322 | pub fn scroll_down(&mut self, amount: usize) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 327 | pub fn med_scroll_up(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 331 | pub fn med_scroll_down(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 335 | pub fn clear_search(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 340 | pub fn execute_current_search(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | pub fn search_next(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 390 | pub fn search_prev(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 419 | pub fn is_dirty(&self) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `query` and `results` are never read [INFO] [stdout] --> src/search.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Search { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 4 | pub query: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 5 | pub results: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `search` is never used [INFO] [stdout] --> src/search.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Search { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 17 | pub fn search(&mut self, lines: &[String]) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ui.rs:52:25 [INFO] [stdout] | [INFO] [stdout] 52 | fn line_numbers(editor: &Editor) -> Paragraph { [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] 52 | fn line_numbers(editor: &Editor) -> Paragraph<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ui.rs:67:23 [INFO] [stdout] | [INFO] [stdout] 67 | fn statusline(editor: &Editor) -> Paragraph { [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] 67 | fn statusline(editor: &Editor) -> Paragraph<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ui.rs:78:26 [INFO] [stdout] | [INFO] [stdout] 78 | fn statusmessage(editor: &Editor) -> Paragraph { [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] 78 | fn statusmessage(editor: &Editor) -> Paragraph<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ui.rs:82:24 [INFO] [stdout] | [INFO] [stdout] 82 | fn exit_popup(_editor: &Editor) -> Paragraph { [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] 82 | fn exit_popup(_editor: &Editor) -> Paragraph<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 30.18s [INFO] running `Command { std: "docker" "inspect" "6992c85837098d3b16147f20ff28cb5795e63ba89ef2c3eb20667388ad54add9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6992c85837098d3b16147f20ff28cb5795e63ba89ef2c3eb20667388ad54add9", kill_on_drop: false }` [INFO] [stdout] 6992c85837098d3b16147f20ff28cb5795e63ba89ef2c3eb20667388ad54add9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 503b508866acaed56ba2973be53d2da311688728825d8deb479949d7ae30e3ce [INFO] running `Command { std: "docker" "start" "-a" "503b508866acaed56ba2973be53d2da311688728825d8deb479949d7ae30e3ce", kill_on_drop: false }` [INFO] [stderr] Compiling pants-editor v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: constant `MEDIUM_SCROLL` is never used [INFO] [stdout] --> src/editor.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const MEDIUM_SCROLL: usize = 19; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COMMAND_HISTORY_MAX` is never used [INFO] [stdout] --> src/editor.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | const COMMAND_HISTORY_MAX: usize = 100; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Start` and `End` are never constructed [INFO] [stdout] --> src/editor.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub enum CursorMove { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 29 | Start, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 30 | End, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `search`, `command`, `command_x`, `command_history`, and `command_history_idx` are never read [INFO] [stdout] --> src/editor.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct Editor { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 47 | pub search: Search, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub command: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 52 | pub command_x: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 53 | pub command_history: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 54 | pub command_history_idx: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/editor.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl Editor { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn save(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | pub fn delete_char_at_cursor(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | pub fn delete_line_at_cursor(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 176 | pub fn newline_above_cursor(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | pub fn newline_under_cursor(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 299 | pub fn move_command_cursor(&mut self, cursor_move: CursorMove) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 317 | pub fn scroll_up(&mut self, amount: usize) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 322 | pub fn scroll_down(&mut self, amount: usize) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 327 | pub fn med_scroll_up(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 331 | pub fn med_scroll_down(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 335 | pub fn clear_search(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 340 | pub fn execute_current_search(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | pub fn search_next(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 390 | pub fn search_prev(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 419 | pub fn is_dirty(&self) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `query` and `results` are never read [INFO] [stdout] --> src/search.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Search { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 4 | pub query: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 5 | pub results: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `search` is never used [INFO] [stdout] --> src/search.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Search { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 17 | pub fn search(&mut self, lines: &[String]) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ui.rs:52:25 [INFO] [stdout] | [INFO] [stdout] 52 | fn line_numbers(editor: &Editor) -> Paragraph { [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] 52 | fn line_numbers(editor: &Editor) -> Paragraph<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ui.rs:67:23 [INFO] [stdout] | [INFO] [stdout] 67 | fn statusline(editor: &Editor) -> Paragraph { [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] 67 | fn statusline(editor: &Editor) -> Paragraph<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ui.rs:78:26 [INFO] [stdout] | [INFO] [stdout] 78 | fn statusmessage(editor: &Editor) -> Paragraph { [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] 78 | fn statusmessage(editor: &Editor) -> Paragraph<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ui.rs:82:24 [INFO] [stdout] | [INFO] [stdout] 82 | fn exit_popup(_editor: &Editor) -> Paragraph { [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] 82 | fn exit_popup(_editor: &Editor) -> Paragraph<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.59s [INFO] running `Command { std: "docker" "inspect" "503b508866acaed56ba2973be53d2da311688728825d8deb479949d7ae30e3ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "503b508866acaed56ba2973be53d2da311688728825d8deb479949d7ae30e3ce", kill_on_drop: false }` [INFO] [stdout] 503b508866acaed56ba2973be53d2da311688728825d8deb479949d7ae30e3ce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2b2333d02a5a8fb5961a9a84b478c926b5538ee14c85677171dd0b741729a7d7 [INFO] running `Command { std: "docker" "start" "-a" "2b2333d02a5a8fb5961a9a84b478c926b5538ee14c85677171dd0b741729a7d7", kill_on_drop: false }` [INFO] [stderr] warning: constant `MEDIUM_SCROLL` is never used [INFO] [stdout] [INFO] [stderr] --> src/editor.rs:15:7 [INFO] [stdout] running 0 tests [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] 15 | const MEDIUM_SCROLL: usize = 19; [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: constant `COMMAND_HISTORY_MAX` is never used [INFO] [stderr] --> src/editor.rs:17:7 [INFO] [stderr] | [INFO] [stderr] 17 | const COMMAND_HISTORY_MAX: usize = 100; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variants `Start` and `End` are never constructed [INFO] [stderr] --> src/editor.rs:29:5 [INFO] [stderr] | [INFO] [stderr] 19 | pub enum CursorMove { [INFO] [stderr] | ---------- variants in this enum [INFO] [stderr] ... [INFO] [stderr] 29 | Start, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 30 | End, [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `search`, `command`, `command_x`, `command_history`, and `command_history_idx` are never read [INFO] [stderr] --> src/editor.rs:47:9 [INFO] [stderr] | [INFO] [stderr] 41 | pub struct Editor { [INFO] [stderr] | ------ fields in this struct [INFO] [stderr] ... [INFO] [stderr] 47 | pub search: Search, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 51 | pub command: String, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 52 | pub command_x: usize, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 53 | pub command_history: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] 54 | pub command_history_idx: usize, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: multiple methods are never used [INFO] [stderr] --> src/editor.rs:86:12 [INFO] [stderr] | [INFO] [stderr] 58 | impl Editor { [INFO] [stderr] | ----------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 86 | pub fn save(&mut self) -> Result<()> { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 145 | pub fn delete_char_at_cursor(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 157 | pub fn delete_line_at_cursor(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 176 | pub fn newline_above_cursor(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 181 | pub fn newline_under_cursor(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 299 | pub fn move_command_cursor(&mut self, cursor_move: CursorMove) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 317 | pub fn scroll_up(&mut self, amount: usize) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 322 | pub fn scroll_down(&mut self, amount: usize) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 327 | pub fn med_scroll_up(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 331 | pub fn med_scroll_down(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 335 | pub fn clear_search(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 340 | pub fn execute_current_search(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 365 | pub fn search_next(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 390 | pub fn search_prev(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 419 | pub fn is_dirty(&self) -> Result { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `query` and `results` are never read [INFO] [stderr] --> src/search.rs:4:9 [INFO] [stderr] | [INFO] [stderr] 3 | pub struct Search { [INFO] [stderr] | ------ fields in this struct [INFO] [stderr] 4 | pub query: String, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 5 | pub results: Vec, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `search` is never used [INFO] [stderr] --> src/search.rs:17:12 [INFO] [stderr] | [INFO] [stderr] 16 | impl Search { [INFO] [stderr] | ----------- method in this implementation [INFO] [stderr] 17 | pub fn search(&mut self, lines: &[String]) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/ui.rs:52:25 [INFO] [stderr] | [INFO] [stderr] 52 | fn line_numbers(editor: &Editor) -> Paragraph { [INFO] [stderr] | ^^^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 52 | fn line_numbers(editor: &Editor) -> Paragraph<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/ui.rs:67:23 [INFO] [stderr] | [INFO] [stderr] 67 | fn statusline(editor: &Editor) -> Paragraph { [INFO] [stderr] | ^^^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 67 | fn statusline(editor: &Editor) -> Paragraph<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/ui.rs:78:26 [INFO] [stderr] | [INFO] [stderr] 78 | fn statusmessage(editor: &Editor) -> Paragraph { [INFO] [stderr] | ^^^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 78 | fn statusmessage(editor: &Editor) -> Paragraph<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/ui.rs:82:24 [INFO] [stderr] | [INFO] [stderr] 82 | fn exit_popup(_editor: &Editor) -> Paragraph { [INFO] [stderr] | ^^^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 82 | fn exit_popup(_editor: &Editor) -> Paragraph<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `pants-editor` (bin "pe" test) generated 11 warnings (run `cargo fix --bin "pe" -p pants-editor --tests` to apply 4 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/pe-bb640ace8a336fd5) [INFO] running `Command { std: "docker" "inspect" "2b2333d02a5a8fb5961a9a84b478c926b5538ee14c85677171dd0b741729a7d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b2333d02a5a8fb5961a9a84b478c926b5538ee14c85677171dd0b741729a7d7", kill_on_drop: false }` [INFO] [stdout] 2b2333d02a5a8fb5961a9a84b478c926b5538ee14c85677171dd0b741729a7d7