[INFO] fetching crate java_asm 0.0.4... [INFO] checking java_asm-0.0.4 against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] extracting crate java_asm 0.0.4 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate java_asm 0.0.4 on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "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-6-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "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.76) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded java_asm_macro v0.0.4 [INFO] [stderr] Downloaded java_asm_internal v0.0.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] de97503f554a89ad76e880d1678749fb8dc41a5304948186624c8c3740d93f6f [INFO] running `Command { std: "docker" "start" "-a" "de97503f554a89ad76e880d1678749fb8dc41a5304948186624c8c3740d93f6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "de97503f554a89ad76e880d1678749fb8dc41a5304948186624c8c3740d93f6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de97503f554a89ad76e880d1678749fb8dc41a5304948186624c8c3740d93f6f", kill_on_drop: false }` [INFO] [stdout] de97503f554a89ad76e880d1678749fb8dc41a5304948186624c8c3740d93f6f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "-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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cbe59b0b35bc51347bba4d8d1a29e32a429a4663231b91ea3f60e5118a25e66f [INFO] running `Command { std: "docker" "start" "-a" "cbe59b0b35bc51347bba4d8d1a29e32a429a4663231b91ea3f60e5118a25e66f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling quote v1.0.37 [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: 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] 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] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.36s [INFO] running `Command { std: "docker" "inspect" "cbe59b0b35bc51347bba4d8d1a29e32a429a4663231b91ea3f60e5118a25e66f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cbe59b0b35bc51347bba4d8d1a29e32a429a4663231b91ea3f60e5118a25e66f", kill_on_drop: false }` [INFO] [stdout] cbe59b0b35bc51347bba4d8d1a29e32a429a4663231b91ea3f60e5118a25e66f [INFO] checking java_asm-0.0.4 against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] extracting crate java_asm 0.0.4 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate java_asm 0.0.4 on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "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-6-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "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.76) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9c20087add9b60c4eba55c6fe37868af5d98be3daf43088191ec1fa39be0db49 [INFO] running `Command { std: "docker" "start" "-a" "9c20087add9b60c4eba55c6fe37868af5d98be3daf43088191ec1fa39be0db49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9c20087add9b60c4eba55c6fe37868af5d98be3daf43088191ec1fa39be0db49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c20087add9b60c4eba55c6fe37868af5d98be3daf43088191ec1fa39be0db49", kill_on_drop: false }` [INFO] [stdout] 9c20087add9b60c4eba55c6fe37868af5d98be3daf43088191ec1fa39be0db49 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b054c42e96e04c0d734748f11fb2850344207f5427a1baf4b305fed670da72df [INFO] running `Command { std: "docker" "start" "-a" "b054c42e96e04c0d734748f11fb2850344207f5427a1baf4b305fed670da72df", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling quote v1.0.37 [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::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: `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: `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: 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: 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] error: aborting due to 1 previous error; 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `java_asm` (lib test) due to 2 previous errors; 16 warnings emitted [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" "b054c42e96e04c0d734748f11fb2850344207f5427a1baf4b305fed670da72df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b054c42e96e04c0d734748f11fb2850344207f5427a1baf4b305fed670da72df", kill_on_drop: false }` [INFO] [stdout] b054c42e96e04c0d734748f11fb2850344207f5427a1baf4b305fed670da72df