[INFO] cloning repository https://github.com/951mmm/jrm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/951mmm/jrm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F951mmm%2Fjrm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F951mmm%2Fjrm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 38fc94bbe25e7e4fd6ca05bcd3eab3d838a63eb0 [INFO] building 951mmm/jrm against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F951mmm%2Fjrm" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/951mmm/jrm [INFO] finished tweaking git repo https://github.com/951mmm/jrm [INFO] tweaked toml for git repo https://github.com/951mmm/jrm written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/951mmm/jrm on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/951mmm/jrm 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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3bbaf5cbf040483108fcb899c755eb5d3af40c78dabec587b0b20000019526c8 [INFO] running `Command { std: "docker" "start" "-a" "3bbaf5cbf040483108fcb899c755eb5d3af40c78dabec587b0b20000019526c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3bbaf5cbf040483108fcb899c755eb5d3af40c78dabec587b0b20000019526c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3bbaf5cbf040483108fcb899c755eb5d3af40c78dabec587b0b20000019526c8", kill_on_drop: false }` [INFO] [stdout] 3bbaf5cbf040483108fcb899c755eb5d3af40c78dabec587b0b20000019526c8 [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" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c81c086aafab49422776f14eed26b19439e6883f5eead4617f5a8e6d4bb708fa [INFO] running `Command { std: "docker" "start" "-a" "c81c086aafab49422776f14eed26b19439e6883f5eead4617f5a8e6d4bb708fa", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling prettyplease v0.2.35 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling winnow v0.7.12 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling convert_case v0.8.0 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling rstest_macros v0.25.0 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling rust-embed-utils v8.7.2 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling darling_core v0.20.11 (https://github.com/TedDriggs/darling?rev=aff17ba27f931ccf984eb55683f6f376ba77791d#aff17ba2) [INFO] [stderr] Compiling macro-utils v0.1.0 (/opt/rustwide/workdir/crates/macro-utils) [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling rust-embed-impl v8.7.2 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling bpaf_derive v0.5.17 [INFO] [stderr] Compiling base-macro v0.1.0 (/opt/rustwide/workdir/crates/base-macro) [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling rust-embed v8.7.2 [INFO] [stderr] Compiling darling_macro v0.20.11 (https://github.com/TedDriggs/darling?rev=aff17ba27f931ccf984eb55683f6f376ba77791d#aff17ba2) [INFO] [stderr] Compiling bpaf v0.9.20 [INFO] [stderr] Compiling darling v0.20.11 (https://github.com/TedDriggs/darling?rev=aff17ba27f931ccf984eb55683f6f376ba77791d#aff17ba2) [INFO] [stderr] Compiling jrm-macro v0.1.0 (/opt/rustwide/workdir/crates/jrm-macro) [INFO] [stdout] warning: unused imports: `Case` and `Casing` [INFO] [stdout] --> crates/jrm-macro/src/define_instrucitons.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use convert_case::{Case, Casing}; [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `darling::FromMeta` [INFO] [stdout] --> crates/jrm-macro/src/define_instrucitons.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use darling::FromMeta; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ItemMacro` and `self` [INFO] [stdout] --> crates/jrm-macro/src/define_instrucitons.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | Ident, ItemFn, ItemMacro, Lit, Macro, Token, braced, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 6 | parse::{self, Parse}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rstest v0.25.0 [INFO] [stderr] Compiling jrm v0.1.0 (/opt/rustwide/workdir/crates/jrm) [INFO] [stdout] warning: unused import: `fmt::Debug` [INFO] [stdout] --> crates/jrm/src/class_file_parser.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | fmt::Debug, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ClassParser` and `KlassDebug` [INFO] [stdout] --> crates/jrm/src/class_file_parser.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | use jrm_macro::{ClassParser, KlassDebug, generate_ux, impl_class_parser_for_vec}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ConstantClass` and `attributes::Attribute` [INFO] [stdout] --> crates/jrm/src/class_file_parser.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | attributes::Attribute, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | class_reader::ClassReader, [INFO] [stdout] 15 | constant_pool::{ConstantClass, ConstantPool}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ops::Deref` and `sync::Arc` [INFO] [stdout] --> crates/jrm/src/constant_pool.rs:1:52 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fmt::Debug, hint::unreachable_unchecked, ops::Deref, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ops::Index` [INFO] [stdout] --> crates/jrm/src/runtime/thread.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{ops::Index, sync::Arc, usize}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rust_embed::RustEmbed` [INFO] [stdout] --> crates/jrm/src/test_context.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rust_embed::RustEmbed; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> crates/jrm/src/main.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | mod test_context; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ClassParser`, `ParserContext`, `class_reader::ClassReader`, and `instance_klass::InstanceKlass` [INFO] [stdout] --> crates/jrm/src/test_context.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | class_file_parser::{ClassParser, ParserContext}, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] 5 | class_reader::ClassReader, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | instance_klass::InstanceKlass, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> crates/jrm/src/main.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | mod test_context; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Flags` [INFO] [stdout] --> crates/jrm/src/instance_klass.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use bitflags::{Flags, bitflags}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> crates/jrm/src/runtime/frame.rs:41:34 [INFO] [stdout] | [INFO] [stdout] 41 | fn get>(&self, index: usize) -> T { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> crates/jrm/src/runtime/frame.rs:44:38 [INFO] [stdout] | [INFO] [stdout] 44 | fn set>(&mut self, index: usize, operand: T) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `operand` [INFO] [stdout] --> crates/jrm/src/runtime/frame.rs:44:52 [INFO] [stdout] | [INFO] [stdout] 44 | fn set>(&mut self, index: usize, operand: T) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> crates/jrm/src/attributes/mod.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | attribute_enum! {SourceFile, Code, LineNumberTable, LocalVariableTable} [INFO] [stdout] | ^^^^^^^^^^ field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Attribute` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 7 - attribute_enum! {SourceFile, Code, LineNumberTable, LocalVariableTable} [INFO] [stdout] 7 + attribute_enum! {(), Code, LineNumberTable, LocalVariableTable} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `setup` is never used [INFO] [stdout] --> crates/jrm/src/util.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn setup() -> anyhow::Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `find_method` and `get_constant_pool` are never used [INFO] [stdout] --> crates/jrm/src/instance_klass.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 107 | impl InstanceKlass { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] 108 | pub fn find_method(&self, name: &str, descriptor: &str) -> FrameMethod { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | pub fn get_constant_pool(&self) -> Arc { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `access_flags`, `name_index`, `descriptor_index`, `attributes_count`, and `attributes` are never read [INFO] [stdout] --> crates/jrm/src/instance_klass.rs:153:5 [INFO] [stdout] | [INFO] [stdout] 152 | pub struct Field { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 153 | access_flags: FieldAccessFlags, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 154 | name_index: u16, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 155 | descriptor_index: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 156 | #[count(set)] [INFO] [stdout] 157 | attributes_count: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 158 | #[count(impled)] [INFO] [stdout] 159 | attributes: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Field` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `access_flags`, `name_index`, `descriptor_index`, `attributes_count`, and `attributes` are never read [INFO] [stdout] --> crates/jrm/src/instance_klass.rs:164:5 [INFO] [stdout] | [INFO] [stdout] 163 | pub struct Method { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 164 | access_flags: MethodAccessFlags, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 165 | name_index: u16, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 166 | descriptor_index: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 167 | #[count(set)] [INFO] [stdout] 168 | attributes_count: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 169 | #[count(impled)] [INFO] [stdout] 170 | attributes: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Method` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> crates/jrm/src/runtime/slot.rs:71:22 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct ObjectRef(u32); [INFO] [stdout] | --------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `ObjectRef` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ThreadState` is never used [INFO] [stdout] --> crates/jrm/src/runtime/thread.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum ThreadState { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Thread` is never constructed [INFO] [stdout] --> crates/jrm/src/runtime/thread.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Thread { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `current_frame_mut`, `current_frame`, `inc_pc`, and `set_pc` are never used [INFO] [stdout] --> crates/jrm/src/runtime/thread.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl Thread { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 46 | pub fn new(id: u64, method: Method, constant_pool: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn current_frame_mut(&mut self) -> &mut Frame { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn current_frame(&self) -> &Frame { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | fn inc_pc(&mut self, val: u16) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | fn set_pc(&mut self, setter: F) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `read_path` is never used [INFO] [stdout] --> crates/jrm/src/class_reader.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl ClassReader { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 27 | pub fn read_path(path: String) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start_pc`, `end_pc`, `handler_pc`, and `catch_type` are never read [INFO] [stdout] --> crates/jrm/src/attributes/code.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Exception { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 23 | start_pc: u16, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 24 | end_pc: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 25 | handler_pc: u16, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 26 | catch_type: u16, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Exception` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start_pc` and `line_number` are never read [INFO] [stdout] --> crates/jrm/src/attributes/code.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct LineNumber { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 34 | pub start_pc: u16, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 35 | pub line_number: u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LineNumber` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start_pc`, `length`, `name_index`, `description_index`, and `index` are never read [INFO] [stdout] --> crates/jrm/src/attributes/code.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct LocalVariable { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 48 | pub start_pc: u16, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 49 | pub length: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 50 | pub name_index: u16, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 51 | pub description_index: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 52 | pub index: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LocalVariable` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OperandStack` is never constructed [INFO] [stdout] --> crates/jrm/src/runtime/frame.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct OperandStack { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `OperandStackLike` is never used [INFO] [stdout] --> crates/jrm/src/runtime/frame.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait OperandStackLike { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> crates/jrm/src/runtime/frame.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl OperandStack { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 25 | pub fn new(max_size: u16) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `LocalVarsLike` is never used [INFO] [stdout] --> crates/jrm/src/runtime/frame.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | pub trait LocalVarsLike { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LocalVars` is never constructed [INFO] [stdout] --> crates/jrm/src/runtime/frame.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct LocalVars { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Method` is never constructed [INFO] [stdout] --> crates/jrm/src/runtime/frame.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct Method { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Frame` is never constructed [INFO] [stdout] --> crates/jrm/src/runtime/frame.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct Frame { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> crates/jrm/src/runtime/frame.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 86 | impl Frame { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 87 | pub fn new(method: Method, return_pc: u16) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> crates/jrm/src/attributes/mod.rs:7:30 [INFO] [stdout] | [INFO] [stdout] 7 | attribute_enum! {SourceFile, Code, LineNumberTable, LocalVariableTable} [INFO] [stdout] | ^^^^ field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Attribute` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 7 - attribute_enum! {SourceFile, Code, LineNumberTable, LocalVariableTable} [INFO] [stdout] 7 + attribute_enum! {SourceFile, (), LineNumberTable, LocalVariableTable} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> crates/jrm/src/attributes/mod.rs:7:36 [INFO] [stdout] | [INFO] [stdout] 7 | attribute_enum! {SourceFile, Code, LineNumberTable, LocalVariableTable} [INFO] [stdout] | ^^^^^^^^^^^^^^^ field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Attribute` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 7 - attribute_enum! {SourceFile, Code, LineNumberTable, LocalVariableTable} [INFO] [stdout] 7 + attribute_enum! {SourceFile, Code, (), LocalVariableTable} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> crates/jrm/src/attributes/mod.rs:7:53 [INFO] [stdout] | [INFO] [stdout] 7 | attribute_enum! {SourceFile, Code, LineNumberTable, LocalVariableTable} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Attribute` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 7 - attribute_enum! {SourceFile, Code, LineNumberTable, LocalVariableTable} [INFO] [stdout] 7 + attribute_enum! {SourceFile, Code, LineNumberTable, ()} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RuntimeError` is never used [INFO] [stdout] --> crates/jrm/src/runtime/mod.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum RuntimeError { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.73s [INFO] running `Command { std: "docker" "inspect" "c81c086aafab49422776f14eed26b19439e6883f5eead4617f5a8e6d4bb708fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c81c086aafab49422776f14eed26b19439e6883f5eead4617f5a8e6d4bb708fa", kill_on_drop: false }` [INFO] [stdout] c81c086aafab49422776f14eed26b19439e6883f5eead4617f5a8e6d4bb708fa [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" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1fce577e8c81c2958513048d38cd293b1efb3a88ac9541b76e94f7d8b65dbbd7 [INFO] running `Command { std: "docker" "start" "-a" "1fce577e8c81c2958513048d38cd293b1efb3a88ac9541b76e94f7d8b65dbbd7", kill_on_drop: false }` [INFO] [stderr] Compiling base-macro v0.1.0 (/opt/rustwide/workdir/crates/base-macro) [INFO] [stderr] Compiling macro-utils v0.1.0 (/opt/rustwide/workdir/crates/macro-utils) [INFO] [stderr] Compiling jrm-macro v0.1.0 (/opt/rustwide/workdir/crates/jrm-macro) [INFO] [stdout] warning: unused imports: `Case` and `Casing` [INFO] [stdout] --> crates/jrm-macro/src/define_instrucitons.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use convert_case::{Case, Casing}; [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `darling::FromMeta` [INFO] [stdout] --> crates/jrm-macro/src/define_instrucitons.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use darling::FromMeta; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ItemMacro` and `self` [INFO] [stdout] --> crates/jrm-macro/src/define_instrucitons.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | Ident, ItemFn, ItemMacro, Lit, Macro, Token, braced, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 6 | parse::{self, Parse}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Case` and `Casing` [INFO] [stdout] --> crates/jrm-macro/src/define_instrucitons.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use convert_case::{Case, Casing}; [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `darling::FromMeta` [INFO] [stdout] --> crates/jrm-macro/src/define_instrucitons.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use darling::FromMeta; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ItemMacro` and `self` [INFO] [stdout] --> crates/jrm-macro/src/define_instrucitons.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | Ident, ItemFn, ItemMacro, Lit, Macro, Token, braced, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 6 | parse::{self, Parse}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling jrm v0.1.0 (/opt/rustwide/workdir/crates/jrm) [INFO] [stdout] warning: unused import: `fmt::Debug` [INFO] [stdout] --> crates/jrm/src/class_file_parser.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | fmt::Debug, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ClassParser` and `KlassDebug` [INFO] [stdout] --> crates/jrm/src/class_file_parser.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | use jrm_macro::{ClassParser, KlassDebug, generate_ux, impl_class_parser_for_vec}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ConstantClass` and `attributes::Attribute` [INFO] [stdout] --> crates/jrm/src/class_file_parser.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | attributes::Attribute, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | class_reader::ClassReader, [INFO] [stdout] 15 | constant_pool::{ConstantClass, ConstantPool}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ops::Deref` and `sync::Arc` [INFO] [stdout] --> crates/jrm/src/constant_pool.rs:1:52 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fmt::Debug, hint::unreachable_unchecked, ops::Deref, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LocalVarsLike`, `LocalVars`, and `slot::Slot` [INFO] [stdout] --> crates/jrm/src/runtime/frame.rs:110:24 [INFO] [stdout] | [INFO] [stdout] 110 | frame::{Frame, LocalVars, LocalVarsLike, OperandStack, OperandStackLike}, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] 111 | slot::Slot, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ops::Index` [INFO] [stdout] --> crates/jrm/src/runtime/thread.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{ops::Index, sync::Arc, usize}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Flags` [INFO] [stdout] --> crates/jrm/src/instance_klass.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use bitflags::{Flags, bitflags}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> crates/jrm/src/constant_pool.rs:209:13 [INFO] [stdout] | [INFO] [stdout] 209 | let i = 0_u16; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> crates/jrm/src/runtime/frame.rs:41:34 [INFO] [stdout] | [INFO] [stdout] 41 | fn get>(&self, index: usize) -> T { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> crates/jrm/src/runtime/frame.rs:44:38 [INFO] [stdout] | [INFO] [stdout] 44 | fn set>(&mut self, index: usize, operand: T) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `operand` [INFO] [stdout] --> crates/jrm/src/runtime/frame.rs:44:52 [INFO] [stdout] | [INFO] [stdout] 44 | fn set>(&mut self, index: usize, operand: T) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> crates/jrm/src/attributes/mod.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | attribute_enum! {SourceFile, Code, LineNumberTable, LocalVariableTable} [INFO] [stdout] | ^^^^^^^^^^ field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Attribute` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 7 - attribute_enum! {SourceFile, Code, LineNumberTable, LocalVariableTable} [INFO] [stdout] 7 + attribute_enum! {(), Code, LineNumberTable, LocalVariableTable} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RuntimeError` is never used [INFO] [stdout] --> crates/jrm/src/runtime/mod.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum RuntimeError { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `LocalVarsLike` is never used [INFO] [stdout] --> crates/jrm/src/runtime/frame.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | pub trait LocalVarsLike { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `descriptor` and `code` are never read [INFO] [stdout] --> crates/jrm/src/runtime/frame.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct Method { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 52 | pub name: String, [INFO] [stdout] 53 | pub descriptor: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub code: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Method` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `method` is never read [INFO] [stdout] --> crates/jrm/src/runtime/frame.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct Frame { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 64 | method: Method, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> crates/jrm/src/runtime/slot.rs:71:22 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct ObjectRef(u32); [INFO] [stdout] | --------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `ObjectRef` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Blocked` and `Terminated` are never constructed [INFO] [stdout] --> crates/jrm/src/runtime/thread.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum ThreadState { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 15 | Running, [INFO] [stdout] 16 | Blocked, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 17 | Terminated, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `state` and `constant_pool` are never read [INFO] [stdout] --> crates/jrm/src/runtime/thread.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Thread { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | state: ThreadState, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 23 | constant_pool: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_pc` is never used [INFO] [stdout] --> crates/jrm/src/runtime/thread.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 45 | impl Thread { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 71 | fn set_pc(&mut self, setter: F) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `setup` is never used [INFO] [stdout] --> crates/jrm/src/util.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn setup() -> anyhow::Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_constant_pool` is never used [INFO] [stdout] --> crates/jrm/src/instance_klass.rs:146:12 [INFO] [stdout] | [INFO] [stdout] 107 | impl InstanceKlass { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 146 | pub fn get_constant_pool(&self) -> Arc { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `access_flags`, `name_index`, `descriptor_index`, `attributes_count`, and `attributes` are never read [INFO] [stdout] --> crates/jrm/src/instance_klass.rs:153:5 [INFO] [stdout] | [INFO] [stdout] 152 | pub struct Field { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 153 | access_flags: FieldAccessFlags, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 154 | name_index: u16, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 155 | descriptor_index: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 156 | #[count(set)] [INFO] [stdout] 157 | attributes_count: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 158 | #[count(impled)] [INFO] [stdout] 159 | attributes: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Field` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `attributes_count` is never read [INFO] [stdout] --> crates/jrm/src/instance_klass.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 163 | pub struct Method { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 168 | attributes_count: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Method` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start_pc`, `end_pc`, `handler_pc`, and `catch_type` are never read [INFO] [stdout] --> crates/jrm/src/attributes/code.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Exception { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 23 | start_pc: u16, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 24 | end_pc: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 25 | handler_pc: u16, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 26 | catch_type: u16, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Exception` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start_pc` and `line_number` are never read [INFO] [stdout] --> crates/jrm/src/attributes/code.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct LineNumber { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 34 | pub start_pc: u16, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 35 | pub line_number: u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LineNumber` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start_pc`, `length`, `name_index`, `description_index`, and `index` are never read [INFO] [stdout] --> crates/jrm/src/attributes/code.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct LocalVariable { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 48 | pub start_pc: u16, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 49 | pub length: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 50 | pub name_index: u16, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 51 | pub description_index: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 52 | pub index: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LocalVariable` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `read_path` is never used [INFO] [stdout] --> crates/jrm/src/class_reader.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl ClassReader { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 27 | pub fn read_path(path: String) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> crates/jrm/src/attributes/mod.rs:7:36 [INFO] [stdout] | [INFO] [stdout] 7 | attribute_enum! {SourceFile, Code, LineNumberTable, LocalVariableTable} [INFO] [stdout] | ^^^^^^^^^^^^^^^ field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Attribute` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 7 - attribute_enum! {SourceFile, Code, LineNumberTable, LocalVariableTable} [INFO] [stdout] 7 + attribute_enum! {SourceFile, Code, (), LocalVariableTable} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> crates/jrm/src/attributes/mod.rs:7:53 [INFO] [stdout] | [INFO] [stdout] 7 | attribute_enum! {SourceFile, Code, LineNumberTable, LocalVariableTable} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Attribute` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 7 - attribute_enum! {SourceFile, Code, LineNumberTable, LocalVariableTable} [INFO] [stdout] 7 + attribute_enum! {SourceFile, Code, LineNumberTable, ()} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.01s [INFO] running `Command { std: "docker" "inspect" "1fce577e8c81c2958513048d38cd293b1efb3a88ac9541b76e94f7d8b65dbbd7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1fce577e8c81c2958513048d38cd293b1efb3a88ac9541b76e94f7d8b65dbbd7", kill_on_drop: false }` [INFO] [stdout] 1fce577e8c81c2958513048d38cd293b1efb3a88ac9541b76e94f7d8b65dbbd7