[INFO] fetching crate foreignc_derive 0.1.1... [INFO] checking foreignc_derive-0.1.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate foreignc_derive 0.1.1 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate foreignc_derive 0.1.1 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 foreignc_derive 0.1.1 [INFO] finished tweaking crates.io crate foreignc_derive 0.1.1 [INFO] tweaked toml for crates.io crate foreignc_derive 0.1.1 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 102 packages to latest compatible versions [INFO] [stderr] Adding addr2line v0.22.0 (latest: v0.24.1) [INFO] [stderr] Adding generic-array v0.14.7 (latest: v1.1.0) [INFO] [stderr] Adding getrandom v0.1.16 (latest: v0.2.15) [INFO] [stderr] Adding gimli v0.29.0 (latest: v0.31.0) [INFO] [stderr] Adding glob v0.2.11 (latest: v0.3.1) [INFO] [stderr] Adding humansize v1.1.1 (latest: v2.1.3) [INFO] [stderr] Adding idna v0.1.5 (latest: v1.0.2) [INFO] [stderr] Adding miniz_oxide v0.7.4 (latest: v0.8.0) [INFO] [stderr] Adding percent-encoding v1.0.1 (latest: v2.3.1) [INFO] [stderr] Adding rand v0.7.3 (latest: v0.8.5) [INFO] [stderr] Adding rand_chacha v0.2.2 (latest: v0.3.1) [INFO] [stderr] Adding rand_core v0.5.1 (latest: v0.6.4) [INFO] [stderr] Adding rand_hc v0.2.0 (latest: v0.3.2) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [INFO] [stderr] Adding tera v0.11.20 (latest: v1.20.0) [INFO] [stderr] Adding unic-char-property v0.7.0 (latest: v0.9.0) [INFO] [stderr] Adding unic-char-range v0.7.0 (latest: v0.9.0) [INFO] [stderr] Adding unic-common v0.7.0 (latest: v0.9.0) [INFO] [stderr] Adding unic-segment v0.7.0 (latest: v0.9.0) [INFO] [stderr] Adding unic-ucd-segment v0.7.0 (latest: v0.9.0) [INFO] [stderr] Adding unic-ucd-version v0.7.0 (latest: v0.9.0) [INFO] [stderr] Adding url v1.7.2 (latest: v2.5.2) [INFO] [stderr] Adding wasi v0.9.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-core v0.52.0 (latest: v0.58.0) [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-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 523219a50f02b9fa1618e417f79589c62bd8223ac7301a0c0817f282dfdb8bb5 [INFO] running `Command { std: "docker" "start" "-a" "523219a50f02b9fa1618e417f79589c62bd8223ac7301a0c0817f282dfdb8bb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "523219a50f02b9fa1618e417f79589c62bd8223ac7301a0c0817f282dfdb8bb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "523219a50f02b9fa1618e417f79589c62bd8223ac7301a0c0817f282dfdb8bb5", kill_on_drop: false }` [INFO] [stdout] 523219a50f02b9fa1618e417f79589c62bd8223ac7301a0c0817f282dfdb8bb5 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a4b8323856a1ecd5f17b03489fafeec9d96ac35a246de3d9acce50a1adb99b27 [INFO] running `Command { std: "docker" "start" "-a" "a4b8323856a1ecd5f17b03489fafeec9d96ac35a246de3d9acce50a1adb99b27", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking foreignc_util v0.1.1 [INFO] [stderr] Checking quote v1.0.37 [INFO] [stderr] Checking foreignc_derive v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `core::convert::From` [INFO] [stdout] --> src/generate.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use core::convert::From; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> src/lib.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | let span = impls.span().clone(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_span` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::convert::From` [INFO] [stdout] --> src/generate.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use core::convert::From; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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/generate.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 15 | mut item: ItemFn, [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 16 | implm: Option<(&Type, Ident)>, [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 19 | let item_path_str = if let Some((caller, method_name)) = implm { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 24 | let item_path: Path = parse_str(&item_path_str)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 56 | Ok(ItemFn { [INFO] [stdout] | ________^ [INFO] [stdout] 57 | | // Create the code block [INFO] [stdout] 58 | | block: Box::new(parse(quote!({ [INFO] [stdout] 59 | | let v = std::panic::catch_unwind(|| -> foreignc::FFiResult<_> { [INFO] [stdout] ... | [INFO] [stdout] 83 | | }, [INFO] [stdout] 84 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/generate.rs:126:8 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn convert_item_fn(self_ty: &Box, item_fn: ImplItemMethod) -> DResult { [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 88 | let mut inputs = Vec::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 126 | Ok(ItemFn { [INFO] [stdout] | ________^ [INFO] [stdout] 127 | | vis: item_fn.vis, [INFO] [stdout] 128 | | attrs: item_fn.attrs, [INFO] [stdout] 129 | | sig: Signature { [INFO] [stdout] ... | [INFO] [stdout] 145 | | block: Box::new(item_fn.block), [INFO] [stdout] 146 | | }) [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 2 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `foreignc_derive` (lib test) due to 3 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> src/lib.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | let span = impls.span().clone(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_span` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [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/generate.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 15 | mut item: ItemFn, [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 16 | implm: Option<(&Type, Ident)>, [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 19 | let item_path_str = if let Some((caller, method_name)) = implm { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 24 | let item_path: Path = parse_str(&item_path_str)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 56 | Ok(ItemFn { [INFO] [stdout] | ________^ [INFO] [stdout] 57 | | // Create the code block [INFO] [stdout] 58 | | block: Box::new(parse(quote!({ [INFO] [stdout] 59 | | let v = std::panic::catch_unwind(|| -> foreignc::FFiResult<_> { [INFO] [stdout] ... | [INFO] [stdout] 83 | | }, [INFO] [stdout] 84 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/generate.rs:126:8 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn convert_item_fn(self_ty: &Box, item_fn: ImplItemMethod) -> DResult { [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 88 | let mut inputs = Vec::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 126 | Ok(ItemFn { [INFO] [stdout] | ________^ [INFO] [stdout] 127 | | vis: item_fn.vis, [INFO] [stdout] 128 | | attrs: item_fn.attrs, [INFO] [stdout] 129 | | sig: Signature { [INFO] [stdout] ... | [INFO] [stdout] 145 | | block: Box::new(item_fn.block), [INFO] [stdout] 146 | | }) [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 2 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `foreignc_derive` (lib) due to 3 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a4b8323856a1ecd5f17b03489fafeec9d96ac35a246de3d9acce50a1adb99b27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4b8323856a1ecd5f17b03489fafeec9d96ac35a246de3d9acce50a1adb99b27", kill_on_drop: false }` [INFO] [stdout] a4b8323856a1ecd5f17b03489fafeec9d96ac35a246de3d9acce50a1adb99b27