[INFO] fetching crate daml-codegen 0.2.2... [INFO] checking daml-codegen-0.2.2 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate daml-codegen 0.2.2 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate daml-codegen 0.2.2 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 daml-codegen 0.2.2 [INFO] finished tweaking crates.io crate daml-codegen 0.2.2 [INFO] tweaked toml for crates.io crate daml-codegen 0.2.2 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate crates.io crate daml-codegen 0.2.2 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] b42d31dccf3fa7a3a48494f3f352195008729410612bb4798560b4c2db446527 [INFO] running `Command { std: "docker" "start" "-a" "b42d31dccf3fa7a3a48494f3f352195008729410612bb4798560b4c2db446527", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b42d31dccf3fa7a3a48494f3f352195008729410612bb4798560b4c2db446527", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b42d31dccf3fa7a3a48494f3f352195008729410612bb4798560b4c2db446527", kill_on_drop: false }` [INFO] [stdout] b42d31dccf3fa7a3a48494f3f352195008729410612bb4798560b4c2db446527 [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] 38f011880f912c588b7ad58df055ed62bacb49d2c06ff85f1374e33c5a41665a [INFO] running `Command { std: "docker" "start" "-a" "38f011880f912c588b7ad58df055ed62bacb49d2c06ff85f1374e33c5a41665a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling anyhow v1.0.56 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling fixedbitset v0.4.1 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking heck v0.4.0 [INFO] [stderr] Checking os_str_bytes v6.0.0 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Checking flate2 v1.0.22 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v3.1.6 [INFO] [stderr] Compiling which v4.2.4 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling prost-build v0.9.0 [INFO] [stderr] Compiling petgraph v0.6.0 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling prost-derive v0.9.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling bounded-static-derive v0.2.1 [INFO] [stderr] Checking bounded-static v0.2.1 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking zip v0.5.13 [INFO] [stderr] Compiling prost v0.9.0 [INFO] [stderr] Compiling prost-types v0.9.0 [INFO] [stderr] Compiling daml-lf v0.2.2 [INFO] [stderr] Checking daml-codegen v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `Vec` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/renderer/data_renderer/full/quote_main_struct.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 152 | let all_fields: Vec<_> = struct_fields [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | quote!(DamlValue::Record(DamlRecord::new(vec![#( #all_fields ),*], None::))) [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] | 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] = 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 `Vec` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/renderer/data_renderer/full/quote_main_struct.rs:164:13 [INFO] [stdout] | [INFO] [stdout] 164 | let all_fields: Vec<_> = struct_fields.iter().map(|&f| quote_deserialize_trait_field(f)).collect(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 165 | / quote!( [INFO] [stdout] 166 | | let record = value.try_record()?; [INFO] [stdout] 167 | | Ok(Self::new( [INFO] [stdout] 168 | | #( #all_fields ),* [INFO] [stdout] 169 | | )) [INFO] [stdout] 170 | | ) [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] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [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 `Vec` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/renderer/data_renderer/full/quote_main_struct.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 152 | let all_fields: Vec<_> = struct_fields [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | quote!(DamlValue::Record(DamlRecord::new(vec![#( #all_fields ),*], None::))) [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] | 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] = 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 `Vec` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/renderer/data_renderer/full/quote_main_struct.rs:164:13 [INFO] [stdout] | [INFO] [stdout] 164 | let all_fields: Vec<_> = struct_fields.iter().map(|&f| quote_deserialize_trait_field(f)).collect(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 165 | / quote!( [INFO] [stdout] 166 | | let record = value.try_record()?; [INFO] [stdout] 167 | | Ok(Self::new( [INFO] [stdout] 168 | | #( #all_fields ),* [INFO] [stdout] 169 | | )) [INFO] [stdout] 170 | | ) [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] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [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 `TokenStream` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/renderer/module_renderer.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 19 | let all_children: Vec<_> = module [INFO] [stdout] | ------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 27 | let module_tokens = if is_included_module { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | / quote!( [INFO] [stdout] 34 | | pub mod #module_name_tokens { [INFO] [stdout] 35 | | use ::daml::prelude::*; [INFO] [stdout] 36 | | #module_tokens [INFO] [stdout] 37 | | #( #all_children )* [INFO] [stdout] 38 | | } [INFO] [stdout] 39 | | ) [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] = 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 `Vec` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/renderer/type_renderer.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | let all_type_arguments: Vec<_> = type_arguments.iter().map(quote_type).collect(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 92 | quote!( < #( #all_type_arguments ),* > ) [INFO] [stdout] | ---------------------------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [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 `TokenStream` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/renderer/module_renderer.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 19 | let all_children: Vec<_> = module [INFO] [stdout] | ------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 27 | let module_tokens = if is_included_module { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | / quote!( [INFO] [stdout] 34 | | pub mod #module_name_tokens { [INFO] [stdout] 35 | | use ::daml::prelude::*; [INFO] [stdout] 36 | | #module_tokens [INFO] [stdout] 37 | | #( #all_children )* [INFO] [stdout] 38 | | } [INFO] [stdout] 39 | | ) [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] = 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 `Vec` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/renderer/type_renderer.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | let all_type_arguments: Vec<_> = type_arguments.iter().map(quote_type).collect(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 92 | quote!( < #( #all_type_arguments ),* > ) [INFO] [stdout] | ---------------------------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [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 `daml-codegen` (lib test) due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `daml-codegen` (lib) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "38f011880f912c588b7ad58df055ed62bacb49d2c06ff85f1374e33c5a41665a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38f011880f912c588b7ad58df055ed62bacb49d2c06ff85f1374e33c5a41665a", kill_on_drop: false }` [INFO] [stdout] 38f011880f912c588b7ad58df055ed62bacb49d2c06ff85f1374e33c5a41665a