[INFO] cloning repository https://github.com/obsidrielle/m3sh [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/obsidrielle/m3sh" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fobsidrielle%2Fm3sh", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fobsidrielle%2Fm3sh'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8c98f5555fdbc73d375f5b77a631e4661ea72f4f [INFO] building obsidrielle/m3sh against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fobsidrielle%2Fm3sh" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/obsidrielle/m3sh [INFO] finished tweaking git repo https://github.com/obsidrielle/m3sh [INFO] tweaked toml for git repo https://github.com/obsidrielle/m3sh written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/obsidrielle/m3sh on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/obsidrielle/m3sh 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded fd-lock v4.0.4 [INFO] [stderr] Downloaded shell-words v1.1.0 [INFO] [stderr] Downloaded shellexpand v3.1.1 [INFO] [stderr] Downloaded strip-ansi-escapes v0.2.1 [INFO] [stderr] Downloaded vte v0.14.1 [INFO] [stderr] Downloaded fid-rs v0.2.0 [INFO] [stderr] Downloaded clap_derive v4.5.32 [INFO] [stderr] Downloaded supports-color v3.0.2 [INFO] [stderr] Downloaded clap v4.5.38 [INFO] [stderr] Downloaded pest_derive v2.8.0 [INFO] [stderr] Downloaded cc v1.2.22 [INFO] [stderr] Downloaded terminal_size v0.4.2 [INFO] [stderr] Downloaded textwrap v0.16.2 [INFO] [stderr] Downloaded louds-rs v0.7.0 [INFO] [stderr] Downloaded pest_meta v2.8.0 [INFO] [stderr] Downloaded pest v2.8.0 [INFO] [stderr] Downloaded pest_generator v2.8.0 [INFO] [stderr] Downloaded miette-derive v7.6.0 [INFO] [stderr] Downloaded owo-colors v4.2.1 [INFO] [stderr] Downloaded supports-hyperlinks v3.1.0 [INFO] [stderr] Downloaded convert_case v0.7.1 [INFO] [stderr] Downloaded backtrace-ext v0.2.1 [INFO] [stderr] Downloaded trie-rs v0.4.2 [INFO] [stderr] Downloaded miette v7.6.0 [INFO] [stderr] Downloaded clap_builder v4.5.38 [INFO] [stderr] Downloaded is_ci v1.2.0 [INFO] [stderr] Downloaded supports-unicode v3.0.0 [INFO] [stderr] Downloaded reedline v0.40.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 510ba6fbd4907ba6243c857e40951d821d4b48292311d7a46c4aacd6f229af62 [INFO] running `Command { std: "docker" "start" "-a" "510ba6fbd4907ba6243c857e40951d821d4b48292311d7a46c4aacd6f229af62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "510ba6fbd4907ba6243c857e40951d821d4b48292311d7a46c4aacd6f229af62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "510ba6fbd4907ba6243c857e40951d821d4b48292311d7a46c4aacd6f229af62", kill_on_drop: false }` [INFO] [stdout] 510ba6fbd4907ba6243c857e40951d821d4b48292311d7a46c4aacd6f229af62 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4527f31f9bcfc30802506f0fe15ad6eb378366e74cf94dc3844034430734034f [INFO] running `Command { std: "docker" "start" "-a" "4527f31f9bcfc30802506f0fe15ad6eb378366e74cf94dc3844034430734034f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling miniz_oxide v0.8.8 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling unicode-width v0.2.0 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling owo-colors v4.2.1 [INFO] [stderr] Compiling vte v0.14.1 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling is_ci v1.2.0 [INFO] [stderr] Compiling convert_case v0.7.1 [INFO] [stderr] Compiling unicode-linebreak v0.1.5 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling supports-color v3.0.2 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling clap_builder v4.5.38 [INFO] [stderr] Compiling strip-ansi-escapes v0.2.1 [INFO] [stderr] Compiling textwrap v0.16.2 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling supports-hyperlinks v3.1.0 [INFO] [stderr] Compiling supports-unicode v3.0.0 [INFO] [stderr] Compiling nu-ansi-term v0.50.1 [INFO] [stderr] Compiling shell-words v1.1.0 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling path-clean v1.0.1 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling dirs-sys v0.5.0 [INFO] [stderr] Compiling hostname v0.4.1 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling dirs v6.0.0 [INFO] [stderr] Compiling shellexpand v3.1.1 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling fid-rs v0.2.0 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling louds-rs v0.7.0 [INFO] [stderr] Compiling trie-rs v0.4.2 [INFO] [stderr] Compiling backtrace v0.3.75 [INFO] [stderr] Compiling backtrace-ext v0.2.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling miette-derive v7.6.0 [INFO] [stderr] Compiling derive-new v0.7.0 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling pest v2.8.0 [INFO] [stderr] Compiling clap v4.5.38 [INFO] [stderr] Compiling pest_meta v2.8.0 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling pest_generator v2.8.0 [INFO] [stderr] Compiling pest_derive v2.8.0 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling crossterm v0.28.1 [INFO] [stderr] Compiling fd-lock v4.0.4 [INFO] [stderr] Compiling terminal_size v0.4.2 [INFO] [stderr] Compiling reedline v0.40.0 [INFO] [stderr] Compiling miette v7.6.0 [INFO] [stderr] Compiling m3sh v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/sh/command/built_in/external.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::Read; [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 variable: `cursor` [INFO] [stdout] --> src/input/highlighter.rs:26:37 [INFO] [stdout] | [INFO] [stdout] 26 | fn highlight(&self, line: &str, cursor: usize) -> StyledText { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cursor` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line_prefix` [INFO] [stdout] --> src/input/hinter.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | let line_prefix = &line[..pos]; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_prefix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `history` [INFO] [stdout] --> src/input/hinter.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | history: &dyn History, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_history` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cwd` [INFO] [stdout] --> src/input/hinter.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | cwd: &str, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cwd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timer_fg` [INFO] [stdout] --> src/input/prompt.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | let timer_fg = Color::Blue; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timer_fg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `home` [INFO] [stdout] --> src/input/prompt.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | let home = format!("{}", Style::new().fg(home_fg).on(home_bg).paint(" 🏠 ")); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_home` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/sh/command/data/pipeline_data.rs:52:36 [INFO] [stdout] | [INFO] [stdout] 52 | ByteStreamSource::Read(reader) => None, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `byte_stream` [INFO] [stdout] --> src/sh/command/data/pipeline_data.rs:175:30 [INFO] [stdout] | [INFO] [stdout] 175 | Self::ByteStream(byte_stream) => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_byte_stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `last_command_status` is never read [INFO] [stdout] --> src/input/prompt.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct M3shPrompt { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 13 | last_command_status: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `type_` and `known_size` are never read [INFO] [stdout] --> src/sh/command/data/pipeline_data.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct ByteStream { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 43 | source: ByteStreamSource, [INFO] [stdout] 44 | type_: ByteStreamType, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 45 | known_size: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OutRedirection` is never constructed [INFO] [stdout] --> src/sh/command/redirect.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct OutRedirection { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ErrRedirection` is never constructed [INFO] [stdout] --> src/sh/command/redirect.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct ErrRedirection { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from` is never used [INFO] [stdout] --> src/sh/command/redirect.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl ErrRedirection { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 14 | pub fn from(mode: ErrRedirectionMode, writer: T) -> Self [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from` is never used [INFO] [stdout] --> src/sh/command/redirect.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl OutRedirection { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 26 | pub fn from(mode: OutRedirectionMode, writer: T) -> Self [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `OutRedirectionMode` is never used [INFO] [stdout] --> src/sh/command/redirect.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | pub enum OutRedirectionMode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ErrRedirectionMode` is never used [INFO] [stdout] --> src/sh/command/redirect.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | pub enum ErrRedirectionMode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InRedirection` is never constructed [INFO] [stdout] --> src/sh/command/redirect.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct InRedirection { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from` is never used [INFO] [stdout] --> src/sh/command/redirect.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 51 | impl InRedirection { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 52 | pub fn from(reader: T) -> Self [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `register_command` and `register_command_with_name` are never used [INFO] [stdout] --> src/sh/state/state.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 32 | impl Builder { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | fn register_command(mut self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | fn register_command_with_name( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `register_command_with_name` is never used [INFO] [stdout] --> src/sh/state/state.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 71 | impl State { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 86 | fn register_command_with_name( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/input/prompt.rs:166:27 [INFO] [stdout] | [INFO] [stdout] 166 | fn render_prompt_left(&self) -> 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] 166 | fn render_prompt_left(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/input/prompt.rs:181:28 [INFO] [stdout] | [INFO] [stdout] 181 | fn render_prompt_right(&self) -> 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] 181 | fn render_prompt_right(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/input/prompt.rs:185:32 [INFO] [stdout] | [INFO] [stdout] 185 | fn render_prompt_indicator(&self, prompt_mode: PromptEditMode) -> 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] 185 | fn render_prompt_indicator(&self, prompt_mode: PromptEditMode) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/input/prompt.rs:205:42 [INFO] [stdout] | [INFO] [stdout] 205 | fn render_prompt_multiline_indicator(&self) -> 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] 205 | fn render_prompt_multiline_indicator(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/input/prompt.rs:210:9 [INFO] [stdout] | [INFO] [stdout] 210 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 211 | history_search: PromptHistorySearch, [INFO] [stdout] 212 | ) -> 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] 212 | ) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 46.23s [INFO] running `Command { std: "docker" "inspect" "4527f31f9bcfc30802506f0fe15ad6eb378366e74cf94dc3844034430734034f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4527f31f9bcfc30802506f0fe15ad6eb378366e74cf94dc3844034430734034f", kill_on_drop: false }` [INFO] [stdout] 4527f31f9bcfc30802506f0fe15ad6eb378366e74cf94dc3844034430734034f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e9628a561221caa8ffe7b8f26d960d6728f4d72701ee030ab67e63378371924e [INFO] running `Command { std: "docker" "start" "-a" "e9628a561221caa8ffe7b8f26d960d6728f4d72701ee030ab67e63378371924e", kill_on_drop: false }` [INFO] [stderr] Compiling m3sh v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/sh/command/built_in/external.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::Read; [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 variable: `cursor` [INFO] [stdout] --> src/input/highlighter.rs:26:37 [INFO] [stdout] | [INFO] [stdout] 26 | fn highlight(&self, line: &str, cursor: usize) -> StyledText { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cursor` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line_prefix` [INFO] [stdout] --> src/input/hinter.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | let line_prefix = &line[..pos]; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_prefix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `history` [INFO] [stdout] --> src/input/hinter.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | history: &dyn History, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_history` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cwd` [INFO] [stdout] --> src/input/hinter.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | cwd: &str, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cwd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timer_fg` [INFO] [stdout] --> src/input/prompt.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | let timer_fg = Color::Blue; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timer_fg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `home` [INFO] [stdout] --> src/input/prompt.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | let home = format!("{}", Style::new().fg(home_fg).on(home_bg).paint(" 🏠 ")); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_home` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/sh/command/data/pipeline_data.rs:52:36 [INFO] [stdout] | [INFO] [stdout] 52 | ByteStreamSource::Read(reader) => None, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `byte_stream` [INFO] [stdout] --> src/sh/command/data/pipeline_data.rs:175:30 [INFO] [stdout] | [INFO] [stdout] 175 | Self::ByteStream(byte_stream) => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_byte_stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `last_command_status` is never read [INFO] [stdout] --> src/input/prompt.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct M3shPrompt { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 13 | last_command_status: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `type_` and `known_size` are never read [INFO] [stdout] --> src/sh/command/data/pipeline_data.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct ByteStream { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 43 | source: ByteStreamSource, [INFO] [stdout] 44 | type_: ByteStreamType, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 45 | known_size: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OutRedirection` is never constructed [INFO] [stdout] --> src/sh/command/redirect.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct OutRedirection { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ErrRedirection` is never constructed [INFO] [stdout] --> src/sh/command/redirect.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct ErrRedirection { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from` is never used [INFO] [stdout] --> src/sh/command/redirect.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl ErrRedirection { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 14 | pub fn from(mode: ErrRedirectionMode, writer: T) -> Self [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from` is never used [INFO] [stdout] --> src/sh/command/redirect.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl OutRedirection { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 26 | pub fn from(mode: OutRedirectionMode, writer: T) -> Self [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `OutRedirectionMode` is never used [INFO] [stdout] --> src/sh/command/redirect.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | pub enum OutRedirectionMode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ErrRedirectionMode` is never used [INFO] [stdout] --> src/sh/command/redirect.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | pub enum ErrRedirectionMode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InRedirection` is never constructed [INFO] [stdout] --> src/sh/command/redirect.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct InRedirection { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from` is never used [INFO] [stdout] --> src/sh/command/redirect.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 51 | impl InRedirection { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 52 | pub fn from(reader: T) -> Self [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `register_command` and `register_command_with_name` are never used [INFO] [stdout] --> src/sh/state/state.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 32 | impl Builder { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | fn register_command(mut self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | fn register_command_with_name( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `register_command_with_name` is never used [INFO] [stdout] --> src/sh/state/state.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 71 | impl State { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 86 | fn register_command_with_name( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/input/prompt.rs:166:27 [INFO] [stdout] | [INFO] [stdout] 166 | fn render_prompt_left(&self) -> 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] 166 | fn render_prompt_left(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/input/prompt.rs:181:28 [INFO] [stdout] | [INFO] [stdout] 181 | fn render_prompt_right(&self) -> 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] 181 | fn render_prompt_right(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/input/prompt.rs:185:32 [INFO] [stdout] | [INFO] [stdout] 185 | fn render_prompt_indicator(&self, prompt_mode: PromptEditMode) -> 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] 185 | fn render_prompt_indicator(&self, prompt_mode: PromptEditMode) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/input/prompt.rs:205:42 [INFO] [stdout] | [INFO] [stdout] 205 | fn render_prompt_multiline_indicator(&self) -> 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] 205 | fn render_prompt_multiline_indicator(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/input/prompt.rs:210:9 [INFO] [stdout] | [INFO] [stdout] 210 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 211 | history_search: PromptHistorySearch, [INFO] [stdout] 212 | ) -> 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] 212 | ) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.91s [INFO] running `Command { std: "docker" "inspect" "e9628a561221caa8ffe7b8f26d960d6728f4d72701ee030ab67e63378371924e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9628a561221caa8ffe7b8f26d960d6728f4d72701ee030ab67e63378371924e", kill_on_drop: false }` [INFO] [stdout] e9628a561221caa8ffe7b8f26d960d6728f4d72701ee030ab67e63378371924e