[INFO] cloning repository https://github.com/JiwanChung/rgoto [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JiwanChung/rgoto" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJiwanChung%2Frgoto", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJiwanChung%2Frgoto'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9ed9f590f9220c17199bc7ee1336ce9f0e55e815 [INFO] checking JiwanChung/rgoto/9ed9f590f9220c17199bc7ee1336ce9f0e55e815 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJiwanChung%2Frgoto" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JiwanChung/rgoto on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/JiwanChung/rgoto [INFO] finished tweaking git repo https://github.com/JiwanChung/rgoto [INFO] tweaked toml for git repo https://github.com/JiwanChung/rgoto written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/JiwanChung/rgoto 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 273b8bb46c16d901eed6a57d8c799f23a633a662cc9e58f23dae84247e383879 [INFO] running `Command { std: "docker" "start" "-a" "273b8bb46c16d901eed6a57d8c799f23a633a662cc9e58f23dae84247e383879", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "273b8bb46c16d901eed6a57d8c799f23a633a662cc9e58f23dae84247e383879", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "273b8bb46c16d901eed6a57d8c799f23a633a662cc9e58f23dae84247e383879", kill_on_drop: false }` [INFO] [stdout] 273b8bb46c16d901eed6a57d8c799f23a633a662cc9e58f23dae84247e383879 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f8bf55af33ae8353882422d3b0ef0178b62e49e506527d86f54046e974f1d121 [INFO] running `Command { std: "docker" "start" "-a" "f8bf55af33ae8353882422d3b0ef0178b62e49e506527d86f54046e974f1d121", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling proc-macro2 v1.0.82 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Checking unicode-width v0.1.12 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling portable-atomic v1.6.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Checking unicode-linebreak v0.1.5 [INFO] [stderr] Checking unicode-segmentation v1.11.0 [INFO] [stderr] Checking smawk v0.3.2 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking textwrap v0.16.1 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking newline-converter v0.2.2 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.64 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Checking dirs v4.0.0 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking indicatif v0.17.8 [INFO] [stderr] Checking signal-hook-mio v0.2.3 [INFO] [stderr] Checking crossterm v0.21.0 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Checking cliclack v0.2.5 [INFO] [stderr] Checking inquire v0.2.1 [INFO] [stderr] Checking rgoto v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: methods `clear`, `extend`, and `iter_mut` are never used [INFO] [stdout] --> src/prompt/cursor.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl StringCursor { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn extend(&mut self, string: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | pub fn iter_mut(&mut self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Error` is never constructed [INFO] [stdout] --> src/prompt/interaction.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum State { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 10 | Error(String), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S_BAR_START` is never used [INFO] [stdout] --> src/theme.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | const S_BAR_START: Emoji = Emoji("┌", "T"); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S_CHECKBOX_ACTIVE` is never used [INFO] [stdout] --> src/theme.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | const S_CHECKBOX_ACTIVE: Emoji = Emoji("◻", "[•]"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S_CHECKBOX_SELECTED` is never used [INFO] [stdout] --> src/theme.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | const S_CHECKBOX_SELECTED: Emoji = Emoji("◼", "[+]"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S_CHECKBOX_INACTIVE` is never used [INFO] [stdout] --> src/theme.rs:22:7 [INFO] [stdout] | [INFO] [stdout] 22 | const S_CHECKBOX_INACTIVE: Emoji = Emoji("◻", "[ ]"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S_PASSWORD_MASK` is never used [INFO] [stdout] --> src/theme.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | const S_PASSWORD_MASK: Emoji = Emoji("▪", "•"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S_BAR_H` is never used [INFO] [stdout] --> src/theme.rs:25:7 [INFO] [stdout] | [INFO] [stdout] 25 | const S_BAR_H: Emoji = Emoji("─", "-"); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S_CORNER_TOP_RIGHT` is never used [INFO] [stdout] --> src/theme.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | const S_CORNER_TOP_RIGHT: Emoji = Emoji("╮", "+"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S_CONNECT_LEFT` is never used [INFO] [stdout] --> src/theme.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | const S_CONNECT_LEFT: Emoji = Emoji("├", "+"); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S_CORNER_BOTTOM_RIGHT` is never used [INFO] [stdout] --> src/theme.rs:28:7 [INFO] [stdout] | [INFO] [stdout] 28 | const S_CORNER_BOTTOM_RIGHT: Emoji = Emoji("╯", "+"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S_INFO` is never used [INFO] [stdout] --> src/theme.rs:30:7 [INFO] [stdout] | [INFO] [stdout] 30 | const S_INFO: Emoji = Emoji("●", "•"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S_WARN` is never used [INFO] [stdout] --> src/theme.rs:31:7 [INFO] [stdout] | [INFO] [stdout] 31 | const S_WARN: Emoji = Emoji("▲", "!"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S_ERROR` is never used [INFO] [stdout] --> src/theme.rs:32:7 [INFO] [stdout] | [INFO] [stdout] 32 | const S_ERROR: Emoji = Emoji("■", "x"); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S_SPINNER` is never used [INFO] [stdout] --> src/theme.rs:34:7 [INFO] [stdout] | [INFO] [stdout] 34 | const S_SPINNER: Emoji = Emoji("◒◐◓◑", "•oO0"); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S_PROGRESS` is never used [INFO] [stdout] --> src/theme.rs:35:7 [INFO] [stdout] | [INFO] [stdout] 35 | const S_PROGRESS: Emoji = Emoji("■□", "#-"); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/theme.rs:142:8 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Theme { [INFO] [stdout] | ----- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 142 | fn checkbox_symbol(&self, state: &ThemeState, selected: bool, active: bool) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | fn remark_symbol(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 168 | fn info_symbol(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 173 | fn warning_symbol(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 178 | fn error_symbol(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | fn active_symbol(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 188 | fn submit_symbol(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 193 | fn checkbox_style(&self, state: &ThemeState, selected: bool, active: bool) -> Style { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 232 | fn password_mask(&self) -> char { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 237 | fn format_intro(&self, title: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 247 | fn format_outro(&self, message: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 257 | fn format_outro_cancel(&self, message: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 323 | fn format_placeholder(&self, state: &ThemeState, cursor: &StringCursor) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 401 | fn checkbox_item( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 436 | fn format_multiselect_item( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 457 | fn format_confirm(&self, state: &ThemeState, confirm: bool) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 474 | fn default_progress_template(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 479 | fn default_spinner_template(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 484 | fn default_download_template(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 493 | fn format_progress_message(&self, text: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 513 | fn format_progress_start(&self, template: &str, grouped: bool, last: bool) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 524 | fn format_progress_with_state( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 559 | fn spinner_chars(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 564 | fn progress_chars(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 570 | fn format_note_generic(&self, is_outro: bool, prompt: &str, message: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 633 | fn format_note(&self, prompt: &str, message: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 638 | fn format_outro_note(&self, prompt: &str, message: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 643 | fn format_log(&self, text: &str, symbol: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_theme` is never used [INFO] [stdout] --> src/theme.rs:678:8 [INFO] [stdout] | [INFO] [stdout] 678 | pub fn set_theme(theme: T) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reset_theme` is never used [INFO] [stdout] --> src/theme.rs:683:8 [INFO] [stdout] | [INFO] [stdout] 683 | pub fn reset_theme() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `items`, `initial_value`, and `filter_mode` are never used [INFO] [stdout] --> src/select.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 32 | / impl Select [INFO] [stdout] 33 | | where [INFO] [stdout] 34 | | T: Clone + Eq, [INFO] [stdout] | |__________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn items(mut self, items: &[(T, impl Display, impl Display)]) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn initial_value(mut self, value: T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn filter_mode(mut self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:65:11 [INFO] [stdout] | [INFO] [stdout] 53 | let mut selector = select("✨ Select a host to SSH into ✨"); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 65 | match selector.interact() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/theme.rs:673:29 [INFO] [stdout] | [INFO] [stdout] 673 | Lazy::new(|| Mutex::new(Box::new(ClackTheme))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/select.rs:40:20 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn new(prompt: impl Display) -> Self { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 40 | items: Vec::new(), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/select.rs:42:28 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn new(prompt: impl Display) -> Self { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 42 | initial_value: None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/select.rs:44:27 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn new(prompt: impl Display) -> Self { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 44 | input_filter: StringCursor::default(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/select.rs:45:29 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn new(prompt: impl Display) -> Self { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 45 | filtered_items: Vec::new(), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rgoto` (bin "rgoto") due to 7 previous errors; 20 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: methods `clear`, `extend`, and `iter_mut` are never used [INFO] [stdout] --> src/prompt/cursor.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl StringCursor { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn extend(&mut self, string: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | pub fn iter_mut(&mut self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Error` is never constructed [INFO] [stdout] --> src/prompt/interaction.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum State { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 10 | Error(String), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S_BAR_START` is never used [INFO] [stdout] --> src/theme.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | const S_BAR_START: Emoji = Emoji("┌", "T"); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S_CHECKBOX_ACTIVE` is never used [INFO] [stdout] --> src/theme.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | const S_CHECKBOX_ACTIVE: Emoji = Emoji("◻", "[•]"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S_CHECKBOX_SELECTED` is never used [INFO] [stdout] --> src/theme.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | const S_CHECKBOX_SELECTED: Emoji = Emoji("◼", "[+]"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S_CHECKBOX_INACTIVE` is never used [INFO] [stdout] --> src/theme.rs:22:7 [INFO] [stdout] | [INFO] [stdout] 22 | const S_CHECKBOX_INACTIVE: Emoji = Emoji("◻", "[ ]"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S_PASSWORD_MASK` is never used [INFO] [stdout] --> src/theme.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | const S_PASSWORD_MASK: Emoji = Emoji("▪", "•"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S_INFO` is never used [INFO] [stdout] --> src/theme.rs:30:7 [INFO] [stdout] | [INFO] [stdout] 30 | const S_INFO: Emoji = Emoji("●", "•"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S_WARN` is never used [INFO] [stdout] --> src/theme.rs:31:7 [INFO] [stdout] | [INFO] [stdout] 31 | const S_WARN: Emoji = Emoji("▲", "!"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S_ERROR` is never used [INFO] [stdout] --> src/theme.rs:32:7 [INFO] [stdout] | [INFO] [stdout] 32 | const S_ERROR: Emoji = Emoji("■", "x"); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S_SPINNER` is never used [INFO] [stdout] --> src/theme.rs:34:7 [INFO] [stdout] | [INFO] [stdout] 34 | const S_SPINNER: Emoji = Emoji("◒◐◓◑", "•oO0"); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S_PROGRESS` is never used [INFO] [stdout] --> src/theme.rs:35:7 [INFO] [stdout] | [INFO] [stdout] 35 | const S_PROGRESS: Emoji = Emoji("■□", "#-"); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/theme.rs:142:8 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Theme { [INFO] [stdout] | ----- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 142 | fn checkbox_symbol(&self, state: &ThemeState, selected: bool, active: bool) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | fn remark_symbol(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 168 | fn info_symbol(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 173 | fn warning_symbol(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 178 | fn error_symbol(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | fn active_symbol(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 188 | fn submit_symbol(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 193 | fn checkbox_style(&self, state: &ThemeState, selected: bool, active: bool) -> Style { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 232 | fn password_mask(&self) -> char { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 237 | fn format_intro(&self, title: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 247 | fn format_outro(&self, message: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 257 | fn format_outro_cancel(&self, message: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 323 | fn format_placeholder(&self, state: &ThemeState, cursor: &StringCursor) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 401 | fn checkbox_item( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 436 | fn format_multiselect_item( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 457 | fn format_confirm(&self, state: &ThemeState, confirm: bool) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 474 | fn default_progress_template(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 479 | fn default_spinner_template(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 484 | fn default_download_template(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 493 | fn format_progress_message(&self, text: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 513 | fn format_progress_start(&self, template: &str, grouped: bool, last: bool) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 524 | fn format_progress_with_state( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 559 | fn spinner_chars(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 564 | fn progress_chars(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 638 | fn format_outro_note(&self, prompt: &str, message: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 643 | fn format_log(&self, text: &str, symbol: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_theme` is never used [INFO] [stdout] --> src/theme.rs:678:8 [INFO] [stdout] | [INFO] [stdout] 678 | pub fn set_theme(theme: T) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reset_theme` is never used [INFO] [stdout] --> src/theme.rs:683:8 [INFO] [stdout] | [INFO] [stdout] 683 | pub fn reset_theme() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `items` and `filter_mode` are never used [INFO] [stdout] --> src/select.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 32 | / impl Select [INFO] [stdout] 33 | | where [INFO] [stdout] 34 | | T: Clone + Eq, [INFO] [stdout] | |__________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn items(mut self, items: &[(T, impl Display, impl Display)]) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn filter_mode(mut self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:65:11 [INFO] [stdout] | [INFO] [stdout] 53 | let mut selector = select("✨ Select a host to SSH into ✨"); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 65 | match selector.interact() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/theme.rs:673:29 [INFO] [stdout] | [INFO] [stdout] 673 | Lazy::new(|| Mutex::new(Box::new(ClackTheme))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/select.rs:40:20 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn new(prompt: impl Display) -> Self { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 40 | items: Vec::new(), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/select.rs:42:28 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn new(prompt: impl Display) -> Self { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 42 | initial_value: None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/select.rs:44:27 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn new(prompt: impl Display) -> Self { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 44 | input_filter: StringCursor::default(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/select.rs:45:29 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn new(prompt: impl Display) -> Self { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 45 | filtered_items: Vec::new(), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rgoto` (bin "rgoto" test) due to 7 previous errors; 16 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f8bf55af33ae8353882422d3b0ef0178b62e49e506527d86f54046e974f1d121", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8bf55af33ae8353882422d3b0ef0178b62e49e506527d86f54046e974f1d121", kill_on_drop: false }` [INFO] [stdout] f8bf55af33ae8353882422d3b0ef0178b62e49e506527d86f54046e974f1d121