[INFO] fetching crate zksync_protobuf 0.3.0... [INFO] checking zksync_protobuf-0.3.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate zksync_protobuf 0.3.0 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate zksync_protobuf 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_protobuf 0.3.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate zksync_protobuf 0.3.0 [INFO] tweaked toml for crates.io crate zksync_protobuf 0.3.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate crates.io crate zksync_protobuf 0.3.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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] bc015aefc4e920ac4e794fd576c39c973e8ab55204bacca2c542307c4e99c46b [INFO] running `Command { std: "docker" "start" "-a" "bc015aefc4e920ac4e794fd576c39c973e8ab55204bacca2c542307c4e99c46b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bc015aefc4e920ac4e794fd576c39c973e8ab55204bacca2c542307c4e99c46b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc015aefc4e920ac4e794fd576c39c973e8ab55204bacca2c542307c4e99c46b", kill_on_drop: false }` [INFO] [stdout] bc015aefc4e920ac4e794fd576c39c973e8ab55204bacca2c542307c4e99c46b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 93067104de47511f4e2615c747ebb381efd37864cb6c09610743b68b946923b7 [INFO] running `Command { std: "docker" "start" "-a" "93067104de47511f4e2615c747ebb381efd37864cb6c09610743b68b946923b7", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling bytes v1.7.1 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling unicode-width v0.1.13 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling prettyplease v0.2.20 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling prometheus-client v0.22.3 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Compiling indexmap v2.3.0 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling multimap v0.10.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking dtoa v1.0.9 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking elsa v1.10.0 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Checking mio v1.0.1 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling ordered-float v2.10.1 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Checking compile-fmt v0.1.0 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Checking time-core v0.1.2 [INFO] [stderr] Compiling serde_json v1.0.122 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking quick-protobuf v0.8.1 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Compiling serde-value v0.7.0 [INFO] [stderr] Compiling regex v1.10.5 [INFO] [stderr] Compiling logos-codegen v0.13.0 [INFO] [stderr] Compiling prost-derive v0.12.6 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling miette-derive v5.10.0 [INFO] [stderr] Compiling zerocopy-derive v0.6.6 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling prometheus-client-derive-encode v0.4.2 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling vise-macros v0.2.0 [INFO] [stderr] Compiling ctor v0.2.8 [INFO] [stderr] Compiling logos-derive v0.13.0 [INFO] [stderr] Checking tokio v1.39.2 [INFO] [stderr] Compiling logos v0.13.0 [INFO] [stderr] Checking zerocopy v0.6.6 [INFO] [stderr] Checking vise v0.2.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking ppv-lite86 v0.2.18 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Compiling miette v5.10.0 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Compiling prost v0.12.6 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking prost-types v0.12.6 [INFO] [stderr] Checking rand v0.8.5 [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 zksync_concurrency v0.3.0 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking zksync_consensus_utils v0.3.0 [INFO] [stderr] Compiling protox v0.5.1 [INFO] [stderr] Compiling zksync_protobuf_build v0.3.0 [INFO] [stderr] Compiling zksync_protobuf v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `MessageDescriptor` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/proto_fmt.rs:250:42 [INFO] [stdout] | [INFO] [stdout] 249 | let msg = x.build(); [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 250 | canonical_raw(&msg.encode_to_vec(), &msg.descriptor()).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 `MessageDescriptor` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/repr.rs:32:49 [INFO] [stdout] | [INFO] [stdout] 31 | let msg = P::build(msg); [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 32 | super::canonical_raw(&msg.encode_to_vec(), &msg.descriptor()).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 `T` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/testonly/mod.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 22 | let desc = &::Proto::default().descriptor(); [INFO] [stdout] | ---------------------------------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 25 | assert_eq!(x, &decode::(e).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 `MessageDescriptor` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/proto_fmt.rs:250:42 [INFO] [stdout] | [INFO] [stdout] 249 | let msg = x.build(); [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 250 | canonical_raw(&msg.encode_to_vec(), &msg.descriptor()).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 `MessageDescriptor` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/testonly/mod.rs:95:53 [INFO] [stdout] | [INFO] [stdout] 94 | let msg = x.build(); [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 95 | encode_shuffled_raw(rng, &msg.encode_to_vec(), &msg.descriptor()).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 `MessageDescriptor` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/testonly/mod.rs:112:42 [INFO] [stdout] | [INFO] [stdout] 111 | let msg = X::build(msg); [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 112 | canonical_raw(&msg.encode_to_vec(), &msg.descriptor()).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 `MessageDescriptor` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/repr.rs:32:49 [INFO] [stdout] | [INFO] [stdout] 31 | let msg = P::build(msg); [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 32 | super::canonical_raw(&msg.encode_to_vec(), &msg.descriptor()).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 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `T` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/testonly/mod.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 22 | let desc = &::Proto::default().descriptor(); [INFO] [stdout] | ---------------------------------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 25 | assert_eq!(x, &decode::(e).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] [stderr] error: could not compile `zksync_protobuf` (lib) due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this value of type `MessageDescriptor` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/testonly/mod.rs:95:53 [INFO] [stdout] | [INFO] [stdout] 94 | let msg = x.build(); [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 95 | encode_shuffled_raw(rng, &msg.encode_to_vec(), &msg.descriptor()).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 `MessageDescriptor` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/testonly/mod.rs:112:42 [INFO] [stdout] | [INFO] [stdout] 111 | let msg = X::build(msg); [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 112 | canonical_raw(&msg.encode_to_vec(), &msg.descriptor()).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 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `zksync_protobuf` (lib test) due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "93067104de47511f4e2615c747ebb381efd37864cb6c09610743b68b946923b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93067104de47511f4e2615c747ebb381efd37864cb6c09610743b68b946923b7", kill_on_drop: false }` [INFO] [stdout] 93067104de47511f4e2615c747ebb381efd37864cb6c09610743b68b946923b7