[INFO] fetching crate rustdb-axum-example 0.3.3... [INFO] checking rustdb-axum-example-0.3.3 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate rustdb-axum-example 0.3.3 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate rustdb-axum-example 0.3.3 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 rustdb-axum-example 0.3.3 [INFO] finished tweaking crates.io crate rustdb-axum-example 0.3.3 [INFO] tweaked toml for crates.io crate rustdb-axum-example 0.3.3 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate crates.io crate rustdb-axum-example 0.3.3 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] 66dc39f84c99678b9da6b1d46b6f7c24ef7be8872795fa8e5463e8f7da9866d0 [INFO] running `Command { std: "docker" "start" "-a" "66dc39f84c99678b9da6b1d46b6f7c24ef7be8872795fa8e5463e8f7da9866d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "66dc39f84c99678b9da6b1d46b6f7c24ef7be8872795fa8e5463e8f7da9866d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66dc39f84c99678b9da6b1d46b6f7c24ef7be8872795fa8e5463e8f7da9866d0", kill_on_drop: false }` [INFO] [stdout] 66dc39f84c99678b9da6b1d46b6f7c24ef7be8872795fa8e5463e8f7da9866d0 [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] 9e5ca524c16ec0b7a9c7ace28a9b0fb5aa0c4ec6c619ce03c5d3c531af3c07a0 [INFO] running `Command { std: "docker" "start" "-a" "9e5ca524c16ec0b7a9c7ace28a9b0fb5aa0c4ec6c619ce03c5d3c531af3c07a0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Checking once_cell v1.13.1 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Compiling futures-core v0.3.23 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Checking smallvec v1.9.0 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking bytes v1.2.1 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling futures-task v0.3.23 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling futures-util v0.3.23 [INFO] [stderr] Checking itoa v1.0.3 [INFO] [stderr] Checking futures-io v0.3.23 [INFO] [stderr] Compiling tokio v1.20.1 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Checking tracing-core v0.1.29 [INFO] [stderr] Compiling crossbeam-utils v0.8.11 [INFO] [stderr] Checking futures-sink v0.3.23 [INFO] [stderr] Compiling serde_derive v1.0.143 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling serde v1.0.143 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling openssl v0.10.41 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Compiling futures-channel v0.3.23 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking http v0.2.8 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Checking tracing v0.1.36 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.10 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling const_fn v0.4.9 [INFO] [stderr] Compiling async-trait v0.1.57 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking unicode-bidi v0.3.8 [INFO] [stderr] Compiling crossbeam-queue v0.3.6 [INFO] [stderr] Checking tower-layer v0.3.1 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling cookie v0.15.1 [INFO] [stderr] Compiling multer v2.0.3 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking crossbeam-channel v0.5.6 [INFO] [stderr] Checking http-range-header v0.3.0 [INFO] [stderr] Checking spin v0.9.4 [INFO] [stderr] Compiling paste v1.0.8 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking crossbeam-deque v0.8.2 [INFO] [stderr] Checking nom v7.1.1 [INFO] [stderr] Compiling openssl-sys v0.9.75 [INFO] [stderr] Compiling libmimalloc-sys v0.1.25 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking ipnet v2.5.0 [INFO] [stderr] Checking matchit v0.4.6 [INFO] [stderr] Checking sync_wrapper v0.1.1 [INFO] [stderr] Checking fastrand v1.8.0 [INFO] [stderr] Checking email-encoding v0.1.3 [INFO] [stderr] Checking email_address v0.2.3 [INFO] [stderr] Checking quoted_printable v0.4.5 [INFO] [stderr] Checking argon2rs v0.2.5 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking crossbeam v0.8.2 [INFO] [stderr] Checking unicode-normalization v0.1.21 [INFO] [stderr] Checking flate3 v0.1.21 [INFO] [stderr] Checking rmp v0.8.11 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking mimalloc v0.1.29 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Compiling futures-macro v0.3.23 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling pin-project-internal v1.0.12 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking pin-project v1.0.12 [INFO] [stderr] Checking axum-core v0.1.2 [INFO] [stderr] Checking lettre v0.10.1 [INFO] [stderr] Checking tokio-util v0.7.3 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking tower-cookies v0.4.1 [INFO] [stderr] Checking h2 v0.3.14 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tower-http v0.2.5 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking rustdb v2.5.4 [INFO] [stderr] Checking rmp-serde v1.1.0 [INFO] [stderr] Checking hyper v0.14.20 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking axum v0.4.8 [INFO] [stderr] Checking reqwest v0.11.11 [INFO] [stderr] Checking rustdb-axum-example v0.3.3 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `tokio::sync::broadcast::Receiver<()>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:270:9 [INFO] [stdout] | [INFO] [stdout] 259 | state: Extension>, [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 270 | let mut wait_rx = state.wait_tx.subscribe(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 288 | / tokio::select! { [INFO] [stdout] 289 | | _ = wait_rx.recv() => {} [INFO] [stdout] 290 | | _ = tokio::time::sleep(core::time::Duration::from_secs(600)) => {} [INFO] [stdout] 291 | | } [INFO] [stdout] | |_____________- these local bindings with significant drop implementation may 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] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `tokio::sync::broadcast::Receiver<()>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:270:9 [INFO] [stdout] | [INFO] [stdout] 259 | state: Extension>, [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 270 | let mut wait_rx = state.wait_tx.subscribe(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 288 | / tokio::select! { [INFO] [stdout] 289 | | _ = wait_rx.recv() => {} [INFO] [stdout] 290 | | _ = tokio::time::sleep(core::time::Duration::from_secs(600)) => {} [INFO] [stdout] 291 | | } [INFO] [stdout] | |_____________- these local bindings with significant drop implementation may 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] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Client` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:399:9 [INFO] [stdout] | [INFO] [stdout] 397 | async fn rget(state: Arc, query: &str) -> Vec { [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 398 | // get a client builder [INFO] [stdout] 399 | let client = reqwest::Client::builder() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 409 | / tokio::select! { [INFO] [stdout] 410 | | response = req.send() => [INFO] [stdout] 411 | | { [INFO] [stdout] 412 | | match response [INFO] [stdout] ... | [INFO] [stdout] 435 | | } [INFO] [stdout] 436 | | } [INFO] [stdout] | | - [INFO] [stdout] | |_________| [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may 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: this value of type `Client` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:399:9 [INFO] [stdout] | [INFO] [stdout] 397 | async fn rget(state: Arc, query: &str) -> Vec { [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 398 | // get a client builder [INFO] [stdout] 399 | let client = reqwest::Client::builder() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 409 | / tokio::select! { [INFO] [stdout] 410 | | response = req.send() => [INFO] [stdout] 411 | | { [INFO] [stdout] 412 | | match response [INFO] [stdout] ... | [INFO] [stdout] 435 | | } [INFO] [stdout] 436 | | } [INFO] [stdout] | | - [INFO] [stdout] | |_________| [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may 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] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:698:21 [INFO] [stdout] | [INFO] [stdout] 698 | if let Some(mut ext) = ext.downcast_mut::() { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:717:21 [INFO] [stdout] | [INFO] [stdout] 717 | if let Some(mut ext) = ext.downcast_mut::() { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:736:21 [INFO] [stdout] | [INFO] [stdout] 736 | if let Some(mut ext) = ext.downcast_mut::() { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:698:21 [INFO] [stdout] | [INFO] [stdout] 698 | if let Some(mut ext) = ext.downcast_mut::() { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:717:21 [INFO] [stdout] | [INFO] [stdout] 717 | if let Some(mut ext) = ext.downcast_mut::() { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:736:21 [INFO] [stdout] | [INFO] [stdout] 736 | if let Some(mut ext) = ext.downcast_mut::() { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rustdb-axum-example` (bin "rustdb-axum-example") due to 3 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rustdb-axum-example` (bin "rustdb-axum-example" test) due to 3 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9e5ca524c16ec0b7a9c7ace28a9b0fb5aa0c4ec6c619ce03c5d3c531af3c07a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e5ca524c16ec0b7a9c7ace28a9b0fb5aa0c4ec6c619ce03c5d3c531af3c07a0", kill_on_drop: false }` [INFO] [stdout] 9e5ca524c16ec0b7a9c7ace28a9b0fb5aa0c4ec6c619ce03c5d3c531af3c07a0