[INFO] fetching crate neo4j 0.1.0... [INFO] checking neo4j-0.1.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate neo4j 0.1.0 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate neo4j 0.1.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 neo4j 0.1.0 [INFO] finished tweaking crates.io crate neo4j 0.1.0 [INFO] tweaked toml for crates.io crate neo4j 0.1.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate crates.io crate neo4j 0.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" "+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] e4f06a74431168f4995f010d878243106291240615ae23f1d429a85c68a568e6 [INFO] running `Command { std: "docker" "start" "-a" "e4f06a74431168f4995f010d878243106291240615ae23f1d429a85c68a568e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e4f06a74431168f4995f010d878243106291240615ae23f1d429a85c68a568e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4f06a74431168f4995f010d878243106291240615ae23f1d429a85c68a568e6", kill_on_drop: false }` [INFO] [stdout] e4f06a74431168f4995f010d878243106291240615ae23f1d429a85c68a568e6 [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] 9c85ef754e72fd8d4257c395551fa28e99796b5055792913b7cf91543119370a [INFO] running `Command { std: "docker" "start" "-a" "9c85ef754e72fd8d4257c395551fa28e99796b5055792913b7cf91543119370a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling dunce v1.0.4 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling semver v1.0.20 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Compiling aws-lc-rs v1.7.0 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking rustls-pki-types v1.4.1 [INFO] [stderr] Checking futures-sink v0.3.29 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Compiling rustix v0.38.28 [INFO] [stderr] Checking mirai-annotations v1.12.0 [INFO] [stderr] Checking futures-io v0.3.29 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling rstest_macros v0.18.2 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking predicates-core v1.0.6 [INFO] [stderr] Compiling jobserver v0.1.31 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking getrandom v0.2.11 [INFO] [stderr] Compiling rustls v0.23.5 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Checking base64 v0.22.0 [INFO] [stderr] Checking linux-raw-sys v0.4.12 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking rustls-pemfile v2.1.2 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking chrono v0.4.37 [INFO] [stderr] Checking termtree v0.4.1 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Compiling relative-path v1.9.0 [INFO] [stderr] Compiling neo4j v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking rustls-native-certs v0.7.0 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking predicates-tree v1.0.9 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking uriparse v0.6.4 [INFO] [stderr] Compiling regex-automata v0.4.5 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking usize_cast v1.1.0 [INFO] [stderr] Checking atomic_refcell v0.1.13 [INFO] [stderr] Checking fragile v2.0.0 [INFO] [stderr] Checking futures-timer v3.0.2 [INFO] [stderr] Compiling duplicate v1.0.0 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking termcolor v1.4.0 [INFO] [stderr] Checking downcast v0.11.0 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Compiling aws-lc-sys v0.15.0 [INFO] [stderr] Checking predicates v3.0.4 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Compiling chrono-tz-build v0.3.0 [INFO] [stderr] Compiling chrono-tz v0.9.0 [INFO] [stderr] Compiling futures-macro v0.3.29 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling mockall_double v0.3.1 [INFO] [stderr] Compiling enum_dispatch v0.3.13 [INFO] [stderr] Compiling mockall_derive v0.12.1 [INFO] [stderr] Checking mockall v0.12.1 [INFO] [stderr] Checking futures-executor v0.3.29 [INFO] [stderr] Checking futures v0.3.29 [INFO] [stderr] Checking rstest v0.18.2 [INFO] [stderr] Checking rustls-webpki v0.102.2 [INFO] [stdout] error: this value of type `RecordListener` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/driver/record_stream.rs:253:9 [INFO] [stdout] | [INFO] [stdout] 252 | pub(crate) fn into_bookmark(self) -> Option { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 253 | / Arc::try_unwrap(self.listener) [INFO] [stdout] 254 | | .unwrap() [INFO] [stdout] 255 | | .into_inner() [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::result::Result<(), error_::Neo4jError>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/driver/transaction.rs:89:15 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn rollback(self) -> Result<()> { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 89 | match self.drop_result.into_inner() { [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 `AtomicRefMut<'_, Option>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/driver/transaction.rs:236:9 [INFO] [stdout] | [INFO] [stdout] 235 | pub(crate) fn into_bookmark(self) -> Option { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 236 | self.bookmark.borrow_mut().take() [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 `neo4j` (lib) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this value of type `RecordListener` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/driver/record_stream.rs:253:9 [INFO] [stdout] | [INFO] [stdout] 252 | pub(crate) fn into_bookmark(self) -> Option { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 253 | / Arc::try_unwrap(self.listener) [INFO] [stdout] 254 | | .unwrap() [INFO] [stdout] 255 | | .into_inner() [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::result::Result<(), error_::Neo4jError>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/driver/transaction.rs:89:15 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn rollback(self) -> Result<()> { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 89 | match self.drop_result.into_inner() { [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 `AtomicRefMut<'_, Option>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/driver/transaction.rs:236:9 [INFO] [stdout] | [INFO] [stdout] 235 | pub(crate) fn into_bookmark(self) -> Option { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 236 | self.bookmark.borrow_mut().take() [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] warning: static `SYSTEM_CERTIFICATES` is never used [INFO] [stdout] --> src/driver/config.rs:951:16 [INFO] [stdout] | [INFO] [stdout] 951 | static SYSTEM_CERTIFICATES: OnceLock, String>> = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `secure_tls_config` is never used [INFO] [stdout] --> src/driver/config.rs:954:16 [INFO] [stdout] | [INFO] [stdout] 954 | pub fn secure_tls_config() -> StdResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `custom_ca_tls_config` is never used [INFO] [stdout] --> src/driver/config.rs:982:16 [INFO] [stdout] | [INFO] [stdout] 982 | pub fn custom_ca_tls_config<'a, 'b>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `self_signed_tls_config` is never used [INFO] [stdout] --> src/driver/config.rs:1006:16 [INFO] [stdout] | [INFO] [stdout] 1006 | pub fn self_signed_tls_config() -> ClientConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NonVerifyingVerifier` is never constructed [INFO] [stdout] --> src/driver/config.rs:1036:27 [INFO] [stdout] | [INFO] [stdout] 1036 | pub(super) struct NonVerifyingVerifier { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/driver/config.rs:1041:20 [INFO] [stdout] | [INFO] [stdout] 1040 | impl NonVerifyingVerifier { [INFO] [stdout] | ------------------------- associated function in this implementation [INFO] [stdout] 1041 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `keepalive` is never read [INFO] [stdout] --> src/driver/io/bolt/handshake.rs:558:13 [INFO] [stdout] | [INFO] [stdout] 557 | SetTcpKeepalive { [INFO] [stdout] | --------------- field in this variant [INFO] [stdout] 558 | keepalive: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MockSocketProviderCall` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `how` is never read [INFO] [stdout] --> src/driver/io/bolt/handshake.rs:561:13 [INFO] [stdout] | [INFO] [stdout] 560 | Shutdown { [INFO] [stdout] | -------- field in this variant [INFO] [stdout] 561 | how: Shutdown, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MockSocketProviderCall` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `deadline` is never read [INFO] [stdout] --> src/driver/io/bolt/handshake.rs:565:13 [INFO] [stdout] | [INFO] [stdout] 564 | NewDeadlineIO { [INFO] [stdout] | ------------- field in this variant [INFO] [stdout] 565 | deadline: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MockSocketProviderCall` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `neo4j` (lib test) due to 4 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9c85ef754e72fd8d4257c395551fa28e99796b5055792913b7cf91543119370a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c85ef754e72fd8d4257c395551fa28e99796b5055792913b7cf91543119370a", kill_on_drop: false }` [INFO] [stdout] 9c85ef754e72fd8d4257c395551fa28e99796b5055792913b7cf91543119370a