[INFO] fetching crate chadgpt 0.0.0... [INFO] checking chadgpt-0.0.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate chadgpt 0.0.0 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate chadgpt 0.0.0 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] removed /workspace/builds/worker-4-tc2/source/.cargo/config [INFO] started tweaking crates.io crate chadgpt 0.0.0 [INFO] finished tweaking crates.io crate chadgpt 0.0.0 [INFO] tweaked toml for crates.io crate chadgpt 0.0.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate crates.io crate chadgpt 0.0.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 730cdb980895873ed34a2f8a25ffb72f57c34602a1dcd10f3862410b1b715048 [INFO] running `Command { std: "docker" "start" "-a" "730cdb980895873ed34a2f8a25ffb72f57c34602a1dcd10f3862410b1b715048", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "730cdb980895873ed34a2f8a25ffb72f57c34602a1dcd10f3862410b1b715048", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "730cdb980895873ed34a2f8a25ffb72f57c34602a1dcd10f3862410b1b715048", kill_on_drop: false }` [INFO] [stdout] 730cdb980895873ed34a2f8a25ffb72f57c34602a1dcd10f3862410b1b715048 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 65e9c1566f6442202d5dada53a4db81d4b2fc61e161ab30a4ccdba3787daf54a [INFO] running `Command { std: "docker" "start" "-a" "65e9c1566f6442202d5dada53a4db81d4b2fc61e161ab30a4ccdba3787daf54a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Checking smallvec v1.11.1 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking bitflags v2.4.0 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling openssl v0.10.57 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Checking memchr v2.6.3 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking try-lock v0.2.4 [INFO] [stderr] Compiling hashbrown v0.14.0 [INFO] [stderr] Checking anstyle-parse v0.2.1 [INFO] [stderr] Checking form_urlencoded v1.2.0 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking brotli-decompressor v2.3.4 [INFO] [stderr] Checking anstyle v1.0.3 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Compiling winnow v0.5.15 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Compiling rustix v0.38.14 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Checking aho-corasick v1.1.1 [INFO] [stderr] Checking anstream v0.5.0 [INFO] [stderr] Checking flate2 v1.0.27 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Compiling thiserror v1.0.48 [INFO] [stderr] Compiling async-trait v0.1.73 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking socket2 v0.5.4 [INFO] [stderr] Compiling indexmap v2.0.0 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Checking linux-raw-sys v0.4.7 [INFO] [stderr] Checking regex-syntax v0.7.5 [INFO] [stderr] Checking clap_lex v0.5.1 [INFO] [stderr] Checking clap_builder v4.4.4 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Checking unsafe-libyaml v0.2.9 [INFO] [stderr] Compiling openssl-src v300.1.5+3.1.3 [INFO] [stderr] Checking signal-hook-mio v0.2.3 [INFO] [stderr] Checking fastrand v2.0.0 [INFO] [stderr] Checking base64 v0.21.4 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking ipnet v2.8.0 [INFO] [stderr] Checking brotli v3.3.4 [INFO] [stderr] Checking crossterm v0.27.0 [INFO] [stderr] Checking url v2.4.1 [INFO] [stderr] Compiling openssl-sys v0.9.93 [INFO] [stderr] Checking tempfile v3.8.0 [INFO] [stderr] Checking regex-automata v0.3.8 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling thiserror-impl v1.0.48 [INFO] [stderr] Compiling clap_derive v4.4.2 [INFO] [stderr] Checking tokio v1.32.0 [INFO] [stderr] Checking pin-project v1.1.3 [INFO] [stderr] Checking regex v1.9.5 [INFO] [stderr] Checking clap v4.4.4 [INFO] [stderr] Checking tokio-util v0.7.9 [INFO] [stderr] Checking async-compression v0.4.3 [INFO] [stderr] Checking tokio-stream v0.1.14 [INFO] [stderr] Checking h2 v0.3.21 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_yaml v0.9.25 [INFO] [stderr] Compiling serde_spanned v0.6.3 [INFO] [stderr] Compiling toml_datetime v0.6.3 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Checking hyper v0.14.27 [INFO] [stderr] Compiling toml v0.7.8 [INFO] [stderr] Compiling aio-cargo-info v0.1.0 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.20 [INFO] [stderr] Checking chadgpt v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::pin::Pin` [INFO] [stdout] --> src/utils/flatten_stream.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::pin::Pin; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SplitBytes` [INFO] [stdout] --> src/utils/mod.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | pub use split_bytes::{SplitBytes, SplitBytesFactory}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Renderer` [INFO] [stdout] --> src/formatters/markdown/mod.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | pub use renderer::{Renderer, TerminalRenderer}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `debug` [INFO] [stdout] --> src/generators/openai/mod.rs:165:25 [INFO] [stdout] | [INFO] [stdout] 165 | if cfg!(feature = "debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::pin::Pin` [INFO] [stdout] --> src/utils/flatten_stream.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::pin::Pin; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SplitBytes` [INFO] [stdout] --> src/utils/mod.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | pub use split_bytes::{SplitBytes, SplitBytesFactory}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Renderer` [INFO] [stdout] --> src/formatters/markdown/mod.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | pub use renderer::{Renderer, TerminalRenderer}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `debug` [INFO] [stdout] --> src/generators/openai/mod.rs:165:25 [INFO] [stdout] | [INFO] [stdout] 165 | if cfg!(feature = "debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `flatten_iter` is never used [INFO] [stdout] --> src/utils/flatten_stream.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait FlattenTrait: Stream [INFO] [stdout] | ------------ method in this trait [INFO] [stdout] 5 | { [INFO] [stdout] 6 | fn flatten_iter(self) -> Flatten::Item>> [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `from_yaml_memory`, `from_json_memory`, and `from_json_file` are never used [INFO] [stdout] --> src/serde_io.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub trait DeserializeExt: serde::de::DeserializeOwned { [INFO] [stdout] | -------------- associated functions in this trait [INFO] [stdout] 34 | fn from_yaml_memory(memory: T) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | fn from_json_memory(memory: T) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | fn from_json_file(filepath: T) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utils/split_bytes.rs:43:35 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new_iter(&mut self, bytes: Bytes) -> SplitBytes { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 29 | let complete = match pos_last_separator_found { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 43 | SplitBytes::new(complete, self.separator.clone()) [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/utils/flatten_stream.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 6 | fn flatten_iter(self) -> Flatten::Item>> [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 12 | stream: StreamIter(self), [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/utils/flatten_stream.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 6 | fn flatten_iter(self) -> Flatten::Item>> [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 13 | current: None [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utils/flatten_stream.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 16 | fn flatten_result_iter(self) -> Flatten> [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 22 | stream: StreamResultIter(self), [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/utils/flatten_stream.rs:23:22 [INFO] [stdout] | [INFO] [stdout] 16 | fn flatten_result_iter(self) -> Flatten> [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 23 | current: None [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/config.rs:20:43 [INFO] [stdout] | [INFO] [stdout] 20 | static RE: Lazy = Lazy::new(|| Regex::new(r"(?P\$\$?)(?P\w+)").expect("Failed to compile regex")); [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/generators/openai/mod.rs:261:16 [INFO] [stdout] | [INFO] [stdout] 240 | .map(move |input| -> Result<_, Error> { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 241 | let input = input?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 261 | Ok(split_bytes_factory.new_iter(input)) [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/runner/program/mod.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 56 | let mut directory = std::fs::read_dir(p).ok()?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 57 | let found_program = directory.find(|res_item| { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 76 | / found_program [INFO] [stdout] 77 | | .and_then(Result::ok) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________________________________| [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/runner/program/cache.rs:36:15 [INFO] [stdout] | [INFO] [stdout] 32 | let cache_file = match std::fs::File::open(file_path) { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 33 | Ok(file) => file, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 34 | Err(e) => return Err(e.into()), [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | }; [INFO] [stdout] 36 | match serde_yaml::from_reader(cache_file) { [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/serde_io.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 34 | fn from_yaml_memory(memory: T) -> Result [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 38 | serde_yaml::from_str(memory.as_ref()).map_err(Error::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/serde_io.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 40 | fn from_yaml_file(filepath: T) -> Result [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 45 | let file = std::fs::File::open(&filepath).or_else(|_| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 49 | serde_yaml::from_reader(file).map_err(Error::from) [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/serde_io.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 51 | fn from_json_memory(memory: T) -> Result [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 55 | serde_json::from_str(memory.as_ref()).map_err(Error::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/serde_io.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 57 | fn from_json_file(filepath: T) -> Result [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 61 | let file = std::fs::File::open(filepath.as_ref())?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 62 | serde_json::from_reader(file).map_err(Error::from) [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: aborting due to 13 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `chadgpt` (bin "chad") due to 14 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: method `flatten_iter` is never used [INFO] [stdout] --> src/utils/flatten_stream.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait FlattenTrait: Stream [INFO] [stdout] | ------------ method in this trait [INFO] [stdout] 5 | { [INFO] [stdout] 6 | fn flatten_iter(self) -> Flatten::Item>> [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `from_yaml_memory`, `from_json_memory`, and `from_json_file` are never used [INFO] [stdout] --> src/serde_io.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub trait DeserializeExt: serde::de::DeserializeOwned { [INFO] [stdout] | -------------- associated functions in this trait [INFO] [stdout] 34 | fn from_yaml_memory(memory: T) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | fn from_json_memory(memory: T) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | fn from_json_file(filepath: T) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utils/split_bytes.rs:43:35 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new_iter(&mut self, bytes: Bytes) -> SplitBytes { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 29 | let complete = match pos_last_separator_found { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 43 | SplitBytes::new(complete, self.separator.clone()) [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/utils/flatten_stream.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 6 | fn flatten_iter(self) -> Flatten::Item>> [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 12 | stream: StreamIter(self), [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/utils/flatten_stream.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 6 | fn flatten_iter(self) -> Flatten::Item>> [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 13 | current: None [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utils/flatten_stream.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 16 | fn flatten_result_iter(self) -> Flatten> [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 22 | stream: StreamResultIter(self), [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/utils/flatten_stream.rs:23:22 [INFO] [stdout] | [INFO] [stdout] 16 | fn flatten_result_iter(self) -> Flatten> [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 23 | current: None [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/config.rs:20:43 [INFO] [stdout] | [INFO] [stdout] 20 | static RE: Lazy = Lazy::new(|| Regex::new(r"(?P\$\$?)(?P\w+)").expect("Failed to compile regex")); [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/generators/openai/mod.rs:261:16 [INFO] [stdout] | [INFO] [stdout] 240 | .map(move |input| -> Result<_, Error> { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 241 | let input = input?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 261 | Ok(split_bytes_factory.new_iter(input)) [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/runner/program/mod.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 56 | let mut directory = std::fs::read_dir(p).ok()?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 57 | let found_program = directory.find(|res_item| { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 76 | / found_program [INFO] [stdout] 77 | | .and_then(Result::ok) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________________________________| [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/runner/program/cache.rs:36:15 [INFO] [stdout] | [INFO] [stdout] 32 | let cache_file = match std::fs::File::open(file_path) { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 33 | Ok(file) => file, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 34 | Err(e) => return Err(e.into()), [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | }; [INFO] [stdout] 36 | match serde_yaml::from_reader(cache_file) { [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/serde_io.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 34 | fn from_yaml_memory(memory: T) -> Result [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 38 | serde_yaml::from_str(memory.as_ref()).map_err(Error::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/serde_io.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 40 | fn from_yaml_file(filepath: T) -> Result [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 45 | let file = std::fs::File::open(&filepath).or_else(|_| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 49 | serde_yaml::from_reader(file).map_err(Error::from) [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/serde_io.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 51 | fn from_json_memory(memory: T) -> Result [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 55 | serde_json::from_str(memory.as_ref()).map_err(Error::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/serde_io.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 57 | fn from_json_file(filepath: T) -> Result [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 61 | let file = std::fs::File::open(filepath.as_ref())?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 62 | serde_json::from_reader(file).map_err(Error::from) [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: aborting due to 13 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `chadgpt` (bin "chad" test) due to 14 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "65e9c1566f6442202d5dada53a4db81d4b2fc61e161ab30a4ccdba3787daf54a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65e9c1566f6442202d5dada53a4db81d4b2fc61e161ab30a4ccdba3787daf54a", kill_on_drop: false }` [INFO] [stdout] 65e9c1566f6442202d5dada53a4db81d4b2fc61e161ab30a4ccdba3787daf54a