[INFO] fetching crate r-tftpd-proxy 0.1.1... [INFO] checking r-tftpd-proxy-0.1.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate r-tftpd-proxy 0.1.1 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate r-tftpd-proxy 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 r-tftpd-proxy 0.1.1 [INFO] finished tweaking crates.io crate r-tftpd-proxy 0.1.1 [INFO] tweaked toml for crates.io crate r-tftpd-proxy 0.1.1 written to /workspace/builds/worker-4-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 135 packages to latest compatible versions [INFO] [stderr] Adding addr2line v0.22.0 (latest: v0.24.1) [INFO] [stderr] Adding core-foundation v0.9.4 (latest: v0.10.0) [INFO] [stderr] Adding foreign-types v0.3.2 (latest: v0.5.0) [INFO] [stderr] Adding foreign-types-shared v0.1.1 (latest: v0.3.1) [INFO] [stderr] Adding gimli v0.29.0 (latest: v0.31.0) [INFO] [stderr] Adding hermit-abi v0.3.9 (latest: v0.4.0) [INFO] [stderr] Adding idna v0.5.0 (latest: v1.0.2) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (latest: v0.6.5) [INFO] [stderr] Adding miniz_oxide v0.7.4 (latest: v0.8.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 windows-sys v0.52.0 (latest: v0.59.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-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3b4b3bcccb978cba7d49841ab5a3d02a82cbdc8bf20e52d4bc4ab01f440c4dd7 [INFO] running `Command { std: "docker" "start" "-a" "3b4b3bcccb978cba7d49841ab5a3d02a82cbdc8bf20e52d4bc4ab01f440c4dd7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3b4b3bcccb978cba7d49841ab5a3d02a82cbdc8bf20e52d4bc4ab01f440c4dd7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b4b3bcccb978cba7d49841ab5a3d02a82cbdc8bf20e52d4bc4ab01f440c4dd7", kill_on_drop: false }` [INFO] [stdout] 3b4b3bcccb978cba7d49841ab5a3d02a82cbdc8bf20e52d4bc4ab01f440c4dd7 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 98b962b557f10d8f1996aee948f7769febd5c2bece5a044e6c6984696001382c [INFO] running `Command { std: "docker" "start" "-a" "98b962b557f10d8f1996aee948f7769febd5c2bece5a044e6c6984696001382c", kill_on_drop: false }` [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking alloc-no-stdlib v2.0.4 [INFO] [stderr] Checking openssl v0.10.66 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Checking rustls-pki-types v1.8.0 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Checking alloc-stdlib v0.2.2 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking brotli-decompressor v4.0.1 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking rustls-pemfile v2.1.3 [INFO] [stderr] Checking sync_wrapper v1.0.1 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking brotli v6.0.0 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking native-tls v0.2.12 [INFO] [stderr] Checking hyper v1.4.1 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tokio-socks v0.5.2 [INFO] [stderr] Checking hyper-util v0.1.7 [INFO] [stderr] Checking async-compression v0.4.12 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.7 [INFO] [stderr] Checking r-tftpd-proxy 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/cache.rs:757:5 [INFO] [stdout] | [INFO] [stdout] 755 | let cache = CACHE.read().unwrap(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 756 | [INFO] [stdout] 757 | Ok(tempfile::tempfile_in(&cache.tmpdir)?) [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/http/cache_info.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | Ok(Self { [INFO] [stdout] | ________^ [INFO] [stdout] 58 | | not_after: not_after, [INFO] [stdout] 59 | | modified: hdrs.as_system_time(H::LAST_MODIFIED)?, [INFO] [stdout] 60 | | etag: hdrs.get(H::ETAG).cloned(), [INFO] [stdout] 61 | | local_time: localtm.mono, [INFO] [stdout] 62 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [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/http/cache_info.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn update(self, localtm: Time, hdrs: &reqwest::header::HeaderMap) -> Result [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 89 | { [INFO] [stdout] 90 | let tmp = Self::new(localtm, hdrs)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 91 | [INFO] [stdout] 92 | Ok(Self { [INFO] [stdout] | ________^ [INFO] [stdout] 93 | | not_after: tmp.not_after.or(self.not_after), [INFO] [stdout] 94 | | modified: tmp.modified.or(self.modified), [INFO] [stdout] 95 | | etag: tmp.etag.or(self.etag), [INFO] [stdout] 96 | | ..tmp [INFO] [stdout] 97 | | }) [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] | [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 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `r-tftpd-proxy` (lib) due to 4 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/cache.rs:757:5 [INFO] [stdout] | [INFO] [stdout] 755 | let cache = CACHE.read().unwrap(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 756 | [INFO] [stdout] 757 | Ok(tempfile::tempfile_in(&cache.tmpdir)?) [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/http/cache_info.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | Ok(Self { [INFO] [stdout] | ________^ [INFO] [stdout] 58 | | not_after: not_after, [INFO] [stdout] 59 | | modified: hdrs.as_system_time(H::LAST_MODIFIED)?, [INFO] [stdout] 60 | | etag: hdrs.get(H::ETAG).cloned(), [INFO] [stdout] 61 | | local_time: localtm.mono, [INFO] [stdout] 62 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [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/http/cache_info.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn update(self, localtm: Time, hdrs: &reqwest::header::HeaderMap) -> Result [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 89 | { [INFO] [stdout] 90 | let tmp = Self::new(localtm, hdrs)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 91 | [INFO] [stdout] 92 | Ok(Self { [INFO] [stdout] | ________^ [INFO] [stdout] 93 | | not_after: tmp.not_after.or(self.not_after), [INFO] [stdout] 94 | | modified: tmp.modified.or(self.modified), [INFO] [stdout] 95 | | etag: tmp.etag.or(self.etag), [INFO] [stdout] 96 | | ..tmp [INFO] [stdout] 97 | | }) [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] | [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 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `r-tftpd-proxy` (lib test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "98b962b557f10d8f1996aee948f7769febd5c2bece5a044e6c6984696001382c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98b962b557f10d8f1996aee948f7769febd5c2bece5a044e6c6984696001382c", kill_on_drop: false }` [INFO] [stdout] 98b962b557f10d8f1996aee948f7769febd5c2bece5a044e6c6984696001382c