[INFO] cloning repository https://github.com/Chikage0o0/upload-backend [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Chikage0o0/upload-backend" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FChikage0o0%2Fupload-backend", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FChikage0o0%2Fupload-backend'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fdf2a005727ef5f1095111413c3c3fed4cefa23b [INFO] checking Chikage0o0/upload-backend/fdf2a005727ef5f1095111413c3c3fed4cefa23b against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FChikage0o0%2Fupload-backend" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Chikage0o0/upload-backend 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 git repo https://github.com/Chikage0o0/upload-backend [INFO] finished tweaking git repo https://github.com/Chikage0o0/upload-backend [INFO] tweaked toml for git repo https://github.com/Chikage0o0/upload-backend written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 197 packages to latest compatible versions [INFO] [stderr] Adding addr2line v0.22.0 (latest: v0.24.1) [INFO] [stderr] Adding base64 v0.13.1 (latest: v0.22.1) [INFO] [stderr] Adding base64 v0.21.7 (latest: v0.22.1) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.6.0) [INFO] [stderr] Adding core-foundation v0.9.4 (latest: v0.10.0) [INFO] [stderr] Adding generic-array v0.14.7 (latest: v1.1.0) [INFO] [stderr] Adding gimli v0.29.0 (latest: v0.31.0) [INFO] [stderr] Adding h2 v0.3.26 (latest: v0.4.6) [INFO] [stderr] Adding hermit-abi v0.3.9 (latest: v0.4.0) [INFO] [stderr] Adding http v0.2.12 (latest: v1.1.0) [INFO] [stderr] Adding http-body v0.4.6 (latest: v1.0.1) [INFO] [stderr] Adding hyper v0.14.30 (latest: v1.4.1) [INFO] [stderr] Adding hyper-rustls v0.24.2 (latest: v0.27.2) [INFO] [stderr] Adding idna v0.5.0 (latest: v1.0.2) [INFO] [stderr] Adding miniz_oxide v0.7.4 (latest: v0.8.0) [INFO] [stderr] Adding reqwest v0.11.27 (latest: v0.12.7) [INFO] [stderr] Adding rustls v0.21.12 (latest: v0.23.12) [INFO] [stderr] Adding rustls-pemfile v1.0.4 (latest: v2.1.3) [INFO] [stderr] Adding rustls-webpki v0.101.7 (latest: v0.102.7) [INFO] [stderr] Adding sync_wrapper v0.1.2 (latest: v1.0.1) [INFO] [stderr] Adding system-configuration v0.5.1 (latest: v0.6.1) [INFO] [stderr] Adding system-configuration-sys v0.5.0 (latest: v0.6.0) [INFO] [stderr] Adding tokio-rustls v0.24.1 (latest: v0.26.0) [INFO] [stderr] Adding tower v0.4.13 (latest: v0.5.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding webpki-roots v0.25.4 (latest: v0.26.5) [INFO] [stderr] Adding windows-core v0.52.0 (latest: v0.58.0) [INFO] [stderr] Adding windows-sys v0.48.0 (latest: v0.59.0) [INFO] [stderr] Adding windows-sys v0.52.0 (latest: v0.59.0) [INFO] [stderr] Adding windows-targets v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_aarch64_gnullvm v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_aarch64_msvc v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_i686_gnu v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_i686_msvc v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnu v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnullvm v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_x86_64_msvc v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding winreg v0.50.0 (latest: v0.52.0) [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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0cbde36688b7f8b70a93561ac0ca5dbaa944155ea0a7ee26210be848266200d6 [INFO] running `Command { std: "docker" "start" "-a" "0cbde36688b7f8b70a93561ac0ca5dbaa944155ea0a7ee26210be848266200d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0cbde36688b7f8b70a93561ac0ca5dbaa944155ea0a7ee26210be848266200d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0cbde36688b7f8b70a93561ac0ca5dbaa944155ea0a7ee26210be848266200d6", kill_on_drop: false }` [INFO] [stdout] 0cbde36688b7f8b70a93561ac0ca5dbaa944155ea0a7ee26210be848266200d6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3c1f0b05ea24d0478ca3c9bc0c8adb01861d52a0f43b1e39336ac778ab2e087a [INFO] running `Command { std: "docker" "start" "-a" "3c1f0b05ea24d0478ca3c9bc0c8adb01861d52a0f43b1e39336ac778ab2e087a", kill_on_drop: false }` [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking rustls-pki-types v1.8.0 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Compiling rustls v0.23.12 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking cpufeatures v0.2.13 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking serde_json v1.0.127 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking webpki-roots v0.26.5 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking rustls-pemfile v2.1.3 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking sync_wrapper v1.0.1 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking xml-rs v0.8.21 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking webpki-roots v0.25.4 [INFO] [stderr] Compiling snafu-derive v0.8.4 [INFO] [stderr] Checking serde_path_to_error v0.1.16 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking serde-xml-rs v0.6.0 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking arc-swap v1.7.1 [INFO] [stderr] Checking digest_auth v0.3.1 [INFO] [stderr] Checking temp-dir v0.1.13 [INFO] [stderr] Checking snafu v0.8.4 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking rustls-webpki v0.102.7 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking h2 v0.4.6 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking tokio-rustls v0.26.0 [INFO] [stderr] Checking hyper v0.14.30 [INFO] [stderr] Checking hyper v1.4.1 [INFO] [stderr] Checking hyper-util v0.1.7 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking hyper-rustls v0.27.2 [INFO] [stderr] Checking reqwest v0.12.7 [INFO] [stderr] Checking oauth2 v4.4.2 [INFO] [stderr] Checking reqwest_dav v0.1.13 [INFO] [stderr] Checking upload-backend v0.1.0 (/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/backend/local.rs:29:44 [INFO] [stdout] | [INFO] [stdout] 26 | mut reader: Box, [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 29 | ) -> Result<(), Box> { [INFO] [stdout] | ____________________________________________^ [INFO] [stdout] 30 | | debug!("Uploading file to local: {:?}", &path); [INFO] [stdout] 31 | | let path = self.folder.join(path); [INFO] [stdout] ... | [INFO] [stdout] 64 | | Ok(()) [INFO] [stdout] 65 | | } [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/backend/onedrive/mod.rs:55:44 [INFO] [stdout] | [INFO] [stdout] 52 | reader: Box, [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 55 | ) -> Result<(), Box> { [INFO] [stdout] | ____________________________________________^ [INFO] [stdout] 56 | | debug!("Uploading file to onedrive: {:?}", &path); [INFO] [stdout] 57 | | self.inner.upload(reader, size, path).await [INFO] [stdout] 58 | | } [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/backend/onedrive/mod.rs:115:18 [INFO] [stdout] | [INFO] [stdout] 114 | fn refresh_handle(inner: Arc) -> tokio::task::JoinHandle<()> { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 115 | tokio::spawn(async move { [INFO] [stdout] | __________________^ [INFO] [stdout] 116 | | loop { [INFO] [stdout] 117 | | let expires_in = inner.expires_at.load(std::sync::atomic::Ordering::Acquire); [INFO] [stdout] 118 | | let now = chrono::Utc::now().timestamp() as u64; [INFO] [stdout] ... | [INFO] [stdout] 130 | | } [INFO] [stdout] 131 | | }) [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/backend/onedrive/auth.rs:208:27 [INFO] [stdout] | [INFO] [stdout] 201 | path: impl AsRef, [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 208 | access_token: ArcSwap::from_pointee(access_token), [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/backend/onedrive/auth.rs:209:28 [INFO] [stdout] | [INFO] [stdout] 201 | path: impl AsRef, [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 209 | refresh_token: ArcSwap::from_pointee(refresh_token), [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/backend/onedrive/upload.rs:30:44 [INFO] [stdout] | [INFO] [stdout] 27 | reader: Box, [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 30 | ) -> Result<(), Box> { [INFO] [stdout] | ____________________________________________^ [INFO] [stdout] 31 | | if size > MAX_FILE_LIMIT { [INFO] [stdout] 32 | | return Err(Error::FileTooLarge { [INFO] [stdout] 33 | | file: path.to_string_lossy().to_string(), [INFO] [stdout] ... | [INFO] [stdout] 45 | | Ok(()) [INFO] [stdout] 46 | | } [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/backend/webdav.rs:37:44 [INFO] [stdout] | [INFO] [stdout] 34 | reader: Box, [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 37 | ) -> Result<(), Box> { [INFO] [stdout] | ____________________________________________^ [INFO] [stdout] 38 | | // 删除已经存在的文件 [INFO] [stdout] 39 | | let _ = self.client.delete(path.to_string_lossy().as_ref()).await; [INFO] [stdout] ... | [INFO] [stdout] 48 | | Ok(()) [INFO] [stdout] 49 | | } [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 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `upload-backend` (lib test) due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/backend/local.rs:29:44 [INFO] [stdout] | [INFO] [stdout] 26 | mut reader: Box, [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 29 | ) -> Result<(), Box> { [INFO] [stdout] | ____________________________________________^ [INFO] [stdout] 30 | | debug!("Uploading file to local: {:?}", &path); [INFO] [stdout] 31 | | let path = self.folder.join(path); [INFO] [stdout] ... | [INFO] [stdout] 64 | | Ok(()) [INFO] [stdout] 65 | | } [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/backend/onedrive/mod.rs:55:44 [INFO] [stdout] | [INFO] [stdout] 52 | reader: Box, [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 55 | ) -> Result<(), Box> { [INFO] [stdout] | ____________________________________________^ [INFO] [stdout] 56 | | debug!("Uploading file to onedrive: {:?}", &path); [INFO] [stdout] 57 | | self.inner.upload(reader, size, path).await [INFO] [stdout] 58 | | } [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/backend/onedrive/mod.rs:115:18 [INFO] [stdout] | [INFO] [stdout] 114 | fn refresh_handle(inner: Arc) -> tokio::task::JoinHandle<()> { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 115 | tokio::spawn(async move { [INFO] [stdout] | __________________^ [INFO] [stdout] 116 | | loop { [INFO] [stdout] 117 | | let expires_in = inner.expires_at.load(std::sync::atomic::Ordering::Acquire); [INFO] [stdout] 118 | | let now = chrono::Utc::now().timestamp() as u64; [INFO] [stdout] ... | [INFO] [stdout] 130 | | } [INFO] [stdout] 131 | | }) [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/backend/onedrive/auth.rs:208:27 [INFO] [stdout] | [INFO] [stdout] 201 | path: impl AsRef, [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 208 | access_token: ArcSwap::from_pointee(access_token), [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/backend/onedrive/auth.rs:209:28 [INFO] [stdout] | [INFO] [stdout] 201 | path: impl AsRef, [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 209 | refresh_token: ArcSwap::from_pointee(refresh_token), [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/backend/onedrive/upload.rs:30:44 [INFO] [stdout] | [INFO] [stdout] 27 | reader: Box, [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 30 | ) -> Result<(), Box> { [INFO] [stdout] | ____________________________________________^ [INFO] [stdout] 31 | | if size > MAX_FILE_LIMIT { [INFO] [stdout] 32 | | return Err(Error::FileTooLarge { [INFO] [stdout] 33 | | file: path.to_string_lossy().to_string(), [INFO] [stdout] ... | [INFO] [stdout] 45 | | Ok(()) [INFO] [stdout] 46 | | } [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/backend/webdav.rs:37:44 [INFO] [stdout] | [INFO] [stdout] 34 | reader: Box, [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 37 | ) -> Result<(), Box> { [INFO] [stdout] | ____________________________________________^ [INFO] [stdout] 38 | | // 删除已经存在的文件 [INFO] [stdout] 39 | | let _ = self.client.delete(path.to_string_lossy().as_ref()).await; [INFO] [stdout] ... | [INFO] [stdout] 48 | | Ok(()) [INFO] [stdout] 49 | | } [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 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `upload-backend` (lib) due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "3c1f0b05ea24d0478ca3c9bc0c8adb01861d52a0f43b1e39336ac778ab2e087a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c1f0b05ea24d0478ca3c9bc0c8adb01861d52a0f43b1e39336ac778ab2e087a", kill_on_drop: false }` [INFO] [stdout] 3c1f0b05ea24d0478ca3c9bc0c8adb01861d52a0f43b1e39336ac778ab2e087a