[INFO] fetching crate zksync_consensus_roles 0.3.0... [INFO] checking zksync_consensus_roles-0.3.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate zksync_consensus_roles 0.3.0 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate zksync_consensus_roles 0.3.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 zksync_consensus_roles 0.3.0 [INFO] finished tweaking crates.io crate zksync_consensus_roles 0.3.0 [INFO] tweaked toml for crates.io crate zksync_consensus_roles 0.3.0 written to /workspace/builds/worker-7-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] Locking 186 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.21.7 (available: v0.22.1) [INFO] [stderr] Adding bit-vec v0.6.3 (available: v0.8.0) [INFO] [stderr] Adding fixedbitset v0.4.2 (available: v0.5.7) [INFO] [stderr] Adding generic-array v0.14.7 (available: v1.1.0) [INFO] [stderr] Adding hermit-abi v0.3.9 (available: v0.4.0) [INFO] [stderr] Adding itertools v0.12.1 (available: v0.13.0) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (available: v0.6.5) [INFO] [stderr] Adding logos v0.13.0 (available: v0.14.2) [INFO] [stderr] Adding logos-codegen v0.13.0 (available: v0.14.2) [INFO] [stderr] Adding logos-derive v0.13.0 (available: v0.14.2) [INFO] [stderr] Adding matchers v0.1.0 (available: v0.2.0) [INFO] [stderr] Adding miette v5.10.0 (available: v7.2.0) [INFO] [stderr] Adding miette-derive v5.10.0 (available: v7.2.0) [INFO] [stderr] Adding nu-ansi-term v0.46.0 (available: v0.50.1) [INFO] [stderr] Adding ordered-float v2.10.1 (available: v4.3.0) [INFO] [stderr] Adding prost v0.12.6 (available: v0.13.3) [INFO] [stderr] Adding prost-build v0.12.6 (available: v0.13.3) [INFO] [stderr] Adding prost-derive v0.12.6 (available: v0.13.3) [INFO] [stderr] Adding prost-reflect v0.12.0 (available: v0.14.2) [INFO] [stderr] Adding prost-types v0.12.6 (available: v0.13.3) [INFO] [stderr] Adding protox v0.5.1 (available: v0.7.1) [INFO] [stderr] Adding protox-parse v0.5.0 (available: v0.7.0) [INFO] [stderr] Adding regex-automata v0.1.10 (available: v0.4.7) [INFO] [stderr] Adding regex-syntax v0.6.29 (available: v0.8.4) [INFO] [stderr] Adding unicode-width v0.1.14 (available: v0.2.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 1320d2c88c09a1f1d209e3305b816c79dd15f5f241e9b71098e19ac9a2da8594 [INFO] running `Command { std: "docker" "start" "-a" "1320d2c88c09a1f1d209e3305b816c79dd15f5f241e9b71098e19ac9a2da8594", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1320d2c88c09a1f1d209e3305b816c79dd15f5f241e9b71098e19ac9a2da8594", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1320d2c88c09a1f1d209e3305b816c79dd15f5f241e9b71098e19ac9a2da8594", kill_on_drop: false }` [INFO] [stdout] 1320d2c88c09a1f1d209e3305b816c79dd15f5f241e9b71098e19ac9a2da8594 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 20dedeb8d4a9807c96431e7a49b51b69a8a5e98e01e48bd858487c1cf714be24 [INFO] running `Command { std: "docker" "start" "-a" "20dedeb8d4a9807c96431e7a49b51b69a8a5e98e01e48bd858487c1cf714be24", kill_on_drop: false }` [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling bytes v1.7.2 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling miette-derive v5.10.0 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling prettyplease v0.2.22 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Compiling ordered-float v2.10.1 [INFO] [stderr] Compiling miette v5.10.0 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Compiling serde-value v0.7.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling fastrand v2.1.1 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling prost-derive v0.12.6 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling logos-codegen v0.13.0 [INFO] [stderr] Compiling tempfile v3.13.0 [INFO] [stderr] Checking der v0.7.9 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling multimap v0.10.0 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling prometheus-client v0.22.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking serde v1.0.210 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Compiling prost v0.12.6 [INFO] [stderr] Checking ff v0.13.0 [INFO] [stderr] Compiling prometheus-client-derive-encode v0.4.2 [INFO] [stderr] Compiling logos-derive v0.13.0 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling logos v0.13.0 [INFO] [stderr] Compiling prost-types v0.12.6 [INFO] [stderr] Checking dtoa v1.0.9 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking elsa v1.10.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Compiling ctor v0.2.8 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling vise-macros v0.2.0 [INFO] [stderr] Checking compile-fmt v0.1.0 [INFO] [stderr] Compiling prost-reflect v0.12.0 [INFO] [stderr] Compiling protox-parse v0.5.0 [INFO] [stderr] Compiling prost-build v0.12.6 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking vise v0.2.0 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Compiling blst v0.3.13 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking ecdsa v0.16.9 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking serde_json v1.0.128 [INFO] [stderr] Checking k256 v0.13.4 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling protox v0.5.1 [INFO] [stderr] Compiling zksync_protobuf_build v0.3.0 [INFO] [stderr] Checking ed25519-dalek v2.1.1 [INFO] [stderr] Checking quick-protobuf v0.8.1 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking zksync_consensus_crypto v0.3.0 [INFO] [stderr] Compiling zksync_protobuf v0.3.0 [INFO] [stderr] Compiling zksync_consensus_roles v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking zksync_concurrency v0.3.0 [INFO] [stderr] Checking zksync_consensus_utils v0.3.0 [INFO] [stdout] error: this value of type `Result<(), batch::BatchQCVerifyError>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/attester/tests.rs:184:17 [INFO] [stdout] | [INFO] [stdout] 140 | let ctx = ctx::test_root(&ctx::RealClock); [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 143 | let setup1 = Setup::new(rng, 6); [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 144 | // Completely different genesis. [INFO] [stdout] 145 | let setup2 = Setup::new(rng, 6); [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 184 | qc.verify(setup1.genesis.hash(), attesters), [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 `Result<(), leader_commit::CommitQCVerifyError>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/validator/tests.rs:244:17 [INFO] [stdout] | [INFO] [stdout] 215 | let ctx = ctx::test_root(&ctx::RealClock); [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 219 | let setup1 = Setup::new(rng, 6); [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 220 | let setup2 = Setup::new(rng, 6); [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 244 | qc.verify(&setup1.genesis), [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 `Result<(), leader_prepare::PrepareQCVerifyError>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/validator/tests.rs:345:17 [INFO] [stdout] | [INFO] [stdout] 309 | let ctx = ctx::test_root(&ctx::RealClock); [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 313 | let setup1 = Setup::new(rng, 6); [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 314 | let setup2 = Setup::new(rng, 6); [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 345 | qc.verify(&setup1.genesis), [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 `zksync_consensus_roles` (lib test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "20dedeb8d4a9807c96431e7a49b51b69a8a5e98e01e48bd858487c1cf714be24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20dedeb8d4a9807c96431e7a49b51b69a8a5e98e01e48bd858487c1cf714be24", kill_on_drop: false }` [INFO] [stdout] 20dedeb8d4a9807c96431e7a49b51b69a8a5e98e01e48bd858487c1cf714be24