[INFO] cloning repository https://github.com/funnyboy-roks/jvm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/funnyboy-roks/jvm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffunnyboy-roks%2Fjvm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffunnyboy-roks%2Fjvm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 30deb182739c53427ef3d8d2c0d82657d13f2d13 [INFO] building funnyboy-roks/jvm against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffunnyboy-roks%2Fjvm" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/funnyboy-roks/jvm on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/funnyboy-roks/jvm [INFO] finished tweaking git repo https://github.com/funnyboy-roks/jvm [INFO] tweaked toml for git repo https://github.com/funnyboy-roks/jvm written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/funnyboy-roks/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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0e8f3c36ed68ff20bb3838d7f8e12e3bddd18144009598fdf309f5c41399042d [INFO] running `Command { std: "docker" "start" "-a" "0e8f3c36ed68ff20bb3838d7f8e12e3bddd18144009598fdf309f5c41399042d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0e8f3c36ed68ff20bb3838d7f8e12e3bddd18144009598fdf309f5c41399042d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e8f3c36ed68ff20bb3838d7f8e12e3bddd18144009598fdf309f5c41399042d", kill_on_drop: false }` [INFO] [stdout] 0e8f3c36ed68ff20bb3838d7f8e12e3bddd18144009598fdf309f5c41399042d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6709165d429f252a6e2f297ef791cdaac70ef9a0eac315785d4861016fa50fa7 [INFO] running `Command { std: "docker" "start" "-a" "6709165d429f252a6e2f297ef791cdaac70ef9a0eac315785d4861016fa50fa7", kill_on_drop: false }` [INFO] [stderr] Compiling anyhow v1.0.76 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling cesu8 v1.1.0 [INFO] [stderr] Compiling class-files v0.1.0 (/opt/rustwide/workdir/class-files) [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> class-files/src/lib.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{self, Read, Seek}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `inner_class_info`, `outer_class_info`, `inner_name`, and `inner_class_access_flags` are never read [INFO] [stdout] --> class-files/src/types/resolved.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct InnerClassInfo<'a> { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 79 | inner_class_info: &'a RawConstant, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 80 | outer_class_info: &'a RawConstant, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 81 | inner_name: &'a str, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 82 | inner_class_access_flags: NestedClassAccessFlags, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InnerClassInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start_pc` and `line_number` are never read [INFO] [stdout] --> class-files/src/types/resolved.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct LineNumber { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 87 | start_pc: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 88 | line_number: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LineNumber` 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] --> class-files/src/types/resolved.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct LocalVariable<'a> { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 93 | start_pc: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 94 | length: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 95 | name: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] 96 | descriptor: &'a str, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 97 | index: usize, [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: fields `start_pc`, `length`, `name`, `signature`, and `index` are never read [INFO] [stdout] --> class-files/src/types/resolved.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct LocalVariableType<'a> { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 102 | start_pc: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 103 | length: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 104 | name: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] 105 | signature: &'a str, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 106 | index: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LocalVariableType` 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 `name` is never read [INFO] [stdout] --> class-files/src/types/resolved.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 110 | pub struct AnnotationElement<'a> { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 111 | name: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AnnotationElement` 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 `ty` and `elements` are never read [INFO] [stdout] --> class-files/src/types/resolved.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 118 | pub struct Annotation<'a> { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 121 | ty: &'a str, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 124 | elements: 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 `method_ref` and `arguments` are never read [INFO] [stdout] --> class-files/src/types/resolved.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 128 | pub struct BootstrapMethod<'a> { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 129 | method_ref: &'a RawConstant, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 130 | arguments: Vec<&'a RawConstant>, [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] [stderr] Compiling jvm v0.1.0 (/opt/rustwide/workdir/jvm) [INFO] [stdout] warning: unused import: `ensure` [INFO] [stdout] --> jvm/src/op_code.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::{bail, ensure, Context}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `exception_table` [INFO] [stdout] --> jvm/src/op_code.rs:620:17 [INFO] [stdout] | [INFO] [stdout] 620 | exception_table, [INFO] [stdout] | ^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: try removing the field [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attributes` [INFO] [stdout] --> jvm/src/op_code.rs:621:17 [INFO] [stdout] | [INFO] [stdout] 621 | attributes, [INFO] [stdout] | ^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: try removing the field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `code` [INFO] [stdout] --> jvm/src/types.rs:141:13 [INFO] [stdout] | [INFO] [stdout] 141 | code, [INFO] [stdout] | ^^^^ help: try ignoring the field: `code: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `exception_table` [INFO] [stdout] --> jvm/src/types.rs:142:13 [INFO] [stdout] | [INFO] [stdout] 142 | exception_table, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try ignoring the field: `exception_table: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attributes` [INFO] [stdout] --> jvm/src/types.rs:143:13 [INFO] [stdout] | [INFO] [stdout] 143 | attributes, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `attributes: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Object`, `Primitive`, `Null`, and `Empty` are never constructed [INFO] [stdout] --> jvm/src/main.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 107 | pub(crate) enum HeapItem { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 108 | Object { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | Primitive( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | Null, [INFO] [stdout] | ^^^^ [INFO] [stdout] 116 | Empty, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HeapItem` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `collect_garbage`, `is_valid_reference`, and `remove` are never used [INFO] [stdout] --> jvm/src/main.rs:141:12 [INFO] [stdout] | [INFO] [stdout] 140 | impl Heap { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 141 | pub fn collect_garbage(&mut self) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | pub fn is_valid_reference(&self, index: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | pub fn remove(&mut self, index: usize) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.75s [INFO] running `Command { std: "docker" "inspect" "6709165d429f252a6e2f297ef791cdaac70ef9a0eac315785d4861016fa50fa7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6709165d429f252a6e2f297ef791cdaac70ef9a0eac315785d4861016fa50fa7", kill_on_drop: false }` [INFO] [stdout] 6709165d429f252a6e2f297ef791cdaac70ef9a0eac315785d4861016fa50fa7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b6d2e2710c8795156e306e4e38f4135405677c1d37e3279a3505d4f852ef3f46 [INFO] running `Command { std: "docker" "start" "-a" "b6d2e2710c8795156e306e4e38f4135405677c1d37e3279a3505d4f852ef3f46", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> class-files/src/lib.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{self, Read, Seek}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `inner_class_info`, `outer_class_info`, `inner_name`, and `inner_class_access_flags` are never read [INFO] [stdout] --> class-files/src/types/resolved.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct InnerClassInfo<'a> { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 79 | inner_class_info: &'a RawConstant, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 80 | outer_class_info: &'a RawConstant, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 81 | inner_name: &'a str, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 82 | inner_class_access_flags: NestedClassAccessFlags, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InnerClassInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start_pc` and `line_number` are never read [INFO] [stdout] --> class-files/src/types/resolved.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct LineNumber { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 87 | start_pc: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 88 | line_number: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LineNumber` 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] --> class-files/src/types/resolved.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct LocalVariable<'a> { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 93 | start_pc: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 94 | length: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 95 | name: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] 96 | descriptor: &'a str, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 97 | index: usize, [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] [stderr] Compiling class-files v0.1.0 (/opt/rustwide/workdir/class-files) [INFO] [stdout] warning: fields `start_pc`, `length`, `name`, `signature`, and `index` are never read [INFO] [stdout] --> class-files/src/types/resolved.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct LocalVariableType<'a> { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 102 | start_pc: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 103 | length: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 104 | name: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] 105 | signature: &'a str, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 106 | index: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LocalVariableType` 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 `name` is never read [INFO] [stdout] --> class-files/src/types/resolved.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 110 | pub struct AnnotationElement<'a> { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 111 | name: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AnnotationElement` 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 `ty` and `elements` are never read [INFO] [stdout] --> class-files/src/types/resolved.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 118 | pub struct Annotation<'a> { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 121 | ty: &'a str, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 124 | elements: 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 `method_ref` and `arguments` are never read [INFO] [stdout] --> class-files/src/types/resolved.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 128 | pub struct BootstrapMethod<'a> { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 129 | method_ref: &'a RawConstant, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 130 | arguments: Vec<&'a RawConstant>, [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] [stderr] Compiling jvm v0.1.0 (/opt/rustwide/workdir/jvm) [INFO] [stdout] warning: unused import: `ensure` [INFO] [stdout] --> jvm/src/op_code.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::{bail, ensure, Context}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> class-files/src/lib.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{self, Read, Seek}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `exception_table` [INFO] [stdout] --> jvm/src/op_code.rs:620:17 [INFO] [stdout] | [INFO] [stdout] 620 | exception_table, [INFO] [stdout] | ^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: try removing the field [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attributes` [INFO] [stdout] --> jvm/src/op_code.rs:621:17 [INFO] [stdout] | [INFO] [stdout] 621 | attributes, [INFO] [stdout] | ^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: try removing the field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `code` [INFO] [stdout] --> jvm/src/types.rs:141:13 [INFO] [stdout] | [INFO] [stdout] 141 | code, [INFO] [stdout] | ^^^^ help: try ignoring the field: `code: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `exception_table` [INFO] [stdout] --> jvm/src/types.rs:142:13 [INFO] [stdout] | [INFO] [stdout] 142 | exception_table, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try ignoring the field: `exception_table: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attributes` [INFO] [stdout] --> jvm/src/types.rs:143:13 [INFO] [stdout] | [INFO] [stdout] 143 | attributes, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `attributes: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Object`, `Primitive`, `Null`, and `Empty` are never constructed [INFO] [stdout] --> jvm/src/main.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 107 | pub(crate) enum HeapItem { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 108 | Object { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | Primitive( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | Null, [INFO] [stdout] | ^^^^ [INFO] [stdout] 116 | Empty, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HeapItem` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `collect_garbage`, `is_valid_reference`, and `remove` are never used [INFO] [stdout] --> jvm/src/main.rs:141:12 [INFO] [stdout] | [INFO] [stdout] 140 | impl Heap { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 141 | pub fn collect_garbage(&mut self) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | pub fn is_valid_reference(&self, index: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | pub fn remove(&mut self, index: usize) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `inner_class_info`, `outer_class_info`, `inner_name`, and `inner_class_access_flags` are never read [INFO] [stdout] --> class-files/src/types/resolved.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct InnerClassInfo<'a> { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 79 | inner_class_info: &'a RawConstant, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 80 | outer_class_info: &'a RawConstant, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 81 | inner_name: &'a str, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 82 | inner_class_access_flags: NestedClassAccessFlags, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InnerClassInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start_pc` and `line_number` are never read [INFO] [stdout] --> class-files/src/types/resolved.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct LineNumber { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 87 | start_pc: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 88 | line_number: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LineNumber` 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] --> class-files/src/types/resolved.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct LocalVariable<'a> { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 93 | start_pc: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 94 | length: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 95 | name: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] 96 | descriptor: &'a str, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 97 | index: usize, [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: fields `start_pc`, `length`, `name`, `signature`, and `index` are never read [INFO] [stdout] --> class-files/src/types/resolved.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct LocalVariableType<'a> { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 102 | start_pc: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 103 | length: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 104 | name: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] 105 | signature: &'a str, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 106 | index: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LocalVariableType` 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 `name` is never read [INFO] [stdout] --> class-files/src/types/resolved.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 110 | pub struct AnnotationElement<'a> { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 111 | name: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AnnotationElement` 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 `ty` and `elements` are never read [INFO] [stdout] --> class-files/src/types/resolved.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 118 | pub struct Annotation<'a> { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 121 | ty: &'a str, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 124 | elements: 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 `method_ref` and `arguments` are never read [INFO] [stdout] --> class-files/src/types/resolved.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 128 | pub struct BootstrapMethod<'a> { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 129 | method_ref: &'a RawConstant, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 130 | arguments: Vec<&'a RawConstant>, [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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.06s [INFO] running `Command { std: "docker" "inspect" "b6d2e2710c8795156e306e4e38f4135405677c1d37e3279a3505d4f852ef3f46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6d2e2710c8795156e306e4e38f4135405677c1d37e3279a3505d4f852ef3f46", kill_on_drop: false }` [INFO] [stdout] b6d2e2710c8795156e306e4e38f4135405677c1d37e3279a3505d4f852ef3f46