[INFO] fetching crate byteme 0.0.5... [INFO] checking byteme-0.0.5 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate byteme 0.0.5 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate byteme 0.0.5 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate byteme 0.0.5 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate byteme 0.0.5 [INFO] tweaked toml for crates.io crate byteme 0.0.5 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 38 packages to latest compatible versions [INFO] [stderr] Adding num-derive v0.3.3 (latest: v0.4.2) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 493baa7620cf36bad03399dd3231085b961ddb34052204f7f007b016cb6a80ff [INFO] running `Command { std: "docker" "start" "-a" "493baa7620cf36bad03399dd3231085b961ddb34052204f7f007b016cb6a80ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "493baa7620cf36bad03399dd3231085b961ddb34052204f7f007b016cb6a80ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "493baa7620cf36bad03399dd3231085b961ddb34052204f7f007b016cb6a80ff", kill_on_drop: false }` [INFO] [stdout] 493baa7620cf36bad03399dd3231085b961ddb34052204f7f007b016cb6a80ff [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 18c0e7aa0210b981e3d6b78fdd328ade6617bdccd5573b6a76749b56db297d9b [INFO] running `Command { std: "docker" "start" "-a" "18c0e7aa0210b981e3d6b78fdd328ade6617bdccd5573b6a76749b56db297d9b", kill_on_drop: false }` [INFO] [stderr] Compiling trybuild v1.0.99 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking dissimilar v1.0.9 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling byteme v0.0.5 (/opt/rustwide/workdir) [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/models.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 19 | let strukt = input.parse::()?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | let ident = strukt.ident.clone(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 21 | let mut fields: Vec = Vec::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 26 | Ok(Self { ident, fields }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will 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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/models.rs:53:46 [INFO] [stdout] | [INFO] [stdout] 53 | .ok_or_else(|| syn::Error::new_spanned(field.into_token_stream(), ERROR_STRUCT_NAMED_FIELD)) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/models.rs:100:6 [INFO] [stdout] | [INFO] [stdout] 93 | path: syn::Path, [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 94 | attribute: Option, [INFO] [stdout] | ------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 95 | ident: proc_macro2::Ident, [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 96 | ) -> Result { [INFO] [stdout] 97 | let attribute_data_type = Some(path.segments.into_iter().next().unwrap().ident); [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 98 | let data_type: syn::Ident = syn::parse_quote!(#attribute); [INFO] [stdout] | --------- ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 99 | let size: usize = get_byte_size_from_integer_type(data_type.clone()).unwrap(); [INFO] [stdout] 100 | Ok(ByteMeField { [INFO] [stdout] | ______^ [INFO] [stdout] 101 | | ident, [INFO] [stdout] 102 | | size, [INFO] [stdout] 103 | | data_type, [INFO] [stdout] 104 | | is_array: false, [INFO] [stdout] 105 | | attribute: attribute_data_type, [INFO] [stdout] 106 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/models.rs:112:6 [INFO] [stdout] | [INFO] [stdout] 109 | fn process_positive_integer(path: syn::Path, ident: proc_macro2::Ident) -> Result { [INFO] [stdout] | --------------- ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 110 | let data_type = path.segments.into_iter().next().unwrap().ident; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 111 | let size: usize = get_byte_size_from_integer_type(data_type.clone()).unwrap(); [INFO] [stdout] 112 | Ok(ByteMeField { [INFO] [stdout] | ______^ [INFO] [stdout] 113 | | ident, [INFO] [stdout] 114 | | size, [INFO] [stdout] 115 | | data_type, [INFO] [stdout] 116 | | is_array: false, [INFO] [stdout] 117 | | attribute: None, [INFO] [stdout] 118 | | }) [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 `byteme` (lib) due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/models.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 19 | let strukt = input.parse::()?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | let ident = strukt.ident.clone(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 21 | let mut fields: Vec = Vec::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 26 | Ok(Self { ident, fields }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will 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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/models.rs:53:46 [INFO] [stdout] | [INFO] [stdout] 53 | .ok_or_else(|| syn::Error::new_spanned(field.into_token_stream(), ERROR_STRUCT_NAMED_FIELD)) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/models.rs:100:6 [INFO] [stdout] | [INFO] [stdout] 93 | path: syn::Path, [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 94 | attribute: Option, [INFO] [stdout] | ------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 95 | ident: proc_macro2::Ident, [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 96 | ) -> Result { [INFO] [stdout] 97 | let attribute_data_type = Some(path.segments.into_iter().next().unwrap().ident); [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 98 | let data_type: syn::Ident = syn::parse_quote!(#attribute); [INFO] [stdout] | --------- ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 99 | let size: usize = get_byte_size_from_integer_type(data_type.clone()).unwrap(); [INFO] [stdout] 100 | Ok(ByteMeField { [INFO] [stdout] | ______^ [INFO] [stdout] 101 | | ident, [INFO] [stdout] 102 | | size, [INFO] [stdout] 103 | | data_type, [INFO] [stdout] 104 | | is_array: false, [INFO] [stdout] 105 | | attribute: attribute_data_type, [INFO] [stdout] 106 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/models.rs:112:6 [INFO] [stdout] | [INFO] [stdout] 109 | fn process_positive_integer(path: syn::Path, ident: proc_macro2::Ident) -> Result { [INFO] [stdout] | --------------- ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 110 | let data_type = path.segments.into_iter().next().unwrap().ident; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 111 | let size: usize = get_byte_size_from_integer_type(data_type.clone()).unwrap(); [INFO] [stdout] 112 | Ok(ByteMeField { [INFO] [stdout] | ______^ [INFO] [stdout] 113 | | ident, [INFO] [stdout] 114 | | size, [INFO] [stdout] 115 | | data_type, [INFO] [stdout] 116 | | is_array: false, [INFO] [stdout] 117 | | attribute: None, [INFO] [stdout] 118 | | }) [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 `byteme` (lib) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "18c0e7aa0210b981e3d6b78fdd328ade6617bdccd5573b6a76749b56db297d9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18c0e7aa0210b981e3d6b78fdd328ade6617bdccd5573b6a76749b56db297d9b", kill_on_drop: false }` [INFO] [stdout] 18c0e7aa0210b981e3d6b78fdd328ade6617bdccd5573b6a76749b56db297d9b