[INFO] fetching crate brush-core 0.2.6... [INFO] checking brush-core-0.2.6 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate brush-core 0.2.6 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate brush-core 0.2.6 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 crates.io crate brush-core 0.2.6 [INFO] finished tweaking crates.io crate brush-core 0.2.6 [INFO] tweaked toml for crates.io crate brush-core 0.2.6 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 227 packages to latest compatible versions [INFO] [stderr] Adding addr2line v0.22.0 (latest: v0.24.1) [INFO] [stderr] Adding anes v0.1.6 (latest: v0.2.0) [INFO] [stderr] Adding bit-set v0.5.3 (latest: v0.8.0) [INFO] [stderr] Adding bit-vec v0.6.3 (latest: v0.8.0) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.6.0) [INFO] [stderr] Adding clap v4.4.18 (latest: v4.5.16) [INFO] [stderr] Adding clap_builder v4.4.18 (latest: v4.5.15) [INFO] [stderr] Adding clap_derive v4.4.7 (latest: v4.5.13) [INFO] [stderr] Adding clap_lex v0.6.0 (latest: v0.7.2) [INFO] [stderr] Adding gimli v0.29.0 (latest: v0.31.0) [INFO] [stderr] Adding heck v0.4.1 (latest: v0.5.0) [INFO] [stderr] Adding hermit-abi v0.3.9 (latest: v0.4.0) [INFO] [stderr] Adding itertools v0.10.5 (latest: v0.13.0) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (latest: v0.6.5) [INFO] [stderr] Adding memoffset v0.7.1 (latest: v0.9.1) [INFO] [stderr] Adding miniz_oxide v0.7.4 (latest: v0.8.0) [INFO] [stderr] Adding nix v0.26.4 (latest: v0.29.0) [INFO] [stderr] Adding nix v0.27.1 (latest: v0.29.0) [INFO] [stderr] Adding quick-xml v0.26.0 (latest: v0.36.1) [INFO] [stderr] Adding redox_syscall v0.4.1 (latest: v0.5.3) [INFO] [stderr] Adding strsim v0.10.0 (latest: v0.11.1) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows v0.52.0 (latest: v0.58.0) [INFO] [stderr] Adding windows v0.57.0 (latest: v0.58.0) [INFO] [stderr] Adding windows-core v0.52.0 (latest: v0.58.0) [INFO] [stderr] Adding windows-core v0.57.0 (latest: v0.58.0) [INFO] [stderr] Adding windows-implement v0.57.0 (latest: v0.58.0) [INFO] [stderr] Adding windows-interface v0.57.0 (latest: v0.58.0) [INFO] [stderr] Adding windows-result v0.1.2 (latest: v0.2.0) [INFO] [stderr] Adding windows-sys v0.48.0 (latest: v0.59.0) [INFO] [stderr] Adding windows-sys v0.52.0 (latest: v0.59.0) [INFO] [stderr] Adding windows-targets v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_aarch64_gnullvm v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_aarch64_msvc v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_i686_gnu v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_i686_msvc v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnu v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnullvm v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_x86_64_msvc v0.48.5 (latest: v0.52.6) [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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 2b3d3cdb7f0f043dcca1e51d9f3068004a36af043415470767044364b0564a72 [INFO] running `Command { std: "docker" "start" "-a" "2b3d3cdb7f0f043dcca1e51d9f3068004a36af043415470767044364b0564a72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2b3d3cdb7f0f043dcca1e51d9f3068004a36af043415470767044364b0564a72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b3d3cdb7f0f043dcca1e51d9f3068004a36af043415470767044364b0564a72", kill_on_drop: false }` [INFO] [stdout] 2b3d3cdb7f0f043dcca1e51d9f3068004a36af043415470767044364b0564a72 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] bb164b765afd66b222a8d111c37799318b02cc02ed005385c134081cd89a97fc [INFO] running `Command { std: "docker" "start" "-a" "bb164b765afd66b222a8d111c37799318b02cc02ed005385c134081cd89a97fc", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling rustix v0.38.35 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking plotters-backend v0.3.6 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Compiling cpp_demangle v0.4.4 [INFO] [stderr] Compiling peg-runtime v0.8.3 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking debugid v0.8.0 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling backtrace v0.3.73 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling peg-macros v0.8.4 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking plotters-svg v0.3.6 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Compiling findshlibs v0.10.2 [INFO] [stderr] Checking gimli v0.29.0 [INFO] [stderr] Checking rustc-demangle v0.1.24 [INFO] [stderr] Checking bytemuck v1.17.1 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Compiling procfs v0.16.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling symbolic-demangle v12.10.1 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking rgb v0.8.50 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Checking plotters v0.3.6 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking procfs-core v0.16.0 [INFO] [stderr] Checking num-format v0.4.4 [INFO] [stderr] Checking utf8-chars v3.0.3 [INFO] [stderr] Checking quick-xml v0.26.0 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking ahash v0.8.11 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking memmap2 v0.9.4 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Checking symbolic-common v12.10.1 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking peg v0.8.4 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking nix v0.27.1 [INFO] [stderr] Checking object v0.36.4 [INFO] [stderr] Checking oorandom v11.1.4 [INFO] [stderr] Compiling pprof v0.13.0 [INFO] [stderr] Checking cached_proc_macro_types v0.1.1 [INFO] [stderr] Checking indenter v0.3.3 [INFO] [stderr] Checking str_stack v0.1.0 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Checking brush-parser v0.2.5 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking uzers v0.12.1 [INFO] [stderr] Checking os_pipe v1.2.1 [INFO] [stderr] Checking hostname v0.4.0 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Compiling async-recursion v1.1.1 [INFO] [stderr] Checking command-fds v0.3.0 [INFO] [stderr] Checking addr2line v0.22.0 [INFO] [stderr] Checking terminal_size v0.3.0 [INFO] [stderr] Checking tempfile v3.12.0 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Checking clap_builder v4.4.18 [INFO] [stderr] Checking inferno v0.11.21 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling cached_proc_macro v0.23.0 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking fancy-regex v0.13.0 [INFO] [stderr] Checking cached v0.53.1 [INFO] [stderr] Checking clap v4.4.18 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Checking brush-core v0.2.6 (/opt/rustwide/workdir) [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/completion.rs:879:5 [INFO] [stdout] | [INFO] [stdout] 869 | let mut candidates = HashSet::new(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 879 | candidates.into_iter().collect() [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/builtins/alias.rs:23:65 [INFO] [stdout] | [INFO] [stdout] 22 | context: commands::ExecutionContext<'_>, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | ) -> Result { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 24 | | let mut exit_code = builtins::ExitCode::Success; [INFO] [stdout] 25 | | [INFO] [stdout] 26 | | if self.print || self.aliases.is_empty() { [INFO] [stdout] ... | [INFO] [stdout] 50 | | Ok(exit_code) [INFO] [stdout] 51 | | } [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/builtins/bg.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 17 | context: commands::ExecutionContext<'_>, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | ) -> Result { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | let mut exit_code = builtins::ExitCode::Success; [INFO] [stdout] 20 | | [INFO] [stdout] 21 | | if !self.job_specs.is_empty() { [INFO] [stdout] ... | [INFO] [stdout] 44 | | Ok(exit_code) [INFO] [stdout] 45 | | } [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/builtins/break_.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 17 | _context: commands::ExecutionContext<'_>, [INFO] [stdout] | ---------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | ) -> Result { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | // If specified, which_loop needs to be positive. [INFO] [stdout] 20 | | if self.which_loop <= 0 { [INFO] [stdout] 21 | | return Ok(builtins::ExitCode::InvalidUsage); [INFO] [stdout] ... | [INFO] [stdout] 25 | | Ok(builtins::ExitCode::BreakLoop((self.which_loop - 1) as u8)) [INFO] [stdout] 26 | | } [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/builtins/builtin_.rs:22:65 [INFO] [stdout] | [INFO] [stdout] 21 | mut context: commands::ExecutionContext<'_>, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | ) -> Result { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 23 | | if let Some(builtin_name) = &self.builtin_name { [INFO] [stdout] 24 | | if let Some(builtin) = context.shell.builtins.get(builtin_name) { [INFO] [stdout] 25 | | context.command_name.clone_from(builtin_name); [INFO] [stdout] ... | [INFO] [stdout] 40 | | } [INFO] [stdout] 41 | | } [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/builtins/cd.rs:36:65 [INFO] [stdout] | [INFO] [stdout] 35 | context: commands::ExecutionContext<'_>, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | ) -> Result { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 37 | | // TODO: implement options [INFO] [stdout] 38 | | if self.force_follow_symlinks [INFO] [stdout] 39 | | || self.use_physical_dir [INFO] [stdout] ... | [INFO] [stdout] 65 | | Ok(builtins::ExitCode::Success) [INFO] [stdout] 66 | | } [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/builtins/colon.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 17 | _context: commands::ExecutionContext<'_>, [INFO] [stdout] | ---------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | ) -> Result { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | Ok(builtins::ExitCode::Success) [INFO] [stdout] 20 | | } [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/builtins/command.rs:34:51 [INFO] [stdout] | [INFO] [stdout] 33 | context: commands::ExecutionContext<'_>, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 34 | ) -> Result { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 35 | | if self.use_default_path { [INFO] [stdout] 36 | | return error::unimp("command -p"); [INFO] [stdout] 37 | | } [INFO] [stdout] ... | [INFO] [stdout] 66 | | } [INFO] [stdout] 67 | | } [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/builtins/complete.rs:218:65 [INFO] [stdout] | [INFO] [stdout] 217 | mut context: commands::ExecutionContext<'_>, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 218 | ) -> Result { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 219 | | // If -D, -E, or -I are specified, then any names provided are ignored. [INFO] [stdout] 220 | | if self.use_as_default [INFO] [stdout] 221 | | || self.use_for_empty_line [INFO] [stdout] ... | [INFO] [stdout] 232 | | Ok(builtins::ExitCode::Success) [INFO] [stdout] 233 | | } [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/builtins/complete.rs:436:65 [INFO] [stdout] | [INFO] [stdout] 435 | context: commands::ExecutionContext<'_>, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 436 | ) -> Result { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 437 | | let spec = self.common_args.create_spec(); [INFO] [stdout] 438 | | [INFO] [stdout] 439 | | let token_to_complete = self.word.as_deref().unwrap_or_default(); [INFO] [stdout] ... | [INFO] [stdout] 469 | | Ok(builtins::ExitCode::Success) [INFO] [stdout] 470 | | } [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/builtins/complete.rs:503:65 [INFO] [stdout] | [INFO] [stdout] 502 | context: commands::ExecutionContext<'_>, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 503 | ) -> Result { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 504 | | let mut options = HashMap::new(); [INFO] [stdout] 505 | | for option in &self.disabled_options { [INFO] [stdout] 506 | | options.insert(option.clone(), false); [INFO] [stdout] ... | [INFO] [stdout] 570 | | Ok(builtins::ExitCode::Success) [INFO] [stdout] 571 | | } [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/builtins/continue_.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 17 | _context: commands::ExecutionContext<'_>, [INFO] [stdout] | ---------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | ) -> Result { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | // If specified, which_loop needs to be positive. [INFO] [stdout] 20 | | if self.which_loop <= 0 { [INFO] [stdout] 21 | | return Ok(builtins::ExitCode::InvalidUsage); [INFO] [stdout] ... | [INFO] [stdout] 27 | | )) [INFO] [stdout] 28 | | } [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/builtins/declare.rs:122:65 [INFO] [stdout] | [INFO] [stdout] 121 | mut context: commands::ExecutionContext<'_>, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 122 | ) -> Result { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 123 | | let verb = match context.command_name.as_str() { [INFO] [stdout] 124 | | "local" => DeclareVerb::Local, [INFO] [stdout] 125 | | "readonly" => DeclareVerb::Readonly, [INFO] [stdout] ... | [INFO] [stdout] 165 | | Ok(result) [INFO] [stdout] 166 | | } [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/builtins/dirs.rs:33:65 [INFO] [stdout] | [INFO] [stdout] 32 | context: commands::ExecutionContext<'_>, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 33 | ) -> Result { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 34 | | if self.clear { [INFO] [stdout] 35 | | context.shell.directory_stack.clear(); [INFO] [stdout] 36 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 69 | | Ok(builtins::ExitCode::Success) [INFO] [stdout] 70 | | } [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/builtins/dot.rs:23:65 [INFO] [stdout] | [INFO] [stdout] 22 | context: commands::ExecutionContext<'_>, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | ) -> Result { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 24 | | // TODO: Handle trap inheritance. [INFO] [stdout] 25 | | let script_args: Vec<_> = self.script_args.iter().map(|a| a.as_str()).collect(); [INFO] [stdout] ... | [INFO] [stdout] 42 | | Ok(builtins::ExitCode::Success) [INFO] [stdout] 43 | | } [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/builtins/echo.rs:32:65 [INFO] [stdout] | [INFO] [stdout] 31 | context: commands::ExecutionContext<'_>, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 32 | ) -> Result { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 33 | | let mut trailing_newline = !self.no_trailing_newline; [INFO] [stdout] 34 | | let mut s; [INFO] [stdout] 35 | | if self.interpret_backslash_escapes { [INFO] [stdout] ... | [INFO] [stdout] 64 | | return Ok(builtins::ExitCode::Success); [INFO] [stdout] 65 | | } [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/builtins/enable.rs:45:58 [INFO] [stdout] | [INFO] [stdout] 44 | context: commands::ExecutionContext<'_>, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 45 | ) -> Result { [INFO] [stdout] | __________________________________________________________^ [INFO] [stdout] 46 | | let mut result = builtins::ExitCode::Success; [INFO] [stdout] 47 | | [INFO] [stdout] 48 | | if self.shared_object_path.is_some() { [INFO] [stdout] ... | [INFO] [stdout] 93 | | Ok(result) [INFO] [stdout] 94 | | } [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/builtins/eval.rs:17:65 [INFO] [stdout] | [INFO] [stdout] 16 | context: commands::ExecutionContext<'_>, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 17 | ) -> Result { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 18 | | if !self.args.is_empty() { [INFO] [stdout] 19 | | let args_concatenated = self.args.join(" "); [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] 37 | | } [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/builtins/exec.rs:31:58 [INFO] [stdout] | [INFO] [stdout] 30 | context: commands::ExecutionContext<'_>, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 31 | ) -> Result { [INFO] [stdout] | __________________________________________________________^ [INFO] [stdout] 32 | | if self.args.is_empty() { [INFO] [stdout] 33 | | return Ok(builtins::ExitCode::Success); [INFO] [stdout] 34 | | } [INFO] [stdout] ... | [INFO] [stdout] 57 | | } [INFO] [stdout] 58 | | } [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/builtins/exit.rs:17:65 [INFO] [stdout] | [INFO] [stdout] 16 | context: commands::ExecutionContext<'_>, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 17 | ) -> Result { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 18 | | let code_8bit: u8; [INFO] [stdout] 19 | | [INFO] [stdout] 20 | | #[allow(clippy::cast_sign_loss)] [INFO] [stdout] ... | [INFO] [stdout] 27 | | Ok(builtins::ExitCode::ExitShell(code_8bit)) [INFO] [stdout] 28 | | } [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/builtins/export.rs:45:65 [INFO] [stdout] | [INFO] [stdout] 44 | context: commands::ExecutionContext<'_>, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 45 | ) -> Result { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 46 | | if !self.declarations.is_empty() { [INFO] [stdout] 47 | | for decl in &self.declarations { [INFO] [stdout] 48 | | match decl { [INFO] [stdout] ... | [INFO] [stdout] 108 | | Ok(builtins::ExitCode::Success) [INFO] [stdout] 109 | | } [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/builtins/factory.rs:90:14 [INFO] [stdout] | [INFO] [stdout] 87 | context: commands::ExecutionContext<'_>, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 90 | Box::pin(async move { exec_simple_builtin_impl::(context, args).await }) [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/builtins/factory.rs:90:72 [INFO] [stdout] | [INFO] [stdout] 87 | context: commands::ExecutionContext<'_>, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 90 | Box::pin(async move { exec_simple_builtin_impl::(context, args).await }) [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/builtins/factory.rs:115:14 [INFO] [stdout] | [INFO] [stdout] 112 | context: commands::ExecutionContext<'_>, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 115 | Box::pin(async move { exec_builtin_impl::(context, args).await }) [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/builtins/factory.rs:115:65 [INFO] [stdout] | [INFO] [stdout] 112 | context: commands::ExecutionContext<'_>, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 115 | Box::pin(async move { exec_builtin_impl::(context, args).await }) [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/builtins/factory.rs:147:14 [INFO] [stdout] | [INFO] [stdout] 144 | context: commands::ExecutionContext<'_>, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 147 | Box::pin(async move { exec_declaration_builtin_impl::(context, args).await }) [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/builtins/factory.rs:147:77 [INFO] [stdout] | [INFO] [stdout] 144 | context: commands::ExecutionContext<'_>, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 147 | Box::pin(async move { exec_declaration_builtin_impl::(context, args).await }) [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/builtins/false_.rs:14:58 [INFO] [stdout] | [INFO] [stdout] 13 | _context: commands::ExecutionContext<'_>, [INFO] [stdout] | ---------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 14 | ) -> Result { [INFO] [stdout] | __________________________________________________________^ [INFO] [stdout] 15 | | Ok(builtins::ExitCode::Custom(1)) [INFO] [stdout] 16 | | } [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/builtins/fg.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 17 | context: commands::ExecutionContext<'_>, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | ) -> Result { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | let mut stderr = context.stdout(); [INFO] [stdout] 20 | | [INFO] [stdout] 21 | | if let Some(job_spec) = &self.job_spec { [INFO] [stdout] ... | [INFO] [stdout] 47 | | } [INFO] [stdout] 48 | | } [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/builtins/getopts.rs:26:65 [INFO] [stdout] | [INFO] [stdout] 25 | context: commands::ExecutionContext<'_>, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 26 | ) -> Result { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 27 | | let mut args = HashMap::::new(); [INFO] [stdout] 28 | | [INFO] [stdout] 29 | | // Build the args map [INFO] [stdout] ... | [INFO] [stdout] 108 | | Ok(builtins::ExitCode::Success) [INFO] [stdout] 109 | | } [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/builtins/help.rs:30:65 [INFO] [stdout] | [INFO] [stdout] 29 | context: commands::ExecutionContext<'_>, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | ) -> Result { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 31 | | if self.topic_patterns.is_empty() { [INFO] [stdout] 32 | | Self::display_general_help(&context)?; [INFO] [stdout] 33 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 39 | | Ok(builtins::ExitCode::Success) [INFO] [stdout] 40 | | } [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/builtins/jobs.rs:39:65 [INFO] [stdout] | [INFO] [stdout] 38 | context: commands::ExecutionContext<'_>, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | ) -> Result { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 40 | | if self.also_show_pids { [INFO] [stdout] 41 | | return error::unimp("jobs -l"); [INFO] [stdout] 42 | | } [INFO] [stdout] ... | [INFO] [stdout] 55 | | Ok(builtins::ExitCode::Success) [INFO] [stdout] 56 | | } [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/builtins/kill.rs:33:65 [INFO] [stdout] | [INFO] [stdout] 32 | context: commands::ExecutionContext<'_>, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 33 | ) -> Result { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 34 | | if self.signal_name.is_some() { [INFO] [stdout] 35 | | return error::unimp("kill -s"); [INFO] [stdout] 36 | | } [INFO] [stdout] ... | [INFO] [stdout] 74 | | } [INFO] [stdout] 75 | | } [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/builtins/let_.rs:19:65 [INFO] [stdout] | [INFO] [stdout] 18 | context: commands::ExecutionContext<'_>, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | ) -> Result { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 20 | | let mut exit_code = builtins::ExitCode::InvalidUsage; [INFO] [stdout] 21 | | [INFO] [stdout] 22 | | if self.exprs.is_empty() { [INFO] [stdout] ... | [INFO] [stdout] 38 | | Ok(exit_code) [INFO] [stdout] 39 | | } [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/builtins/popd.rs:22:65 [INFO] [stdout] | [INFO] [stdout] 21 | context: commands::ExecutionContext<'_>, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | ) -> Result { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 23 | | if let Some(popped) = context.shell.directory_stack.pop() { [INFO] [stdout] 24 | | if !self.no_directory_change { [INFO] [stdout] 25 | | context.shell.set_working_dir(&popped)?; [INFO] [stdout] ... | [INFO] [stdout] 36 | | Ok(builtins::ExitCode::Success) [INFO] [stdout] 37 | | } [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/builtins/printf.rs:27:65 [INFO] [stdout] | [INFO] [stdout] 26 | context: commands::ExecutionContext<'_>, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 27 | ) -> Result { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 28 | | // TODO: Don't call external printf command. [INFO] [stdout] 29 | | let mut cmd = std::process::Command::new("printf"); [INFO] [stdout] 30 | | cmd.env_clear(); [INFO] [stdout] ... | [INFO] [stdout] 57 | | return Ok(builtins::ExitCode::Success); [INFO] [stdout] 58 | | } [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/builtins/pushd.rs:24:65 [INFO] [stdout] | [INFO] [stdout] 23 | context: commands::ExecutionContext<'_>, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 24 | ) -> Result { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 25 | | if self.no_directory_change { [INFO] [stdout] 26 | | context [INFO] [stdout] 27 | | .shell [INFO] [stdout] ... | [INFO] [stdout] 43 | | Ok(builtins::ExitCode::Success) [INFO] [stdout] 44 | | } [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/builtins/pwd.rs:22:65 [INFO] [stdout] | [INFO] [stdout] 21 | context: commands::ExecutionContext<'_>, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | ) -> Result { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 23 | | // [INFO] [stdout] 24 | | // TODO: implement flags [INFO] [stdout] 25 | | // TODO: look for 'physical' option in execution context [INFO] [stdout] ... | [INFO] [stdout] 37 | | Ok(builtins::ExitCode::Success) [INFO] [stdout] 38 | | } [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/builtins/read.rs:67:65 [INFO] [stdout] | [INFO] [stdout] 66 | context: commands::ExecutionContext<'_>, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 67 | ) -> Result { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 68 | | if self.use_readline { [INFO] [stdout] 69 | | return error::unimp("read -e"); [INFO] [stdout] 70 | | } [INFO] [stdout] ... | [INFO] [stdout] 154 | | } [INFO] [stdout] 155 | | } [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/builtins/return_.rs:17:65 [INFO] [stdout] | [INFO] [stdout] 16 | context: commands::ExecutionContext<'_>, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 17 | ) -> Result { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 18 | | let code_8bit: u8; [INFO] [stdout] 19 | | #[allow(clippy::cast_sign_loss)] [INFO] [stdout] 20 | | if let Some(code_32bit) = &self.code { [INFO] [stdout] ... | [INFO] [stdout] 27 | | Ok(builtins::ExitCode::ReturnFromFunctionOrScript(code_8bit)) [INFO] [stdout] 28 | | } [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/builtins/set.rs:143:51 [INFO] [stdout] | [INFO] [stdout] 142 | context: commands::ExecutionContext<'_>, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 143 | ) -> Result { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 144 | | let mut result = builtins::ExitCode::Success; [INFO] [stdout] 145 | | [INFO] [stdout] 146 | | if let Some(value) = self.print_commands_and_arguments.to_bool() { [INFO] [stdout] ... | [INFO] [stdout] 272 | | Ok(result) [INFO] [stdout] 273 | | } [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/builtins/shift.rs:17:65 [INFO] [stdout] | [INFO] [stdout] 16 | context: commands::ExecutionContext<'_>, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 17 | ) -> Result { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 18 | | let n = self.n.unwrap_or(1); [INFO] [stdout] 19 | | [INFO] [stdout] 20 | | if n < 0 { [INFO] [stdout] ... | [INFO] [stdout] 33 | | Ok(builtins::ExitCode::Success) [INFO] [stdout] 34 | | } [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/builtins/shopt.rs:39:65 [INFO] [stdout] | [INFO] [stdout] 38 | context: commands::ExecutionContext<'_>, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | ) -> Result { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 40 | | if self.set && self.unset { [INFO] [stdout] 41 | | writeln!( [INFO] [stdout] 42 | | context.stderr(), [INFO] [stdout] ... | [INFO] [stdout] 143 | | } [INFO] [stdout] 144 | | } [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/builtins/test.rs:19:65 [INFO] [stdout] | [INFO] [stdout] 18 | context: commands::ExecutionContext<'_>, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | ) -> Result { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 20 | | let mut args = self.args.as_slice(); [INFO] [stdout] 21 | | [INFO] [stdout] 22 | | if context.command_name == "[" { [INFO] [stdout] ... | [INFO] [stdout] 38 | | } [INFO] [stdout] 39 | | } [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/builtins/trap.rs:25:58 [INFO] [stdout] | [INFO] [stdout] 24 | mut context: commands::ExecutionContext<'_>, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | ) -> Result { [INFO] [stdout] | __________________________________________________________^ [INFO] [stdout] 26 | | if self.list_signals { [INFO] [stdout] 27 | | Self::display_signals(&context)?; [INFO] [stdout] 28 | | Ok(builtins::ExitCode::Success) [INFO] [stdout] ... | [INFO] [stdout] 54 | | } [INFO] [stdout] 55 | | } [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/builtins/true_.rs:14:65 [INFO] [stdout] | [INFO] [stdout] 13 | _context: commands::ExecutionContext<'_>, [INFO] [stdout] | ---------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 14 | ) -> Result { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 15 | | Ok(builtins::ExitCode::Success) [INFO] [stdout] 16 | | } [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/builtins/type_.rs:52:65 [INFO] [stdout] | [INFO] [stdout] 51 | context: commands::ExecutionContext<'_>, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 52 | ) -> Result { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 53 | | let mut result = builtins::ExitCode::Success; [INFO] [stdout] 54 | | [INFO] [stdout] 55 | | for name in &self.names { [INFO] [stdout] ... | [INFO] [stdout] 129 | | Ok(result) [INFO] [stdout] 130 | | } [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/builtins/umask.rs:28:65 [INFO] [stdout] | [INFO] [stdout] 27 | context: commands::ExecutionContext<'_>, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28 | ) -> Result { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 29 | | if let Some(mode) = &self.mode { [INFO] [stdout] 30 | | if mode.starts_with(|c: char| c.is_digit(8)) { [INFO] [stdout] 31 | | let parsed = u32::from_str_radix(mode.as_str(), 8)?; [INFO] [stdout] ... | [INFO] [stdout] 55 | | Ok(builtins::ExitCode::Success) [INFO] [stdout] 56 | | } [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/builtins/unalias.rs:22:65 [INFO] [stdout] | [INFO] [stdout] 21 | context: commands::ExecutionContext<'_>, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | ) -> Result { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 23 | | let mut exit_code = builtins::ExitCode::Success; [INFO] [stdout] 24 | | [INFO] [stdout] 25 | | if self.remove_all { [INFO] [stdout] ... | [INFO] [stdout] 41 | | Ok(exit_code) [INFO] [stdout] 42 | | } [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/builtins/unimp.rs:21:65 [INFO] [stdout] | [INFO] [stdout] 20 | context: commands::ExecutionContext<'_>, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 21 | ) -> Result { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 22 | | writeln!( [INFO] [stdout] 23 | | context.stderr(), [INFO] [stdout] 24 | | "UNIMPLEMENTED: {}: built-in unimplemented: {} {}", [INFO] [stdout] ... | [INFO] [stdout] 33 | | Ok(builtins::ExitCode::Unimplemented) [INFO] [stdout] 34 | | } [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/builtins/unset.rs:42:65 [INFO] [stdout] | [INFO] [stdout] 41 | context: commands::ExecutionContext<'_>, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 42 | ) -> Result { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 43 | | // [INFO] [stdout] 44 | | // TODO: implement nameref [INFO] [stdout] 45 | | // [INFO] [stdout] ... | [INFO] [stdout] 89 | | Ok(builtins::ExitCode::Success) [INFO] [stdout] 90 | | } [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/builtins/wait.rs:30:58 [INFO] [stdout] | [INFO] [stdout] 29 | context: commands::ExecutionContext<'_>, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | ) -> Result { [INFO] [stdout] | __________________________________________________________^ [INFO] [stdout] 31 | | if self.wait_for_terminate { [INFO] [stdout] 32 | | return error::unimp("wait -f"); [INFO] [stdout] 33 | | } [INFO] [stdout] ... | [INFO] [stdout] 46 | | Ok(builtins::ExitCode::Success) [INFO] [stdout] 47 | | } [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/commands.rs:63:48 [INFO] [stdout] | [INFO] [stdout] 63 | self.open_files.files.get(&fd).map(|f| f.try_dup().unwrap()) [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/commands.rs:169:28 [INFO] [stdout] | [INFO] [stdout] 167 | .map(|(child_fd, open_file)| FdMapping { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 168 | child_fd: i32::try_from(child_fd).unwrap(), [INFO] [stdout] 169 | parent_fd: open_file.into_owned_fd().unwrap(), [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/commands.rs:261:11 [INFO] [stdout] | [INFO] [stdout] 230 | context: ExecutionContext<'_>, [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 242 | let cmd = compose_std_command( [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 261 | match sys::process::spawn(cmd) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/env.rs:446:13 [INFO] [stdout] | [INFO] [stdout] 435 | name: N, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 446 | Err(error::Error::MissingScope) [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/interp.rs:195:14 [INFO] [stdout] | [INFO] [stdout] 185 | let mut cloned_shell = shell.clone(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 186 | let cloned_params = params.clone(); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 187 | let cloned_ao_list = ao_list.clone(); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 195 | .await [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/interp.rs:388:33 [INFO] [stdout] | [INFO] [stdout] 356 | let mut child_future = Box::pin(child.wait_with_output()); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 388 | / child_future [INFO] [stdout] 389 | | .await [INFO] [stdout] 390 | | .map(ExecutionResult::from) [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/interp.rs:1494:8 [INFO] [stdout] | [INFO] [stdout] 1480 | let (reader, mut writer) = sys::pipes::pipe()?; [INFO] [stdout] | ------ ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1494 | Ok(OpenFile::PipeReader(reader)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/openfiles.rs:226:12 [INFO] [stdout] | [INFO] [stdout] 221 | let mut files = HashMap::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 226 | Ok(OpenFiles { files }) [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/patterns.rs:191:52 [INFO] [stdout] | [INFO] [stdout] 191 | .map_or_else(|_| vec![], |dir| dir.into_iter().collect()) [INFO] [stdout] | --- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/regex.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 51 | let re = fancy_regex::Regex::new(regex_pattern.as_str())?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 52 | [INFO] [stdout] 53 | Ok(re.captures(value)?.map(|captures| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/shell.rs:995:18 [INFO] [stdout] | [INFO] [stdout] 982 | pub(crate) fn trace_command>(&self, command: S) -> Result<(), std::io::Error> { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 995 | writeln!(self.stderr(), "{prefix}{}", command.as_ref()) [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 63 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `brush-core` (lib) due to 64 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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/completion.rs:879:5 [INFO] [stdout] | [INFO] [stdout] 869 | let mut candidates = HashSet::new(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 879 | candidates.into_iter().collect() [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/builtins/alias.rs:23:65 [INFO] [stdout] | [INFO] [stdout] 22 | context: commands::ExecutionContext<'_>, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | ) -> Result { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 24 | | let mut exit_code = builtins::ExitCode::Success; [INFO] [stdout] 25 | | [INFO] [stdout] 26 | | if self.print || self.aliases.is_empty() { [INFO] [stdout] ... | [INFO] [stdout] 50 | | Ok(exit_code) [INFO] [stdout] 51 | | } [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/builtins/bg.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 17 | context: commands::ExecutionContext<'_>, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | ) -> Result { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | let mut exit_code = builtins::ExitCode::Success; [INFO] [stdout] 20 | | [INFO] [stdout] 21 | | if !self.job_specs.is_empty() { [INFO] [stdout] ... | [INFO] [stdout] 44 | | Ok(exit_code) [INFO] [stdout] 45 | | } [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/builtins/break_.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 17 | _context: commands::ExecutionContext<'_>, [INFO] [stdout] | ---------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | ) -> Result { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | // If specified, which_loop needs to be positive. [INFO] [stdout] 20 | | if self.which_loop <= 0 { [INFO] [stdout] 21 | | return Ok(builtins::ExitCode::InvalidUsage); [INFO] [stdout] ... | [INFO] [stdout] 25 | | Ok(builtins::ExitCode::BreakLoop((self.which_loop - 1) as u8)) [INFO] [stdout] 26 | | } [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/builtins/builtin_.rs:22:65 [INFO] [stdout] | [INFO] [stdout] 21 | mut context: commands::ExecutionContext<'_>, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | ) -> Result { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 23 | | if let Some(builtin_name) = &self.builtin_name { [INFO] [stdout] 24 | | if let Some(builtin) = context.shell.builtins.get(builtin_name) { [INFO] [stdout] 25 | | context.command_name.clone_from(builtin_name); [INFO] [stdout] ... | [INFO] [stdout] 40 | | } [INFO] [stdout] 41 | | } [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/builtins/cd.rs:36:65 [INFO] [stdout] | [INFO] [stdout] 35 | context: commands::ExecutionContext<'_>, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | ) -> Result { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 37 | | // TODO: implement options [INFO] [stdout] 38 | | if self.force_follow_symlinks [INFO] [stdout] 39 | | || self.use_physical_dir [INFO] [stdout] ... | [INFO] [stdout] 65 | | Ok(builtins::ExitCode::Success) [INFO] [stdout] 66 | | } [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/builtins/colon.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 17 | _context: commands::ExecutionContext<'_>, [INFO] [stdout] | ---------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | ) -> Result { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | Ok(builtins::ExitCode::Success) [INFO] [stdout] 20 | | } [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/builtins/command.rs:34:51 [INFO] [stdout] | [INFO] [stdout] 33 | context: commands::ExecutionContext<'_>, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 34 | ) -> Result { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 35 | | if self.use_default_path { [INFO] [stdout] 36 | | return error::unimp("command -p"); [INFO] [stdout] 37 | | } [INFO] [stdout] ... | [INFO] [stdout] 66 | | } [INFO] [stdout] 67 | | } [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/builtins/complete.rs:218:65 [INFO] [stdout] | [INFO] [stdout] 217 | mut context: commands::ExecutionContext<'_>, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 218 | ) -> Result { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 219 | | // If -D, -E, or -I are specified, then any names provided are ignored. [INFO] [stdout] 220 | | if self.use_as_default [INFO] [stdout] 221 | | || self.use_for_empty_line [INFO] [stdout] ... | [INFO] [stdout] 232 | | Ok(builtins::ExitCode::Success) [INFO] [stdout] 233 | | } [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/builtins/complete.rs:436:65 [INFO] [stdout] | [INFO] [stdout] 435 | context: commands::ExecutionContext<'_>, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 436 | ) -> Result { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 437 | | let spec = self.common_args.create_spec(); [INFO] [stdout] 438 | | [INFO] [stdout] 439 | | let token_to_complete = self.word.as_deref().unwrap_or_default(); [INFO] [stdout] ... | [INFO] [stdout] 469 | | Ok(builtins::ExitCode::Success) [INFO] [stdout] 470 | | } [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/builtins/complete.rs:503:65 [INFO] [stdout] | [INFO] [stdout] 502 | context: commands::ExecutionContext<'_>, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 503 | ) -> Result { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 504 | | let mut options = HashMap::new(); [INFO] [stdout] 505 | | for option in &self.disabled_options { [INFO] [stdout] 506 | | options.insert(option.clone(), false); [INFO] [stdout] ... | [INFO] [stdout] 570 | | Ok(builtins::ExitCode::Success) [INFO] [stdout] 571 | | } [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/builtins/continue_.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 17 | _context: commands::ExecutionContext<'_>, [INFO] [stdout] | ---------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | ) -> Result { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | // If specified, which_loop needs to be positive. [INFO] [stdout] 20 | | if self.which_loop <= 0 { [INFO] [stdout] 21 | | return Ok(builtins::ExitCode::InvalidUsage); [INFO] [stdout] ... | [INFO] [stdout] 27 | | )) [INFO] [stdout] 28 | | } [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/builtins/declare.rs:122:65 [INFO] [stdout] | [INFO] [stdout] 121 | mut context: commands::ExecutionContext<'_>, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 122 | ) -> Result { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 123 | | let verb = match context.command_name.as_str() { [INFO] [stdout] 124 | | "local" => DeclareVerb::Local, [INFO] [stdout] 125 | | "readonly" => DeclareVerb::Readonly, [INFO] [stdout] ... | [INFO] [stdout] 165 | | Ok(result) [INFO] [stdout] 166 | | } [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/builtins/dirs.rs:33:65 [INFO] [stdout] | [INFO] [stdout] 32 | context: commands::ExecutionContext<'_>, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 33 | ) -> Result { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 34 | | if self.clear { [INFO] [stdout] 35 | | context.shell.directory_stack.clear(); [INFO] [stdout] 36 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 69 | | Ok(builtins::ExitCode::Success) [INFO] [stdout] 70 | | } [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/builtins/dot.rs:23:65 [INFO] [stdout] | [INFO] [stdout] 22 | context: commands::ExecutionContext<'_>, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | ) -> Result { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 24 | | // TODO: Handle trap inheritance. [INFO] [stdout] 25 | | let script_args: Vec<_> = self.script_args.iter().map(|a| a.as_str()).collect(); [INFO] [stdout] ... | [INFO] [stdout] 42 | | Ok(builtins::ExitCode::Success) [INFO] [stdout] 43 | | } [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/builtins/echo.rs:32:65 [INFO] [stdout] | [INFO] [stdout] 31 | context: commands::ExecutionContext<'_>, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 32 | ) -> Result { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 33 | | let mut trailing_newline = !self.no_trailing_newline; [INFO] [stdout] 34 | | let mut s; [INFO] [stdout] 35 | | if self.interpret_backslash_escapes { [INFO] [stdout] ... | [INFO] [stdout] 64 | | return Ok(builtins::ExitCode::Success); [INFO] [stdout] 65 | | } [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/builtins/enable.rs:45:58 [INFO] [stdout] | [INFO] [stdout] 44 | context: commands::ExecutionContext<'_>, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 45 | ) -> Result { [INFO] [stdout] | __________________________________________________________^ [INFO] [stdout] 46 | | let mut result = builtins::ExitCode::Success; [INFO] [stdout] 47 | | [INFO] [stdout] 48 | | if self.shared_object_path.is_some() { [INFO] [stdout] ... | [INFO] [stdout] 93 | | Ok(result) [INFO] [stdout] 94 | | } [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/builtins/eval.rs:17:65 [INFO] [stdout] | [INFO] [stdout] 16 | context: commands::ExecutionContext<'_>, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 17 | ) -> Result { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 18 | | if !self.args.is_empty() { [INFO] [stdout] 19 | | let args_concatenated = self.args.join(" "); [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] 37 | | } [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/builtins/exec.rs:31:58 [INFO] [stdout] | [INFO] [stdout] 30 | context: commands::ExecutionContext<'_>, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 31 | ) -> Result { [INFO] [stdout] | __________________________________________________________^ [INFO] [stdout] 32 | | if self.args.is_empty() { [INFO] [stdout] 33 | | return Ok(builtins::ExitCode::Success); [INFO] [stdout] 34 | | } [INFO] [stdout] ... | [INFO] [stdout] 57 | | } [INFO] [stdout] 58 | | } [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/builtins/exit.rs:17:65 [INFO] [stdout] | [INFO] [stdout] 16 | context: commands::ExecutionContext<'_>, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 17 | ) -> Result { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 18 | | let code_8bit: u8; [INFO] [stdout] 19 | | [INFO] [stdout] 20 | | #[allow(clippy::cast_sign_loss)] [INFO] [stdout] ... | [INFO] [stdout] 27 | | Ok(builtins::ExitCode::ExitShell(code_8bit)) [INFO] [stdout] 28 | | } [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/builtins/export.rs:45:65 [INFO] [stdout] | [INFO] [stdout] 44 | context: commands::ExecutionContext<'_>, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 45 | ) -> Result { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 46 | | if !self.declarations.is_empty() { [INFO] [stdout] 47 | | for decl in &self.declarations { [INFO] [stdout] 48 | | match decl { [INFO] [stdout] ... | [INFO] [stdout] 108 | | Ok(builtins::ExitCode::Success) [INFO] [stdout] 109 | | } [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/builtins/factory.rs:90:14 [INFO] [stdout] | [INFO] [stdout] 87 | context: commands::ExecutionContext<'_>, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 90 | Box::pin(async move { exec_simple_builtin_impl::(context, args).await }) [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/builtins/factory.rs:90:72 [INFO] [stdout] | [INFO] [stdout] 87 | context: commands::ExecutionContext<'_>, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 90 | Box::pin(async move { exec_simple_builtin_impl::(context, args).await }) [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/builtins/factory.rs:115:14 [INFO] [stdout] | [INFO] [stdout] 112 | context: commands::ExecutionContext<'_>, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 115 | Box::pin(async move { exec_builtin_impl::(context, args).await }) [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/builtins/factory.rs:115:65 [INFO] [stdout] | [INFO] [stdout] 112 | context: commands::ExecutionContext<'_>, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 115 | Box::pin(async move { exec_builtin_impl::(context, args).await }) [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/builtins/factory.rs:147:14 [INFO] [stdout] | [INFO] [stdout] 144 | context: commands::ExecutionContext<'_>, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 147 | Box::pin(async move { exec_declaration_builtin_impl::(context, args).await }) [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/builtins/factory.rs:147:77 [INFO] [stdout] | [INFO] [stdout] 144 | context: commands::ExecutionContext<'_>, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 147 | Box::pin(async move { exec_declaration_builtin_impl::(context, args).await }) [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/builtins/false_.rs:14:58 [INFO] [stdout] | [INFO] [stdout] 13 | _context: commands::ExecutionContext<'_>, [INFO] [stdout] | ---------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 14 | ) -> Result { [INFO] [stdout] | __________________________________________________________^ [INFO] [stdout] 15 | | Ok(builtins::ExitCode::Custom(1)) [INFO] [stdout] 16 | | } [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/builtins/fg.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 17 | context: commands::ExecutionContext<'_>, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | ) -> Result { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 19 | | let mut stderr = context.stdout(); [INFO] [stdout] 20 | | [INFO] [stdout] 21 | | if let Some(job_spec) = &self.job_spec { [INFO] [stdout] ... | [INFO] [stdout] 47 | | } [INFO] [stdout] 48 | | } [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/builtins/getopts.rs:26:65 [INFO] [stdout] | [INFO] [stdout] 25 | context: commands::ExecutionContext<'_>, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 26 | ) -> Result { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 27 | | let mut args = HashMap::::new(); [INFO] [stdout] 28 | | [INFO] [stdout] 29 | | // Build the args map [INFO] [stdout] ... | [INFO] [stdout] 108 | | Ok(builtins::ExitCode::Success) [INFO] [stdout] 109 | | } [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/builtins/help.rs:30:65 [INFO] [stdout] | [INFO] [stdout] 29 | context: commands::ExecutionContext<'_>, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | ) -> Result { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 31 | | if self.topic_patterns.is_empty() { [INFO] [stdout] 32 | | Self::display_general_help(&context)?; [INFO] [stdout] 33 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 39 | | Ok(builtins::ExitCode::Success) [INFO] [stdout] 40 | | } [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/builtins/jobs.rs:39:65 [INFO] [stdout] | [INFO] [stdout] 38 | context: commands::ExecutionContext<'_>, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | ) -> Result { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 40 | | if self.also_show_pids { [INFO] [stdout] 41 | | return error::unimp("jobs -l"); [INFO] [stdout] 42 | | } [INFO] [stdout] ... | [INFO] [stdout] 55 | | Ok(builtins::ExitCode::Success) [INFO] [stdout] 56 | | } [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/builtins/kill.rs:33:65 [INFO] [stdout] | [INFO] [stdout] 32 | context: commands::ExecutionContext<'_>, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 33 | ) -> Result { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 34 | | if self.signal_name.is_some() { [INFO] [stdout] 35 | | return error::unimp("kill -s"); [INFO] [stdout] 36 | | } [INFO] [stdout] ... | [INFO] [stdout] 74 | | } [INFO] [stdout] 75 | | } [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/builtins/let_.rs:19:65 [INFO] [stdout] | [INFO] [stdout] 18 | context: commands::ExecutionContext<'_>, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | ) -> Result { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 20 | | let mut exit_code = builtins::ExitCode::InvalidUsage; [INFO] [stdout] 21 | | [INFO] [stdout] 22 | | if self.exprs.is_empty() { [INFO] [stdout] ... | [INFO] [stdout] 38 | | Ok(exit_code) [INFO] [stdout] 39 | | } [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/builtins/popd.rs:22:65 [INFO] [stdout] | [INFO] [stdout] 21 | context: commands::ExecutionContext<'_>, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | ) -> Result { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 23 | | if let Some(popped) = context.shell.directory_stack.pop() { [INFO] [stdout] 24 | | if !self.no_directory_change { [INFO] [stdout] 25 | | context.shell.set_working_dir(&popped)?; [INFO] [stdout] ... | [INFO] [stdout] 36 | | Ok(builtins::ExitCode::Success) [INFO] [stdout] 37 | | } [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/builtins/printf.rs:27:65 [INFO] [stdout] | [INFO] [stdout] 26 | context: commands::ExecutionContext<'_>, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 27 | ) -> Result { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 28 | | // TODO: Don't call external printf command. [INFO] [stdout] 29 | | let mut cmd = std::process::Command::new("printf"); [INFO] [stdout] 30 | | cmd.env_clear(); [INFO] [stdout] ... | [INFO] [stdout] 57 | | return Ok(builtins::ExitCode::Success); [INFO] [stdout] 58 | | } [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/builtins/pushd.rs:24:65 [INFO] [stdout] | [INFO] [stdout] 23 | context: commands::ExecutionContext<'_>, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 24 | ) -> Result { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 25 | | if self.no_directory_change { [INFO] [stdout] 26 | | context [INFO] [stdout] 27 | | .shell [INFO] [stdout] ... | [INFO] [stdout] 43 | | Ok(builtins::ExitCode::Success) [INFO] [stdout] 44 | | } [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/builtins/pwd.rs:22:65 [INFO] [stdout] | [INFO] [stdout] 21 | context: commands::ExecutionContext<'_>, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | ) -> Result { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 23 | | // [INFO] [stdout] 24 | | // TODO: implement flags [INFO] [stdout] 25 | | // TODO: look for 'physical' option in execution context [INFO] [stdout] ... | [INFO] [stdout] 37 | | Ok(builtins::ExitCode::Success) [INFO] [stdout] 38 | | } [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/builtins/read.rs:67:65 [INFO] [stdout] | [INFO] [stdout] 66 | context: commands::ExecutionContext<'_>, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 67 | ) -> Result { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 68 | | if self.use_readline { [INFO] [stdout] 69 | | return error::unimp("read -e"); [INFO] [stdout] 70 | | } [INFO] [stdout] ... | [INFO] [stdout] 154 | | } [INFO] [stdout] 155 | | } [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/builtins/return_.rs:17:65 [INFO] [stdout] | [INFO] [stdout] 16 | context: commands::ExecutionContext<'_>, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 17 | ) -> Result { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 18 | | let code_8bit: u8; [INFO] [stdout] 19 | | #[allow(clippy::cast_sign_loss)] [INFO] [stdout] 20 | | if let Some(code_32bit) = &self.code { [INFO] [stdout] ... | [INFO] [stdout] 27 | | Ok(builtins::ExitCode::ReturnFromFunctionOrScript(code_8bit)) [INFO] [stdout] 28 | | } [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/builtins/set.rs:143:51 [INFO] [stdout] | [INFO] [stdout] 142 | context: commands::ExecutionContext<'_>, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 143 | ) -> Result { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 144 | | let mut result = builtins::ExitCode::Success; [INFO] [stdout] 145 | | [INFO] [stdout] 146 | | if let Some(value) = self.print_commands_and_arguments.to_bool() { [INFO] [stdout] ... | [INFO] [stdout] 272 | | Ok(result) [INFO] [stdout] 273 | | } [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/builtins/shift.rs:17:65 [INFO] [stdout] | [INFO] [stdout] 16 | context: commands::ExecutionContext<'_>, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 17 | ) -> Result { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 18 | | let n = self.n.unwrap_or(1); [INFO] [stdout] 19 | | [INFO] [stdout] 20 | | if n < 0 { [INFO] [stdout] ... | [INFO] [stdout] 33 | | Ok(builtins::ExitCode::Success) [INFO] [stdout] 34 | | } [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/builtins/shopt.rs:39:65 [INFO] [stdout] | [INFO] [stdout] 38 | context: commands::ExecutionContext<'_>, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | ) -> Result { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 40 | | if self.set && self.unset { [INFO] [stdout] 41 | | writeln!( [INFO] [stdout] 42 | | context.stderr(), [INFO] [stdout] ... | [INFO] [stdout] 143 | | } [INFO] [stdout] 144 | | } [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/builtins/test.rs:19:65 [INFO] [stdout] | [INFO] [stdout] 18 | context: commands::ExecutionContext<'_>, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | ) -> Result { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 20 | | let mut args = self.args.as_slice(); [INFO] [stdout] 21 | | [INFO] [stdout] 22 | | if context.command_name == "[" { [INFO] [stdout] ... | [INFO] [stdout] 38 | | } [INFO] [stdout] 39 | | } [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/builtins/trap.rs:25:58 [INFO] [stdout] | [INFO] [stdout] 24 | mut context: commands::ExecutionContext<'_>, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | ) -> Result { [INFO] [stdout] | __________________________________________________________^ [INFO] [stdout] 26 | | if self.list_signals { [INFO] [stdout] 27 | | Self::display_signals(&context)?; [INFO] [stdout] 28 | | Ok(builtins::ExitCode::Success) [INFO] [stdout] ... | [INFO] [stdout] 54 | | } [INFO] [stdout] 55 | | } [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/builtins/true_.rs:14:65 [INFO] [stdout] | [INFO] [stdout] 13 | _context: commands::ExecutionContext<'_>, [INFO] [stdout] | ---------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 14 | ) -> Result { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 15 | | Ok(builtins::ExitCode::Success) [INFO] [stdout] 16 | | } [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/builtins/type_.rs:52:65 [INFO] [stdout] | [INFO] [stdout] 51 | context: commands::ExecutionContext<'_>, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 52 | ) -> Result { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 53 | | let mut result = builtins::ExitCode::Success; [INFO] [stdout] 54 | | [INFO] [stdout] 55 | | for name in &self.names { [INFO] [stdout] ... | [INFO] [stdout] 129 | | Ok(result) [INFO] [stdout] 130 | | } [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/builtins/umask.rs:28:65 [INFO] [stdout] | [INFO] [stdout] 27 | context: commands::ExecutionContext<'_>, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28 | ) -> Result { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 29 | | if let Some(mode) = &self.mode { [INFO] [stdout] 30 | | if mode.starts_with(|c: char| c.is_digit(8)) { [INFO] [stdout] 31 | | let parsed = u32::from_str_radix(mode.as_str(), 8)?; [INFO] [stdout] ... | [INFO] [stdout] 55 | | Ok(builtins::ExitCode::Success) [INFO] [stdout] 56 | | } [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/builtins/unalias.rs:22:65 [INFO] [stdout] | [INFO] [stdout] 21 | context: commands::ExecutionContext<'_>, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | ) -> Result { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 23 | | let mut exit_code = builtins::ExitCode::Success; [INFO] [stdout] 24 | | [INFO] [stdout] 25 | | if self.remove_all { [INFO] [stdout] ... | [INFO] [stdout] 41 | | Ok(exit_code) [INFO] [stdout] 42 | | } [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/builtins/unimp.rs:21:65 [INFO] [stdout] | [INFO] [stdout] 20 | context: commands::ExecutionContext<'_>, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 21 | ) -> Result { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 22 | | writeln!( [INFO] [stdout] 23 | | context.stderr(), [INFO] [stdout] 24 | | "UNIMPLEMENTED: {}: built-in unimplemented: {} {}", [INFO] [stdout] ... | [INFO] [stdout] 33 | | Ok(builtins::ExitCode::Unimplemented) [INFO] [stdout] 34 | | } [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/builtins/unset.rs:42:65 [INFO] [stdout] | [INFO] [stdout] 41 | context: commands::ExecutionContext<'_>, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 42 | ) -> Result { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 43 | | // [INFO] [stdout] 44 | | // TODO: implement nameref [INFO] [stdout] 45 | | // [INFO] [stdout] ... | [INFO] [stdout] 89 | | Ok(builtins::ExitCode::Success) [INFO] [stdout] 90 | | } [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/builtins/wait.rs:30:58 [INFO] [stdout] | [INFO] [stdout] 29 | context: commands::ExecutionContext<'_>, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | ) -> Result { [INFO] [stdout] | __________________________________________________________^ [INFO] [stdout] 31 | | if self.wait_for_terminate { [INFO] [stdout] 32 | | return error::unimp("wait -f"); [INFO] [stdout] 33 | | } [INFO] [stdout] ... | [INFO] [stdout] 46 | | Ok(builtins::ExitCode::Success) [INFO] [stdout] 47 | | } [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/commands.rs:63:48 [INFO] [stdout] | [INFO] [stdout] 63 | self.open_files.files.get(&fd).map(|f| f.try_dup().unwrap()) [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/commands.rs:169:28 [INFO] [stdout] | [INFO] [stdout] 167 | .map(|(child_fd, open_file)| FdMapping { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 168 | child_fd: i32::try_from(child_fd).unwrap(), [INFO] [stdout] 169 | parent_fd: open_file.into_owned_fd().unwrap(), [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/commands.rs:261:11 [INFO] [stdout] | [INFO] [stdout] 230 | context: ExecutionContext<'_>, [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 242 | let cmd = compose_std_command( [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 261 | match sys::process::spawn(cmd) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/env.rs:446:13 [INFO] [stdout] | [INFO] [stdout] 435 | name: N, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 446 | Err(error::Error::MissingScope) [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/interp.rs:195:14 [INFO] [stdout] | [INFO] [stdout] 185 | let mut cloned_shell = shell.clone(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 186 | let cloned_params = params.clone(); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 187 | let cloned_ao_list = ao_list.clone(); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 195 | .await [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/interp.rs:388:33 [INFO] [stdout] | [INFO] [stdout] 356 | let mut child_future = Box::pin(child.wait_with_output()); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 388 | / child_future [INFO] [stdout] 389 | | .await [INFO] [stdout] 390 | | .map(ExecutionResult::from) [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/interp.rs:1494:8 [INFO] [stdout] | [INFO] [stdout] 1480 | let (reader, mut writer) = sys::pipes::pipe()?; [INFO] [stdout] | ------ ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1494 | Ok(OpenFile::PipeReader(reader)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/openfiles.rs:226:12 [INFO] [stdout] | [INFO] [stdout] 221 | let mut files = HashMap::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 226 | Ok(OpenFiles { files }) [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/patterns.rs:191:52 [INFO] [stdout] | [INFO] [stdout] 191 | .map_or_else(|_| vec![], |dir| dir.into_iter().collect()) [INFO] [stdout] | --- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/regex.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 51 | let re = fancy_regex::Regex::new(regex_pattern.as_str())?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 52 | [INFO] [stdout] 53 | Ok(re.captures(value)?.map(|captures| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/shell.rs:995:18 [INFO] [stdout] | [INFO] [stdout] 982 | pub(crate) fn trace_command>(&self, command: S) -> Result<(), std::io::Error> { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 995 | writeln!(self.stderr(), "{prefix}{}", command.as_ref()) [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 63 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `brush-core` (lib test) due to 64 previous errors [INFO] running `Command { std: "docker" "inspect" "bb164b765afd66b222a8d111c37799318b02cc02ed005385c134081cd89a97fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb164b765afd66b222a8d111c37799318b02cc02ed005385c134081cd89a97fc", kill_on_drop: false }` [INFO] [stdout] bb164b765afd66b222a8d111c37799318b02cc02ed005385c134081cd89a97fc