[INFO] fetching crate protobuf-codegen 3.5.1... [INFO] checking protobuf-codegen-3.5.1 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate protobuf-codegen 3.5.1 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate protobuf-codegen 3.5.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 protobuf-codegen 3.5.1 [INFO] finished tweaking crates.io crate protobuf-codegen 3.5.1 [INFO] tweaked toml for crates.io crate protobuf-codegen 3.5.1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate crates.io crate protobuf-codegen 3.5.1 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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 28f050acb751422f0a15f656dd5195192c54a3bf40f791fa69be02bfce6d60b5 [INFO] running `Command { std: "docker" "start" "-a" "28f050acb751422f0a15f656dd5195192c54a3bf40f791fa69be02bfce6d60b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "28f050acb751422f0a15f656dd5195192c54a3bf40f791fa69be02bfce6d60b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28f050acb751422f0a15f656dd5195192c54a3bf40f791fa69be02bfce6d60b5", kill_on_drop: false }` [INFO] [stdout] 28f050acb751422f0a15f656dd5195192c54a3bf40f791fa69be02bfce6d60b5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 097815253eb8c7a871fa60c787c16103ad2a17ea4f4ccc423cde402edafcb80f [INFO] running `Command { std: "docker" "start" "-a" "097815253eb8c7a871fa60c787c16103ad2a17ea4f4ccc423cde402edafcb80f", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling protobuf v3.5.1 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Checking home v0.5.9 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking fastrand v2.1.0 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.75 [INFO] [stderr] Checking indexmap v2.4.0 [INFO] [stderr] Checking tempfile v3.12.0 [INFO] [stderr] Checking which v4.4.2 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Checking protobuf-support v3.5.1 [INFO] [stderr] Checking protobuf-parse v3.5.1 [INFO] [stderr] Checking protobuf-codegen v3.5.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/gen/message.rs:149:45 [INFO] [stdout] | [INFO] [stdout] 73 | impl<'a> MessageGen<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 149 | fn required_fields(&'a self) -> Vec<&'a FieldGen> { [INFO] [stdout] | ^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/gen/message.rs:159:44 [INFO] [stdout] | [INFO] [stdout] 73 | impl<'a> MessageGen<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 159 | fn message_fields(&'a self) -> Vec<&'a FieldGen> { [INFO] [stdout] | ^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/gen/message.rs:166:49 [INFO] [stdout] | [INFO] [stdout] 73 | impl<'a> MessageGen<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 166 | fn fields_except_oneof(&'a self) -> Vec<&'a FieldGen> { [INFO] [stdout] | ^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/gen/message.rs:176:49 [INFO] [stdout] | [INFO] [stdout] 73 | impl<'a> MessageGen<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 176 | fn fields_except_group(&'a self) -> Vec<&'a FieldGen> { [INFO] [stdout] | ^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/gen/message.rs:183:59 [INFO] [stdout] | [INFO] [stdout] 73 | impl<'a> MessageGen<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 183 | fn fields_except_oneof_and_group(&'a self) -> Vec<&'a FieldGen> { [INFO] [stdout] | ^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/gen/message.rs:149:45 [INFO] [stdout] | [INFO] [stdout] 73 | impl<'a> MessageGen<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 149 | fn required_fields(&'a self) -> Vec<&'a FieldGen> { [INFO] [stdout] | ^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/gen/message.rs:159:44 [INFO] [stdout] | [INFO] [stdout] 73 | impl<'a> MessageGen<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 159 | fn message_fields(&'a self) -> Vec<&'a FieldGen> { [INFO] [stdout] | ^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/gen/message.rs:166:49 [INFO] [stdout] | [INFO] [stdout] 73 | impl<'a> MessageGen<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 166 | fn fields_except_oneof(&'a self) -> Vec<&'a FieldGen> { [INFO] [stdout] | ^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/gen/message.rs:176:49 [INFO] [stdout] | [INFO] [stdout] 73 | impl<'a> MessageGen<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 176 | fn fields_except_group(&'a self) -> Vec<&'a FieldGen> { [INFO] [stdout] | ^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/gen/message.rs:183:59 [INFO] [stdout] | [INFO] [stdout] 73 | impl<'a> MessageGen<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 183 | fn fields_except_oneof_and_group(&'a self) -> Vec<&'a FieldGen> { [INFO] [stdout] | ^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `EnumDescriptor` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/gen/field/mod.rs:427:35 [INFO] [stdout] | [INFO] [stdout] 416 | let default_value = self.proto_field.field.singular_default_value(); [INFO] [stdout] | ------------- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 427 | ReflectValueRef::Enum(_e, _v) => { [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 `EnumDescriptor` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/gen/field/mod.rs:427:35 [INFO] [stdout] | [INFO] [stdout] 416 | let default_value = self.proto_field.field.singular_default_value(); [INFO] [stdout] | ------------- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 427 | ReflectValueRef::Enum(_e, _v) => { [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; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `protobuf-codegen` (lib test) due to 2 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 1 previous error; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `protobuf-codegen` (lib) due to 2 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "097815253eb8c7a871fa60c787c16103ad2a17ea4f4ccc423cde402edafcb80f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "097815253eb8c7a871fa60c787c16103ad2a17ea4f4ccc423cde402edafcb80f", kill_on_drop: false }` [INFO] [stdout] 097815253eb8c7a871fa60c787c16103ad2a17ea4f4ccc423cde402edafcb80f