[INFO] fetching crate reedline-repl-rs 1.2.1... [INFO] testing reedline-repl-rs-1.2.1 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate reedline-repl-rs 1.2.1 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate reedline-repl-rs 1.2.1 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate reedline-repl-rs 1.2.1 [INFO] tweaked toml for crates.io crate reedline-repl-rs 1.2.1 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate reedline-repl-rs 1.2.1 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate reedline-repl-rs 1.2.1 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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-macros v2.4.0 [INFO] [stderr] Downloaded crossterm_winapi v0.9.1 [INFO] [stderr] Downloaded winapi-util v0.1.8 [INFO] [stderr] Downloaded miniz_oxide v0.7.2 [INFO] [stderr] Downloaded rustversion v1.0.14 [INFO] [stderr] Downloaded yansi v1.0.1 [INFO] [stderr] Downloaded colorchoice v1.0.0 [INFO] [stderr] Downloaded anstyle-parse v0.2.3 [INFO] [stderr] Downloaded clap_derive v4.5.13 [INFO] [stderr] Downloaded crossbeam-utils v0.8.19 [INFO] [stderr] Downloaded bitflags v2.4.2 [INFO] [stderr] Downloaded chrono v0.4.33 [INFO] [stderr] Downloaded anstyle v1.0.6 [INFO] [stderr] Downloaded js-sys v0.3.68 [INFO] [stderr] Downloaded tokio v1.39.2 [INFO] [stderr] Downloaded regex-automata v0.4.5 [INFO] [stderr] Downloaded reedline v0.33.0 [INFO] [stderr] Downloaded regex v1.10.5 [INFO] [stderr] Downloaded rustix v0.38.31 [INFO] [stderr] Downloaded anstyle-query v1.0.2 [INFO] [stderr] Downloaded core-foundation-sys v0.8.6 [INFO] [stderr] Downloaded crossbeam-channel v0.5.12 [INFO] [stderr] Downloaded libc v0.2.153 [INFO] [stderr] Downloaded clap_builder v4.5.13 [INFO] [stderr] Downloaded wasm-bindgen v0.2.91 [INFO] [stderr] Downloaded vte v0.11.1 [INFO] [stderr] Downloaded signal-hook v0.3.17 [INFO] [stderr] Downloaded crossterm v0.27.0 [INFO] [stderr] Downloaded unicode-segmentation v1.11.0 [INFO] [stderr] Downloaded syn v2.0.48 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.91 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.91 [INFO] [stderr] Downloaded iana-time-zone v0.1.60 [INFO] [stderr] Downloaded smallvec v1.13.1 [INFO] [stderr] Downloaded serde_derive v1.0.196 [INFO] [stderr] Downloaded serde v1.0.196 [INFO] [stderr] Downloaded strip-ansi-escapes v0.2.0 [INFO] [stderr] Downloaded unicode-width v0.1.11 [INFO] [stderr] Downloaded proc-macro2 v1.0.78 [INFO] [stderr] Downloaded anstyle-wincon v3.0.2 [INFO] [stderr] Downloaded anstream v0.6.11 [INFO] [stderr] Downloaded clap_lex v0.7.2 [INFO] [stderr] Downloaded clap v4.5.13 [INFO] [stderr] Downloaded crossbeam-deque v0.8.5 [INFO] [stderr] Downloaded signal-hook-mio v0.2.3 [INFO] [stderr] Downloaded fd-lock v4.0.2 [INFO] [stderr] Downloaded nu-ansi-term v0.50.0 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.91 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.91 [INFO] [stderr] Downloaded crossbeam-queue v0.3.11 [INFO] [stderr] Downloaded crossbeam v0.8.4 [INFO] [stderr] Downloaded utf8parse v0.2.1 [INFO] [stderr] Downloaded vte_generate_state_changes v0.1.1 [INFO] [stderr] Downloaded linux-raw-sys v0.4.13 [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" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b560375f529db4e0d82172b21098681eeecb2501377d155ee85e6ae4c22a16a7 [INFO] running `Command { std: "docker" "start" "-a" "b560375f529db4e0d82172b21098681eeecb2501377d155ee85e6ae4c22a16a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b560375f529db4e0d82172b21098681eeecb2501377d155ee85e6ae4c22a16a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b560375f529db4e0d82172b21098681eeecb2501377d155ee85e6ae4c22a16a7", kill_on_drop: false }` [INFO] [stdout] b560375f529db4e0d82172b21098681eeecb2501377d155ee85e6ae4c22a16a7 [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" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8913d41146dd4d592e0bfb959c29d554638c25b852415b5ed8e545312998591d [INFO] running `Command { std: "docker" "start" "-a" "8913d41146dd4d592e0bfb959c29d554638c25b852415b5ed8e545312998591d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling anstyle-query v1.0.2 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling anstyle v1.0.6 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling clap_lex v0.7.2 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling anstyle-parse v0.2.3 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling anstream v0.6.11 [INFO] [stderr] Compiling nu-ansi-term v0.50.0 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling clap_builder v4.5.13 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling crossbeam-channel v0.5.12 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling vte_generate_state_changes v0.1.1 [INFO] [stderr] Compiling vte v0.11.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling crossbeam v0.8.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling mio v0.8.10 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling strip-ansi-escapes v0.2.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling signal-hook-mio v0.2.3 [INFO] [stderr] Compiling regex-automata v0.4.5 [INFO] [stderr] Compiling clap v4.5.13 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Compiling regex v1.10.5 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling chrono v0.4.33 [INFO] [stderr] Compiling crossterm v0.27.0 [INFO] [stderr] Compiling fd-lock v4.0.2 [INFO] [stderr] Compiling reedline v0.33.0 [INFO] [stderr] Compiling reedline-repl-rs v1.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/prompt.rs:12:27 [INFO] [stdout] | [INFO] [stdout] 12 | 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] 12 | 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/prompt.rs:19:28 [INFO] [stdout] | [INFO] [stdout] 19 | 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] 19 | 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/prompt.rs:22:32 [INFO] [stdout] | [INFO] [stdout] 22 | fn render_prompt_indicator(&self, edit_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] 22 | fn render_prompt_indicator(&self, edit_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/prompt.rs:25:42 [INFO] [stdout] | [INFO] [stdout] 25 | 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] 25 | 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/prompt.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 30 | history_search: PromptHistorySearch, [INFO] [stdout] 31 | ) -> 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] 31 | ) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 36.44s [INFO] running `Command { std: "docker" "inspect" "8913d41146dd4d592e0bfb959c29d554638c25b852415b5ed8e545312998591d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8913d41146dd4d592e0bfb959c29d554638c25b852415b5ed8e545312998591d", kill_on_drop: false }` [INFO] [stdout] 8913d41146dd4d592e0bfb959c29d554638c25b852415b5ed8e545312998591d [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" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9c8b5020143fdc211bfcc7f4a278451102c73e666e5e01f9c037563d1fd042ea [INFO] running `Command { std: "docker" "start" "-a" "9c8b5020143fdc211bfcc7f4a278451102c73e666e5e01f9c037563d1fd042ea", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling tokio v1.39.2 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling chrono v0.4.33 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Compiling crossterm v0.27.0 [INFO] [stderr] Compiling fd-lock v4.0.2 [INFO] [stderr] Compiling reedline v0.33.0 [INFO] [stderr] Compiling reedline-repl-rs v1.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/prompt.rs:12:27 [INFO] [stdout] | [INFO] [stdout] 12 | 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] 12 | 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/prompt.rs:19:28 [INFO] [stdout] | [INFO] [stdout] 19 | 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] 19 | 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/prompt.rs:22:32 [INFO] [stdout] | [INFO] [stdout] 22 | fn render_prompt_indicator(&self, edit_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] 22 | fn render_prompt_indicator(&self, edit_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/prompt.rs:25:42 [INFO] [stdout] | [INFO] [stdout] 25 | 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] 25 | 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/prompt.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 30 | history_search: PromptHistorySearch, [INFO] [stdout] 31 | ) -> 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] 31 | ) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/prompt.rs:12:27 [INFO] [stdout] | [INFO] [stdout] 12 | 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] 12 | 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/prompt.rs:19:28 [INFO] [stdout] | [INFO] [stdout] 19 | 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] 19 | 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/prompt.rs:22:32 [INFO] [stdout] | [INFO] [stdout] 22 | fn render_prompt_indicator(&self, edit_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] 22 | fn render_prompt_indicator(&self, edit_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/prompt.rs:25:42 [INFO] [stdout] | [INFO] [stdout] 25 | 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] 25 | 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/prompt.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 30 | history_search: PromptHistorySearch, [INFO] [stdout] 31 | ) -> 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] 31 | ) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 27.89s [INFO] running `Command { std: "docker" "inspect" "9c8b5020143fdc211bfcc7f4a278451102c73e666e5e01f9c037563d1fd042ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c8b5020143fdc211bfcc7f4a278451102c73e666e5e01f9c037563d1fd042ea", kill_on_drop: false }` [INFO] [stdout] 9c8b5020143fdc211bfcc7f4a278451102c73e666e5e01f9c037563d1fd042ea [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" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e5237b5028568595d233ec9b48c9db13b1af05dcb65d886a781fa97dc605b286 [INFO] running `Command { std: "docker" "start" "-a" "e5237b5028568595d233ec9b48c9db13b1af05dcb65d886a781fa97dc605b286", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/prompt.rs:12:27 [INFO] [stderr] | [INFO] [stderr] 12 | fn render_prompt_left(&self) -> Cow { [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] 12 | fn render_prompt_left(&self) -> Cow<'_, str> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/prompt.rs:19:28 [INFO] [stderr] | [INFO] [stderr] 19 | fn render_prompt_right(&self) -> Cow { [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] 19 | fn render_prompt_right(&self) -> Cow<'_, str> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/prompt.rs:22:32 [INFO] [stderr] | [INFO] [stderr] 22 | fn render_prompt_indicator(&self, edit_mode: PromptEditMode) -> Cow { [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^^^ the same lifetime is hidden 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] 22 | fn render_prompt_indicator(&self, edit_mode: PromptEditMode) -> Cow<'_, str> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/prompt.rs:25:42 [INFO] [stderr] | [INFO] [stderr] 25 | fn render_prompt_multiline_indicator(&self) -> Cow { [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] 25 | fn render_prompt_multiline_indicator(&self) -> Cow<'_, str> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/prompt.rs:29:9 [INFO] [stderr] | [INFO] [stderr] 29 | &self, [INFO] [stderr] | ^^^^^ the lifetime is elided here [INFO] [stderr] 30 | history_search: PromptHistorySearch, [INFO] [stderr] 31 | ) -> Cow { [INFO] [stderr] | ^^^^^^^^ the same lifetime is hidden 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] 31 | ) -> Cow<'_, str> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `reedline-repl-rs` (lib) generated 5 warnings (run `cargo fix --lib -p reedline-repl-rs` to apply 5 suggestions) [INFO] [stderr] warning: `reedline-repl-rs` (lib test) generated 5 warnings (5 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/reedline_repl_rs-46d2a9369f7cf144) [INFO] [stdout] [INFO] [stderr] Doc-tests reedline_repl_rs [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test src/lib.rs - (line 5) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 58) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 156) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 264) - compile ... ok [INFO] [stdout] test src/repl.rs - repl::Repl::external_printer (line 272) - compile ... ok [INFO] [stdout] test src/repl.rs - repl::Repl::process_argv (line 546) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 117) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/repl.rs - repl::Repl::process_argv (line 546) stdout ---- [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/repl.rs:552:73 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_repl_rs_546_0() { [INFO] [stdout] | ------------------------------------ this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 9 | repl.process_argv(std::env::args().skip(1).collect::>())?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_repl_rs_546_0() -> Result<(), Box> { [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/repl.rs:554:15 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_repl_rs_546_0() { [INFO] [stdout] | ------------------------------------ this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 11 | repl.run()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_repl_rs_546_0() -> Result<(), Box> { [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 117) stdout ---- [INFO] [stdout] error[E0599]: no method named `with_command_async` found for struct `Repl` in the current scope [INFO] [stdout] --> src/lib.rs:142:10 [INFO] [stdout] | [INFO] [stdout] 24 | let mut repl = Repl::new(()) [INFO] [stdout] | ____________________- [INFO] [stdout] 25 | | .with_name("MyApp") [INFO] [stdout] 26 | | .with_version("v0.1.0") [INFO] [stdout] 27 | | .with_command_async( [INFO] [stdout] | |_________-^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `with_command` with a similar name [INFO] [stdout] | [INFO] [stdout] 27 - .with_command_async( [INFO] [stdout] 27 + .with_command( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 117) [INFO] [stdout] src/repl.rs - repl::Repl::process_argv (line 546) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 5 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.38s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "e5237b5028568595d233ec9b48c9db13b1af05dcb65d886a781fa97dc605b286", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5237b5028568595d233ec9b48c9db13b1af05dcb65d886a781fa97dc605b286", kill_on_drop: false }` [INFO] [stdout] e5237b5028568595d233ec9b48c9db13b1af05dcb65d886a781fa97dc605b286