[INFO] fetching crate libpq 4.1.0... [INFO] checking libpq-4.1.0 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] extracting crate libpq 4.1.0 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate libpq 4.1.0 on toolchain 7014e13d5becc920d4bea3cd87942c8a13d359bf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate libpq 4.1.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate libpq 4.1.0 [INFO] tweaked toml for crates.io crate libpq 4.1.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate crates.io crate libpq 4.1.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" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "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-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 291c0c90dbad633b5d170430617e63c6cd952d3f4b0d22ffa3b0215ea7f476d2 [INFO] running `Command { std: "docker" "start" "-a" "291c0c90dbad633b5d170430617e63c6cd952d3f4b0d22ffa3b0215ea7f476d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "291c0c90dbad633b5d170430617e63c6cd952d3f4b0d22ffa3b0215ea7f476d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "291c0c90dbad633b5d170430617e63c6cd952d3f4b0d22ffa3b0215ea7f476d2", kill_on_drop: false }` [INFO] [stdout] 291c0c90dbad633b5d170430617e63c6cd952d3f4b0d22ffa3b0215ea7f476d2 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2c1cf1b32e740bdef26b2fde2821692349f20e94d6910eab01f377ff7442c162 [INFO] running `Command { std: "docker" "start" "-a" "2c1cf1b32e740bdef26b2fde2821692349f20e94d6910eab01f377ff7442c162", kill_on_drop: false }` [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling libloading v0.8.5 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling bindgen v0.64.0 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Checking env_filter v0.1.2 [INFO] [stderr] Checking env_logger v0.11.5 [INFO] [stderr] Checking mio v1.0.1 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling libpq-sys v0.8.0 [INFO] [stderr] Checking libpq v4.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated unit variant `libpq::Status::TupplesOk`: Uses TuplesOk variant instead [INFO] [stdout] --> examples/testlibpq3.rs:74:39 [INFO] [stdout] | [INFO] [stdout] 74 | if res.status() != libpq::Status::TupplesOk { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `libpq::Status::TupplesOk`: Uses TuplesOk variant instead [INFO] [stdout] --> examples/testlibpq3.rs:105:39 [INFO] [stdout] | [INFO] [stdout] 105 | if res.status() != libpq::Status::TupplesOk { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `libpq::Status::TupplesOk`: Uses TuplesOk variant instead [INFO] [stdout] --> examples/testlibpq2.rs:45:39 [INFO] [stdout] | [INFO] [stdout] 45 | if res.status() != libpq::Status::TupplesOk { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `libpq::Status::TupplesOk`: Uses TuplesOk variant instead [INFO] [stdout] --> examples/testlo64.rs:29:39 [INFO] [stdout] | [INFO] [stdout] 29 | if res.status() != libpq::Status::TupplesOk { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `libpq::Status::TupplesOk`: Uses TuplesOk variant instead [INFO] [stdout] --> examples/testlo.rs:28:39 [INFO] [stdout] | [INFO] [stdout] 28 | if res.status() != libpq::Status::TupplesOk { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `libpq::Status::TupplesOk`: Uses TuplesOk variant instead [INFO] [stdout] --> examples/testlibpq.rs:21:39 [INFO] [stdout] | [INFO] [stdout] 21 | if res.status() != libpq::Status::TupplesOk { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `libpq::Status::TupplesOk`: Uses TuplesOk variant instead [INFO] [stdout] --> examples/testlibpq.rs:47:39 [INFO] [stdout] | [INFO] [stdout] 47 | if res.status() != libpq::Status::TupplesOk { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `libpq::Status::TupplesOk`: Uses TuplesOk variant instead [INFO] [stdout] --> examples/testlibpq4.rs:50:40 [INFO] [stdout] | [INFO] [stdout] 50 | if res1.status() != libpq::Status::TupplesOk { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `libpq::Status::TupplesOk`: Uses TuplesOk variant instead [INFO] [stdout] --> examples/testlibpq4.rs:89:39 [INFO] [stdout] | [INFO] [stdout] 89 | if res.status() != libpq::Status::TupplesOk { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/connection/mod.rs:347:35 [INFO] [stdout] | [INFO] [stdout] 342 | let conn = crate::test::new_conn(); [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 347 | if let Some(result) = conn.result() { [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: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `libpq` (lib test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "2c1cf1b32e740bdef26b2fde2821692349f20e94d6910eab01f377ff7442c162", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c1cf1b32e740bdef26b2fde2821692349f20e94d6910eab01f377ff7442c162", kill_on_drop: false }` [INFO] [stdout] 2c1cf1b32e740bdef26b2fde2821692349f20e94d6910eab01f377ff7442c162