[INFO] fetching crate tyco 0.0.9... [INFO] checking tyco-0.0.9 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate tyco 0.0.9 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate tyco 0.0.9 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 tyco 0.0.9 [INFO] finished tweaking crates.io crate tyco 0.0.9 [INFO] tweaked toml for crates.io crate tyco 0.0.9 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate crates.io crate tyco 0.0.9 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-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] f2ee00deb28c53960e14d9dad3ac0ceffcac97b36497eb1508d6aa5011774077 [INFO] running `Command { std: "docker" "start" "-a" "f2ee00deb28c53960e14d9dad3ac0ceffcac97b36497eb1508d6aa5011774077", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f2ee00deb28c53960e14d9dad3ac0ceffcac97b36497eb1508d6aa5011774077", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2ee00deb28c53960e14d9dad3ac0ceffcac97b36497eb1508d6aa5011774077", kill_on_drop: false }` [INFO] [stdout] f2ee00deb28c53960e14d9dad3ac0ceffcac97b36497eb1508d6aa5011774077 [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] 20e3ca15724d12432f074d7fb19110750ae5e6b40a19eff15436622ca4c349c0 [INFO] running `Command { std: "docker" "start" "-a" "20e3ca15724d12432f074d7fb19110750ae5e6b40a19eff15436622ca4c349c0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Checking futures-sink v0.3.29 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking try-lock v0.2.4 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Compiling openssl v0.10.61 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking http v1.0.0 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Compiling async-trait v0.1.74 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking indexmap v2.1.0 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Checking unicode-bidi v0.3.14 [INFO] [stderr] Checking rustls-pki-types v1.4.1 [INFO] [stderr] Checking base64 v0.22.0 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling axum-core v0.4.1 [INFO] [stderr] Compiling axum v0.7.2 [INFO] [stderr] Checking rustls-pemfile v2.1.2 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling openssl-sys v0.9.97 [INFO] [stderr] Checking http-body-util v0.1.0 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_path_to_error v0.1.14 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking tokio v1.34.0 [INFO] [stderr] Checking tyco v0.0.9 (/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/lib.rs:58:28 [INFO] [stdout] | [INFO] [stdout] 58 | Self::TLS.with(|v| v.borrow().clone()).map(Cow::into_owned) [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/lib.rs:67:49 [INFO] [stdout] | [INFO] [stdout] 65 | fn attach(self) -> ContextGuard { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 66 | let previous_value = Self::TLS [INFO] [stdout] 67 | .try_with(|current| current.replace(Some(Cow::Owned(self)))) [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/lib.rs:87:49 [INFO] [stdout] | [INFO] [stdout] 87 | .try_with(|current| current.replace(Some(Cow::Borrowed(static_ref)))) [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/lib.rs:160:20 [INFO] [stdout] | [INFO] [stdout] 157 | fn with(self, value: T) -> WithContext { [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] ... [INFO] [stdout] 160 | value: Some(value), [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/lib.rs:175:23 [INFO] [stdout] | [INFO] [stdout] 174 | fn with_current(self) -> WithContext { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 175 | self.with_opt(T::current()) [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 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tyco` (lib) due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "20e3ca15724d12432f074d7fb19110750ae5e6b40a19eff15436622ca4c349c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20e3ca15724d12432f074d7fb19110750ae5e6b40a19eff15436622ca4c349c0", kill_on_drop: false }` [INFO] [stdout] 20e3ca15724d12432f074d7fb19110750ae5e6b40a19eff15436622ca4c349c0