[INFO] fetching crate jnim_gen 0.1.1... [INFO] checking jnim_gen-0.1.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate jnim_gen 0.1.1 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate jnim_gen 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 jnim_gen 0.1.1 [INFO] finished tweaking crates.io crate jnim_gen 0.1.1 [INFO] tweaked toml for crates.io crate jnim_gen 0.1.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate crates.io crate jnim_gen 0.1.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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f82cd9879c2e1d6510f4e4169c3d1e8ef860344314b17f81cbe045dc85edcbc4 [INFO] running `Command { std: "docker" "start" "-a" "f82cd9879c2e1d6510f4e4169c3d1e8ef860344314b17f81cbe045dc85edcbc4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f82cd9879c2e1d6510f4e4169c3d1e8ef860344314b17f81cbe045dc85edcbc4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f82cd9879c2e1d6510f4e4169c3d1e8ef860344314b17f81cbe045dc85edcbc4", kill_on_drop: false }` [INFO] [stdout] f82cd9879c2e1d6510f4e4169c3d1e8ef860344314b17f81cbe045dc85edcbc4 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1225f0b3db67f029f9e5bea5f6247659da4476724f10474735f3c7a7972b2ad8 [INFO] running `Command { std: "docker" "start" "-a" "1225f0b3db67f029f9e5bea5f6247659da4476724f10474735f3c7a7972b2ad8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Checking anstyle-query v1.1.0 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking clap_lex v0.7.1 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking cesu8 v1.1.0 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Checking makepad-miniz v0.4.0 [INFO] [stderr] Checking casbab v0.1.1 [INFO] [stderr] Checking clap_builder v4.5.7 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.67 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking clap v4.5.7 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Checking jnim_gen v0.1.1 (/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/function.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 15 | let mut args = vec![]; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 23 | let ret = Value::parse(r)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 24 | Some(Self { args, ret }) [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/fmt.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 68 | let mut fields = vec![]; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 74 | let mut methods = vec![]; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 75 | let mut method_names: HashSet = Default::default(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 98 | Some(Class { [INFO] [stdout] | ______________^ [INFO] [stdout] 99 | | magic, [INFO] [stdout] 100 | | minor_version, [INFO] [stdout] 101 | | major_version, [INFO] [stdout] ... | [INFO] [stdout] 108 | | _attrs: attrs, [INFO] [stdout] 109 | | }) [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/field.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 23 | let sign = Value::from_str(&sign_java)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 34 | Some(Self { [INFO] [stdout] | ______________^ [INFO] [stdout] 35 | | access, [INFO] [stdout] 36 | | name, [INFO] [stdout] 37 | | sign_java, [INFO] [stdout] 38 | | sign, [INFO] [stdout] 39 | | constant, [INFO] [stdout] 40 | | }) [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] [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/method.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 25 | let sign = Function::from_str(&sign_java)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 31 | Some(Self { [INFO] [stdout] | ______________^ [INFO] [stdout] 32 | | access: access_flags, [INFO] [stdout] 33 | | rust_name: name.clone(), [INFO] [stdout] 34 | | name, [INFO] [stdout] ... | [INFO] [stdout] 37 | | attrs, [INFO] [stdout] 38 | | }) [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] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `jnim_gen` (bin "jnim_gen" test) 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/function.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 15 | let mut args = vec![]; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 23 | let ret = Value::parse(r)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 24 | Some(Self { args, ret }) [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/fmt.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 68 | let mut fields = vec![]; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 74 | let mut methods = vec![]; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 75 | let mut method_names: HashSet = Default::default(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 98 | Some(Class { [INFO] [stdout] | ______________^ [INFO] [stdout] 99 | | magic, [INFO] [stdout] 100 | | minor_version, [INFO] [stdout] 101 | | major_version, [INFO] [stdout] ... | [INFO] [stdout] 108 | | _attrs: attrs, [INFO] [stdout] 109 | | }) [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/field.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 23 | let sign = Value::from_str(&sign_java)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 34 | Some(Self { [INFO] [stdout] | ______________^ [INFO] [stdout] 35 | | access, [INFO] [stdout] 36 | | name, [INFO] [stdout] 37 | | sign_java, [INFO] [stdout] 38 | | sign, [INFO] [stdout] 39 | | constant, [INFO] [stdout] 40 | | }) [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] [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/method.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 25 | let sign = Function::from_str(&sign_java)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 31 | Some(Self { [INFO] [stdout] | ______________^ [INFO] [stdout] 32 | | access: access_flags, [INFO] [stdout] 33 | | rust_name: name.clone(), [INFO] [stdout] 34 | | name, [INFO] [stdout] ... | [INFO] [stdout] 37 | | attrs, [INFO] [stdout] 38 | | }) [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] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `jnim_gen` (bin "jnim_gen") due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "1225f0b3db67f029f9e5bea5f6247659da4476724f10474735f3c7a7972b2ad8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1225f0b3db67f029f9e5bea5f6247659da4476724f10474735f3c7a7972b2ad8", kill_on_drop: false }` [INFO] [stdout] 1225f0b3db67f029f9e5bea5f6247659da4476724f10474735f3c7a7972b2ad8