[INFO] fetching crate qiniu-upload 0.1.1... [INFO] checking qiniu-upload-0.1.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate qiniu-upload 0.1.1 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate qiniu-upload 0.1.1 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 0.1.1 [INFO] finished tweaking crates.io crate qiniu-upload 0.1.1 [INFO] tweaked toml for crates.io crate qiniu-upload 0.1.1 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate crates.io crate qiniu-upload 0.1.1 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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 31065af6b94d7557ec11100004f69199e1347e413e016abc2cf244e76f1c4c97 [INFO] running `Command { std: "docker" "start" "-a" "31065af6b94d7557ec11100004f69199e1347e413e016abc2cf244e76f1c4c97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "31065af6b94d7557ec11100004f69199e1347e413e016abc2cf244e76f1c4c97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31065af6b94d7557ec11100004f69199e1347e413e016abc2cf244e76f1c4c97", kill_on_drop: false }` [INFO] [stdout] 31065af6b94d7557ec11100004f69199e1347e413e016abc2cf244e76f1c4c97 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] a83d4d899f0946bf4e689f80ffbe783c80234cb61bc3a63cb62abb4bb443dc26 [INFO] running `Command { std: "docker" "start" "-a" "a83d4d899f0946bf4e689f80ffbe783c80234cb61bc3a63cb62abb4bb443dc26", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking slab v0.4.3 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Checking futures-sink v0.3.15 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Checking futures-io v0.3.15 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Checking tinyvec v1.3.1 [INFO] [stderr] Compiling tokio v1.8.2 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking http v0.2.4 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking tracing-core v0.1.18 [INFO] [stderr] Checking unicode-bidi v0.3.5 [INFO] [stderr] Compiling openssl v0.10.35 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking tracing v0.1.26 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking cpufeatures v0.1.5 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking socket2 v0.4.0 [INFO] [stderr] Checking openssl-probe v0.1.4 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking httpdate v1.0.1 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking input_buffer v0.4.0 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking buf_redux v0.8.4 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking crypto-mac v0.11.1 [INFO] [stderr] Checking inotify v0.7.1 [INFO] [stderr] Compiling openssl-sys v0.9.65 [INFO] [stderr] Checking sha-1 v0.9.7 [INFO] [stderr] Checking filetime v0.2.14 [INFO] [stderr] Checking dirs-sys v0.3.6 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking twoway v0.1.8 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling anyhow v1.0.42 [INFO] [stderr] Checking ipnet v2.3.1 [INFO] [stderr] Checking directories v3.0.2 [INFO] [stderr] Checking hmac v0.11.0 [INFO] [stderr] Checking md-5 v0.9.1 [INFO] [stderr] Checking positioned-io-preview v0.3.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking http-body v0.4.2 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Checking headers v0.3.4 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking multipart v0.17.1 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking notify v4.0.17 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking tungstenite v0.12.0 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Checking thiserror v1.0.26 [INFO] [stderr] Checking pin-project v1.0.8 [INFO] [stderr] Checking futures-executor v0.3.15 [INFO] [stderr] Checking tokio-util v0.6.7 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking tokio-stream v0.1.7 [INFO] [stderr] Checking tokio-tungstenite v0.13.0 [INFO] [stderr] Checking futures v0.3.15 [INFO] [stderr] Checking h2 v0.3.3 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking dashmap v4.0.2 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking hyper v0.14.11 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking warp v0.3.1 [INFO] [stderr] Checking reqwest v0.11.4 [INFO] [stderr] Checking qiniu-upload v0.1.1 (/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/error.rs:174:15 [INFO] [stdout] | [INFO] [stdout] 162 | fn from(response: Response) -> Self { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 169 | let request_id = response [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 174 | match serde_json::from_reader::<_, ErrorBody>(response) { [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/error.rs:197:11 [INFO] [stdout] | [INFO] [stdout] 190 | response: Response, [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 193 | let request_id = response [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 197 | match serde_json::from_reader::<_, T>(response) { [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/host_selector.rs:151:18 [INFO] [stdout] | [INFO] [stdout] 150 | fn new(hosts: Vec, update_option: Option) -> Arc { [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 151 | Arc::new(Self { [INFO] [stdout] | __________________^ [INFO] [stdout] 152 | | hosts_map: hosts [INFO] [stdout] 153 | | .iter() [INFO] [stdout] 154 | | .map(|host| (host.to_owned(), Default::default())) [INFO] [stdout] ... | [INFO] [stdout] 159 | | current_timeout_power: AtomicUsize::new(0), [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/host_selector.rs:399:28 [INFO] [stdout] | [INFO] [stdout] 383 | pub(super) fn build(self) -> HostSelector { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 387 | let hosts_updater = HostsUpdater::new( [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 399 | host_punisher: Arc::new(HostPunisher { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 400 | | should_punish_func: self.should_punish_func, [INFO] [stdout] 401 | | punish_duration: self.punish_duration, [INFO] [stdout] 402 | | base_timeout: self.base_timeout, [INFO] [stdout] 403 | | max_punished_times: self.max_punished_times, [INFO] [stdout] 404 | | max_punished_hosts_percent: self.max_punished_hosts_percent, [INFO] [stdout] 405 | | }), [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/query.rs:196:12 [INFO] [stdout] | [INFO] [stdout] 155 | let cache_key = CacheKey::new(ak.into(), bucket.into()); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 158 | let cache_value = CACHE_MAP [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 196 | Ok(cache_value.cached_response_body.to_owned()) [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/query.rs:267:13 [INFO] [stdout] | [INFO] [stdout] 248 | mut for_each_host: impl FnMut(&str, usize, Duration) -> HttpCallResult, [INFO] [stdout] | ------------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 249 | ) -> HttpCallResult { [INFO] [stdout] 250 | let mut last_error = None; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 267 | Err(last_error.expect("No UC tries error")) [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/reader.rs:74:29 [INFO] [stdout] | [INFO] [stdout] 73 | pub(super) fn file(file: Arc>, start_from: u64, len: u64) -> Self { [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 74 | Self::read_at_based(PartibleReader::File(file), start_from, len) [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/reader.rs:79:29 [INFO] [stdout] | [INFO] [stdout] 78 | pub(super) fn partible_data(data: Arc>, start_from: u64, len: u64) -> Self { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 79 | Self::read_at_based(PartibleReader::Data(data), start_from, len) [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/reader.rs:85:20 [INFO] [stdout] | [INFO] [stdout] 83 | fn read_at_based(source: PartibleReader, start_from: u64, len: u64) -> Self { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 84 | Self { [INFO] [stdout] 85 | inner: PartReaderInner::ReadAt { [INFO] [stdout] | ____________________^ [INFO] [stdout] 86 | | source, [INFO] [stdout] 87 | | start_from, [INFO] [stdout] 88 | | len, [INFO] [stdout] 89 | | }, [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/reader.rs:96:20 [INFO] [stdout] | [INFO] [stdout] 94 | pub(super) fn data(data: Arc>) -> Self { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 95 | Self { [INFO] [stdout] 96 | inner: PartReaderInner::Data(data), [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/reader.rs:221:20 [INFO] [stdout] | [INFO] [stdout] 219 | fn from(file: Arc) -> Self { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 220 | Self { [INFO] [stdout] 221 | inner: FormUploadSourceInner::File(file), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/reader.rs:230:20 [INFO] [stdout] | [INFO] [stdout] 228 | fn from(data: Arc>) -> Self { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 229 | Self { [INFO] [stdout] 230 | inner: FormUploadSourceInner::Data(data), [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/reader.rs:243:20 [INFO] [stdout] | [INFO] [stdout] 241 | fn from(file: Arc>) -> Self { [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 242 | Self { [INFO] [stdout] 243 | inner: UploadSourceInner::File(file), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/reader.rs:252:20 [INFO] [stdout] | [INFO] [stdout] 250 | fn from(data: Arc>) -> Self { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 251 | Self { [INFO] [stdout] 252 | inner: UploadSourceInner::Data(data), [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/reader.rs:268:20 [INFO] [stdout] | [INFO] [stdout] 266 | pub(super) fn from_reader(reader: impl Read + Sync + Send + Debug + 'static) -> Self { [INFO] [stdout] | ------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 267 | Self { [INFO] [stdout] 268 | inner: UploadSourceInner::Reader(Box::new(reader)), [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_policy.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 67 | pub(super) 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] 68 | 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] [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:52:27 [INFO] [stdout] | [INFO] [stdout] 50 | pub(super) 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] 51 | Self { [INFO] [stdout] 52 | 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:54:25 [INFO] [stdout] | [INFO] [stdout] 50 | pub(super) 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] 54 | 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:90:17 [INFO] [stdout] | [INFO] [stdout] 90 | 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:126:27 [INFO] [stdout] | [INFO] [stdout] 121 | credential: Box, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 126 | upload_token: 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/uploader.rs:84:25 [INFO] [stdout] | [INFO] [stdout] 78 | access_key: impl Into, [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 79 | secret_key: impl Into, [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 80 | bucket: impl Into, [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 84 | credential: Arc::new(StaticCredentialProvider::new( [INFO] [stdout] | _________________________^ [INFO] [stdout] 85 | | access_key.to_owned(), [INFO] [stdout] 86 | | secret_key.into(), [INFO] [stdout] 87 | | )), [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/uploader.rs:246:20 [INFO] [stdout] | [INFO] [stdout] 203 | pub fn build(self) -> Uploader { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 204 | let up_querier = if self.uc_urls.is_empty() { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 218 | let up_selector = { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 246 | inner: Arc::new(UploaderInner { [INFO] [stdout] | ____________________^ [INFO] [stdout] 247 | | api_caller: UploadApiCaller::new(up_selector, self.up_tries), [INFO] [stdout] 248 | | bucket_name: self.bucket, [INFO] [stdout] 249 | | part_size: self.part_size, [INFO] [stdout] 250 | | base_timeout: self.base_timeout, [INFO] [stdout] 251 | | credential: self.credential, [INFO] [stdout] 252 | | }), [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/uploader.rs:288:20 [INFO] [stdout] | [INFO] [stdout] 285 | pub fn upload_file(&self, source: File) -> UploadRequestBuilder { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 288 | inner: UploadRequestBuilderInner { [INFO] [stdout] | ____________________^ [INFO] [stdout] 289 | | uploader: self, [INFO] [stdout] 290 | | object_name: None, [INFO] [stdout] 291 | | upload_progress_callback: None, [INFO] [stdout] ... | [INFO] [stdout] 295 | | custom_vars: None, [INFO] [stdout] 296 | | }, [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/uploader.rs:304:12 [INFO] [stdout] | [INFO] [stdout] 302 | pub fn upload_path(&self, path: impl AsRef) -> IOResult { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 303 | let file = File::open(path.as_ref())?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 304 | Ok(self.upload_file(file)) [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/uploader.rs:406:9 [INFO] [stdout] | [INFO] [stdout] 403 | pub fn start(self) -> HttpCallResult { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 406 | / self.start_uploading() [INFO] [stdout] 407 | | .tap_ok(|_| { [INFO] [stdout] 408 | | info!( [INFO] [stdout] 409 | | "done uploading, object_name {:?}, elapsed {:?}", [INFO] [stdout] ... | [INFO] [stdout] 412 | | ); [INFO] [stdout] 413 | | }) [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: aborting due to 25 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `qiniu-upload` (lib) due to 26 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "a83d4d899f0946bf4e689f80ffbe783c80234cb61bc3a63cb62abb4bb443dc26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a83d4d899f0946bf4e689f80ffbe783c80234cb61bc3a63cb62abb4bb443dc26", kill_on_drop: false }` [INFO] [stdout] a83d4d899f0946bf4e689f80ffbe783c80234cb61bc3a63cb62abb4bb443dc26