[INFO] fetching crate native_db 0.7.1... [INFO] checking native_db-0.7.1 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate native_db 0.7.1 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate native_db 0.7.1 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 native_db 0.7.1 [INFO] finished tweaking crates.io crate native_db 0.7.1 [INFO] tweaked toml for crates.io crate native_db 0.7.1 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 169 packages to latest compatible versions [INFO] [stderr] Adding anes v0.1.6 (available: v0.2.0) [INFO] [stderr] Adding cargo_metadata v0.14.2 (available: v0.18.1) [INFO] [stderr] Adding itertools v0.10.5 (available: v0.13.0) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (available: v0.6.5) [INFO] [stderr] Adding native_model_macro v0.4.19 (available: v1.0.0) [INFO] [stderr] Adding pulldown-cmark v0.9.6 (available: v0.12.1) [INFO] [stderr] Adding redb v1.5.1 (available: v2.1.3) [INFO] [stderr] Adding termtree v0.4.1 (available: v0.5.1) [INFO] [stderr] Adding virtue v0.0.13 (available: v0.0.17) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-core v0.52.0 (available: v0.58.0) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] be869d4ccf4b267dc881b17f42b6fc5ad5f90891aca0f5ab214ee376ba947668 [INFO] running `Command { std: "docker" "start" "-a" "be869d4ccf4b267dc881b17f42b6fc5ad5f90891aca0f5ab214ee376ba947668", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "be869d4ccf4b267dc881b17f42b6fc5ad5f90891aca0f5ab214ee376ba947668", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be869d4ccf4b267dc881b17f42b6fc5ad5f90891aca0f5ab214ee376ba947668", kill_on_drop: false }` [INFO] [stdout] be869d4ccf4b267dc881b17f42b6fc5ad5f90891aca0f5ab214ee376ba947668 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] ea7f61820e5a5ddbf83b3270fb46f67780dcef6b1c842be6e50f9967a9b1833b [INFO] running `Command { std: "docker" "start" "-a" "ea7f61820e5a5ddbf83b3270fb46f67780dcef6b1c842be6e50f9967a9b1833b", kill_on_drop: false }` [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling camino v1.1.9 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling fastrand v2.1.1 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling bytecount v0.6.8 [INFO] [stderr] Compiling pulldown-cmark v0.9.6 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking bstr v1.10.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking predicates-core v1.0.8 [INFO] [stderr] Checking tempfile v3.13.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking termtree v0.4.1 [INFO] [stderr] Compiling redb v2.1.3 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Compiling redb v1.5.1 [INFO] [stderr] Checking predicates-tree v1.0.11 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling include_dir_macros v0.7.4 [INFO] [stderr] Checking predicates v3.1.2 [INFO] [stderr] Checking sdd v3.0.3 [INFO] [stderr] Compiling virtue v0.0.13 [INFO] [stderr] Checking clap_builder v4.5.18 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking filetime v0.2.25 [INFO] [stderr] Checking fslock v0.2.1 [INFO] [stderr] Checking scc v2.1.17 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Checking include_dir v0.7.4 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking dinghy-test v0.7.2 [INFO] [stderr] Compiling bincode_derive v2.0.0-rc.3 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking clap v4.5.18 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking globset v0.4.15 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling native_model_macro v0.4.19 [INFO] [stderr] Compiling native_db_macro v0.7.1 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling serial_test_derive v3.1.1 [INFO] [stderr] Checking ignore v0.4.23 [INFO] [stderr] Checking serial_test v3.1.1 [INFO] [stderr] Checking globwalk v0.9.1 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking assert_fs v1.1.2 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking thiserror v1.0.64 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking serde v1.0.210 [INFO] [stderr] Checking cargo-platform v0.1.8 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking bincode v2.0.0-rc.3 [INFO] [stderr] Checking uuid v1.10.0 [INFO] [stderr] Checking shortcut_assert_fs v0.1.0 [INFO] [stderr] Checking cargo_metadata v0.14.2 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Checking skeptic v0.13.7 [INFO] [stderr] Compiling native_model v0.4.19 [INFO] [stderr] Compiling native_db v0.7.1 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `RTransaction<'_>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> tests/simple_multithreads.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 19 | let tf = TmpFs::new().unwrap(); [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | [INFO] [stdout] 21 | let mut models = Models::new(); [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 27 | let db = Arc::new(db); [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 61 | let r = db.r_transaction().unwrap(); [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 `native_db` (test "simple_multithreads") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this value of type `RTransaction<'_>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> tests/scan.rs:360:13 [INFO] [stdout] | [INFO] [stdout] 336 | let tf = TmpFs::new().unwrap(); [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 337 | [INFO] [stdout] 338 | let mut models = Models::new(); [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 339 | models.define::().unwrap(); [INFO] [stdout] 340 | let db = Builder::new() [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 360 | let r = db.r_transaction().unwrap(); [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 `RwTransaction<'_>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> tests/scan.rs:434:13 [INFO] [stdout] | [INFO] [stdout] 408 | let tf = TmpFs::new().unwrap(); [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 409 | [INFO] [stdout] 410 | let mut models = Models::new(); [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 411 | models.define::().unwrap(); [INFO] [stdout] 412 | let db = Builder::new() [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 434 | let rw = db.rw_transaction().unwrap(); [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 `RTransaction<'_>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> tests/scan.rs:482:13 [INFO] [stdout] | [INFO] [stdout] 458 | let tf = TmpFs::new().unwrap(); [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 459 | [INFO] [stdout] 460 | let mut models = Models::new(); [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 461 | models.define::().unwrap(); [INFO] [stdout] 462 | let db = Builder::new() [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 482 | let r = db.r_transaction().unwrap(); [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 `RwTransaction<'_>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> tests/scan.rs:618:13 [INFO] [stdout] | [INFO] [stdout] 594 | let tf = TmpFs::new().unwrap(); [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 595 | [INFO] [stdout] 596 | let mut models = Models::new(); [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 597 | models.define::().unwrap(); [INFO] [stdout] 598 | let db = Builder::new() [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 618 | let rw = db.rw_transaction().unwrap(); [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 `native_db` (test "scan") due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "ea7f61820e5a5ddbf83b3270fb46f67780dcef6b1c842be6e50f9967a9b1833b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea7f61820e5a5ddbf83b3270fb46f67780dcef6b1c842be6e50f9967a9b1833b", kill_on_drop: false }` [INFO] [stdout] ea7f61820e5a5ddbf83b3270fb46f67780dcef6b1c842be6e50f9967a9b1833b