[INFO] fetching crate oss-sdk-rs 1.2.4... [INFO] checking oss-sdk-rs-1.2.4 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate oss-sdk-rs 1.2.4 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate oss-sdk-rs 1.2.4 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 oss-sdk-rs 1.2.4 [INFO] finished tweaking crates.io crate oss-sdk-rs 1.2.4 [INFO] tweaked toml for crates.io crate oss-sdk-rs 1.2.4 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate crates.io crate oss-sdk-rs 1.2.4 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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 49b932ab433333452021555a1476b31e236248f540f6b549b983eebf7581098b [INFO] running `Command { std: "docker" "start" "-a" "49b932ab433333452021555a1476b31e236248f540f6b549b983eebf7581098b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "49b932ab433333452021555a1476b31e236248f540f6b549b983eebf7581098b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49b932ab433333452021555a1476b31e236248f540f6b549b983eebf7581098b", kill_on_drop: false }` [INFO] [stdout] 49b932ab433333452021555a1476b31e236248f540f6b549b983eebf7581098b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 866cce2107ad0bd6f8168db7d981b8139e0444f16ab0361179865b8a1e21b684 [INFO] running `Command { std: "docker" "start" "-a" "866cce2107ad0bd6f8168db7d981b8139e0444f16ab0361179865b8a1e21b684", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.1.7 [INFO] [stderr] Checking rustls-pki-types v1.7.0 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling rustls v0.23.12 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking mio v1.0.1 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling serde_json v1.0.122 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking xml-rs v0.8.20 [INFO] [stderr] Checking sync_wrapper v1.0.1 [INFO] [stderr] Checking quick-xml v0.36.1 [INFO] [stderr] Checking dotenvy v0.15.7 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking webpki-roots v0.26.3 [INFO] [stderr] Checking rustls-pemfile v2.1.3 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Checking rustls-webpki v0.102.6 [INFO] [stderr] Checking tokio v1.39.2 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking thiserror v1.0.63 [INFO] [stderr] Checking serde v1.0.204 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking hyper v1.4.1 [INFO] [stderr] Checking tokio-rustls v0.26.0 [INFO] [stderr] Checking hyper-util v0.1.6 [INFO] [stderr] Checking hyper-rustls v0.27.2 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde-xml-rs v0.6.0 [INFO] [stderr] Checking reqwest v0.12.5 [INFO] [stderr] Checking oss-sdk-rs v1.2.4 (/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/object.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 106 | headers: H, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 107 | resources: R [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 114 | / { [INFO] [stdout] 115 | | let (host, headers) = self.build_request( [INFO] [stdout] 116 | | RequestType::Get, [INFO] [stdout] 117 | | String::new(), [INFO] [stdout] ... | [INFO] [stdout] 126 | | status_to_response(status, text) [INFO] [stdout] 127 | | } [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/object.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 131 | prefix: Option, [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 132 | delimiter: Option [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 135 | / { [INFO] [stdout] 136 | | let mut resources = HashMap::new(); [INFO] [stdout] 137 | | resources.insert("list-type".to_string(), Some("2".to_string())); [INFO] [stdout] 138 | | resources.insert( [INFO] [stdout] ... | [INFO] [stdout] 159 | | status_to_response(status, text) [INFO] [stdout] 160 | | } [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/object.rs:174:5 [INFO] [stdout] | [INFO] [stdout] 164 | object_name: S1, [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 165 | headers: H, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 166 | resources: R [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 174 | / { [INFO] [stdout] 175 | | let (host, headers) = self.build_request( [INFO] [stdout] 176 | | RequestType::Get, [INFO] [stdout] 177 | | object_name, [INFO] [stdout] ... | [INFO] [stdout] 193 | | } [INFO] [stdout] 194 | | } [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/object.rs:209:5 [INFO] [stdout] | [INFO] [stdout] 199 | object_name: S1, [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 200 | headers: H, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 201 | resources: R [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 209 | / { [INFO] [stdout] 210 | | // let mut resources:HashMap<&str, Option<&str>>= HashMap::new(); [INFO] [stdout] 211 | | // resources.insert("append", None); [INFO] [stdout] 212 | | // resources.insert("position", Some("1")); [INFO] [stdout] ... | [INFO] [stdout] 252 | | } [INFO] [stdout] 253 | | } [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/object.rs:268:5 [INFO] [stdout] | [INFO] [stdout] 258 | object_name: S1, [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 259 | headers: H, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 260 | resources: R [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 268 | / { [INFO] [stdout] 269 | | let (host, headers) = self.build_request( [INFO] [stdout] 270 | | RequestType::Put, [INFO] [stdout] 271 | | object_name, [INFO] [stdout] ... | [INFO] [stdout] 281 | | Ok(()) [INFO] [stdout] 282 | | } [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/object.rs:298:5 [INFO] [stdout] | [INFO] [stdout] 286 | src: S1, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 287 | dest: S2, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 288 | headers: H, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 289 | resources: R [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 298 | / { [INFO] [stdout] 299 | | let (host, mut headers) = self.build_request(RequestType::Put, dest, headers, resources)?; [INFO] [stdout] 300 | | headers.insert("x-oss-copy-source", src.as_ref().parse()?); [INFO] [stdout] ... | [INFO] [stdout] 307 | | Ok(()) [INFO] [stdout] 308 | | } [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/object.rs:312:5 [INFO] [stdout] | [INFO] [stdout] 310 | async fn delete_object(&self, object_name: S) -> Result<(), OSSError> [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 311 | where S: AsRef + Send [INFO] [stdout] 312 | / { [INFO] [stdout] 313 | | let headers = HashMap::::new(); [INFO] [stdout] 314 | | let (host, headers) = self.build_request( [INFO] [stdout] 315 | | RequestType::Delete, [INFO] [stdout] ... | [INFO] [stdout] 327 | | Ok(()) [INFO] [stdout] 328 | | } [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/object.rs:332:5 [INFO] [stdout] | [INFO] [stdout] 330 | async fn head_object(&self, object_name: S) -> Result [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 331 | where S: AsRef + Send [INFO] [stdout] 332 | / { [INFO] [stdout] 333 | | let (host, headers) = self.build_request( [INFO] [stdout] 334 | | RequestType::Head, [INFO] [stdout] 335 | | object_name, [INFO] [stdout] ... | [INFO] [stdout] 349 | | } [INFO] [stdout] 350 | | } [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/service.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 146 | async fn list_bucket(&self, resources: R) -> Result [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 150 | / { [INFO] [stdout] 151 | | let resources_str = if let Some(r) = resources.into() { [INFO] [stdout] 152 | | self.get_resources_str(&r) [INFO] [stdout] 153 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 256 | | Ok(list_buckets) [INFO] [stdout] 257 | | } [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/oss.rs:241:12 [INFO] [stdout] | [INFO] [stdout] 207 | object_name: S1, [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 208 | headers: H, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 209 | resources: R, [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 218 | let (resources_str, params_str) = if let Some(r) = resources.into() { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 226 | let mut headers = if let Some(h) = headers.into() { [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] 241 | Ok((host, headers)) [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] | 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 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `oss-sdk-rs` (lib test) due to 11 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/object.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 106 | headers: H, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 107 | resources: R [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 114 | / { [INFO] [stdout] 115 | | let (host, headers) = self.build_request( [INFO] [stdout] 116 | | RequestType::Get, [INFO] [stdout] 117 | | String::new(), [INFO] [stdout] ... | [INFO] [stdout] 126 | | status_to_response(status, text) [INFO] [stdout] 127 | | } [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/object.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 131 | prefix: Option, [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 132 | delimiter: Option [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 135 | / { [INFO] [stdout] 136 | | let mut resources = HashMap::new(); [INFO] [stdout] 137 | | resources.insert("list-type".to_string(), Some("2".to_string())); [INFO] [stdout] 138 | | resources.insert( [INFO] [stdout] ... | [INFO] [stdout] 159 | | status_to_response(status, text) [INFO] [stdout] 160 | | } [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/object.rs:174:5 [INFO] [stdout] | [INFO] [stdout] 164 | object_name: S1, [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 165 | headers: H, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 166 | resources: R [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 174 | / { [INFO] [stdout] 175 | | let (host, headers) = self.build_request( [INFO] [stdout] 176 | | RequestType::Get, [INFO] [stdout] 177 | | object_name, [INFO] [stdout] ... | [INFO] [stdout] 193 | | } [INFO] [stdout] 194 | | } [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/object.rs:209:5 [INFO] [stdout] | [INFO] [stdout] 199 | object_name: S1, [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 200 | headers: H, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 201 | resources: R [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 209 | / { [INFO] [stdout] 210 | | // let mut resources:HashMap<&str, Option<&str>>= HashMap::new(); [INFO] [stdout] 211 | | // resources.insert("append", None); [INFO] [stdout] 212 | | // resources.insert("position", Some("1")); [INFO] [stdout] ... | [INFO] [stdout] 252 | | } [INFO] [stdout] 253 | | } [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/object.rs:268:5 [INFO] [stdout] | [INFO] [stdout] 258 | object_name: S1, [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 259 | headers: H, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 260 | resources: R [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 268 | / { [INFO] [stdout] 269 | | let (host, headers) = self.build_request( [INFO] [stdout] 270 | | RequestType::Put, [INFO] [stdout] 271 | | object_name, [INFO] [stdout] ... | [INFO] [stdout] 281 | | Ok(()) [INFO] [stdout] 282 | | } [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/object.rs:298:5 [INFO] [stdout] | [INFO] [stdout] 286 | src: S1, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 287 | dest: S2, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 288 | headers: H, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 289 | resources: R [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 298 | / { [INFO] [stdout] 299 | | let (host, mut headers) = self.build_request(RequestType::Put, dest, headers, resources)?; [INFO] [stdout] 300 | | headers.insert("x-oss-copy-source", src.as_ref().parse()?); [INFO] [stdout] ... | [INFO] [stdout] 307 | | Ok(()) [INFO] [stdout] 308 | | } [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/object.rs:312:5 [INFO] [stdout] | [INFO] [stdout] 310 | async fn delete_object(&self, object_name: S) -> Result<(), OSSError> [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 311 | where S: AsRef + Send [INFO] [stdout] 312 | / { [INFO] [stdout] 313 | | let headers = HashMap::::new(); [INFO] [stdout] 314 | | let (host, headers) = self.build_request( [INFO] [stdout] 315 | | RequestType::Delete, [INFO] [stdout] ... | [INFO] [stdout] 327 | | Ok(()) [INFO] [stdout] 328 | | } [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/object.rs:332:5 [INFO] [stdout] | [INFO] [stdout] 330 | async fn head_object(&self, object_name: S) -> Result [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 331 | where S: AsRef + Send [INFO] [stdout] 332 | / { [INFO] [stdout] 333 | | let (host, headers) = self.build_request( [INFO] [stdout] 334 | | RequestType::Head, [INFO] [stdout] 335 | | object_name, [INFO] [stdout] ... | [INFO] [stdout] 349 | | } [INFO] [stdout] 350 | | } [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/service.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 146 | async fn list_bucket(&self, resources: R) -> Result [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 150 | / { [INFO] [stdout] 151 | | let resources_str = if let Some(r) = resources.into() { [INFO] [stdout] 152 | | self.get_resources_str(&r) [INFO] [stdout] 153 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 256 | | Ok(list_buckets) [INFO] [stdout] 257 | | } [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/oss.rs:241:12 [INFO] [stdout] | [INFO] [stdout] 207 | object_name: S1, [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 208 | headers: H, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 209 | resources: R, [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 218 | let (resources_str, params_str) = if let Some(r) = resources.into() { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 226 | let mut headers = if let Some(h) = headers.into() { [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] 241 | Ok((host, headers)) [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] | 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 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `oss-sdk-rs` (lib) due to 11 previous errors [INFO] running `Command { std: "docker" "inspect" "866cce2107ad0bd6f8168db7d981b8139e0444f16ab0361179865b8a1e21b684", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "866cce2107ad0bd6f8168db7d981b8139e0444f16ab0361179865b8a1e21b684", kill_on_drop: false }` [INFO] [stdout] 866cce2107ad0bd6f8168db7d981b8139e0444f16ab0361179865b8a1e21b684