[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] testing shautvast/java.rs against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [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] 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] validating manifest of git repo https://github.com/shautvast/java.rs on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded deranged v0.3.8 [INFO] [stderr] Downloaded errno v0.3.5 [INFO] [stderr] Downloaded flate2 v1.0.27 [INFO] [stderr] Downloaded time v0.3.29 [INFO] [stderr] Downloaded syn v2.0.37 [INFO] [stderr] Downloaded rustix v0.38.20 [INFO] [stderr] Downloaded linux-raw-sys v0.4.10 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6f500903261c5e332163b69aa5124c1758c5e59784871b8f40823080668299d6 [INFO] running `Command { std: "docker" "start" "-a" "6f500903261c5e332163b69aa5124c1758c5e59784871b8f40823080668299d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6f500903261c5e332163b69aa5124c1758c5e59784871b8f40823080668299d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f500903261c5e332163b69aa5124c1758c5e59784871b8f40823080668299d6", kill_on_drop: false }` [INFO] [stdout] 6f500903261c5e332163b69aa5124c1758c5e59784871b8f40823080668299d6 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 0a119008f28aad5f2a5bbd740bf05ab91a8cd4d8469b4f8ae108bc0617b86114 [INFO] running `Command { std: "docker" "start" "-a" "0a119008f28aad5f2a5bbd740bf05ab91a8cd4d8469b4f8ae108bc0617b86114", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling cpufeatures v0.2.9 [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] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.10 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling deranged v0.3.8 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling termcolor v1.3.0 [INFO] [stderr] Compiling password-hash v0.4.2 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling time v0.3.29 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling aes v0.8.3 [INFO] [stderr] Compiling whoami v1.4.1 [INFO] [stderr] Compiling jobserver v0.1.26 [INFO] [stderr] Compiling flate2 v1.0.27 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling pbkdf2 v0.11.0 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling is-terminal v0.4.9 [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] Compiling bzip2 v0.4.4 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling env_logger v0.10.0 [INFO] [stderr] Compiling zstd v0.11.2+zstd.1.5.2 [INFO] [stderr] Compiling zip v0.6.6 [INFO] [stderr] Compiling 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 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: unreachable pattern [INFO] [stdout] --> src/vm/runtime.rs:819:17 [INFO] [stdout] | [INFO] [stdout] 222 | DUP => { [INFO] [stdout] | --- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 819 | DUP => { [INFO] [stdout] | ^^^ no value can reach this [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: 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: 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 `Clone` and `Debug`, 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 `Clone` and `Debug`, 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: 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 `Clone` and `Debug`, 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(u16), [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: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 `Clone` and `Debug`, 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(u16), [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: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 `Clone` and `Debug`, 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(u16), [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: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 `Clone` and `Debug`, 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(u16), [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: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 `Clone` and `Debug`, 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(u16), [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 `Clone` and `Debug`, 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(u16), [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: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 `Clone` and `Debug`, 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(u16), [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: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 `Clone` and `Debug`, 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(u16), [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: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 `Clone` and `Debug`, 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(u16), [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: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 `Clone` and `Debug`, 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(u16), [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: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 `Clone` and `Debug`, 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(u8), [INFO] [stdout] 134 + RET(()), [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 `Clone` and `Debug`, 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(u16), [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: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 `Clone` and `Debug`, 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(Tableswitch), [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 `Clone` and `Debug`, 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(Lookupswitch), [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: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 `Clone` and `Debug`, 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(u16, u8), [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 `Clone` and `Debug`, 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(u16), [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 `Clone` and `Debug`, 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(u16), [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 `Clone` and `Debug`, 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(Box), [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 `Clone` and `Debug`, 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(u16, u8), [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 `Clone` and `Debug`, 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(i32), [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: creating a mutable reference to mutable static [INFO] [stdout] --> src/vm/native.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | / PRIMITIVE_CLASSES [INFO] [stdout] 95 | | .entry(primitive.clone()) [INFO] [stdout] | |_________________________________________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.75s [INFO] running `Command { std: "docker" "inspect" "0a119008f28aad5f2a5bbd740bf05ab91a8cd4d8469b4f8ae108bc0617b86114", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a119008f28aad5f2a5bbd740bf05ab91a8cd4d8469b4f8ae108bc0617b86114", kill_on_drop: false }` [INFO] [stdout] 0a119008f28aad5f2a5bbd740bf05ab91a8cd4d8469b4f8ae108bc0617b86114 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 8af6fc0340d414da96f00035ed5dad50d52d0de0fa5ef9e4dfbbb3cd684e875f [INFO] running `Command { std: "docker" "start" "-a" "8af6fc0340d414da96f00035ed5dad50d52d0de0fa5ef9e4dfbbb3cd684e875f", kill_on_drop: false }` [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 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: unreachable pattern [INFO] [stdout] --> src/vm/runtime.rs:819:17 [INFO] [stdout] | [INFO] [stdout] 222 | DUP => { [INFO] [stdout] | --- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 819 | DUP => { [INFO] [stdout] | ^^^ no value can reach this [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: 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: 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 `Clone` and `Debug`, 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 `Clone` and `Debug`, 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: 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 `Clone` and `Debug`, 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(u16), [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: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 `Clone` and `Debug`, 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(u16), [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: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 `Clone` and `Debug`, 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(u16), [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: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 `Clone` and `Debug`, 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(u16), [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: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 `Clone` and `Debug`, 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(u16), [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 `Clone` and `Debug`, 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(u16), [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: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 `Clone` and `Debug`, 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(u16), [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: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 `Clone` and `Debug`, 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(u16), [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: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 `Clone` and `Debug`, 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(u16), [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: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 `Clone` and `Debug`, 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(u16), [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: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 `Clone` and `Debug`, 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(u8), [INFO] [stdout] 134 + RET(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling java_rs v0.1.0 (/opt/rustwide/workdir) [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 `Clone` and `Debug`, 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(u16), [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: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 `Clone` and `Debug`, 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(Tableswitch), [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 `Clone` and `Debug`, 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(Lookupswitch), [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: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 `Clone` and `Debug`, 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(u16, u8), [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 `Clone` and `Debug`, 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(u16), [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 `Clone` and `Debug`, 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(u16), [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 `Clone` and `Debug`, 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(Box), [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 `Clone` and `Debug`, 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(u16, u8), [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 `Clone` and `Debug`, 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(i32), [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: creating a mutable reference to mutable static [INFO] [stdout] --> src/vm/native.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | / PRIMITIVE_CLASSES [INFO] [stdout] 95 | | .entry(primitive.clone()) [INFO] [stdout] | |_________________________________________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` 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: 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: 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] 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] [stderr] error: could not compile `java_rs` (test "method_tests") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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: unreachable pattern [INFO] [stdout] --> src/vm/runtime.rs:819:17 [INFO] [stdout] | [INFO] [stdout] 222 | DUP => { [INFO] [stdout] | --- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 819 | DUP => { [INFO] [stdout] | ^^^ no value can reach this [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: 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: 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 `Clone` and `Debug`, 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 `Clone` and `Debug`, 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: 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 `Clone` and `Debug`, 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(u16), [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: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 `Clone` and `Debug`, 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(u16), [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: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 `Clone` and `Debug`, 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(u16), [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: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 `Clone` and `Debug`, 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(u16), [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: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 `Clone` and `Debug`, 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(u16), [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 `Clone` and `Debug`, 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(u16), [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: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 `Clone` and `Debug`, 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(u16), [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: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 `Clone` and `Debug`, 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(u16), [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: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 `Clone` and `Debug`, 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(u16), [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: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 `Clone` and `Debug`, 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(u16), [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: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 `Clone` and `Debug`, 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(u8), [INFO] [stdout] 134 + RET(()), [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 `Clone` and `Debug`, 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(u16), [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: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 `Clone` and `Debug`, 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(Tableswitch), [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 `Clone` and `Debug`, 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(Lookupswitch), [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: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 `Clone` and `Debug`, 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(u16, u8), [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 `Clone` and `Debug`, 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(u16), [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 `Clone` and `Debug`, 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(u16), [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 `Clone` and `Debug`, 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(Box), [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 `Clone` and `Debug`, 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(u16, u8), [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 `Clone` and `Debug`, 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(i32), [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: creating a mutable reference to mutable static [INFO] [stdout] --> src/vm/native.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | / PRIMITIVE_CLASSES [INFO] [stdout] 95 | | .entry(primitive.clone()) [INFO] [stdout] | |_________________________________________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8af6fc0340d414da96f00035ed5dad50d52d0de0fa5ef9e4dfbbb3cd684e875f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8af6fc0340d414da96f00035ed5dad50d52d0de0fa5ef9e4dfbbb3cd684e875f", kill_on_drop: false }` [INFO] [stdout] 8af6fc0340d414da96f00035ed5dad50d52d0de0fa5ef9e4dfbbb3cd684e875f