[INFO] fetching crate lapin 2.5.0... [INFO] checking lapin-2.5.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate lapin 2.5.0 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate lapin 2.5.0 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 lapin 2.5.0 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate lapin 2.5.0 [INFO] tweaked toml for crates.io crate lapin 2.5.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate crates.io crate lapin 2.5.0 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 20ad7e577742b6e9281d60ee7a3c5be110cdbb1114cecbde761eb6b91d664bbc [INFO] running `Command { std: "docker" "start" "-a" "20ad7e577742b6e9281d60ee7a3c5be110cdbb1114cecbde761eb6b91d664bbc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "20ad7e577742b6e9281d60ee7a3c5be110cdbb1114cecbde761eb6b91d664bbc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20ad7e577742b6e9281d60ee7a3c5be110cdbb1114cecbde761eb6b91d664bbc", kill_on_drop: false }` [INFO] [stdout] 20ad7e577742b6e9281d60ee7a3c5be110cdbb1114cecbde761eb6b91d664bbc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 373b27fc73729220a807fe8801dbc96cac197cbf8374731fdc03b19839412ac9 [INFO] running `Command { std: "docker" "start" "-a" "373b27fc73729220a807fe8801dbc96cac197cbf8374731fdc03b19839412ac9", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling dunce v1.0.4 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Checking flagset v0.4.6 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Checking block-padding v0.3.3 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling aws-lc-rs v1.8.1 [INFO] [stderr] Checking rusticata-macros v4.1.0 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Checking rustls-pki-types v1.7.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking mirai-annotations v1.12.0 [INFO] [stderr] Compiling oid-registry v0.7.0 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling cc v1.1.6 [INFO] [stderr] Checking pem-rfc7468 v0.7.0 [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking salsa20 v0.10.2 [INFO] [stderr] Compiling rustls v0.23.12 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking cbc v0.1.2 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking futures-lite v2.3.0 [INFO] [stderr] Checking scrypt v0.11.0 [INFO] [stderr] Checking data-encoding v2.6.0 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking des v0.8.1 [INFO] [stderr] Checking rc2 v0.8.1 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Checking cookie-factory v0.3.3 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Checking piper v0.2.3 [INFO] [stderr] Checking rustls-pemfile v2.1.2 [INFO] [stderr] Checking event-listener v5.3.1 [INFO] [stderr] Checking io-lifetimes v1.0.11 [INFO] [stderr] Checking rustls-native-certs v0.7.1 [INFO] [stderr] Checking mio v1.0.1 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking event-listener-strategy v0.5.2 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Checking linux-raw-sys v0.3.8 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking async-channel v2.3.1 [INFO] [stderr] Checking async-lock v3.4.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking futures-lite v1.13.0 [INFO] [stderr] Checking async-lock v2.8.0 [INFO] [stderr] Checking async-executor v1.13.0 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Compiling amq-protocol v7.2.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Checking blocking v1.6.1 [INFO] [stderr] Compiling lapin v2.5.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking pinky-swear v6.2.0 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling aws-lc-sys v0.20.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Checking polling v3.7.2 [INFO] [stderr] Checking async-io v2.3.3 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling der_derive v0.7.3 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling asn1-rs-derive v0.5.0 [INFO] [stderr] Compiling asn1-rs-impl v0.2.0 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Checking async-global-executor v2.4.1 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking der v0.7.9 [INFO] [stderr] Checking tokio v1.39.2 [INFO] [stderr] Checking reactor-trait v1.1.0 [INFO] [stderr] Checking executor-trait v2.1.0 [INFO] [stderr] Checking async-reactor-trait v1.1.0 [INFO] [stderr] Checking async-global-executor-trait v2.1.0 [INFO] [stderr] Checking thiserror v1.0.63 [INFO] [stderr] Checking asn1-rs v0.6.1 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking x509-cert v0.2.5 [INFO] [stderr] Checking pkcs5 v0.7.1 [INFO] [stderr] Checking der-parser v9.0.0 [INFO] [stderr] Checking cms v0.2.3 [INFO] [stderr] Checking x509-parser v0.16.0 [INFO] [stderr] Checking pkcs12 v0.1.0 [INFO] [stderr] Checking p12-keystore v0.1.3 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Checking tokio-executor-trait v2.1.1 [INFO] [stderr] Checking rustls-webpki v0.102.6 [INFO] [stderr] Checking tokio-reactor-trait v1.1.0 [INFO] [stderr] Checking serde_json v1.0.120 [INFO] [stderr] Checking amq-protocol-types v7.2.1 [INFO] [stderr] Checking amq-protocol-uri v7.2.1 [INFO] [stderr] Checking rustls-connector v0.20.0 [INFO] [stderr] Checking tcp-stream v0.28.0 [INFO] [stderr] Checking amq-protocol-tcp v7.2.1 [INFO] [stdout] error: this value of type `(ConnectionState, std::option::Option)` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/channel.rs:795:13 [INFO] [stdout] | [INFO] [stdout] 790 | connection: Connection, [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 795 | (state.clone(), self.connection_status.connection_step()) [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: this value of type `(connection_status::ConnectionState, std::option::Option)` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/channel.rs:795:13 [INFO] [stdout] | [INFO] [stdout] 790 | connection: Connection, [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 795 | (state.clone(), self.connection_status.connection_step()) [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: this value of type `std::option::Option, error::Error>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/consumer.rs:423:33 [INFO] [stdout] | [INFO] [stdout] 417 | let mut inner = self.inner.lock(); [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 423 | if let Some(delivery) = inner.next_delivery() { [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: this value of type `parking_lot::lock_api::MutexGuard<'_, parking_lot::RawMutex, HashMap>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/consumers.rs:45:33 [INFO] [stdout] | [INFO] [stdout] 41 | message: F, [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 45 | if let Some(consumer) = self.0.lock().get_mut(consumer_tag) { [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: this value of type `std::option::Option>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/returned_messages.rs:117:37 [INFO] [stdout] | [INFO] [stdout] 116 | fn register_dropped_confirm(&mut self, promise: Promise) { [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 117 | if let Some(confirmation) = promise.try_wait() { [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: this value of type `std::option::Option, error::Error>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/consumer.rs:423:33 [INFO] [stdout] | [INFO] [stdout] 417 | let mut inner = self.inner.lock(); [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 423 | if let Some(delivery) = inner.next_delivery() { [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: this value of type `Poll>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/consumer.rs:491:24 [INFO] [stdout] | [INFO] [stdout] 462 | let waker = { [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 470 | let mut consumer = Consumer::new( [INFO] [stdout] | ------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 491 | assert_eq!(Pin::new(&mut next).poll(&mut cx), Poll::Ready(None)); [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: this value of type `Poll>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/consumer.rs:528:17 [INFO] [stdout] | [INFO] [stdout] 498 | let waker = { [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 506 | let mut consumer = Consumer::new( [INFO] [stdout] | ------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 528 | Pin::new(&mut next).poll(&mut cx), [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: this value of type `parking_lot::lock_api::MutexGuard<'_, parking_lot::RawMutex, HashMap>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/consumers.rs:45:33 [INFO] [stdout] | [INFO] [stdout] 41 | message: F, [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 45 | if let Some(consumer) = self.0.lock().get_mut(consumer_tag) { [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 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lapin` (lib) due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this value of type `std::option::Option>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/returned_messages.rs:117:37 [INFO] [stdout] | [INFO] [stdout] 116 | fn register_dropped_confirm(&mut self, promise: Promise) { [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 117 | if let Some(confirmation) = promise.try_wait() { [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 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lapin` (lib test) due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "373b27fc73729220a807fe8801dbc96cac197cbf8374731fdc03b19839412ac9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "373b27fc73729220a807fe8801dbc96cac197cbf8374731fdc03b19839412ac9", kill_on_drop: false }` [INFO] [stdout] 373b27fc73729220a807fe8801dbc96cac197cbf8374731fdc03b19839412ac9