[INFO] cloning repository https://github.com/alesiong/rust-jvm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alesiong/rust-jvm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falesiong%2Frust-jvm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falesiong%2Frust-jvm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 03c2c57509a4c64af1a7b1219a0ba4a3be87d1be [INFO] checking alesiong/rust-jvm/03c2c57509a4c64af1a7b1219a0ba4a3be87d1be against master#2ca7bcd03b87b52f7055a59b817443b0ac4a530d for pr-150322 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falesiong%2Frust-jvm" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/alesiong/rust-jvm [INFO] finished tweaking git repo https://github.com/alesiong/rust-jvm [INFO] tweaked toml for git repo https://github.com/alesiong/rust-jvm written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/alesiong/rust-jvm on toolchain 2ca7bcd03b87b52f7055a59b817443b0ac4a530d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2ca7bcd03b87b52f7055a59b817443b0ac4a530d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/alesiong/rust-jvm 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" "+2ca7bcd03b87b52f7055a59b817443b0ac4a530d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bzip2 v0.5.2 [INFO] [stderr] Downloaded cesu8-str v1.2.1 [INFO] [stderr] Downloaded liblzma v0.4.1 [INFO] [stderr] Downloaded zip v4.0.0 [INFO] [stderr] Downloaded liblzma-sys v0.4.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+2ca7bcd03b87b52f7055a59b817443b0ac4a530d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 68b1d8d20a17f0373bc0b524e6d0e4cbe25d735f432c10fe0f0716e2de59a13f [INFO] running `Command { std: "docker" "start" "-a" "68b1d8d20a17f0373bc0b524e6d0e4cbe25d735f432c10fe0f0716e2de59a13f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "68b1d8d20a17f0373bc0b524e6d0e4cbe25d735f432c10fe0f0716e2de59a13f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68b1d8d20a17f0373bc0b524e6d0e4cbe25d735f432c10fe0f0716e2de59a13f", kill_on_drop: false }` [INFO] [stdout] 68b1d8d20a17f0373bc0b524e6d0e4cbe25d735f432c10fe0f0716e2de59a13f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+2ca7bcd03b87b52f7055a59b817443b0ac4a530d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 144a97f89540e68331adc62b4450e8bf8a8739c2f41b7a6bed07719e3c764db1 [INFO] running `Command { std: "docker" "start" "-a" "144a97f89540e68331adc62b4450e8bf8a8739c2f41b7a6bed07719e3c764db1", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.2.26 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Checking zlib-rs v0.5.1 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Compiling paste v1.0.11 [INFO] [stderr] Checking bumpalo v3.18.1 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Checking indexmap v2.9.0 [INFO] [stderr] Checking deflate64 v0.1.9 [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Checking nom v8.0.0 [INFO] [stderr] Checking cesu8-str v1.2.1 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking zopfli v0.8.2 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking dashmap v6.1.0 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking libz-rs-sys v0.5.1 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling bzip2-sys v0.1.13+1.0.8 [INFO] [stderr] Compiling liblzma-sys v0.4.4 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Checking bzip2 v0.5.2 [INFO] [stderr] Checking liblzma v0.4.1 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking zstd v0.13.3 [INFO] [stderr] Checking zip v4.0.0 [INFO] [stderr] Checking jvm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `CLONEABLE_CLASS`, `OBJECT_CLASS`, and `SERIALIZABLE_CLASS` [INFO] [stdout] --> src/runtime/class_loader/bootstrap.rs:26:26 [INFO] [stdout] | [INFO] [stdout] 26 | famous_classes::{CLONEABLE_CLASS, OBJECT_CLASS, SERIALIZABLE_CLASS}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Methodref` [INFO] [stdout] --> src/runtime/interpreter.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | FieldResolve, MethodResolve, Methodref, NativeEnv, NativeResult, NativeVariable, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CLONEABLE_CLASS`, `OBJECT_CLASS`, and `SERIALIZABLE_CLASS` [INFO] [stdout] --> src/runtime/class_loader/bootstrap.rs:26:26 [INFO] [stdout] | [INFO] [stdout] 26 | famous_classes::{CLONEABLE_CLASS, OBJECT_CLASS, SERIALIZABLE_CLASS}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Methodref` [INFO] [stdout] --> src/runtime/interpreter.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | FieldResolve, MethodResolve, Methodref, NativeEnv, NativeResult, NativeVariable, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `provides_index` [INFO] [stdout] --> src/runtime/class_loader.rs:563:33 [INFO] [stdout] | [INFO] [stdout] 563 | let (input, provides_index) = be_u16(input)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_provides_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `provides_with_index` [INFO] [stdout] --> src/runtime/class_loader.rs:565:33 [INFO] [stdout] | [INFO] [stdout] 565 | let (input, provides_with_index) = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_provides_with_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opens_index` [INFO] [stdout] --> src/runtime/class_loader.rs:544:33 [INFO] [stdout] | [INFO] [stdout] 544 | let (input, opens_index) = be_u16(input)?; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_opens_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opens_flags` [INFO] [stdout] --> src/runtime/class_loader.rs:545:33 [INFO] [stdout] | [INFO] [stdout] 545 | let (input, opens_flags) = be_u16(input)?; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_opens_flags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opens_to_index` [INFO] [stdout] --> src/runtime/class_loader.rs:547:33 [INFO] [stdout] | [INFO] [stdout] 547 | let (input, opens_to_index) = [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_opens_to_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `requires_index` [INFO] [stdout] --> src/runtime/class_loader.rs:505:33 [INFO] [stdout] | [INFO] [stdout] 505 | let (input, requires_index) = be_u16(input)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_requires_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `requires_flags` [INFO] [stdout] --> src/runtime/class_loader.rs:506:33 [INFO] [stdout] | [INFO] [stdout] 506 | let (input, requires_flags) = be_u16(input)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_requires_flags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `requires_version_index` [INFO] [stdout] --> src/runtime/class_loader.rs:507:33 [INFO] [stdout] | [INFO] [stdout] 507 | let (input, requires_version_index) = be_u16(input)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_requires_version_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `module_name_index` is assigned to, but never used [INFO] [stdout] --> src/runtime/class_loader.rs:496:18 [INFO] [stdout] | [INFO] [stdout] 496 | let (module_name_index, module_flags, module_version_index); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_module_name_index` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `module_flags` is assigned to, but never used [INFO] [stdout] --> src/runtime/class_loader.rs:496:37 [INFO] [stdout] | [INFO] [stdout] 496 | let (module_name_index, module_flags, module_version_index); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_module_flags` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `module_version_index` is assigned to, but never used [INFO] [stdout] --> src/runtime/class_loader.rs:496:51 [INFO] [stdout] | [INFO] [stdout] 496 | let (module_name_index, module_flags, module_version_index); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_module_version_index` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `requires` is assigned to, but never used [INFO] [stdout] --> src/runtime/class_loader.rs:501:34 [INFO] [stdout] | [INFO] [stdout] 501 | let (requires_count, requires); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_requires` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `opens` is assigned to, but never used [INFO] [stdout] --> src/runtime/class_loader.rs:540:31 [INFO] [stdout] | [INFO] [stdout] 540 | let (opens_count, opens); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_opens` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `uses_index` is assigned to, but never used [INFO] [stdout] --> src/runtime/class_loader.rs:555:30 [INFO] [stdout] | [INFO] [stdout] 555 | let (uses_count, uses_index); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_uses_index` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `provides` is assigned to, but never used [INFO] [stdout] --> src/runtime/class_loader.rs:559:34 [INFO] [stdout] | [INFO] [stdout] 559 | let (provides_count, provides); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_provides` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `module_name_index` is never read [INFO] [stdout] --> src/runtime/class_loader.rs:497:21 [INFO] [stdout] | [INFO] [stdout] 497 | (input, module_name_index) = be_u16(input)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `module_flags` is never read [INFO] [stdout] --> src/runtime/class_loader.rs:498:21 [INFO] [stdout] | [INFO] [stdout] 498 | (input, module_flags) = be_u16(input)?; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `module_version_index` is never read [INFO] [stdout] --> src/runtime/class_loader.rs:499:21 [INFO] [stdout] | [INFO] [stdout] 499 | (input, module_version_index) = be_u16(input)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `requires` is never read [INFO] [stdout] --> src/runtime/class_loader.rs:503:21 [INFO] [stdout] | [INFO] [stdout] 503 | (input, requires) = count( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `opens` is never read [INFO] [stdout] --> src/runtime/class_loader.rs:542:21 [INFO] [stdout] | [INFO] [stdout] 542 | (input, opens) = count( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `uses_index` is never read [INFO] [stdout] --> src/runtime/class_loader.rs:557:21 [INFO] [stdout] | [INFO] [stdout] 557 | (input, uses_index) = count(be_u16, uses_count as _).parse(input)?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `provides` is never read [INFO] [stdout] --> src/runtime/class_loader.rs:561:21 [INFO] [stdout] | [INFO] [stdout] 561 | (input, provides) = count( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/runtime/class_loader.rs:1123:33 [INFO] [stdout] | [INFO] [stdout] 1123 | fn init_static_from_const_value(env: &VmEnv, class: &Arc) -> NativeResult<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `provides_index` [INFO] [stdout] --> src/runtime/class_loader.rs:563:33 [INFO] [stdout] | [INFO] [stdout] 563 | let (input, provides_index) = be_u16(input)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_provides_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `provides_with_index` [INFO] [stdout] --> src/runtime/class_loader.rs:565:33 [INFO] [stdout] | [INFO] [stdout] 565 | let (input, provides_with_index) = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_provides_with_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opens_index` [INFO] [stdout] --> src/runtime/class_loader.rs:544:33 [INFO] [stdout] | [INFO] [stdout] 544 | let (input, opens_index) = be_u16(input)?; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_opens_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opens_flags` [INFO] [stdout] --> src/runtime/class_loader.rs:545:33 [INFO] [stdout] | [INFO] [stdout] 545 | let (input, opens_flags) = be_u16(input)?; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_opens_flags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opens_to_index` [INFO] [stdout] --> src/runtime/class_loader.rs:547:33 [INFO] [stdout] | [INFO] [stdout] 547 | let (input, opens_to_index) = [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_opens_to_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `requires_index` [INFO] [stdout] --> src/runtime/class_loader.rs:505:33 [INFO] [stdout] | [INFO] [stdout] 505 | let (input, requires_index) = be_u16(input)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_requires_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `requires_flags` [INFO] [stdout] --> src/runtime/class_loader.rs:506:33 [INFO] [stdout] | [INFO] [stdout] 506 | let (input, requires_flags) = be_u16(input)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_requires_flags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `requires_version_index` [INFO] [stdout] --> src/runtime/class_loader.rs:507:33 [INFO] [stdout] | [INFO] [stdout] 507 | let (input, requires_version_index) = be_u16(input)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_requires_version_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `module_name_index` is assigned to, but never used [INFO] [stdout] --> src/runtime/class_loader.rs:496:18 [INFO] [stdout] | [INFO] [stdout] 496 | let (module_name_index, module_flags, module_version_index); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_module_name_index` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `module_flags` is assigned to, but never used [INFO] [stdout] --> src/runtime/class_loader.rs:496:37 [INFO] [stdout] | [INFO] [stdout] 496 | let (module_name_index, module_flags, module_version_index); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_module_flags` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `module_version_index` is assigned to, but never used [INFO] [stdout] --> src/runtime/class_loader.rs:496:51 [INFO] [stdout] | [INFO] [stdout] 496 | let (module_name_index, module_flags, module_version_index); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_module_version_index` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `requires` is assigned to, but never used [INFO] [stdout] --> src/runtime/class_loader.rs:501:34 [INFO] [stdout] | [INFO] [stdout] 501 | let (requires_count, requires); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_requires` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `opens` is assigned to, but never used [INFO] [stdout] --> src/runtime/class_loader.rs:540:31 [INFO] [stdout] | [INFO] [stdout] 540 | let (opens_count, opens); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_opens` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `uses_index` is assigned to, but never used [INFO] [stdout] --> src/runtime/class_loader.rs:555:30 [INFO] [stdout] | [INFO] [stdout] 555 | let (uses_count, uses_index); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_uses_index` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `provides` is assigned to, but never used [INFO] [stdout] --> src/runtime/class_loader.rs:559:34 [INFO] [stdout] | [INFO] [stdout] 559 | let (provides_count, provides); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_provides` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `module_name_index` is never read [INFO] [stdout] --> src/runtime/class_loader.rs:497:21 [INFO] [stdout] | [INFO] [stdout] 497 | (input, module_name_index) = be_u16(input)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `module_flags` is never read [INFO] [stdout] --> src/runtime/class_loader.rs:498:21 [INFO] [stdout] | [INFO] [stdout] 498 | (input, module_flags) = be_u16(input)?; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `module_version_index` is never read [INFO] [stdout] --> src/runtime/class_loader.rs:499:21 [INFO] [stdout] | [INFO] [stdout] 499 | (input, module_version_index) = be_u16(input)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `requires` is never read [INFO] [stdout] --> src/runtime/class_loader.rs:503:21 [INFO] [stdout] | [INFO] [stdout] 503 | (input, requires) = count( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `opens` is never read [INFO] [stdout] --> src/runtime/class_loader.rs:542:21 [INFO] [stdout] | [INFO] [stdout] 542 | (input, opens) = count( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `uses_index` is never read [INFO] [stdout] --> src/runtime/class_loader.rs:557:21 [INFO] [stdout] | [INFO] [stdout] 557 | (input, uses_index) = count(be_u16, uses_count as _).parse(input)?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `provides` is never read [INFO] [stdout] --> src/runtime/class_loader.rs:561:21 [INFO] [stdout] | [INFO] [stdout] 561 | (input, provides) = count( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/runtime/class_loader.rs:1123:33 [INFO] [stdout] | [INFO] [stdout] 1123 | fn init_static_from_const_value(env: &VmEnv, class: &Arc) -> NativeResult<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/runtime/heap.rs:378:65 [INFO] [stdout] | [INFO] [stdout] 378 | let id = unsafe { heap.allocate_object(2, get_class(), |i, v| *v = Variable { int: 0 }) }; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name_and_type` [INFO] [stdout] --> src/runtime/interpreter.rs:1007:25 [INFO] [stdout] | [INFO] [stdout] 1007 | name_and_type, [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `name_and_type: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name_and_type` [INFO] [stdout] --> src/runtime/interpreter.rs:1007:25 [INFO] [stdout] | [INFO] [stdout] 1007 | name_and_type, [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `name_and_type: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `java_str::JavaStr` is more private than the item `class::structs::constant_pool::ConstantPoolInfo::Utf8::0` [INFO] [stdout] --> src/class/structs/constant_pool.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | Utf8(Arc), [INFO] [stdout] | ^^^^^^^^^^^^ field `class::structs::constant_pool::ConstantPoolInfo::Utf8::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `java_str::JavaStr` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/class/structs/java_str.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) struct JavaStr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `runtime::structs::object::ObjectMonitor` is more private than the item `string_table::SpecialStringObject::Bytes::monitor` [INFO] [stdout] --> src/runtime/heap/string_table.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | monitor: ObjectMonitor, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ field `string_table::SpecialStringObject::Bytes::monitor` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `runtime::structs::object::ObjectMonitor` is only usable at visibility `pub(in crate::runtime)` [INFO] [stdout] --> src/runtime/structs/object.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | pub(in crate::runtime) struct ObjectMonitor { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `runtime::structs::object::ObjectMonitor` is more private than the item `string_table::SpecialStringObject::String::monitor` [INFO] [stdout] --> src/runtime/heap/string_table.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | monitor: ObjectMonitor, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ field `string_table::SpecialStringObject::String::monitor` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `runtime::structs::object::ObjectMonitor` is only usable at visibility `pub(in crate::runtime)` [INFO] [stdout] --> src/runtime/structs/object.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | pub(in crate::runtime) struct ObjectMonitor { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `java_str::JavaStr` is more private than the item `class::structs::constant_pool::ConstantPoolInfo::Utf8::0` [INFO] [stdout] --> src/class/structs/constant_pool.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | Utf8(Arc), [INFO] [stdout] | ^^^^^^^^^^^^ field `class::structs::constant_pool::ConstantPoolInfo::Utf8::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `java_str::JavaStr` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/class/structs/java_str.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) struct JavaStr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `runtime::structs::object::ObjectMonitor` is more private than the item `string_table::SpecialStringObject::Bytes::monitor` [INFO] [stdout] --> src/runtime/heap/string_table.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | monitor: ObjectMonitor, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ field `string_table::SpecialStringObject::Bytes::monitor` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `runtime::structs::object::ObjectMonitor` is only usable at visibility `pub(in crate::runtime)` [INFO] [stdout] --> src/runtime/structs/object.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | pub(in crate::runtime) struct ObjectMonitor { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `runtime::structs::object::ObjectMonitor` is more private than the item `string_table::SpecialStringObject::String::monitor` [INFO] [stdout] --> src/runtime/heap/string_table.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | monitor: ObjectMonitor, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ field `string_table::SpecialStringObject::String::monitor` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `runtime::structs::object::ObjectMonitor` is only usable at visibility `pub(in crate::runtime)` [INFO] [stdout] --> src/runtime/structs/object.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | pub(in crate::runtime) struct ObjectMonitor { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `heap` is never read [INFO] [stdout] --> src/runtime.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 21 | struct VmEnv<'a> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 22 | thread: &'a Thread<'a>, [INFO] [stdout] 23 | heap: &'static RwLock, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_array_fields` is never used [INFO] [stdout] --> src/runtime/heap.rs:347:15 [INFO] [stdout] | [INFO] [stdout] 332 | impl HeapObject { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 347 | unsafe fn get_array_fields(&self) -> *mut [T] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `bytes_id`, `hash`, and `has_multi_bytes` are never read [INFO] [stdout] --> src/runtime/heap/string_table.rs:27:28 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct StringTableEntry { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 26 | pub(in crate::runtime) string_id: u32, [INFO] [stdout] 27 | pub(in crate::runtime) bytes_id: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 28 | pub(in crate::runtime) hash: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 29 | pub(in crate::runtime) has_multi_bytes: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StringTableEntry` 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: field `bytes` is never read [INFO] [stdout] --> src/runtime/heap/string_table.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 38 | String { [INFO] [stdout] | ------ field in this variant [INFO] [stdout] ... [INFO] [stdout] 41 | bytes: Arc<[u8]>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SpecialStringObject` 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_bytes` is never used [INFO] [stdout] --> src/runtime/heap/string_table.rs:137:31 [INFO] [stdout] | [INFO] [stdout] 136 | impl SpecialStringObject { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] 137 | pub(in crate::runtime) fn get_bytes(&self) -> &[u8] { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BREAKPOINT` is never used [INFO] [stdout] --> src/runtime/interpreter/instructions.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) const [<$inst:upper>]: u8 = [<"0x" $byte>]; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | / make_instructions! { [INFO] [stdout] 20 | | aaload 32 [INFO] [stdout] 21 | | aastore 53 [INFO] [stdout] 22 | | aconst_null 1 [INFO] [stdout] ... | [INFO] [stdout] 224 | | impdep2 ff [INFO] [stdout] 225 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `make_instruction` which comes from the expansion of the macro `make_instructions` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INVOKEINTERFACE` is never used [INFO] [stdout] --> src/runtime/interpreter/instructions.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) const [<$inst:upper>]: u8 = [<"0x" $byte>]; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | / make_instructions! { [INFO] [stdout] 20 | | aaload 32 [INFO] [stdout] 21 | | aastore 53 [INFO] [stdout] 22 | | aconst_null 1 [INFO] [stdout] ... | [INFO] [stdout] 224 | | impdep2 ff [INFO] [stdout] 225 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `make_instruction` which comes from the expansion of the macro `make_instructions` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMPDEP2` is never used [INFO] [stdout] --> src/runtime/interpreter/instructions.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) const [<$inst:upper>]: u8 = [<"0x" $byte>]; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | / make_instructions! { [INFO] [stdout] 20 | | aaload 32 [INFO] [stdout] 21 | | aastore 53 [INFO] [stdout] 22 | | aconst_null 1 [INFO] [stdout] ... | [INFO] [stdout] 224 | | impdep2 ff [INFO] [stdout] 225 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `make_instruction` which comes from the expansion of the macro `make_instructions` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `native_nop` is never used [INFO] [stdout] --> src/runtime/native.rs:115:4 [INFO] [stdout] | [INFO] [stdout] 115 | fn native_nop(_: NativeEnv) -> NativeResult> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_primitive_class` is never used [INFO] [stdout] --> src/runtime/native/class.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | fn get_primitive_class(env: NativeEnv) -> NativeResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_vm_msg` is never used [INFO] [stdout] --> src/runtime/structs.rs:137:19 [INFO] [stdout] | [INFO] [stdout] 129 | impl Exception { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 137 | pub(crate) fn new_vm_msg(exception_type: &Arc, message: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/runtime/structs/attributes.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | SourceFile(Arc), [INFO] [stdout] | ---------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AttributeInfo` 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] 11 - SourceFile(Arc), [INFO] [stdout] 11 + SourceFile(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/runtime/structs/attributes.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | LineNumberTable(Vec), [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AttributeInfo` 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] 12 - LineNumberTable(Vec), [INFO] [stdout] 12 + LineNumberTable(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/runtime/structs/attributes.rs:14:31 [INFO] [stdout] | [INFO] [stdout] 14 | RuntimeVisibleAnnotations(Vec), [INFO] [stdout] | ------------------------- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AttributeInfo` 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] 14 - RuntimeVisibleAnnotations(Vec), [INFO] [stdout] 14 + RuntimeVisibleAnnotations(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/runtime/structs/attributes.rs:15:24 [INFO] [stdout] | [INFO] [stdout] 15 | LocalVariableTable(Vec), [INFO] [stdout] | ------------------ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AttributeInfo` 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] 15 - LocalVariableTable(Vec), [INFO] [stdout] 15 + LocalVariableTable(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/runtime/structs/attributes.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 16 | StackMapTable(Vec), [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AttributeInfo` 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] 16 - StackMapTable(Vec), [INFO] [stdout] 16 + StackMapTable(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/runtime/structs/attributes.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | Signature(Arc), [INFO] [stdout] | --------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AttributeInfo` 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 - Signature(Arc), [INFO] [stdout] 18 + Signature(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/runtime/structs/attributes.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | Module(Module), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AttributeInfo` 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 - Module(Module), [INFO] [stdout] 20 + Module(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/runtime/structs/attributes.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | ModuleTarget(Arc), [INFO] [stdout] | ------------ ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AttributeInfo` 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] 23 - ModuleTarget(Arc), [INFO] [stdout] 23 + ModuleTarget(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/runtime/structs/attributes.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | Unknown(Arc), [INFO] [stdout] | ------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AttributeInfo` 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 - Unknown(Arc), [INFO] [stdout] 26 + Unknown(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `attributes` is never read [INFO] [stdout] --> src/runtime/structs/attributes.rs:35:16 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct CodeAttribute { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 35 | pub(crate) attributes: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CodeAttribute` 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 `type_descriptor` and `element_value_pairs` are never read [INFO] [stdout] --> src/runtime/structs/attributes.rs:40:16 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct Annotation { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 40 | pub(crate) type_descriptor: FieldDescriptor, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 41 | pub(crate) element_value_pairs: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Annotation` 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: field `heap` is never read [INFO] [stdout] --> src/runtime.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 21 | struct VmEnv<'a> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 22 | thread: &'a Thread<'a>, [INFO] [stdout] 23 | heap: &'static RwLock, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_array_fields` is never used [INFO] [stdout] --> src/runtime/heap.rs:347:15 [INFO] [stdout] | [INFO] [stdout] 332 | impl HeapObject { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 347 | unsafe fn get_array_fields(&self) -> *mut [T] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `bytes_id`, `hash`, and `has_multi_bytes` are never read [INFO] [stdout] --> src/runtime/heap/string_table.rs:27:28 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct StringTableEntry { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 26 | pub(in crate::runtime) string_id: u32, [INFO] [stdout] 27 | pub(in crate::runtime) bytes_id: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 28 | pub(in crate::runtime) hash: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 29 | pub(in crate::runtime) has_multi_bytes: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StringTableEntry` 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: field `bytes` is never read [INFO] [stdout] --> src/runtime/heap/string_table.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 38 | String { [INFO] [stdout] | ------ field in this variant [INFO] [stdout] ... [INFO] [stdout] 41 | bytes: Arc<[u8]>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SpecialStringObject` 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_bytes` is never used [INFO] [stdout] --> src/runtime/heap/string_table.rs:137:31 [INFO] [stdout] | [INFO] [stdout] 136 | impl SpecialStringObject { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] 137 | pub(in crate::runtime) fn get_bytes(&self) -> &[u8] { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `element_name` and `value` are never read [INFO] [stdout] --> src/runtime/structs/attributes.rs:46:16 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct ElementValuePair { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 46 | pub(crate) element_name: Arc, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 47 | pub(crate) value: ElementValue, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ElementValuePair` 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: field `0` is never read [INFO] [stdout] --> src/runtime/structs/attributes.rs:52:11 [INFO] [stdout] | [INFO] [stdout] 52 | Const(Const), [INFO] [stdout] | ----- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ElementValue` 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] 52 - Const(Const), [INFO] [stdout] 52 + Const(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `type_name` and `const_name` are never read [INFO] [stdout] --> src/runtime/structs/attributes.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 53 | Enum { [INFO] [stdout] | ---- fields in this variant [INFO] [stdout] 54 | type_name: Arc, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 55 | const_name: Arc, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ElementValue` 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: field `0` is never read [INFO] [stdout] --> src/runtime/structs/attributes.rs:57:11 [INFO] [stdout] | [INFO] [stdout] 57 | Class(ReturnType), [INFO] [stdout] | ----- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ElementValue` 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] 57 - Class(ReturnType), [INFO] [stdout] 57 + Class(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/runtime/structs/attributes.rs:58:16 [INFO] [stdout] | [INFO] [stdout] 58 | Annotation(Annotation), [INFO] [stdout] | ---------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ElementValue` 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] 58 - Annotation(Annotation), [INFO] [stdout] 58 + Annotation(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BREAKPOINT` is never used [INFO] [stdout] --> src/runtime/interpreter/instructions.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) const [<$inst:upper>]: u8 = [<"0x" $byte>]; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | / make_instructions! { [INFO] [stdout] 20 | | aaload 32 [INFO] [stdout] 21 | | aastore 53 [INFO] [stdout] 22 | | aconst_null 1 [INFO] [stdout] ... | [INFO] [stdout] 224 | | impdep2 ff [INFO] [stdout] 225 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `make_instruction` which comes from the expansion of the macro `make_instructions` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/runtime/structs/attributes.rs:59:11 [INFO] [stdout] | [INFO] [stdout] 59 | Array(Vec), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ElementValue` 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] 59 - Array(Vec), [INFO] [stdout] 59 + Array(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start_pc` and `line_number` are never read [INFO] [stdout] --> src/runtime/structs/attributes.rs:104:16 [INFO] [stdout] | [INFO] [stdout] 103 | pub struct LineNumberTableItem { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 104 | pub(crate) start_pc: u16, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 105 | pub(crate) line_number: u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LineNumberTableItem` 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 `start_pc`, `length`, `name`, `descriptor`, and `index` are never read [INFO] [stdout] --> src/runtime/structs/attributes.rs:118:16 [INFO] [stdout] | [INFO] [stdout] 117 | pub struct LocalVariable { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 118 | pub(crate) start_pc: u16, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 119 | pub(crate) length: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 120 | pub(crate) name: Arc, [INFO] [stdout] | ^^^^ [INFO] [stdout] 121 | pub(crate) descriptor: FieldDescriptor, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 122 | pub(crate) index: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LocalVariable` 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: field `exports` is never read [INFO] [stdout] --> src/runtime/structs/attributes.rs:132:16 [INFO] [stdout] | [INFO] [stdout] 131 | pub struct Module { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 132 | pub(crate) exports: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Module` 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 `exports`, `exports_flags`, and `exports_to` are never read [INFO] [stdout] --> src/runtime/structs/attributes.rs:137:16 [INFO] [stdout] | [INFO] [stdout] 136 | pub struct ModuleExport { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 137 | pub(crate) exports: Arc, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 138 | pub(crate) exports_flags: u16, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 139 | pub(crate) exports_to: Vec>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ModuleExport` 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: field `bootstrap_arguments` is never read [INFO] [stdout] --> src/runtime/structs/attributes.rs:145:16 [INFO] [stdout] | [INFO] [stdout] 143 | pub struct BootstrapMethod { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 144 | pub(crate) bootstrap_method: MethodHandle, [INFO] [stdout] 145 | pub(crate) bootstrap_arguments: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BootstrapMethod` 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: field `0` is never read [INFO] [stdout] --> src/runtime/structs/constant_pool.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | NameAndType(CpNameAndTypeInfo>), [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ConstantPoolInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 21 - NameAndType(CpNameAndTypeInfo>), [INFO] [stdout] 21 + NameAndType(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `bootstrap_method_attr_index` and `name_and_type` are never read [INFO] [stdout] --> src/runtime/structs/constant_pool.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 24 | Dynamic { [INFO] [stdout] | ------- fields in this variant [INFO] [stdout] 25 | bootstrap_method_attr_index: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 26 | name_and_type: CpNameAndTypeInfo, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConstantPoolInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_resolved` is never used [INFO] [stdout] --> src/runtime/structs/constant_pool.rs:79:19 [INFO] [stdout] | [INFO] [stdout] 78 | impl Fieldref { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 79 | pub(crate) fn is_resolved(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_index` is never used [INFO] [stdout] --> src/runtime/structs/constant_pool.rs:127:19 [INFO] [stdout] | [INFO] [stdout] 126 | impl MethodResolve { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 127 | pub(crate) fn get_index(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INVOKEINTERFACE` is never used [INFO] [stdout] --> src/runtime/interpreter/instructions.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) const [<$inst:upper>]: u8 = [<"0x" $byte>]; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | / make_instructions! { [INFO] [stdout] 20 | | aaload 32 [INFO] [stdout] 21 | | aastore 53 [INFO] [stdout] 22 | | aconst_null 1 [INFO] [stdout] ... | [INFO] [stdout] 224 | | impdep2 ff [INFO] [stdout] 225 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `make_instruction` which comes from the expansion of the macro `make_instructions` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMPDEP2` is never used [INFO] [stdout] --> src/runtime/interpreter/instructions.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) const [<$inst:upper>]: u8 = [<"0x" $byte>]; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | / make_instructions! { [INFO] [stdout] 20 | | aaload 32 [INFO] [stdout] 21 | | aastore 53 [INFO] [stdout] 22 | | aconst_null 1 [INFO] [stdout] ... | [INFO] [stdout] 224 | | impdep2 ff [INFO] [stdout] 225 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `make_instruction` which comes from the expansion of the macro `make_instructions` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `native_nop` is never used [INFO] [stdout] --> src/runtime/native.rs:115:4 [INFO] [stdout] | [INFO] [stdout] 115 | fn native_nop(_: NativeEnv) -> NativeResult> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_primitive_class` is never used [INFO] [stdout] --> src/runtime/native/class.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | fn get_primitive_class(env: NativeEnv) -> NativeResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_vm_msg` is never used [INFO] [stdout] --> src/runtime/structs.rs:137:19 [INFO] [stdout] | [INFO] [stdout] 129 | impl Exception { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 137 | pub(crate) fn new_vm_msg(exception_type: &Arc, message: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/runtime/structs/attributes.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | SourceFile(Arc), [INFO] [stdout] | ---------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AttributeInfo` 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] 11 - SourceFile(Arc), [INFO] [stdout] 11 + SourceFile(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/runtime/structs/attributes.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | LineNumberTable(Vec), [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AttributeInfo` 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] 12 - LineNumberTable(Vec), [INFO] [stdout] 12 + LineNumberTable(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/runtime/structs/attributes.rs:14:31 [INFO] [stdout] | [INFO] [stdout] 14 | RuntimeVisibleAnnotations(Vec), [INFO] [stdout] | ------------------------- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AttributeInfo` 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] 14 - RuntimeVisibleAnnotations(Vec), [INFO] [stdout] 14 + RuntimeVisibleAnnotations(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/runtime/structs/attributes.rs:15:24 [INFO] [stdout] | [INFO] [stdout] 15 | LocalVariableTable(Vec), [INFO] [stdout] | ------------------ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AttributeInfo` 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] 15 - LocalVariableTable(Vec), [INFO] [stdout] 15 + LocalVariableTable(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/runtime/structs/attributes.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 16 | StackMapTable(Vec), [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AttributeInfo` 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] 16 - StackMapTable(Vec), [INFO] [stdout] 16 + StackMapTable(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/runtime/structs/attributes.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | Signature(Arc), [INFO] [stdout] | --------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AttributeInfo` 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 - Signature(Arc), [INFO] [stdout] 18 + Signature(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/runtime/structs/attributes.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | Module(Module), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AttributeInfo` 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 - Module(Module), [INFO] [stdout] 20 + Module(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/runtime/structs/attributes.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | ModuleTarget(Arc), [INFO] [stdout] | ------------ ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AttributeInfo` 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] 23 - ModuleTarget(Arc), [INFO] [stdout] 23 + ModuleTarget(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/runtime/structs/attributes.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | Unknown(Arc), [INFO] [stdout] | ------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AttributeInfo` 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 - Unknown(Arc), [INFO] [stdout] 26 + Unknown(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `attributes` is never read [INFO] [stdout] --> src/runtime/structs/attributes.rs:35:16 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct CodeAttribute { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 35 | pub(crate) attributes: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CodeAttribute` 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 `type_descriptor` and `element_value_pairs` are never read [INFO] [stdout] --> src/runtime/structs/attributes.rs:40:16 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct Annotation { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 40 | pub(crate) type_descriptor: FieldDescriptor, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 41 | pub(crate) element_value_pairs: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Annotation` 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 `element_name` and `value` are never read [INFO] [stdout] --> src/runtime/structs/attributes.rs:46:16 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct ElementValuePair { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 46 | pub(crate) element_name: Arc, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 47 | pub(crate) value: ElementValue, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ElementValuePair` 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: field `0` is never read [INFO] [stdout] --> src/runtime/structs/attributes.rs:52:11 [INFO] [stdout] | [INFO] [stdout] 52 | Const(Const), [INFO] [stdout] | ----- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ElementValue` 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] 52 - Const(Const), [INFO] [stdout] 52 + Const(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `type_name` and `const_name` are never read [INFO] [stdout] --> src/runtime/structs/attributes.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 53 | Enum { [INFO] [stdout] | ---- fields in this variant [INFO] [stdout] 54 | type_name: Arc, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 55 | const_name: Arc, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ElementValue` 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: field `0` is never read [INFO] [stdout] --> src/runtime/structs/attributes.rs:57:11 [INFO] [stdout] | [INFO] [stdout] 57 | Class(ReturnType), [INFO] [stdout] | ----- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ElementValue` 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] 57 - Class(ReturnType), [INFO] [stdout] 57 + Class(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/runtime/structs/attributes.rs:58:16 [INFO] [stdout] | [INFO] [stdout] 58 | Annotation(Annotation), [INFO] [stdout] | ---------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ElementValue` 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] 58 - Annotation(Annotation), [INFO] [stdout] 58 + Annotation(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/runtime/structs/attributes.rs:59:11 [INFO] [stdout] | [INFO] [stdout] 59 | Array(Vec), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ElementValue` 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] 59 - Array(Vec), [INFO] [stdout] 59 + Array(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start_pc` and `line_number` are never read [INFO] [stdout] --> src/runtime/structs/attributes.rs:104:16 [INFO] [stdout] | [INFO] [stdout] 103 | pub struct LineNumberTableItem { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 104 | pub(crate) start_pc: u16, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 105 | pub(crate) line_number: u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LineNumberTableItem` 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 `start_pc`, `length`, `name`, `descriptor`, and `index` are never read [INFO] [stdout] --> src/runtime/structs/attributes.rs:118:16 [INFO] [stdout] | [INFO] [stdout] 117 | pub struct LocalVariable { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 118 | pub(crate) start_pc: u16, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 119 | pub(crate) length: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 120 | pub(crate) name: Arc, [INFO] [stdout] | ^^^^ [INFO] [stdout] 121 | pub(crate) descriptor: FieldDescriptor, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 122 | pub(crate) index: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LocalVariable` 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: field `exports` is never read [INFO] [stdout] --> src/runtime/structs/attributes.rs:132:16 [INFO] [stdout] | [INFO] [stdout] 131 | pub struct Module { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 132 | pub(crate) exports: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Module` 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 `exports`, `exports_flags`, and `exports_to` are never read [INFO] [stdout] --> src/runtime/structs/attributes.rs:137:16 [INFO] [stdout] | [INFO] [stdout] 136 | pub struct ModuleExport { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 137 | pub(crate) exports: Arc, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 138 | pub(crate) exports_flags: u16, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 139 | pub(crate) exports_to: Vec>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ModuleExport` 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: field `bootstrap_arguments` is never read [INFO] [stdout] --> src/runtime/structs/attributes.rs:145:16 [INFO] [stdout] | [INFO] [stdout] 143 | pub struct BootstrapMethod { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 144 | pub(crate) bootstrap_method: MethodHandle, [INFO] [stdout] 145 | pub(crate) bootstrap_arguments: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BootstrapMethod` 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: field `0` is never read [INFO] [stdout] --> src/runtime/structs/constant_pool.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | NameAndType(CpNameAndTypeInfo>), [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ConstantPoolInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 21 - NameAndType(CpNameAndTypeInfo>), [INFO] [stdout] 21 + NameAndType(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `bootstrap_method_attr_index` and `name_and_type` are never read [INFO] [stdout] --> src/runtime/structs/constant_pool.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 24 | Dynamic { [INFO] [stdout] | ------- fields in this variant [INFO] [stdout] 25 | bootstrap_method_attr_index: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 26 | name_and_type: CpNameAndTypeInfo, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConstantPoolInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_resolved` is never used [INFO] [stdout] --> src/runtime/structs/constant_pool.rs:79:19 [INFO] [stdout] | [INFO] [stdout] 78 | impl Fieldref { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 79 | pub(crate) fn is_resolved(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_index` is never used [INFO] [stdout] --> src/runtime/structs/constant_pool.rs:127:19 [INFO] [stdout] | [INFO] [stdout] 126 | impl MethodResolve { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 127 | pub(crate) fn get_index(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.26s [INFO] running `Command { std: "docker" "inspect" "144a97f89540e68331adc62b4450e8bf8a8739c2f41b7a6bed07719e3c764db1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "144a97f89540e68331adc62b4450e8bf8a8739c2f41b7a6bed07719e3c764db1", kill_on_drop: false }` [INFO] [stdout] 144a97f89540e68331adc62b4450e8bf8a8739c2f41b7a6bed07719e3c764db1