[INFO] fetching crate java_asm 0.0.4... [INFO] checking java_asm-0.0.4 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate java_asm 0.0.4 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate java_asm 0.0.4 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 java_asm 0.0.4 [INFO] finished tweaking crates.io crate java_asm 0.0.4 [INFO] tweaked toml for crates.io crate java_asm 0.0.4 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 7 packages to latest compatible versions [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] 96783c9a3e118ac5720829685702c97f6ad2abe2c68907023440759459ed36d3 [INFO] running `Command { std: "docker" "start" "-a" "96783c9a3e118ac5720829685702c97f6ad2abe2c68907023440759459ed36d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "96783c9a3e118ac5720829685702c97f6ad2abe2c68907023440759459ed36d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96783c9a3e118ac5720829685702c97f6ad2abe2c68907023440759459ed36d3", kill_on_drop: false }` [INFO] [stdout] 96783c9a3e118ac5720829685702c97f6ad2abe2c68907023440759459ed36d3 [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] 7f5fb6f94b0a09f8626ea4bcdeac4ce204516c7c133a9fb56bf842f4cfc22fa9 [INFO] running `Command { std: "docker" "start" "-a" "7f5fb6f94b0a09f8626ea4bcdeac4ce204516c7c133a9fb56bf842f4cfc22fa9", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling java_asm_macro v0.0.4 [INFO] [stderr] Checking java_asm_internal v0.0.4 [INFO] [stderr] Checking java_asm v0.0.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::asm_type::Type` [INFO] [stdout] --> src/node/element.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::asm_type::Type; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::opcodes::Opcodes` [INFO] [stdout] --> src/node/element.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::opcodes::Opcodes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MethodNodeContext` [INFO] [stdout] --> src/node/read/impls.rs:7:56 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::node::read::node_reader::{ClassNodeContext, MethodNodeContext}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::opcodes::Opcodes` [INFO] [stdout] --> src/node/insn.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::opcodes::Opcodes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::asm_type::Type` [INFO] [stdout] --> src/node/element.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::asm_type::Type; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::opcodes::Opcodes` [INFO] [stdout] --> src/node/element.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::opcodes::Opcodes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MethodNodeContext` [INFO] [stdout] --> src/node/read/impls.rs:7:56 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::node::read::node_reader::{ClassNodeContext, MethodNodeContext}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::opcodes::Opcodes` [INFO] [stdout] --> src/node/insn.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::opcodes::Opcodes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `jvms_file` [INFO] [stdout] --> src/node/read/impls.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn from_jvms(jvms_file: ClassFile) -> AsmResult { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_jvms_file` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `class_context` [INFO] [stdout] --> src/node/read/impls.rs:30:21 [INFO] [stdout] | [INFO] [stdout] 30 | fn method_from_jvms(class_context: &mut ClassNodeContext, method_info: Rc) -> AsmResult { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_class_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `method_info` [INFO] [stdout] --> src/node/read/impls.rs:30:59 [INFO] [stdout] | [INFO] [stdout] 30 | fn method_from_jvms(class_context: &mut ClassNodeContext, method_info: Rc) -> AsmResult { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_method_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constants `SKIP_CODE` and `INPUT_STREAM_DATA_CHUNK_SIZE` are never used [INFO] [stdout] --> src/node/read/option.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 4 | impl ClassReaderOption { [INFO] [stdout] | ---------------------- associated constants in this implementation [INFO] [stdout] ... [INFO] [stdout] 7 | const SKIP_CODE: u16 = 1; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | const INPUT_STREAM_DATA_CHUNK_SIZE: u16 = 4096; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `NodeFromJvms` is never used [INFO] [stdout] --> src/node/read/from_jvms.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | trait NodeFromJvms { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ClassNodeContext` is never constructed [INFO] [stdout] --> src/node/read/node_reader.rs:35:19 [INFO] [stdout] | [INFO] [stdout] 35 | pub(crate) struct ClassNodeContext { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/node/read/node_reader.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 41 | impl ClassNodeContext { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 42 | pub fn new(jvms_file: Rc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn name(&mut self) -> Option> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn read_utf8(&mut self, index: u16) -> AsmResult> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn read_class_info(&mut self, index: u16) -> AsmResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn read_name_and_type(&mut self, index: u16) -> AsmResult<(Rc, Rc)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn read_const(&mut self, index: u16) -> AsmResult> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | fn read_const_cache(&self, index: u16) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | fn put_const_cache(&mut self, index: u16, constant: Rc) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | pub fn read_attr_from_index(&mut self, index: u16) -> AsmResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | pub fn read_attr(&mut self, attribute_info: &AttributeInfo) -> AsmResult> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 271 | fn read_attr_cache(&self, index: u16) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 275 | fn put_attr_cache(&mut self, index: u16, attr: Rc) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 279 | fn read_type_annotation(&mut self, visible: bool, type_annotation: &TypeAnnotation) -> AsmResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 293 | fn read_annotation_info(&mut self, visible: bool, annotation: &AnnotationInfo) -> AsmResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 303 | fn read_annotation_value(&mut self, visible: bool, annotation: &AnnotationElementValue) -> AsmResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 331 | fn err(&mut self, msg: D) -> AsmErr { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ToRc` is never used [INFO] [stdout] --> src/node/read/node_reader.rs:339:7 [INFO] [stdout] | [INFO] [stdout] 339 | trait ToRc { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `VecEx` is never used [INFO] [stdout] --> src/node/read/node_reader.rs:347:7 [INFO] [stdout] | [INFO] [stdout] 347 | trait VecEx { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MethodNodeContext` is never constructed [INFO] [stdout] --> src/node/read/node_reader.rs:368:19 [INFO] [stdout] | [INFO] [stdout] 368 | pub(crate) struct MethodNodeContext { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `method_from_jvms` is never used [INFO] [stdout] --> src/node/read/impls.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | fn method_from_jvms(class_context: &mut ClassNodeContext, method_info: Rc) -> AsmResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `utf8_to_mutf8` is never used [INFO] [stdout] --> src/util.rs:114:8 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn utf8_to_mutf8(utf8: &[u8]) -> AsmResult> { [INFO] [stdout] | ^^^^^^^^^^^^^ [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/jvms/write/mod.rs:14:15 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn write_class_file(write: T, class_file: ClassFile) -> AsmResult<()> { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 12 | let mut writer = BufWriter::new(write); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 13 | let bytes = Self::write_class_bytes(vec![], class_file)?; [INFO] [stdout] 14 | match writer.write(bytes.as_slice()) { [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] warning: unused variable: `jvms_file` [INFO] [stdout] --> src/node/read/impls.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn from_jvms(jvms_file: ClassFile) -> AsmResult { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_jvms_file` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `class_context` [INFO] [stdout] --> src/node/read/impls.rs:30:21 [INFO] [stdout] | [INFO] [stdout] 30 | fn method_from_jvms(class_context: &mut ClassNodeContext, method_info: Rc) -> AsmResult { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_class_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `method_info` [INFO] [stdout] --> src/node/read/impls.rs:30:59 [INFO] [stdout] | [INFO] [stdout] 30 | fn method_from_jvms(class_context: &mut ClassNodeContext, method_info: Rc) -> AsmResult { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_method_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constants `SKIP_CODE` and `INPUT_STREAM_DATA_CHUNK_SIZE` are never used [INFO] [stdout] --> src/node/read/option.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 4 | impl ClassReaderOption { [INFO] [stdout] | ---------------------- associated constants in this implementation [INFO] [stdout] ... [INFO] [stdout] 7 | const SKIP_CODE: u16 = 1; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | const INPUT_STREAM_DATA_CHUNK_SIZE: u16 = 4096; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `NodeFromJvms` is never used [INFO] [stdout] --> src/node/read/from_jvms.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | trait NodeFromJvms { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ClassNodeContext` is never constructed [INFO] [stdout] --> src/node/read/node_reader.rs:35:19 [INFO] [stdout] | [INFO] [stdout] 35 | pub(crate) struct ClassNodeContext { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/node/read/node_reader.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 41 | impl ClassNodeContext { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 42 | pub fn new(jvms_file: Rc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn name(&mut self) -> Option> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn read_utf8(&mut self, index: u16) -> AsmResult> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn read_class_info(&mut self, index: u16) -> AsmResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn read_name_and_type(&mut self, index: u16) -> AsmResult<(Rc, Rc)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn read_const(&mut self, index: u16) -> AsmResult> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | fn read_const_cache(&self, index: u16) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | fn put_const_cache(&mut self, index: u16, constant: Rc) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | pub fn read_attr_from_index(&mut self, index: u16) -> AsmResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | pub fn read_attr(&mut self, attribute_info: &AttributeInfo) -> AsmResult> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 271 | fn read_attr_cache(&self, index: u16) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 275 | fn put_attr_cache(&mut self, index: u16, attr: Rc) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 279 | fn read_type_annotation(&mut self, visible: bool, type_annotation: &TypeAnnotation) -> AsmResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 293 | fn read_annotation_info(&mut self, visible: bool, annotation: &AnnotationInfo) -> AsmResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 303 | fn read_annotation_value(&mut self, visible: bool, annotation: &AnnotationElementValue) -> AsmResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 331 | fn err(&mut self, msg: D) -> AsmErr { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ToRc` is never used [INFO] [stdout] --> src/node/read/node_reader.rs:339:7 [INFO] [stdout] | [INFO] [stdout] 339 | trait ToRc { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `VecEx` is never used [INFO] [stdout] --> src/node/read/node_reader.rs:347:7 [INFO] [stdout] | [INFO] [stdout] 347 | trait VecEx { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MethodNodeContext` is never constructed [INFO] [stdout] --> src/node/read/node_reader.rs:368:19 [INFO] [stdout] | [INFO] [stdout] 368 | pub(crate) struct MethodNodeContext { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `method_from_jvms` is never used [INFO] [stdout] --> src/node/read/impls.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | fn method_from_jvms(class_context: &mut ClassNodeContext, method_info: Rc) -> AsmResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `utf8_to_mutf8` is never used [INFO] [stdout] --> src/util.rs:114:8 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn utf8_to_mutf8(utf8: &[u8]) -> AsmResult> { [INFO] [stdout] | ^^^^^^^^^^^^^ [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/jvms/write/mod.rs:14:15 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn write_class_file(write: T, class_file: ClassFile) -> AsmResult<()> { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 12 | let mut writer = BufWriter::new(write); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 13 | let bytes = Self::write_class_bytes(vec![], class_file)?; [INFO] [stdout] 14 | match writer.write(bytes.as_slice()) { [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] [stderr] error: could not compile `java_asm` (lib test) due to 2 previous errors; 16 warnings emitted [INFO] [stdout] error: aborting due to 1 previous error; 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `java_asm` (lib) due to 2 previous errors; 16 warnings emitted [INFO] running `Command { std: "docker" "inspect" "7f5fb6f94b0a09f8626ea4bcdeac4ce204516c7c133a9fb56bf842f4cfc22fa9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f5fb6f94b0a09f8626ea4bcdeac4ce204516c7c133a9fb56bf842f4cfc22fa9", kill_on_drop: false }` [INFO] [stdout] 7f5fb6f94b0a09f8626ea4bcdeac4ce204516c7c133a9fb56bf842f4cfc22fa9