[INFO] fetching crate qiniu-upload-token 0.2.4... [INFO] checking qiniu-upload-token-0.2.4 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate qiniu-upload-token 0.2.4 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate qiniu-upload-token 0.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 qiniu-upload-token 0.2.4 [INFO] finished tweaking crates.io crate qiniu-upload-token 0.2.4 [INFO] tweaked toml for crates.io crate qiniu-upload-token 0.2.4 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate crates.io crate qiniu-upload-token 0.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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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] 6ef1592be1cfc647015371f4e41512307a6ffea0df42a5b1250a91b45b93ef5c [INFO] running `Command { std: "docker" "start" "-a" "6ef1592be1cfc647015371f4e41512307a6ffea0df42a5b1250a91b45b93ef5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6ef1592be1cfc647015371f4e41512307a6ffea0df42a5b1250a91b45b93ef5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ef1592be1cfc647015371f4e41512307a6ffea0df42a5b1250a91b45b93ef5c", kill_on_drop: false }` [INFO] [stdout] 6ef1592be1cfc647015371f4e41512307a6ffea0df42a5b1250a91b45b93ef5c [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] 8ac21b8ab91e94f074c2816f5d9b8f78ecac255c7275de585d10e28fa9baf74d [INFO] running `Command { std: "docker" "start" "-a" "8ac21b8ab91e94f074c2816f5d9b8f78ecac255c7275de585d10e28fa9baf74d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Checking futures-io v0.3.29 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Checking fastrand v2.0.1 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling rustix v0.38.25 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking linux-raw-sys v0.4.11 [INFO] [stderr] Checking waker-fn v1.1.1 [INFO] [stderr] Checking value-bag v1.4.2 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking async-task v4.5.0 [INFO] [stderr] Checking piper v0.2.1 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking smallstr v0.3.0 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Checking linux-raw-sys v0.3.8 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Checking cpufeatures v0.2.11 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking http v0.2.11 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking async-lock v2.8.0 [INFO] [stderr] Checking futures-lite v2.0.1 [INFO] [stderr] Checking concurrent-queue v2.3.0 [INFO] [stderr] Checking futures-lite v1.13.0 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking event-listener v3.1.0 [INFO] [stderr] Checking assert-impl v0.1.3 [INFO] [stderr] Checking async-channel v1.9.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking event-listener-strategy v0.3.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking async-lock v3.1.1 [INFO] [stderr] Checking async-channel v2.1.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-mac v0.11.1 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking sha-1 v0.9.8 [INFO] [stderr] Checking hmac v0.11.0 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking blocking v1.5.1 [INFO] [stderr] Checking async-executor v1.7.2 [INFO] [stderr] Checking async-io v1.13.0 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking polling v3.3.0 [INFO] [stderr] Checking async-io v2.2.0 [INFO] [stderr] Compiling dyn-clonable-impl v0.9.0 [INFO] [stderr] Compiling auto_impl v1.1.0 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling duplicate v0.2.9 [INFO] [stderr] Checking async-global-executor v2.4.0 [INFO] [stderr] Checking dyn-clonable v0.9.0 [INFO] [stderr] Checking async-std v1.12.0 [INFO] [stderr] Checking structopt v0.3.26 [INFO] [stderr] Checking qiniu-utils v0.2.4 [INFO] [stderr] Checking qiniu-credential v0.2.4 [INFO] [stderr] Checking qiniu-upload-token v0.2.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: lint `indirect_structural_match` has been removed: converted into hard error, see RFC #3535 for more information [INFO] [stdout] --> src/lib.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | indirect_structural_match, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `indirect_structural_match` has been removed: converted into hard error, see RFC #3535 for more information [INFO] [stdout] --> src/lib.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | indirect_structural_match, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [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/upload_policy.rs:224:9 [INFO] [stdout] | [INFO] [stdout] 223 | pub fn from_json(json: impl AsRef<[u8]>) -> serde_json::Result { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 224 | serde_json::from_slice(json.as_ref()).map(|inner| UploadPolicy { inner }) [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/upload_token.rs:272:27 [INFO] [stdout] | [INFO] [stdout] 270 | pub fn new(upload_token: impl Into) -> Self { [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 271 | Self { [INFO] [stdout] 272 | upload_token: upload_token.into().into_boxed_str(), [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/upload_token.rs:274:25 [INFO] [stdout] | [INFO] [stdout] 270 | pub fn new(upload_token: impl Into) -> Self { [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 274 | access_key: OnceCell::new(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/upload_token.rs:332:17 [INFO] [stdout] | [INFO] [stdout] 332 | UploadPolicy::from_json(decoded_policy).map_err(ParseError::JsonDecodeError) [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/upload_token.rs:428:9 [INFO] [stdout] | [INFO] [stdout] 427 | pub fn new(bucket: impl Into, upload_token_lifetime: Duration, credential: C) -> Self { [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] 428 | Self::builder(bucket, upload_token_lifetime, credential).build() [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/upload_token.rs:439:20 [INFO] [stdout] | [INFO] [stdout] 434 | bucket: impl Into, [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 435 | upload_token_lifetime: Duration, [INFO] [stdout] 436 | credential: C, [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 439 | inner: Self { [INFO] [stdout] | ____________________^ [INFO] [stdout] 440 | | bucket: bucket.into(), [INFO] [stdout] 441 | | upload_token_lifetime, [INFO] [stdout] 442 | | credential, [INFO] [stdout] 443 | | on_policy_generated: None, [INFO] [stdout] 444 | | }, [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/upload_token.rs:549:9 [INFO] [stdout] | [INFO] [stdout] 544 | bucket: impl Into, [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 545 | object: impl Into, [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 546 | upload_token_lifetime: Duration, [INFO] [stdout] 547 | credential: C, [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 548 | ) -> Self { [INFO] [stdout] 549 | Self::builder(bucket, object, upload_token_lifetime, credential).build() [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/upload_token.rs:561:20 [INFO] [stdout] | [INFO] [stdout] 555 | bucket: impl Into, [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 556 | object: impl Into, [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 557 | upload_token_lifetime: Duration, [INFO] [stdout] 558 | credential: C, [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 561 | inner: Self { [INFO] [stdout] | ____________________^ [INFO] [stdout] 562 | | bucket: bucket.into(), [INFO] [stdout] 563 | | object: object.into(), [INFO] [stdout] 564 | | upload_token_lifetime, [INFO] [stdout] 565 | | credential, [INFO] [stdout] 566 | | on_policy_generated: None, [INFO] [stdout] 567 | | }, [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/upload_token.rs:703:25 [INFO] [stdout] | [INFO] [stdout] 699 | pub fn new(inner_provider: P, cache_lifetime: Duration) -> Self { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 703 | sync_cache: Default::default(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/upload_token.rs:737:19 [INFO] [stdout] | [INFO] [stdout] 731 | let mut guard = provider.sync_cache.0.$cache_field.write().unwrap(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 737 | match provider.inner_provider.$method_name(opts) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 777 | / sync_method!( [INFO] [stdout] 778 | | self, [INFO] [stdout] 779 | | access_key, [INFO] [stdout] 780 | | opts, [INFO] [stdout] ... | [INFO] [stdout] 783 | | ParseResult [INFO] [stdout] 784 | | ) [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 `sync_method` (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/upload_token.rs:737:19 [INFO] [stdout] | [INFO] [stdout] 731 | let mut guard = provider.sync_cache.0.$cache_field.write().unwrap(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 737 | match provider.inner_provider.$method_name(opts) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 788 | / sync_method!( [INFO] [stdout] 789 | | self, [INFO] [stdout] 790 | | upload_policy, [INFO] [stdout] 791 | | opts, [INFO] [stdout] ... | [INFO] [stdout] 794 | | ParseResult> [INFO] [stdout] 795 | | ) [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 `sync_method` (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/upload_token.rs:737:19 [INFO] [stdout] | [INFO] [stdout] 731 | let mut guard = provider.sync_cache.0.$cache_field.write().unwrap(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 737 | match provider.inner_provider.$method_name(opts) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 799 | / sync_method!( [INFO] [stdout] 800 | | self, [INFO] [stdout] 801 | | upload_token, [INFO] [stdout] 802 | | opts, [INFO] [stdout] ... | [INFO] [stdout] 805 | | ToStringResult> [INFO] [stdout] 806 | | ) [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 `sync_method` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `qiniu-upload-token` (lib) due to 13 previous errors; 1 warning emitted [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/upload_policy.rs:224:9 [INFO] [stdout] | [INFO] [stdout] 223 | pub fn from_json(json: impl AsRef<[u8]>) -> serde_json::Result { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 224 | serde_json::from_slice(json.as_ref()).map(|inner| UploadPolicy { inner }) [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/upload_token.rs:272:27 [INFO] [stdout] | [INFO] [stdout] 270 | pub fn new(upload_token: impl Into) -> Self { [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 271 | Self { [INFO] [stdout] 272 | upload_token: upload_token.into().into_boxed_str(), [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/upload_token.rs:274:25 [INFO] [stdout] | [INFO] [stdout] 270 | pub fn new(upload_token: impl Into) -> Self { [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 274 | access_key: OnceCell::new(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/upload_token.rs:332:17 [INFO] [stdout] | [INFO] [stdout] 332 | UploadPolicy::from_json(decoded_policy).map_err(ParseError::JsonDecodeError) [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/upload_token.rs:428:9 [INFO] [stdout] | [INFO] [stdout] 427 | pub fn new(bucket: impl Into, upload_token_lifetime: Duration, credential: C) -> Self { [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] 428 | Self::builder(bucket, upload_token_lifetime, credential).build() [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/upload_token.rs:439:20 [INFO] [stdout] | [INFO] [stdout] 434 | bucket: impl Into, [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 435 | upload_token_lifetime: Duration, [INFO] [stdout] 436 | credential: C, [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 439 | inner: Self { [INFO] [stdout] | ____________________^ [INFO] [stdout] 440 | | bucket: bucket.into(), [INFO] [stdout] 441 | | upload_token_lifetime, [INFO] [stdout] 442 | | credential, [INFO] [stdout] 443 | | on_policy_generated: None, [INFO] [stdout] 444 | | }, [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/upload_token.rs:549:9 [INFO] [stdout] | [INFO] [stdout] 544 | bucket: impl Into, [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 545 | object: impl Into, [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 546 | upload_token_lifetime: Duration, [INFO] [stdout] 547 | credential: C, [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 548 | ) -> Self { [INFO] [stdout] 549 | Self::builder(bucket, object, upload_token_lifetime, credential).build() [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/upload_token.rs:561:20 [INFO] [stdout] | [INFO] [stdout] 555 | bucket: impl Into, [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 556 | object: impl Into, [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 557 | upload_token_lifetime: Duration, [INFO] [stdout] 558 | credential: C, [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 561 | inner: Self { [INFO] [stdout] | ____________________^ [INFO] [stdout] 562 | | bucket: bucket.into(), [INFO] [stdout] 563 | | object: object.into(), [INFO] [stdout] 564 | | upload_token_lifetime, [INFO] [stdout] 565 | | credential, [INFO] [stdout] 566 | | on_policy_generated: None, [INFO] [stdout] 567 | | }, [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/upload_token.rs:703:25 [INFO] [stdout] | [INFO] [stdout] 699 | pub fn new(inner_provider: P, cache_lifetime: Duration) -> Self { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 703 | sync_cache: Default::default(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/upload_token.rs:737:19 [INFO] [stdout] | [INFO] [stdout] 731 | let mut guard = provider.sync_cache.0.$cache_field.write().unwrap(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 737 | match provider.inner_provider.$method_name(opts) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 777 | / sync_method!( [INFO] [stdout] 778 | | self, [INFO] [stdout] 779 | | access_key, [INFO] [stdout] 780 | | opts, [INFO] [stdout] ... | [INFO] [stdout] 783 | | ParseResult [INFO] [stdout] 784 | | ) [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 `sync_method` (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/upload_token.rs:737:19 [INFO] [stdout] | [INFO] [stdout] 731 | let mut guard = provider.sync_cache.0.$cache_field.write().unwrap(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 737 | match provider.inner_provider.$method_name(opts) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 788 | / sync_method!( [INFO] [stdout] 789 | | self, [INFO] [stdout] 790 | | upload_policy, [INFO] [stdout] 791 | | opts, [INFO] [stdout] ... | [INFO] [stdout] 794 | | ParseResult> [INFO] [stdout] 795 | | ) [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 `sync_method` (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/upload_token.rs:737:19 [INFO] [stdout] | [INFO] [stdout] 731 | let mut guard = provider.sync_cache.0.$cache_field.write().unwrap(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 737 | match provider.inner_provider.$method_name(opts) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 799 | / sync_method!( [INFO] [stdout] 800 | | self, [INFO] [stdout] 801 | | upload_token, [INFO] [stdout] 802 | | opts, [INFO] [stdout] ... | [INFO] [stdout] 805 | | ToStringResult> [INFO] [stdout] 806 | | ) [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 `sync_method` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `qiniu-upload-token` (lib test) due to 13 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "8ac21b8ab91e94f074c2816f5d9b8f78ecac255c7275de585d10e28fa9baf74d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ac21b8ab91e94f074c2816f5d9b8f78ecac255c7275de585d10e28fa9baf74d", kill_on_drop: false }` [INFO] [stdout] 8ac21b8ab91e94f074c2816f5d9b8f78ecac255c7275de585d10e28fa9baf74d