[INFO] fetching crate reedline-repl-rs 1.2.1... [INFO] testing reedline-repl-rs-1.2.1 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate reedline-repl-rs 1.2.1 into /workspace/builds/worker-6-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-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate reedline-repl-rs 1.2.1 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded nu-ansi-term v0.50.0 [INFO] [stderr] Downloaded reedline v0.33.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] acff388efb5f93a8652f6e0f2170d35dd0cc1001ba5d723fd208458872269500 [INFO] running `Command { std: "docker" "start" "-a" "acff388efb5f93a8652f6e0f2170d35dd0cc1001ba5d723fd208458872269500", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "acff388efb5f93a8652f6e0f2170d35dd0cc1001ba5d723fd208458872269500", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "acff388efb5f93a8652f6e0f2170d35dd0cc1001ba5d723fd208458872269500", kill_on_drop: false }` [INFO] [stdout] acff388efb5f93a8652f6e0f2170d35dd0cc1001ba5d723fd208458872269500 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d1609d1f44b339b0cbec97321595a3818b29fbe887c73840d8e273b8b60ad9fb [INFO] running `Command { std: "docker" "start" "-a" "d1609d1f44b339b0cbec97321595a3818b29fbe887c73840d8e273b8b60ad9fb", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling anstyle-parse v0.2.3 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling anstyle-query v1.0.2 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Compiling anstyle v1.0.6 [INFO] [stderr] Compiling clap_lex v0.7.2 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling anstream v0.6.11 [INFO] [stderr] Compiling itertools v0.12.1 [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 nu-ansi-term v0.50.0 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling clap_builder v4.5.13 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling crossbeam-channel v0.5.12 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling vte_generate_state_changes v0.1.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling mio v0.8.10 [INFO] [stderr] Compiling vte v0.11.1 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling strip-ansi-escapes v0.2.0 [INFO] [stderr] Compiling signal-hook-mio v0.2.3 [INFO] [stderr] Compiling crossbeam v0.8.4 [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 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 27.75s [INFO] running `Command { std: "docker" "inspect" "d1609d1f44b339b0cbec97321595a3818b29fbe887c73840d8e273b8b60ad9fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1609d1f44b339b0cbec97321595a3818b29fbe887c73840d8e273b8b60ad9fb", kill_on_drop: false }` [INFO] [stdout] d1609d1f44b339b0cbec97321595a3818b29fbe887c73840d8e273b8b60ad9fb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eaad9906e496ed83e03e74f6590d5036d5216dec38fe0d16f0ee6d2705598a08 [INFO] running `Command { std: "docker" "start" "-a" "eaad9906e496ed83e03e74f6590d5036d5216dec38fe0d16f0ee6d2705598a08", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling pin-project-lite v0.2.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 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 24.76s [INFO] running `Command { std: "docker" "inspect" "eaad9906e496ed83e03e74f6590d5036d5216dec38fe0d16f0ee6d2705598a08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eaad9906e496ed83e03e74f6590d5036d5216dec38fe0d16f0ee6d2705598a08", kill_on_drop: false }` [INFO] [stdout] eaad9906e496ed83e03e74f6590d5036d5216dec38fe0d16f0ee6d2705598a08 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 164e351eff9178b76db8d52f0045cf779b6970debca4ff4f6ec19d1915a5685c [INFO] running `Command { std: "docker" "start" "-a" "164e351eff9178b76db8d52f0045cf779b6970debca4ff4f6ec19d1915a5685c", 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.14s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/reedline_repl_rs-46d2a9369f7cf144) [INFO] [stdout] [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] [stderr] Doc-tests reedline_repl_rs [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test src/lib.rs - (line 58) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 156) - 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 264) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 117) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 5) - compile ... ok [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.29s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "164e351eff9178b76db8d52f0045cf779b6970debca4ff4f6ec19d1915a5685c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "164e351eff9178b76db8d52f0045cf779b6970debca4ff4f6ec19d1915a5685c", kill_on_drop: false }` [INFO] [stdout] 164e351eff9178b76db8d52f0045cf779b6970debca4ff4f6ec19d1915a5685c