[INFO] fetching crate qiniu-upload-token 0.2.4... [INFO] checking qiniu-upload-token-0.2.4 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate qiniu-upload-token 0.2.4 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate qiniu-upload-token 0.2.4 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "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-4-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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "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-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2cff11274bf80561b3452bd110f11a49cc03792b9c9716726f2eef7e1a55eb68 [INFO] running `Command { std: "docker" "start" "-a" "2cff11274bf80561b3452bd110f11a49cc03792b9c9716726f2eef7e1a55eb68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2cff11274bf80561b3452bd110f11a49cc03792b9c9716726f2eef7e1a55eb68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2cff11274bf80561b3452bd110f11a49cc03792b9c9716726f2eef7e1a55eb68", kill_on_drop: false }` [INFO] [stdout] 2cff11274bf80561b3452bd110f11a49cc03792b9c9716726f2eef7e1a55eb68 [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 03a303ccdf74c2fbf68b2d16d47261128ff7ec3d2e2ff6148c975951d0393744 [INFO] running `Command { std: "docker" "start" "-a" "03a303ccdf74c2fbf68b2d16d47261128ff7ec3d2e2ff6148c975951d0393744", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking parking v2.2.0 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking futures-io v0.3.29 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Checking fastrand v2.0.1 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling rustix v0.38.25 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Checking waker-fn v1.1.1 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Checking linux-raw-sys v0.4.11 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking value-bag v1.4.2 [INFO] [stderr] Checking async-task v4.5.0 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Checking event-listener v2.5.3 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking smallstr v0.3.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Checking piper v0.2.1 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking fastrand v1.9.0 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking concurrent-queue v2.3.0 [INFO] [stderr] Checking futures-lite v2.0.1 [INFO] [stderr] Checking dyn-clone v1.0.16 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking cpufeatures v0.2.11 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking linux-raw-sys v0.3.8 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking futures-lite v1.13.0 [INFO] [stderr] Checking async-lock v2.8.0 [INFO] [stderr] Checking event-listener v3.1.0 [INFO] [stderr] Checking assert-impl v0.1.3 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking event-listener-strategy v0.3.0 [INFO] [stderr] Checking http v0.2.11 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking async-lock v3.1.1 [INFO] [stderr] Checking async-channel v2.1.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking async-channel v1.9.0 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking async-executor v1.7.2 [INFO] [stderr] Checking blocking v1.5.1 [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 sha-1 v0.9.8 [INFO] [stderr] Checking hmac v0.11.0 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling dyn-clonable-impl v0.9.0 [INFO] [stderr] Compiling auto_impl v1.1.0 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling duplicate v0.2.9 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Checking dyn-clonable v0.9.0 [INFO] [stderr] Checking polling v3.3.0 [INFO] [stderr] Checking async-io v2.2.0 [INFO] [stderr] Checking structopt v0.3.26 [INFO] [stderr] Checking async-global-executor v2.4.0 [INFO] [stderr] Checking async-std v1.12.0 [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: this value of type `Result` has 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 local bindings with significant drop implementation may 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: requested on the command line with `-D tail-expr-drop-order` [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: this value of type `Result, ParseError>` has 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 local bindings with significant drop implementation may 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: this value of type `Result, ToStringError>` has 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 local bindings with significant drop implementation may 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 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `qiniu-upload-token` (lib) due to 4 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this value of type `Result` has 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 local bindings with significant drop implementation may 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: requested on the command line with `-D tail-expr-drop-order` [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: this value of type `Result, ParseError>` has 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 local bindings with significant drop implementation may 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: this value of type `Result, ToStringError>` has 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 local bindings with significant drop implementation may 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 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `qiniu-upload-token` (lib test) due to 4 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "03a303ccdf74c2fbf68b2d16d47261128ff7ec3d2e2ff6148c975951d0393744", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03a303ccdf74c2fbf68b2d16d47261128ff7ec3d2e2ff6148c975951d0393744", kill_on_drop: false }` [INFO] [stdout] 03a303ccdf74c2fbf68b2d16d47261128ff7ec3d2e2ff6148c975951d0393744