[INFO] fetching crate weather_util_rust 0.16.16... [INFO] checking weather_util_rust-0.16.16 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate weather_util_rust 0.16.16 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate weather_util_rust 0.16.16 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 weather_util_rust 0.16.16 [INFO] finished tweaking crates.io crate weather_util_rust 0.16.16 [INFO] tweaked toml for crates.io crate weather_util_rust 0.16.16 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate crates.io crate weather_util_rust 0.16.16 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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] f0c827df2cfa8666d06a6de370d48413cca2d372ed9acce018ea6cc5da7e8f67 [INFO] running `Command { std: "docker" "start" "-a" "f0c827df2cfa8666d06a6de370d48413cca2d372ed9acce018ea6cc5da7e8f67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f0c827df2cfa8666d06a6de370d48413cca2d372ed9acce018ea6cc5da7e8f67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0c827df2cfa8666d06a6de370d48413cca2d372ed9acce018ea6cc5da7e8f67", kill_on_drop: false }` [INFO] [stdout] f0c827df2cfa8666d06a6de370d48413cca2d372ed9acce018ea6cc5da7e8f67 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 671a3dd90a27fd5bc9863b5ee05c48a34eea4dddefc62014cced83a11127f452 [INFO] running `Command { std: "docker" "start" "-a" "671a3dd90a27fd5bc9863b5ee05c48a34eea4dddefc62014cced83a11127f452", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Compiling serde v1.0.198 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Compiling cc v1.0.95 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking rustls-pki-types v1.4.1 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling thiserror v1.0.59 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Checking base64 v0.22.0 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking either v1.11.0 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Checking http-body-util v0.1.1 [INFO] [stderr] Checking rustls-pemfile v2.1.2 [INFO] [stderr] Checking webpki-roots v0.26.1 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking getrandom v0.2.14 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking plotters-backend v0.3.5 [INFO] [stderr] Compiling rustix v0.38.33 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking predicates-core v1.0.6 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking plotters-svg v0.3.5 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Compiling anyhow v1.0.82 [INFO] [stderr] Compiling assert_cmd v2.0.14 [INFO] [stderr] Checking termtree v0.4.1 [INFO] [stderr] Checking dotenvy v0.15.7 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking predicates-tree v1.0.9 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking fastrand v2.0.2 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking plotters v0.3.5 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking bstr v1.9.1 [INFO] [stderr] Checking predicates v3.1.0 [INFO] [stderr] Compiling serde_derive v1.0.198 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling kinded_macros v0.3.0 [INFO] [stderr] Compiling thiserror-impl v1.0.59 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Checking rustls-webpki v0.102.2 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Compiling kinded v0.3.0 [INFO] [stderr] Compiling nutype_macros v0.4.2 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Checking nutype v0.4.2 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking hyper v1.3.1 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tokio-rustls v0.25.0 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking async-compression v0.4.8 [INFO] [stderr] Checking hyper-util v0.1.3 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking isocountry v0.3.2 [INFO] [stderr] Checking envy v0.4.2 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking stack-string v0.8.0 [INFO] [stderr] Checking hyper-rustls v0.26.0 [INFO] [stderr] Checking reqwest v0.12.4 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking weather_util_rust v0.16.16 (/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/config.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 113 | let conf: ConfigInner = envy::from_env()?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 114 | [INFO] [stdout] 115 | Ok(Self(Arc::new(conf))) [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] = 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/timestamp.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn deserialize<'de, D>(deserializer: D) -> Result [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 23 | i64::deserialize(deserializer).and_then(|t| { [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/weather_api.rs:274:27 [INFO] [stdout] | [INFO] [stdout] 272 | pub fn with_endpoint(self, api_endpoint: &str) -> Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 273 | Self { [INFO] [stdout] 274 | api_endpoint: api_endpoint.into(), [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/weather_api.rs:282:23 [INFO] [stdout] | [INFO] [stdout] 280 | pub fn with_path(self, api_path: &str) -> Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 281 | Self { [INFO] [stdout] 282 | api_path: api_path.into(), [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/weather_api.rs:290:23 [INFO] [stdout] | [INFO] [stdout] 288 | pub fn with_geo(self, geo_path: &str) -> Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 289 | Self { [INFO] [stdout] 290 | geo_path: geo_path.into(), [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/weather_opts.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 79 | Ok(WeatherApi::new( [INFO] [stdout] | ____________^ [INFO] [stdout] 80 | | api_key, [INFO] [stdout] 81 | | &config.api_endpoint, [INFO] [stdout] 82 | | &config.api_path, [INFO] [stdout] 83 | | &config.geo_path, [INFO] [stdout] 84 | | )) [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/lib.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | / { [INFO] [stdout] 100 | | use std::fmt::Write; [INFO] [stdout] 101 | | let mut buf = stack_string::StackString::new(); [INFO] [stdout] 102 | | std::write!(buf, "{}", std::format_args!($($arg)*)).unwrap(); [INFO] [stdout] 103 | | buf [INFO] [stdout] 104 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/weather_opts.rs:77:53 [INFO] [stdout] | [INFO] [stdout] 77 | .ok_or_else(|| Error::InvalidInputError(format_string!("invalid api key")))?; [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `format_string` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `weather_util_rust` (lib) due to 8 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/config.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 113 | let conf: ConfigInner = envy::from_env()?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 114 | [INFO] [stdout] 115 | Ok(Self(Arc::new(conf))) [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] = 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/lib.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | / { [INFO] [stdout] 100 | | use std::fmt::Write; [INFO] [stdout] 101 | | let mut buf = stack_string::StackString::new(); [INFO] [stdout] 102 | | std::write!(buf, "{}", std::format_args!($($arg)*)).unwrap(); [INFO] [stdout] 103 | | buf [INFO] [stdout] 104 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/temperature.rs:114:73 [INFO] [stdout] | [INFO] [stdout] 114 | let t = Temperature::new(300.0).map_err(|e| Error::InvalidValue(format_string!("{e}")))?; [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `format_string` (in Nightly builds, run with -Z macro-backtrace for more info) [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/timestamp.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn deserialize<'de, D>(deserializer: D) -> Result [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 23 | i64::deserialize(deserializer).and_then(|t| { [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/weather_api.rs:274:27 [INFO] [stdout] | [INFO] [stdout] 272 | pub fn with_endpoint(self, api_endpoint: &str) -> Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 273 | Self { [INFO] [stdout] 274 | api_endpoint: api_endpoint.into(), [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/weather_api.rs:282:23 [INFO] [stdout] | [INFO] [stdout] 280 | pub fn with_path(self, api_path: &str) -> Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 281 | Self { [INFO] [stdout] 282 | api_path: api_path.into(), [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/weather_api.rs:290:23 [INFO] [stdout] | [INFO] [stdout] 288 | pub fn with_geo(self, geo_path: &str) -> Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 289 | Self { [INFO] [stdout] 290 | geo_path: geo_path.into(), [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/weather_opts.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 79 | Ok(WeatherApi::new( [INFO] [stdout] | ____________^ [INFO] [stdout] 80 | | api_key, [INFO] [stdout] 81 | | &config.api_endpoint, [INFO] [stdout] 82 | | &config.api_path, [INFO] [stdout] 83 | | &config.geo_path, [INFO] [stdout] 84 | | )) [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/lib.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | / { [INFO] [stdout] 100 | | use std::fmt::Write; [INFO] [stdout] 101 | | let mut buf = stack_string::StackString::new(); [INFO] [stdout] 102 | | std::write!(buf, "{}", std::format_args!($($arg)*)).unwrap(); [INFO] [stdout] 103 | | buf [INFO] [stdout] 104 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/weather_opts.rs:77:53 [INFO] [stdout] | [INFO] [stdout] 77 | .ok_or_else(|| Error::InvalidInputError(format_string!("invalid api key")))?; [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `format_string` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `weather_util_rust` (lib test) due to 9 previous errors [INFO] running `Command { std: "docker" "inspect" "671a3dd90a27fd5bc9863b5ee05c48a34eea4dddefc62014cced83a11127f452", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "671a3dd90a27fd5bc9863b5ee05c48a34eea4dddefc62014cced83a11127f452", kill_on_drop: false }` [INFO] [stdout] 671a3dd90a27fd5bc9863b5ee05c48a34eea4dddefc62014cced83a11127f452