[INFO] cloning repository https://github.com/rickypang0219/minsh-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rickypang0219/minsh-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frickypang0219%2Fminsh-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frickypang0219%2Fminsh-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e717720947dbcb8688c2f07c4b015f1ff2d19c35 [INFO] checking rickypang0219/minsh-rs against try#fe84aa3583bb2681b5d0580316bde6d58ccfd6b5 for pr-154149-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frickypang0219%2Fminsh-rs" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/rickypang0219/minsh-rs [INFO] finished tweaking git repo https://github.com/rickypang0219/minsh-rs [INFO] tweaked toml for git repo https://github.com/rickypang0219/minsh-rs written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rickypang0219/minsh-rs on toolchain fe84aa3583bb2681b5d0580316bde6d58ccfd6b5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fe84aa3583bb2681b5d0580316bde6d58ccfd6b5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/rickypang0219/minsh-rs 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" "+fe84aa3583bb2681b5d0580316bde6d58ccfd6b5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+fe84aa3583bb2681b5d0580316bde6d58ccfd6b5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4fd01a502a69bd620a62c735eeceac3ad483b01247225994dd3f61f28019de51 [INFO] running `Command { std: "docker" "start" "-a" "4fd01a502a69bd620a62c735eeceac3ad483b01247225994dd3f61f28019de51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4fd01a502a69bd620a62c735eeceac3ad483b01247225994dd3f61f28019de51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4fd01a502a69bd620a62c735eeceac3ad483b01247225994dd3f61f28019de51", kill_on_drop: false }` [INFO] [stdout] 4fd01a502a69bd620a62c735eeceac3ad483b01247225994dd3f61f28019de51 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+fe84aa3583bb2681b5d0580316bde6d58ccfd6b5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 152864b3624aecc546f102cba9c2dc9bb45e9424a1ce2997e89831dd5ff470ac [INFO] running `Command { std: "docker" "start" "-a" "152864b3624aecc546f102cba9c2dc9bb45e9424a1ce2997e89831dd5ff470ac", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Checking log v0.4.28 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Checking bitflags v2.10.0 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling convert_case v0.7.1 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Checking vte v0.14.1 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking strip-ansi-escapes v0.2.1 [INFO] [stderr] Checking toml_parser v1.0.4 [INFO] [stderr] Checking serde_spanned v1.0.3 [INFO] [stderr] Checking toml_datetime v0.7.3 [INFO] [stderr] Checking toml_writer v1.0.4 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking toml v0.9.8 [INFO] [stderr] Checking signal-hook-registry v1.4.7 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking mio v1.1.0 [INFO] [stderr] Checking dirs-sys v0.5.0 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking dirs v6.0.0 [INFO] [stderr] Checking signal-hook-mio v0.2.5 [INFO] [stderr] Checking fd-lock v4.0.4 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Checking derive_more v2.0.1 [INFO] [stderr] Checking crossterm v0.29.0 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking chrono v0.4.42 [INFO] [stderr] Checking crossterm v0.28.1 [INFO] [stderr] Checking reedline v0.43.0 [INFO] [stderr] Checking minsh v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `history_max_entries` is never read [INFO] [stdout] --> src/shell.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct ShellConfig { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 10 | pub prompt: Option, [INFO] [stdout] 11 | history_max_entries: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ShellConfig` has derived impls for the traits `Debug` and `Clone`, 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: field `config` is never read [INFO] [stdout] --> src/shell.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct ShellState { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 15 | last_exit_code: i32, [INFO] [stdout] 16 | config: ShellConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `history_max_entries` is never read [INFO] [stdout] --> src/shell.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct ShellConfig { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 10 | pub prompt: Option, [INFO] [stdout] 11 | history_max_entries: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ShellConfig` has derived impls for the traits `Debug` and `Clone`, 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: field `config` is never read [INFO] [stdout] --> src/shell.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct ShellState { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 15 | last_exit_code: i32, [INFO] [stdout] 16 | config: ShellConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/editor/prompt.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | fn render_prompt_left(&self) -> std::borrow::Cow { [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] 8 | fn render_prompt_left(&self) -> std::borrow::Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/editor/prompt.rs:12:28 [INFO] [stdout] | [INFO] [stdout] 12 | fn render_prompt_right(&self) -> std::borrow::Cow { [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] 12 | fn render_prompt_right(&self) -> std::borrow::Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/editor/prompt.rs:16:32 [INFO] [stdout] | [INFO] [stdout] 16 | fn render_prompt_indicator(&self, _edit_mode: PromptEditMode) -> std::borrow::Cow { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden 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] 16 | fn render_prompt_indicator(&self, _edit_mode: PromptEditMode) -> std::borrow::Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/editor/prompt.rs:20:42 [INFO] [stdout] | [INFO] [stdout] 20 | fn render_prompt_multiline_indicator(&self) -> std::borrow::Cow { [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] 20 | fn render_prompt_multiline_indicator(&self) -> std::borrow::Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/editor/prompt.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 26 | _search: PromptHistorySearch, [INFO] [stdout] 27 | ) -> std::borrow::Cow { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden 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] 27 | ) -> std::borrow::Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/editor/prompt.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | fn render_prompt_left(&self) -> std::borrow::Cow { [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] 8 | fn render_prompt_left(&self) -> std::borrow::Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/editor/prompt.rs:12:28 [INFO] [stdout] | [INFO] [stdout] 12 | fn render_prompt_right(&self) -> std::borrow::Cow { [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] 12 | fn render_prompt_right(&self) -> std::borrow::Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/editor/prompt.rs:16:32 [INFO] [stdout] | [INFO] [stdout] 16 | fn render_prompt_indicator(&self, _edit_mode: PromptEditMode) -> std::borrow::Cow { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden 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] 16 | fn render_prompt_indicator(&self, _edit_mode: PromptEditMode) -> std::borrow::Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/editor/prompt.rs:20:42 [INFO] [stdout] | [INFO] [stdout] 20 | fn render_prompt_multiline_indicator(&self) -> std::borrow::Cow { [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] 20 | fn render_prompt_multiline_indicator(&self) -> std::borrow::Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/editor/prompt.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 26 | _search: PromptHistorySearch, [INFO] [stdout] 27 | ) -> std::borrow::Cow { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden 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] 27 | ) -> std::borrow::Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 25.02s [INFO] running `Command { std: "docker" "inspect" "152864b3624aecc546f102cba9c2dc9bb45e9424a1ce2997e89831dd5ff470ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "152864b3624aecc546f102cba9c2dc9bb45e9424a1ce2997e89831dd5ff470ac", kill_on_drop: false }` [INFO] [stdout] 152864b3624aecc546f102cba9c2dc9bb45e9424a1ce2997e89831dd5ff470ac