[INFO] cloning repository https://github.com/shautvast/java.rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shautvast/java.rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshautvast%2Fjava.rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshautvast%2Fjava.rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ccf7426086152edd2c12ac9e8b29c2f805274b87 [INFO] checking shautvast/java.rs/ccf7426086152edd2c12ac9e8b29c2f805274b87 against master#0f442e265c165c0a78633bef98de18517815150c for pr-129073 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshautvast%2Fjava.rs" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/shautvast/java.rs on toolchain 0f442e265c165c0a78633bef98de18517815150c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0f442e265c165c0a78633bef98de18517815150c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/shautvast/java.rs [INFO] finished tweaking git repo https://github.com/shautvast/java.rs [INFO] tweaked toml for git repo https://github.com/shautvast/java.rs written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/shautvast/java.rs 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" "+0f442e265c165c0a78633bef98de18517815150c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+0f442e265c165c0a78633bef98de18517815150c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 27bf772a848677032f81471a5217d40f1033aee19a3af66ab39b6783028a243e [INFO] running `Command { std: "docker" "start" "-a" "27bf772a848677032f81471a5217d40f1033aee19a3af66ab39b6783028a243e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "27bf772a848677032f81471a5217d40f1033aee19a3af66ab39b6783028a243e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27bf772a848677032f81471a5217d40f1033aee19a3af66ab39b6783028a243e", kill_on_drop: false }` [INFO] [stdout] 27bf772a848677032f81471a5217d40f1033aee19a3af66ab39b6783028a243e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+0f442e265c165c0a78633bef98de18517815150c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d89a53384d71bdf06db14df80283984c86b46d46e268b8aa730ee214c9e6830d [INFO] running `Command { std: "docker" "start" "-a" "d89a53384d71bdf06db14df80283984c86b46d46e268b8aa730ee214c9e6830d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking cpufeatures v0.2.9 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Compiling rustix v0.38.20 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling zstd-safe v5.0.2+zstd.1.5.2 [INFO] [stderr] Checking linux-raw-sys v0.4.10 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking time-core v0.1.2 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking deranged v0.3.8 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking termcolor v1.3.0 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking whoami v1.4.1 [INFO] [stderr] Checking flate2 v1.0.27 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking time v0.3.29 [INFO] [stderr] Checking getrandom v0.2.11 [INFO] [stderr] Compiling jobserver v0.1.26 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking password-hash v0.4.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Compiling zstd-sys v2.0.8+zstd.1.5.5 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking aes v0.8.3 [INFO] [stderr] Checking pbkdf2 v0.11.0 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking bzip2 v0.4.4 [INFO] [stderr] Checking env_logger v0.10.0 [INFO] [stderr] Checking zstd v0.11.2+zstd.1.5.2 [INFO] [stderr] Checking zip v0.6.6 [INFO] [stderr] Checking java_rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `AddAssign` and `Add` [INFO] [stdout] --> src/value.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ops::{Add, AddAssign}; [INFO] [stdout] | ^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Pointer` [INFO] [stdout] --> src/vm/object.rs:7:34 [INFO] [stdout] | [INFO] [stdout] 7 | use std::fmt::{Debug, Formatter, Pointer}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Class` [INFO] [stdout] --> src/vm/runtime.rs:18:36 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::vm::object::ObjectRef::{Class, Object}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/vm/runtime.rs:981:29 [INFO] [stdout] | [INFO] [stdout] 981 | I32(l) => *l += (inc as i32), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 981 - I32(l) => *l += (inc as i32), [INFO] [stdout] 981 + I32(l) => *l += inc as i32, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/vm/runtime.rs:982:29 [INFO] [stdout] | [INFO] [stdout] 982 | I64(l) => *l += (inc as i64), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 982 - I64(l) => *l += (inc as i64), [INFO] [stdout] 982 + I64(l) => *l += inc as i64, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/vm/runtime.rs:983:29 [INFO] [stdout] | [INFO] [stdout] 983 | F32(l) => *l += (inc as f32), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 983 - F32(l) => *l += (inc as f32), [INFO] [stdout] 983 + F32(l) => *l += inc as f32, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/vm/runtime.rs:984:29 [INFO] [stdout] | [INFO] [stdout] 984 | F64(l) => *l += (inc as f64), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 984 - F64(l) => *l += (inc as f64), [INFO] [stdout] 984 + F64(l) => *l += inc as f64, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AddAssign` and `Add` [INFO] [stdout] --> src/value.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ops::{Add, AddAssign}; [INFO] [stdout] | ^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Pointer` [INFO] [stdout] --> src/vm/object.rs:7:34 [INFO] [stdout] | [INFO] [stdout] 7 | use std::fmt::{Debug, Formatter, Pointer}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Class` [INFO] [stdout] --> src/vm/runtime.rs:18:36 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::vm::object::ObjectRef::{Class, Object}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/vm/runtime.rs:981:29 [INFO] [stdout] | [INFO] [stdout] 981 | I32(l) => *l += (inc as i32), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 981 - I32(l) => *l += (inc as i32), [INFO] [stdout] 981 + I32(l) => *l += inc as i32, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/vm/runtime.rs:982:29 [INFO] [stdout] | [INFO] [stdout] 982 | I64(l) => *l += (inc as i64), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 982 - I64(l) => *l += (inc as i64), [INFO] [stdout] 982 + I64(l) => *l += inc as i64, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/vm/runtime.rs:983:29 [INFO] [stdout] | [INFO] [stdout] 983 | F32(l) => *l += (inc as f32), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 983 - F32(l) => *l += (inc as f32), [INFO] [stdout] 983 + F32(l) => *l += inc as f32, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/vm/runtime.rs:984:29 [INFO] [stdout] | [INFO] [stdout] 984 | F64(l) => *l += (inc as f64), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 984 - F64(l) => *l += (inc as f64), [INFO] [stdout] 984 + F64(l) => *l += inc as f64, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior may be unexpected on Windows. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/vm/native.rs:233:30 [INFO] [stdout] | [INFO] [stdout] 233 | let home = std::env::home_dir().unwrap(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior may be unexpected on Windows. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/vm/native.rs:233:30 [INFO] [stdout] | [INFO] [stdout] 233 | let home = std::env::home_dir().unwrap(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/classloader/mod.rs:241:9 [INFO] [stdout] | [INFO] [stdout] 241 | let name = constant_pool.get(&name_index); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/classloader/mod.rs:241:9 [INFO] [stdout] | [INFO] [stdout] 241 | let name = constant_pool.get(&name_index); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `type_name` is never read [INFO] [stdout] --> src/classmanager.rs:101:17 [INFO] [stdout] | [INFO] [stdout] 101 | type_name = type_name[1..type_name.len()].to_owned(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `type_name` is never read [INFO] [stdout] --> src/classmanager.rs:101:17 [INFO] [stdout] | [INFO] [stdout] 101 | type_name = type_name[1..type_name.len()].to_owned(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/vm/runtime.rs:819:17 [INFO] [stdout] | [INFO] [stdout] 222 | DUP => { [INFO] [stdout] | --- matches all the values already [INFO] [stdout] ... [INFO] [stdout] 819 | DUP => { [INFO] [stdout] | ^^^ unreachable pattern [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/vm/runtime.rs:819:17 [INFO] [stdout] | [INFO] [stdout] 222 | DUP => { [INFO] [stdout] | --- matches all the values already [INFO] [stdout] ... [INFO] [stdout] 819 | DUP => { [INFO] [stdout] | ^^^ unreachable pattern [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Opcode` is more private than the item `Method::new` [INFO] [stdout] --> src/classloader/classdef.rs:342:5 [INFO] [stdout] | [INFO] [stdout] 342 | / pub fn new( [INFO] [stdout] 343 | | constant_pool: Rc>, [INFO] [stdout] 344 | | access_flags: u16, [INFO] [stdout] 345 | | name_index: u16, [INFO] [stdout] ... | [INFO] [stdout] 348 | | code: Vec, [INFO] [stdout] 349 | | ) -> Self { [INFO] [stdout] | |_____________^ associated function `Method::new` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Opcode` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/vm/opcodes.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) enum Opcode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Opcode` is more private than the item `Method::new` [INFO] [stdout] --> src/classloader/classdef.rs:342:5 [INFO] [stdout] | [INFO] [stdout] 342 | / pub fn new( [INFO] [stdout] 343 | | constant_pool: Rc>, [INFO] [stdout] 344 | | access_flags: u16, [INFO] [stdout] 345 | | name_index: u16, [INFO] [stdout] ... | [INFO] [stdout] 348 | | code: Vec, [INFO] [stdout] 349 | | ) -> Self { [INFO] [stdout] | |_____________^ associated function `Method::new` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Opcode` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/vm/opcodes.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) enum Opcode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `minor_version`, `major_version`, `access_flags`, and `attributes` are never read [INFO] [stdout] --> src/classloader/classdef.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) struct ClassDef { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 12 | pub minor_version: u16, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 13 | pub major_version: u16, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 14 | pub constant_pool: Rc>, [INFO] [stdout] 15 | pub access_flags: u16, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub attributes: HashMap, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `minor_version`, `major_version`, `access_flags`, and `attributes` are never read [INFO] [stdout] --> src/classloader/classdef.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) struct ClassDef { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 12 | pub minor_version: u16, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 13 | pub major_version: u16, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 14 | pub constant_pool: Rc>, [INFO] [stdout] 15 | pub access_flags: u16, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub attributes: HashMap, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `version` and `cp_method_ref` are never used [INFO] [stdout] --> src/classloader/classdef.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl ClassDef { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn version(&self) -> (u16, u16) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn cp_method_ref(&self, index: &u16) -> (&u16, &u16) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `version` and `cp_method_ref` are never used [INFO] [stdout] --> src/classloader/classdef.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl ClassDef { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn version(&self) -> (u16, u16) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn cp_method_ref(&self, index: &u16) -> (&u16, &u16) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `default`, `low`, `high`, and `offsets` are never read [INFO] [stdout] --> src/classloader/io.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 189 | pub(crate) struct Tableswitch { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 190 | default: i32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 191 | low: i32, [INFO] [stdout] | ^^^ [INFO] [stdout] 192 | high: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 193 | offsets: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Tableswitch` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `default` and `match_offset_pairs` are never read [INFO] [stdout] --> src/classloader/io.rs:198:5 [INFO] [stdout] | [INFO] [stdout] 197 | pub(crate) struct Lookupswitch { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 198 | default: i32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 199 | match_offset_pairs: Vec<(i32, i32)>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Lookupswitch` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `default`, `low`, `high`, and `offsets` are never read [INFO] [stdout] --> src/classloader/io.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 189 | pub(crate) struct Tableswitch { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 190 | default: i32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 191 | low: i32, [INFO] [stdout] | ^^^ [INFO] [stdout] 192 | high: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 193 | offsets: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Tableswitch` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_method` is never used [INFO] [stdout] --> src/classmanager.rs:128:19 [INFO] [stdout] | [INFO] [stdout] 37 | impl ClassManager { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 128 | pub(crate) fn get_method(&self, class_name: &str, method_name: &str) -> Option<&Method> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ArrayType` is never used [INFO] [stdout] --> src/vm/object.rs:118:10 [INFO] [stdout] | [INFO] [stdout] 118 | pub enum ArrayType { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `default` and `match_offset_pairs` are never read [INFO] [stdout] --> src/classloader/io.rs:198:5 [INFO] [stdout] | [INFO] [stdout] 197 | pub(crate) struct Lookupswitch { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 198 | default: i32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 199 | match_offset_pairs: Vec<(i32, i32)>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Lookupswitch` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_method` is never used [INFO] [stdout] --> src/classmanager.rs:128:19 [INFO] [stdout] | [INFO] [stdout] 37 | impl ClassManager { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 128 | pub(crate) fn get_method(&self, class_name: &str, method_name: &str) -> Option<&Method> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/vm/opcodes.rs:18:16 [INFO] [stdout] | [INFO] [stdout] 18 | WIDE_ILOAD(u16), [INFO] [stdout] | ---------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Opcode` has derived impls for the traits `Debug` and `Clone`, but these are 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] 18 | WIDE_ILOAD(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ArrayType` is never used [INFO] [stdout] --> src/vm/object.rs:118:10 [INFO] [stdout] | [INFO] [stdout] 118 | pub enum ArrayType { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/vm/opcodes.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 20 | WIDE_LLOAD(u16), [INFO] [stdout] | ---------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Opcode` has derived impls for the traits `Debug` and `Clone`, but these are 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] 20 | WIDE_LLOAD(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/vm/opcodes.rs:18:16 [INFO] [stdout] | [INFO] [stdout] 18 | WIDE_ILOAD(u16), [INFO] [stdout] | ---------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Opcode` has derived impls for the traits `Debug` and `Clone`, but these are 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] 18 | WIDE_ILOAD(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/vm/opcodes.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 22 | WIDE_FLOAD(u16), [INFO] [stdout] | ---------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Opcode` has derived impls for the traits `Debug` and `Clone`, but these are 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] 22 | WIDE_FLOAD(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/vm/opcodes.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 20 | WIDE_LLOAD(u16), [INFO] [stdout] | ---------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Opcode` has derived impls for the traits `Debug` and `Clone`, but these are 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] 20 | WIDE_LLOAD(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/vm/opcodes.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 24 | WIDE_DLOAD(u16), [INFO] [stdout] | ---------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Opcode` has derived impls for the traits `Debug` and `Clone`, but these are 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] 24 | WIDE_DLOAD(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/vm/opcodes.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 22 | WIDE_FLOAD(u16), [INFO] [stdout] | ---------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Opcode` has derived impls for the traits `Debug` and `Clone`, but these are 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] 22 | WIDE_FLOAD(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/vm/opcodes.rs:26:16 [INFO] [stdout] | [INFO] [stdout] 26 | WIDE_ALOAD(u16), [INFO] [stdout] | ---------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Opcode` has derived impls for the traits `Debug` and `Clone`, but these are 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] 26 | WIDE_ALOAD(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/vm/opcodes.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | WIDE_ISTORE(u16), [INFO] [stdout] | ----------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Opcode` has derived impls for the traits `Debug` and `Clone`, but these are 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] 36 | WIDE_ISTORE(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/vm/opcodes.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 24 | WIDE_DLOAD(u16), [INFO] [stdout] | ---------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Opcode` has derived impls for the traits `Debug` and `Clone`, but these are 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] 24 | WIDE_DLOAD(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/vm/opcodes.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | WIDE_LSTORE(u16), [INFO] [stdout] | ----------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Opcode` has derived impls for the traits `Debug` and `Clone`, but these are 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] 38 | WIDE_LSTORE(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/vm/opcodes.rs:26:16 [INFO] [stdout] | [INFO] [stdout] 26 | WIDE_ALOAD(u16), [INFO] [stdout] | ---------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Opcode` has derived impls for the traits `Debug` and `Clone`, but these are 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] 26 | WIDE_ALOAD(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/vm/opcodes.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | WIDE_FSTORE(u16), [INFO] [stdout] | ----------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Opcode` has derived impls for the traits `Debug` and `Clone`, but these are 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] 40 | WIDE_FSTORE(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/vm/opcodes.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | WIDE_ISTORE(u16), [INFO] [stdout] | ----------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Opcode` has derived impls for the traits `Debug` and `Clone`, but these are 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] 36 | WIDE_ISTORE(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/vm/opcodes.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | WIDE_DSTORE(u16), [INFO] [stdout] | ----------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Opcode` has derived impls for the traits `Debug` and `Clone`, but these are 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] 42 | WIDE_DSTORE(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/vm/opcodes.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | WIDE_LSTORE(u16), [INFO] [stdout] | ----------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Opcode` has derived impls for the traits `Debug` and `Clone`, but these are 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] 38 | WIDE_LSTORE(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/vm/opcodes.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | WIDE_ASTORE(u16), [INFO] [stdout] | ----------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Opcode` has derived impls for the traits `Debug` and `Clone`, but these are 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] 44 | WIDE_ASTORE(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/vm/opcodes.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | WIDE_FSTORE(u16), [INFO] [stdout] | ----------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Opcode` has derived impls for the traits `Debug` and `Clone`, but these are 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] 40 | WIDE_FSTORE(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/vm/opcodes.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | RET(u8), [INFO] [stdout] | --- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Opcode` has derived impls for the traits `Debug` and `Clone`, but these are 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] 134 | RET(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/vm/opcodes.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | WIDE_DSTORE(u16), [INFO] [stdout] | ----------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Opcode` has derived impls for the traits `Debug` and `Clone`, but these are 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] 42 | WIDE_DSTORE(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/vm/opcodes.rs:135:14 [INFO] [stdout] | [INFO] [stdout] 135 | WIDE_RET(u16), [INFO] [stdout] | -------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Opcode` has derived impls for the traits `Debug` and `Clone`, but these are 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] 135 | WIDE_RET(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/vm/opcodes.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | WIDE_ASTORE(u16), [INFO] [stdout] | ----------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Opcode` has derived impls for the traits `Debug` and `Clone`, but these are 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] 44 | WIDE_ASTORE(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/vm/opcodes.rs:136:17 [INFO] [stdout] | [INFO] [stdout] 136 | TABLESWITCH(Tableswitch), [INFO] [stdout] | ----------- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Opcode` has derived impls for the traits `Debug` and `Clone`, but these are 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] 136 | TABLESWITCH(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/vm/opcodes.rs:137:18 [INFO] [stdout] | [INFO] [stdout] 137 | LOOKUPSWITCH(Lookupswitch), [INFO] [stdout] | ------------ ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Opcode` has derived impls for the traits `Debug` and `Clone`, but these are 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] 137 | LOOKUPSWITCH(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/vm/opcodes.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | RET(u8), [INFO] [stdout] | --- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Opcode` has derived impls for the traits `Debug` and `Clone`, but these are 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] 134 | RET(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/vm/opcodes.rs:151:21 [INFO] [stdout] | [INFO] [stdout] 151 | INVOKEINTERFACE(u16, u8), [INFO] [stdout] | --------------- ^^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Opcode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 151 | INVOKEINTERFACE((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/vm/opcodes.rs:152:19 [INFO] [stdout] | [INFO] [stdout] 152 | INVOKEDYNAMIC(u16), [INFO] [stdout] | ------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Opcode` has derived impls for the traits `Debug` and `Clone`, but these are 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] 152 | INVOKEDYNAMIC(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/vm/opcodes.rs:135:14 [INFO] [stdout] | [INFO] [stdout] 135 | WIDE_RET(u16), [INFO] [stdout] | -------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Opcode` has derived impls for the traits `Debug` and `Clone`, but these are 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] 135 | WIDE_RET(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/vm/opcodes.rs:158:15 [INFO] [stdout] | [INFO] [stdout] 158 | CHECKCAST(u16), [INFO] [stdout] | --------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Opcode` has derived impls for the traits `Debug` and `Clone`, but these are 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] 158 | CHECKCAST(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/vm/opcodes.rs:136:17 [INFO] [stdout] | [INFO] [stdout] 136 | TABLESWITCH(Tableswitch), [INFO] [stdout] | ----------- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Opcode` has derived impls for the traits `Debug` and `Clone`, but these are 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] 136 | TABLESWITCH(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/vm/opcodes.rs:162:10 [INFO] [stdout] | [INFO] [stdout] 162 | WIDE(Box), [INFO] [stdout] | ---- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Opcode` has derived impls for the traits `Debug` and `Clone`, but these are 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] 162 | WIDE(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/vm/opcodes.rs:137:18 [INFO] [stdout] | [INFO] [stdout] 137 | LOOKUPSWITCH(Lookupswitch), [INFO] [stdout] | ------------ ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Opcode` has derived impls for the traits `Debug` and `Clone`, but these are 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] 137 | LOOKUPSWITCH(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/vm/opcodes.rs:163:20 [INFO] [stdout] | [INFO] [stdout] 163 | MULTIANEWARRAY(u16, u8), [INFO] [stdout] | -------------- ^^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Opcode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 163 | MULTIANEWARRAY((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/vm/opcodes.rs:151:21 [INFO] [stdout] | [INFO] [stdout] 151 | INVOKEINTERFACE(u16, u8), [INFO] [stdout] | --------------- ^^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Opcode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 151 | INVOKEINTERFACE((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/vm/opcodes.rs:166:11 [INFO] [stdout] | [INFO] [stdout] 166 | GOTOW(i32), [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Opcode` has derived impls for the traits `Debug` and `Clone`, but these are 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] 166 | GOTOW(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/vm/opcodes.rs:152:19 [INFO] [stdout] | [INFO] [stdout] 152 | INVOKEDYNAMIC(u16), [INFO] [stdout] | ------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Opcode` has derived impls for the traits `Debug` and `Clone`, but these are 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] 152 | INVOKEDYNAMIC(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/vm/opcodes.rs:158:15 [INFO] [stdout] | [INFO] [stdout] 158 | CHECKCAST(u16), [INFO] [stdout] | --------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Opcode` has derived impls for the traits `Debug` and `Clone`, but these are 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] 158 | CHECKCAST(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/vm/opcodes.rs:162:10 [INFO] [stdout] | [INFO] [stdout] 162 | WIDE(Box), [INFO] [stdout] | ---- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Opcode` has derived impls for the traits `Debug` and `Clone`, but these are 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] 162 | WIDE(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/vm/opcodes.rs:163:20 [INFO] [stdout] | [INFO] [stdout] 163 | MULTIANEWARRAY(u16, u8), [INFO] [stdout] | -------------- ^^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Opcode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 163 | MULTIANEWARRAY((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/vm/opcodes.rs:166:11 [INFO] [stdout] | [INFO] [stdout] 166 | GOTOW(i32), [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Opcode` has derived impls for the traits `Debug` and `Clone`, but these are 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] 166 | GOTOW(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `primitive_name_classes` should have an upper case name [INFO] [stdout] --> src/vm/native.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | const primitive_name_classes: Lazy> = Lazy::new(|| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `PRIMITIVE_NAME_CLASSES` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `primitive_name_classes` should have an upper case name [INFO] [stdout] --> src/vm/native.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | const primitive_name_classes: Lazy> = Lazy::new(|| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `PRIMITIVE_NAME_CLASSES` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 39 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 39 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let mut vm = Vm::new(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let mut vm = Vm::new(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: type `vm::opcodes::Opcode` is private [INFO] [stdout] --> tests/method_tests.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | let m = Method::new( [INFO] [stdout] | ^^^^^^^^^^^ private type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: type `vm::opcodes::Opcode` is private [INFO] [stdout] --> tests/method_tests.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | vec![], [INFO] [stdout] | ^^^^^^ private type [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `java_rs` (test "method_tests") due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "d89a53384d71bdf06db14df80283984c86b46d46e268b8aa730ee214c9e6830d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d89a53384d71bdf06db14df80283984c86b46d46e268b8aa730ee214c9e6830d", kill_on_drop: false }` [INFO] [stdout] d89a53384d71bdf06db14df80283984c86b46d46e268b8aa730ee214c9e6830d