[INFO] fetching crate mokapot 0.20.2... [INFO] checking mokapot-0.20.2 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate mokapot 0.20.2 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate mokapot 0.20.2 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate mokapot 0.20.2 [INFO] tweaked toml for crates.io crate mokapot 0.20.2 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate mokapot 0.20.2 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate mokapot 0.20.2 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded trait-gen v2.0.4 [INFO] [stderr] Downloaded proptest-derive v0.6.0 [INFO] [stderr] Downloaded zip v4.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 46d92eb2edf636da1fd244c6971bcee049f84e8c37d1f50323d4c2c7bdb1f60c [INFO] running `Command { std: "docker" "start" "-a" "46d92eb2edf636da1fd244c6971bcee049f84e8c37d1f50323d4c2c7bdb1f60c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "46d92eb2edf636da1fd244c6971bcee049f84e8c37d1f50323d4c2c7bdb1f60c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46d92eb2edf636da1fd244c6971bcee049f84e8c37d1f50323d4c2c7bdb1f60c", kill_on_drop: false }` [INFO] [stdout] 46d92eb2edf636da1fd244c6971bcee049f84e8c37d1f50323d4c2c7bdb1f60c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cd3e24a0122f24068ef8661570654834dbbc15e0014e4698385ec39bde81073c [INFO] running `Command { std: "docker" "start" "-a" "cd3e24a0122f24068ef8661570654834dbbc15e0014e4698385ec39bde81073c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Checking zlib-rs v0.5.1 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Checking bumpalo v3.19.0 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking hashbrown v0.15.4 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking fixedbitset v0.5.7 [INFO] [stderr] Compiling convert_case v0.7.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking zopfli v0.8.2 [INFO] [stderr] Checking bit-vec v0.8.0 [INFO] [stderr] Compiling mokapot v0.20.2 (/opt/rustwide/workdir) [INFO] [stderr] Compiling indoc v2.0.6 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] warning: mokapot@0.20.2: Can not find javac, test compilation will fail [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking itertools v0.14.0 [INFO] [stderr] Checking bit-set v0.8.0 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking unarray v0.1.4 [INFO] [stderr] Checking cesu8 v1.1.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking libz-rs-sys v0.5.1 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking indexmap v2.10.0 [INFO] [stderr] Checking wait-timeout v0.2.1 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking rand_xorshift v0.4.0 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.1 [INFO] [stderr] Checking zip v4.2.0 [INFO] [stderr] Checking petgraph v0.8.2 [INFO] [stderr] Checking tempfile v3.20.0 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Checking proptest v1.7.0 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling trait-gen v2.0.4 [INFO] [stderr] Compiling proptest-derive v0.6.0 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling instability v0.3.7 [INFO] [stderr] Checking derive_more v2.0.1 [INFO] [stdout] warning: unused imports: `MokaIRBrewingError` and `MokaIRMethodExt` [INFO] [stdout] --> src/ir/mod.rs:19:28 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) use generator::{MokaIRBrewingError, MokaIRMethodExt}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GenerationErrorKind` [INFO] [stdout] --> src/jvm/bytecode/mod.rs:23:42 [INFO] [stdout] | [INFO] [stdout] 23 | pub(crate) use errors::{GenerationError, GenerationErrorKind}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MokaIRBrewingError` and `MokaIRMethodExt` [INFO] [stdout] --> src/ir/mod.rs:19:28 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) use generator::{MokaIRBrewingError, MokaIRMethodExt}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GenerationErrorKind` [INFO] [stdout] --> src/jvm/bytecode/mod.rs:23:42 [INFO] [stdout] | [INFO] [stdout] 23 | pub(crate) use errors::{GenerationError, GenerationErrorKind}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `moka_instruction::Operand` is more private than the item `analyzer::Value::Variable::0` [INFO] [stdout] --> src/ir/control_flow/path_condition/analyzer.rs:159:14 [INFO] [stdout] | [INFO] [stdout] 159 | Variable(Operand), [INFO] [stdout] | ^^^^^^^ field `analyzer::Value::Variable::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `moka_instruction::Operand` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/ir/moka_instruction.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | #[instability::unstable(feature = "moka-ir")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `instability::unstable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `moka_instruction::Identifier` is more private than the item `Visited` [INFO] [stdout] --> src/ir/petgraph/du_chain.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | pub type Visited = BTreeSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ type alias `Visited` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `moka_instruction::Identifier` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/ir/moka_instruction.rs:202:1 [INFO] [stdout] | [INFO] [stdout] 202 | #[instability::unstable(feature = "moka-ir")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `instability::unstable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `GenerationError` is more private than the item `instruction_impl::::into_raw_instruction` [INFO] [stdout] --> src/jvm/bytecode/code/instruction_impl.rs:474:5 [INFO] [stdout] | [INFO] [stdout] 474 | / pub fn into_raw_instruction( [INFO] [stdout] 475 | | self, [INFO] [stdout] 476 | | pc: ProgramCounter, [INFO] [stdout] 477 | | cp: &mut ConstantPool, [INFO] [stdout] 478 | | ) -> Result { [INFO] [stdout] | |________________________________________________^ method `instruction_impl::::into_raw_instruction` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `GenerationError` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/jvm/bytecode/errors.rs:193:1 [INFO] [stdout] | [INFO] [stdout] 193 | #[instability::unstable(feature = "bytecode-generation")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `instability::unstable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `GenerationError` is more private than the item `bytecode::code::raw_instruction::>::to_writer` [INFO] [stdout] --> src/jvm/bytecode/code/raw_instruction.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn to_writer(&self, writer: &mut W) -> Result<(), GenerationError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `bytecode::code::raw_instruction::>::to_writer` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `GenerationError` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/jvm/bytecode/errors.rs:193:1 [INFO] [stdout] | [INFO] [stdout] 193 | #[instability::unstable(feature = "bytecode-generation")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `instability::unstable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/analysis/mod.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl ResolutionContext { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn new(app_class_path: ACP, lib_class_path: LCP) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_classes` is never used [INFO] [stdout] --> src/analysis/mod.rs:60:4 [INFO] [stdout] | [INFO] [stdout] 60 | fn load_classes(class_path: CP) -> HashMap [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_static` is never used [INFO] [stdout] --> src/ir/mod.rs:59:18 [INFO] [stdout] | [INFO] [stdout] 56 | impl MokaIRMethod { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 59 | pub const fn is_static(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `used_at` are never used [INFO] [stdout] --> src/ir/data_flow/mod.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl<'a> DefUseChain<'a> { [INFO] [stdout] | ------------------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn new(method: &'a MokaIRMethod) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn used_at(&self, id: &Identifier) -> BTreeSet { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MokaIRGenerator` is never constructed [INFO] [stdout] --> src/ir/generator/mod.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | struct MokaIRGenerator<'m> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `next_pc_of`, `for_method`, and `exception_edges` are never used [INFO] [stdout] --> src/ir/generator/mod.rs:127:8 [INFO] [stdout] | [INFO] [stdout] 126 | impl<'m> MokaIRGenerator<'m> { [INFO] [stdout] | ---------------------------- associated items in this implementation [INFO] [stdout] 127 | fn next_pc_of(&self, pc: ProgramCounter) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | fn for_method(method: &'m Method) -> Result::Err> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | fn exception_edges( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `MokaIRMethodExt` is never used [INFO] [stdout] --> src/ir/generator/mod.rs:181:11 [INFO] [stdout] | [INFO] [stdout] 181 | pub trait MokaIRMethodExt { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `generate` and `analyze_frame_and_conditions` are never used [INFO] [stdout] --> src/ir/generator/mod.rs:204:8 [INFO] [stdout] | [INFO] [stdout] 203 | impl MokaIRGenerator<'_> { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] 204 | fn generate( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 222 | fn analyze_frame_and_conditions( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `run_instruction` is never used [INFO] [stdout] --> src/ir/generator/execution.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 25 | impl MokaIRGenerator<'_> { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] 26 | pub(super) fn run_instruction( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_local` is never used [INFO] [stdout] --> src/ir/generator/execution.rs:611:4 [INFO] [stdout] | [INFO] [stdout] 611 | fn load_local( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `store_local` is never used [INFO] [stdout] --> src/ir/generator/execution.rs:621:4 [INFO] [stdout] | [INFO] [stdout] 621 | fn store_local( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `conditional_jump` is never used [INFO] [stdout] --> src/ir/generator/execution.rs:631:4 [INFO] [stdout] | [INFO] [stdout] 631 | fn conditional_jump( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cmp_jump` is never used [INFO] [stdout] --> src/ir/generator/execution.rs:644:4 [INFO] [stdout] | [INFO] [stdout] 644 | fn cmp_jump( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `conversion_op` is never used [INFO] [stdout] --> src/ir/generator/execution.rs:658:4 [INFO] [stdout] | [INFO] [stdout] 658 | fn conversion_op( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `binary_op_math` is never used [INFO] [stdout] --> src/ir/generator/execution.rs:672:4 [INFO] [stdout] | [INFO] [stdout] 672 | fn binary_op_math( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Entry` is never used [INFO] [stdout] --> src/ir/generator/jvm_frame/entry.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) enum Entry { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `merge` is never used [INFO] [stdout] --> src/ir/generator/jvm_frame/entry.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Entry { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 14 | pub fn merge(lhs: Self, rhs: Self) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/ir/generator/jvm_frame/error.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum ExecutionError { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 3 | #[error("Trying to pop an empty stack")] [INFO] [stdout] 4 | StackUnderflow, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 5 | #[error("The stack size exceeds the max stack size")] [INFO] [stdout] 6 | StackOverflow, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 7 | #[error("The local variable index exceeds the max local variable size")] [INFO] [stdout] 8 | LocalLimitExceed, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | #[error("The local variable is not initialized")] [INFO] [stdout] 10 | LocalUninitialized, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | #[error("The stack size mismatch")] [INFO] [stdout] 12 | StackSizeMismatch, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | #[error("The local limit mismatch")] [INFO] [stdout] 14 | LocalLimitMismatch, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | #[error("Value type in the stack or local variable table mismatch")] [INFO] [stdout] 16 | ValueMismatch, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExecutionError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `StackOperations` is never used [INFO] [stdout] --> src/ir/generator/jvm_frame/operations.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) trait StackOperations { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `SlotWidth` is never used [INFO] [stdout] --> src/ir/generator/jvm_frame/stack_frame.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) type SlotWidth = bool; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SINGLE_SLOT` is never used [INFO] [stdout] --> src/ir/generator/jvm_frame/stack_frame.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) const SINGLE_SLOT: SlotWidth = false; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DUAL_SLOT` is never used [INFO] [stdout] --> src/ir/generator/jvm_frame/stack_frame.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | pub(crate) const DUAL_SLOT: SlotWidth = true; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JvmStackFrame` is never constructed [INFO] [stdout] --> src/ir/generator/jvm_frame/stack_frame.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct JvmStackFrame { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/ir/generator/jvm_frame/stack_frame.rs:30:19 [INFO] [stdout] | [INFO] [stdout] 29 | impl JvmStackFrame { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 30 | pub(crate) fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub(crate) fn pop_raw(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub(crate) fn push_raw(&mut self, value: Entry) -> Result<(), ExecutionError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub(crate) fn pop_value(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub(crate) fn push_value( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub(crate) fn pop_args( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub(crate) fn typed_push( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | pub(crate) fn typed_pop(&mut self, value_type: &FieldType) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | pub(crate) fn get_local( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | pub(crate) fn set_local( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | pub(crate) fn same_frame(&self) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 178 | pub(crate) fn same_locals_1_stack_item_frame(&self, stack_value: Entry) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | pub(crate) fn merge(&self, other: Self) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_local_variable_entries` is never used [INFO] [stdout] --> src/ir/generator/jvm_frame/stack_frame.rs:232:4 [INFO] [stdout] | [INFO] [stdout] 232 | fn create_local_variable_entries( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `def` is never used [INFO] [stdout] --> src/ir/moka_instruction.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 62 | impl MokaInstruction { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn def(&self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `as_argument` are never used [INFO] [stdout] --> src/ir/moka_instruction.rs:182:18 [INFO] [stdout] | [INFO] [stdout] 179 | impl LocalValue { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 182 | pub const fn new(id: u16) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 188 | pub fn as_argument(&self) -> Operand { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_classes`, `super_classes`, and `subclasses` are never used [INFO] [stdout] --> src/ir/type_hierarchy.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl ClassHierarchy { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn from_classes<'a, I>(classes: I) -> Self [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn super_classes(&self, class: &ClassRef) -> HashSet { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn subclasses(&self, class: &ClassRef) -> HashSet { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_classes`, `implemented_interfaces`, and `implementers` are never used [INFO] [stdout] --> src/ir/type_hierarchy.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 65 | impl InterfaceImplHierarchy { [INFO] [stdout] | --------------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn from_classes<'a, I>(classes: I) -> Self [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn implemented_interfaces(&self, class: &ClassRef) -> HashSet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn implementers(&self, interface: &ClassRef) -> HashSet { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `kind` is never used [INFO] [stdout] --> src/jvm/bytecode/errors.rs:289:18 [INFO] [stdout] | [INFO] [stdout] 247 | impl GenerationError { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 289 | pub const fn kind(&self) -> GenerationErrorKind { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: trait `MokaIRMethodExt` is private [INFO] [stdout] --> tests/jdk_classes.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | ir::{MokaIRMethodExt, control_flow::ControlTransfer}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ private trait [INFO] [stdout] | [INFO] [stdout] note: the trait `MokaIRMethodExt` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/ir/mod.rs:19:48 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) use generator::{MokaIRBrewingError, MokaIRMethodExt}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] help: import `MokaIRMethodExt` directly [INFO] [stdout] | [INFO] [stdout] 5 | ir::{mokapot::ir::generator::MokaIRMethodExt, control_flow::ControlTransfer}, [INFO] [stdout] | ++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `/opt/rustwide/target/debug/build/mokapot-5910cbcc38774171/out/mokapot/java_classes/org/mokapot/test/MyClass.class`: No such file or directory (os error 2) [INFO] [stdout] --> tests/class_loader.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | / include_bytes!(concat!( [INFO] [stdout] 18 | | env!("OUT_DIR"), [INFO] [stdout] 19 | | "/", [INFO] [stdout] 20 | | $folder, [INFO] [stdout] ... | [INFO] [stdout] 23 | | ".class" [INFO] [stdout] 24 | | )) [INFO] [stdout] | |__________^ [INFO] [stdout] ... [INFO] [stdout] 64 | let mut reader = test_data_class!("mokapot", "org/mokapot/test/MyClass"); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` which comes from the expansion of the macro `test_data_class` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `/opt/rustwide/target/debug/build/mokapot-5910cbcc38774171/out/mokapot/java_classes/org/mokapot/test/TestAnalysis.class`: No such file or directory (os error 2) [INFO] [stdout] --> tests/moka_ir.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | / include_bytes!(concat!( [INFO] [stdout] 14 | | env!("OUT_DIR"), [INFO] [stdout] 15 | | "/mokapot/java_classes/org/mokapot/test/TestAnalysis.class" [INFO] [stdout] 16 | | )) [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `brew` found for reference `&mokapot::jvm::Method` in the current scope [INFO] [stdout] --> tests/jdk_classes.rs:55:32 [INFO] [stdout] | [INFO] [stdout] 55 | let ir_method = it.brew().unwrap_or_else(|e| { [INFO] [stdout] | ^^^^ method not found in `&mokapot::jvm::Method` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `MokaIRMethodExt` which provides `brew` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use mokapot::ir::generator::MokaIRMethodExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: method `to_writer` is private [INFO] [stdout] --> tests/jdk_classes.rs:92:11 [INFO] [stdout] | [INFO] [stdout] 92 | class.to_writer(&mut class_bytes).unwrap(); [INFO] [stdout] | ^^^^^^^^^ private method [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/jvm/bytecode/class_file.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | #[instability::unstable(feature = "bytecode-generation")] [INFO] [stdout] | --------------------------------------------------------- private method defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0599, E0603, E0624. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stdout] error: couldn't read `/opt/rustwide/target/debug/build/mokapot-5910cbcc38774171/out/mokapot/java_classes/org/mokapot/test/MyClass.class`: No such file or directory (os error 2) [INFO] [stdout] --> tests/class_parsing.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | / include_bytes!(concat!( [INFO] [stdout] 19 | | env!("OUT_DIR"), [INFO] [stdout] 20 | | "/", [INFO] [stdout] 21 | | $folder, [INFO] [stdout] ... | [INFO] [stdout] 24 | | ".class" [INFO] [stdout] 25 | | )) [INFO] [stdout] | |______________^ [INFO] [stdout] ... [INFO] [stdout] 36 | let mut bytes = test_data_class!("mokapot", "org/mokapot/test/MyClass"); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` which comes from the expansion of the macro `test_data_class` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `/opt/rustwide/target/debug/build/mokapot-5910cbcc38774171/out/mokapot/java_classes/org/mokapot/test/MyClass.class`: No such file or directory (os error 2) [INFO] [stdout] --> tests/class_parsing.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | / include_bytes!(concat!( [INFO] [stdout] 19 | | env!("OUT_DIR"), [INFO] [stdout] 20 | | "/", [INFO] [stdout] 21 | | $folder, [INFO] [stdout] ... | [INFO] [stdout] 24 | | ".class" [INFO] [stdout] 25 | | )) [INFO] [stdout] | |______________^ [INFO] [stdout] ... [INFO] [stdout] 80 | let mut bytes = test_data_class!("mokapot", "org/mokapot/test/MyClass"); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` which comes from the expansion of the macro `test_data_class` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `/opt/rustwide/target/debug/build/mokapot-5910cbcc38774171/out/mokapot/java_classes/org/mokapot/test/Anno.class`: No such file or directory (os error 2) [INFO] [stdout] --> tests/class_parsing.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | / include_bytes!(concat!( [INFO] [stdout] 19 | | env!("OUT_DIR"), [INFO] [stdout] 20 | | "/", [INFO] [stdout] 21 | | $folder, [INFO] [stdout] ... | [INFO] [stdout] 24 | | ".class" [INFO] [stdout] 25 | | )) [INFO] [stdout] | |______________^ [INFO] [stdout] ... [INFO] [stdout] 93 | test_data_class!("mokapot", "org/mokapot/test/Anno"), [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` which comes from the expansion of the macro `test_data_class` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `/opt/rustwide/target/debug/build/mokapot-5910cbcc38774171/out/mokapot/java_classes/org/mokapot/test/Anno$Middle.class`: No such file or directory (os error 2) [INFO] [stdout] --> tests/class_parsing.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | / include_bytes!(concat!( [INFO] [stdout] 19 | | env!("OUT_DIR"), [INFO] [stdout] 20 | | "/", [INFO] [stdout] 21 | | $folder, [INFO] [stdout] ... | [INFO] [stdout] 24 | | ".class" [INFO] [stdout] 25 | | )) [INFO] [stdout] | |______________^ [INFO] [stdout] ... [INFO] [stdout] 94 | test_data_class!("mokapot", "org/mokapot/test/Anno$Middle"), [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` which comes from the expansion of the macro `test_data_class` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `/opt/rustwide/target/debug/build/mokapot-5910cbcc38774171/out/mokapot/java_classes/org/mokapot/test/ComplicatedClass.class`: No such file or directory (os error 2) [INFO] [stdout] --> tests/class_parsing.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | / include_bytes!(concat!( [INFO] [stdout] 19 | | env!("OUT_DIR"), [INFO] [stdout] 20 | | "/", [INFO] [stdout] 21 | | $folder, [INFO] [stdout] ... | [INFO] [stdout] 24 | | ".class" [INFO] [stdout] 25 | | )) [INFO] [stdout] | |______________^ [INFO] [stdout] ... [INFO] [stdout] 108 | test_data_class!("mokapot", "org/mokapot/test/ComplicatedClass"), [INFO] [stdout] | ---------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` which comes from the expansion of the macro `test_data_class` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: mokapot@0.20.2: Can not find javac, test compilation will fail [INFO] [stdout] error: couldn't read `/opt/rustwide/target/debug/build/mokapot-5910cbcc38774171/out/mokapot/java_classes/org/mokapot/test/ComplicatedClass$InnerClass.class`: No such file or directory (os error 2) [INFO] [stdout] --> tests/class_parsing.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | / include_bytes!(concat!( [INFO] [stdout] 19 | | env!("OUT_DIR"), [INFO] [stdout] 20 | | "/", [INFO] [stdout] 21 | | $folder, [INFO] [stdout] ... | [INFO] [stdout] 24 | | ".class" [INFO] [stdout] 25 | | )) [INFO] [stdout] | |______________^ [INFO] [stdout] ... [INFO] [stdout] 109 | test_data_class!("mokapot", "org/mokapot/test/ComplicatedClass$InnerClass"), [INFO] [stdout] | --------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` which comes from the expansion of the macro `test_data_class` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mokapot` (test "class_loader") due to 1 previous error [INFO] [stdout] error: couldn't read `/opt/rustwide/target/debug/build/mokapot-5910cbcc38774171/out/mokapot/java_classes/org/mokapot/test/ComplicatedClass$1Test.class`: No such file or directory (os error 2) [INFO] [stdout] --> tests/class_parsing.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | / include_bytes!(concat!( [INFO] [stdout] 19 | | env!("OUT_DIR"), [INFO] [stdout] 20 | | "/", [INFO] [stdout] 21 | | $folder, [INFO] [stdout] ... | [INFO] [stdout] 24 | | ".class" [INFO] [stdout] 25 | | )) [INFO] [stdout] | |______________^ [INFO] [stdout] ... [INFO] [stdout] 110 | test_data_class!("mokapot", "org/mokapot/test/ComplicatedClass$1Test"), [INFO] [stdout] | ---------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` which comes from the expansion of the macro `test_data_class` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: couldn't read `/opt/rustwide/target/debug/build/mokapot-5910cbcc38774171/out/mokapot/java_classes/module-info.class`: No such file or directory (os error 2) [INFO] [stdout] --> tests/class_parsing.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | / include_bytes!(concat!( [INFO] [stdout] 19 | | env!("OUT_DIR"), [INFO] [stdout] 20 | | "/", [INFO] [stdout] 21 | | $folder, [INFO] [stdout] ... | [INFO] [stdout] 24 | | ".class" [INFO] [stdout] 25 | | )) [INFO] [stdout] | |______________^ [INFO] [stdout] ... [INFO] [stdout] 123 | let mut bytes = test_data_class!("mokapot", "module-info"); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` which comes from the expansion of the macro `test_data_class` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `/opt/rustwide/target/debug/build/mokapot-5910cbcc38774171/out/mokapot/java_classes/org/mokapot/test/RecordTest.class`: No such file or directory (os error 2) [INFO] [stdout] --> tests/class_parsing.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | / include_bytes!(concat!( [INFO] [stdout] 19 | | env!("OUT_DIR"), [INFO] [stdout] 20 | | "/", [INFO] [stdout] 21 | | $folder, [INFO] [stdout] ... | [INFO] [stdout] 24 | | ".class" [INFO] [stdout] 25 | | )) [INFO] [stdout] | |______________^ [INFO] [stdout] ... [INFO] [stdout] 135 | let mut bytes = test_data_class!("mokapot", "org/mokapot/test/RecordTest"); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` which comes from the expansion of the macro `test_data_class` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: struct `ResolutionContext` is private [INFO] [stdout] --> tests/resolution_ctx.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | analysis::ResolutionContext, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ private struct [INFO] [stdout] | [INFO] [stdout] note: the struct `ResolutionContext` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/analysis/mod.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | #[instability::unstable(feature = "project-analyses")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the attribute macro `instability::unstable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: struct `DefUseChain` is private [INFO] [stdout] --> tests/moka_ir.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | DefUseChain, Identifier, LocalValue, MokaIRMethodExt, MokaInstruction, Operand, [INFO] [stdout] | ^^^^^^^^^^^ private struct [INFO] [stdout] | [INFO] [stdout] note: the struct `DefUseChain` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/ir/mod.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | #[instability::unstable(feature = "moka-ir")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the attribute macro `instability::unstable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: enum `Identifier` is private [INFO] [stdout] --> tests/moka_ir.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | DefUseChain, Identifier, LocalValue, MokaIRMethodExt, MokaInstruction, Operand, [INFO] [stdout] | ^^^^^^^^^^ private enum [INFO] [stdout] | [INFO] [stdout] note: the enum `Identifier` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/ir/mod.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 24 | pub(crate) use moka_instruction::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: struct `LocalValue` is private [INFO] [stdout] --> tests/moka_ir.rs:3:34 [INFO] [stdout] | [INFO] [stdout] 3 | DefUseChain, Identifier, LocalValue, MokaIRMethodExt, MokaInstruction, Operand, [INFO] [stdout] | ^^^^^^^^^^ private struct [INFO] [stdout] | [INFO] [stdout] note: the struct `LocalValue` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/ir/mod.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 24 | pub(crate) use moka_instruction::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: trait `MokaIRMethodExt` is private [INFO] [stdout] --> tests/moka_ir.rs:3:46 [INFO] [stdout] | [INFO] [stdout] 3 | DefUseChain, Identifier, LocalValue, MokaIRMethodExt, MokaInstruction, Operand, [INFO] [stdout] | ^^^^^^^^^^^^^^^ private trait [INFO] [stdout] | [INFO] [stdout] note: the trait `MokaIRMethodExt` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/ir/mod.rs:19:48 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) use generator::{MokaIRBrewingError, MokaIRMethodExt}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] help: import `MokaIRMethodExt` directly [INFO] [stdout] | [INFO] [stdout] 3 | DefUseChain, Identifier, LocalValue, mokapot::ir::generator::MokaIRMethodExt, MokaInstruction, Operand, [INFO] [stdout] | ++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: enum `MokaInstruction` is private [INFO] [stdout] --> tests/moka_ir.rs:3:63 [INFO] [stdout] | [INFO] [stdout] 3 | DefUseChain, Identifier, LocalValue, MokaIRMethodExt, MokaInstruction, Operand, [INFO] [stdout] | ^^^^^^^^^^^^^^^ private enum [INFO] [stdout] | [INFO] [stdout] note: the enum `MokaInstruction` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/ir/mod.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 24 | pub(crate) use moka_instruction::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: enum `Operand` is private [INFO] [stdout] --> tests/moka_ir.rs:3:80 [INFO] [stdout] | [INFO] [stdout] 3 | DefUseChain, Identifier, LocalValue, MokaIRMethodExt, MokaInstruction, Operand, [INFO] [stdout] | ^^^^^^^ private enum [INFO] [stdout] | [INFO] [stdout] note: the enum `Operand` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/ir/mod.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 24 | pub(crate) use moka_instruction::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: enum `Expression` is private [INFO] [stdout] --> tests/moka_ir.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | expression::Expression, [INFO] [stdout] | ^^^^^^^^^^ private enum [INFO] [stdout] | [INFO] [stdout] note: the enum `Expression` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/ir/expression/mod.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | #[instability::unstable(feature = "moka-ir")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the attribute macro `instability::unstable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `brew` found for struct `mokapot::jvm::Method` in the current scope [INFO] [stdout] --> tests/moka_ir.rs:44:21 [INFO] [stdout] | [INFO] [stdout] 44 | let ir = method.brew().unwrap(); [INFO] [stdout] | ^^^^ method not found in `mokapot::jvm::Method` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/ir/generator/mod.rs:185:8 [INFO] [stdout] | [INFO] [stdout] 185 | fn brew(&self) -> Result; [INFO] [stdout] | ---- the method is available for `mokapot::jvm::Method` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `MokaIRMethodExt` which provides `brew` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use mokapot::ir::generator::MokaIRMethodExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `brew` found for struct `mokapot::jvm::Method` in the current scope [INFO] [stdout] --> tests/moka_ir.rs:81:32 [INFO] [stdout] | [INFO] [stdout] 81 | let ir_method = method.brew().unwrap(); [INFO] [stdout] | ^^^^ method not found in `mokapot::jvm::Method` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/ir/generator/mod.rs:185:8 [INFO] [stdout] | [INFO] [stdout] 185 | fn brew(&self) -> Result; [INFO] [stdout] | ---- the method is available for `mokapot::jvm::Method` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `MokaIRMethodExt` which provides `brew` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use mokapot::ir::generator::MokaIRMethodExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `brew` found for struct `mokapot::jvm::Method` in the current scope [INFO] [stdout] --> tests/moka_ir.rs:96:28 [INFO] [stdout] | [INFO] [stdout] 96 | let ir_method = method.brew().unwrap(); [INFO] [stdout] | ^^^^ method not found in `mokapot::jvm::Method` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/ir/generator/mod.rs:185:8 [INFO] [stdout] | [INFO] [stdout] 185 | fn brew(&self) -> Result; [INFO] [stdout] | ---- the method is available for `mokapot::jvm::Method` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `MokaIRMethodExt` which provides `brew` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use mokapot::ir::generator::MokaIRMethodExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `brew` found for struct `mokapot::jvm::Method` in the current scope [INFO] [stdout] --> tests/moka_ir.rs:120:21 [INFO] [stdout] | [INFO] [stdout] 120 | let ir = method.brew().unwrap(); [INFO] [stdout] | ^^^^ method not found in `mokapot::jvm::Method` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/ir/generator/mod.rs:185:8 [INFO] [stdout] | [INFO] [stdout] 185 | fn brew(&self) -> Result; [INFO] [stdout] | ---- the method is available for `mokapot::jvm::Method` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `MokaIRMethodExt` which provides `brew` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use mokapot::ir::generator::MokaIRMethodExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `brew` found for struct `mokapot::jvm::Method` in the current scope [INFO] [stdout] --> tests/moka_ir.rs:150:21 [INFO] [stdout] | [INFO] [stdout] 150 | let ir = method.brew().unwrap(); [INFO] [stdout] | ^^^^ method not found in `mokapot::jvm::Method` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/ir/generator/mod.rs:185:8 [INFO] [stdout] | [INFO] [stdout] 185 | fn brew(&self) -> Result; [INFO] [stdout] | ---- the method is available for `mokapot::jvm::Method` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `MokaIRMethodExt` which provides `brew` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use mokapot::ir::generator::MokaIRMethodExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0599, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] warning: mokapot@0.20.2: Can not find javac, test compilation will fail [INFO] [stdout] For more information about this error, try `rustc --explain E0603`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mokapot` (test "jdk_classes") due to 3 previous errors [INFO] [stderr] warning: mokapot@0.20.2: Can not find javac, test compilation will fail [INFO] [stderr] error: could not compile `mokapot` (test "moka_ir") due to 13 previous errors [INFO] [stderr] warning: mokapot@0.20.2: Can not find javac, test compilation will fail [INFO] [stderr] error: could not compile `mokapot` (test "resolution_ctx") due to 1 previous error [INFO] [stdout] error[E0624]: method `to_writer` is private [INFO] [stdout] --> tests/class_parsing.rs:83:11 [INFO] [stdout] | [INFO] [stdout] 83 | class.to_writer(&mut written_bytes).unwrap(); [INFO] [stdout] | ^^^^^^^^^ private method [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/jvm/bytecode/class_file.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | #[instability::unstable(feature = "bytecode-generation")] [INFO] [stdout] | --------------------------------------------------------- private method defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: method `to_writer` is private [INFO] [stdout] --> tests/class_parsing.rs:98:15 [INFO] [stdout] | [INFO] [stdout] 98 | class.to_writer(&mut written_bytes).unwrap(); [INFO] [stdout] | ^^^^^^^^^ private method [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/jvm/bytecode/class_file.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | #[instability::unstable(feature = "bytecode-generation")] [INFO] [stdout] | --------------------------------------------------------- private method defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: method `to_writer` is private [INFO] [stdout] --> tests/class_parsing.rs:114:15 [INFO] [stdout] | [INFO] [stdout] 114 | class.to_writer(&mut written_bytes).unwrap(); [INFO] [stdout] | ^^^^^^^^^ private method [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/jvm/bytecode/class_file.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | #[instability::unstable(feature = "bytecode-generation")] [INFO] [stdout] | --------------------------------------------------------- private method defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0624`. [INFO] [stdout] [INFO] [stderr] warning: mokapot@0.20.2: Can not find javac, test compilation will fail [INFO] [stderr] error: could not compile `mokapot` (test "class_parsing") due to 12 previous errors [INFO] [stdout] warning: type `moka_instruction::Operand` is more private than the item `analyzer::Value::Variable::0` [INFO] [stdout] --> src/ir/control_flow/path_condition/analyzer.rs:159:14 [INFO] [stdout] | [INFO] [stdout] 159 | Variable(Operand), [INFO] [stdout] | ^^^^^^^ field `analyzer::Value::Variable::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `moka_instruction::Operand` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/ir/moka_instruction.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | #[instability::unstable(feature = "moka-ir")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `instability::unstable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `moka_instruction::Identifier` is more private than the item `Visited` [INFO] [stdout] --> src/ir/petgraph/du_chain.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | pub type Visited = BTreeSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ type alias `Visited` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `moka_instruction::Identifier` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/ir/moka_instruction.rs:202:1 [INFO] [stdout] | [INFO] [stdout] 202 | #[instability::unstable(feature = "moka-ir")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `instability::unstable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `GenerationError` is more private than the item `instruction_impl::::into_raw_instruction` [INFO] [stdout] --> src/jvm/bytecode/code/instruction_impl.rs:474:5 [INFO] [stdout] | [INFO] [stdout] 474 | / pub fn into_raw_instruction( [INFO] [stdout] 475 | | self, [INFO] [stdout] 476 | | pc: ProgramCounter, [INFO] [stdout] 477 | | cp: &mut ConstantPool, [INFO] [stdout] 478 | | ) -> Result { [INFO] [stdout] | |________________________________________________^ method `instruction_impl::::into_raw_instruction` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `GenerationError` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/jvm/bytecode/errors.rs:193:1 [INFO] [stdout] | [INFO] [stdout] 193 | #[instability::unstable(feature = "bytecode-generation")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `instability::unstable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `GenerationError` is more private than the item `bytecode::code::raw_instruction::>::to_writer` [INFO] [stdout] --> src/jvm/bytecode/code/raw_instruction.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn to_writer(&self, writer: &mut W) -> Result<(), GenerationError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `bytecode::code::raw_instruction::>::to_writer` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `GenerationError` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/jvm/bytecode/errors.rs:193:1 [INFO] [stdout] | [INFO] [stdout] 193 | #[instability::unstable(feature = "bytecode-generation")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `instability::unstable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/analysis/mod.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl ResolutionContext { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn new(app_class_path: ACP, lib_class_path: LCP) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_classes` is never used [INFO] [stdout] --> src/analysis/mod.rs:60:4 [INFO] [stdout] | [INFO] [stdout] 60 | fn load_classes(class_path: CP) -> HashMap [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_static` is never used [INFO] [stdout] --> src/ir/mod.rs:59:18 [INFO] [stdout] | [INFO] [stdout] 56 | impl MokaIRMethod { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 59 | pub const fn is_static(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `used_at` are never used [INFO] [stdout] --> src/ir/data_flow/mod.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl<'a> DefUseChain<'a> { [INFO] [stdout] | ------------------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn new(method: &'a MokaIRMethod) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn used_at(&self, id: &Identifier) -> BTreeSet { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MokaIRGenerator` is never constructed [INFO] [stdout] --> src/ir/generator/mod.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | struct MokaIRGenerator<'m> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `next_pc_of`, `for_method`, and `exception_edges` are never used [INFO] [stdout] --> src/ir/generator/mod.rs:127:8 [INFO] [stdout] | [INFO] [stdout] 126 | impl<'m> MokaIRGenerator<'m> { [INFO] [stdout] | ---------------------------- associated items in this implementation [INFO] [stdout] 127 | fn next_pc_of(&self, pc: ProgramCounter) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | fn for_method(method: &'m Method) -> Result::Err> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | fn exception_edges( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `MokaIRMethodExt` is never used [INFO] [stdout] --> src/ir/generator/mod.rs:181:11 [INFO] [stdout] | [INFO] [stdout] 181 | pub trait MokaIRMethodExt { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `generate` and `analyze_frame_and_conditions` are never used [INFO] [stdout] --> src/ir/generator/mod.rs:204:8 [INFO] [stdout] | [INFO] [stdout] 203 | impl MokaIRGenerator<'_> { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] 204 | fn generate( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 222 | fn analyze_frame_and_conditions( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `run_instruction` is never used [INFO] [stdout] --> src/ir/generator/execution.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 25 | impl MokaIRGenerator<'_> { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] 26 | pub(super) fn run_instruction( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_local` is never used [INFO] [stdout] --> src/ir/generator/execution.rs:611:4 [INFO] [stdout] | [INFO] [stdout] 611 | fn load_local( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `store_local` is never used [INFO] [stdout] --> src/ir/generator/execution.rs:621:4 [INFO] [stdout] | [INFO] [stdout] 621 | fn store_local( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `conditional_jump` is never used [INFO] [stdout] --> src/ir/generator/execution.rs:631:4 [INFO] [stdout] | [INFO] [stdout] 631 | fn conditional_jump( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cmp_jump` is never used [INFO] [stdout] --> src/ir/generator/execution.rs:644:4 [INFO] [stdout] | [INFO] [stdout] 644 | fn cmp_jump( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `conversion_op` is never used [INFO] [stdout] --> src/ir/generator/execution.rs:658:4 [INFO] [stdout] | [INFO] [stdout] 658 | fn conversion_op( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `binary_op_math` is never used [INFO] [stdout] --> src/ir/generator/execution.rs:672:4 [INFO] [stdout] | [INFO] [stdout] 672 | fn binary_op_math( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Entry` is never used [INFO] [stdout] --> src/ir/generator/jvm_frame/entry.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) enum Entry { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `merge` is never used [INFO] [stdout] --> src/ir/generator/jvm_frame/entry.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Entry { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 14 | pub fn merge(lhs: Self, rhs: Self) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/ir/generator/jvm_frame/error.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum ExecutionError { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 3 | #[error("Trying to pop an empty stack")] [INFO] [stdout] 4 | StackUnderflow, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 5 | #[error("The stack size exceeds the max stack size")] [INFO] [stdout] 6 | StackOverflow, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 7 | #[error("The local variable index exceeds the max local variable size")] [INFO] [stdout] 8 | LocalLimitExceed, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | #[error("The local variable is not initialized")] [INFO] [stdout] 10 | LocalUninitialized, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | #[error("The stack size mismatch")] [INFO] [stdout] 12 | StackSizeMismatch, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | #[error("The local limit mismatch")] [INFO] [stdout] 14 | LocalLimitMismatch, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | #[error("Value type in the stack or local variable table mismatch")] [INFO] [stdout] 16 | ValueMismatch, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExecutionError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `StackOperations` is never used [INFO] [stdout] --> src/ir/generator/jvm_frame/operations.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) trait StackOperations { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `SlotWidth` is never used [INFO] [stdout] --> src/ir/generator/jvm_frame/stack_frame.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) type SlotWidth = bool; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SINGLE_SLOT` is never used [INFO] [stdout] --> src/ir/generator/jvm_frame/stack_frame.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) const SINGLE_SLOT: SlotWidth = false; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DUAL_SLOT` is never used [INFO] [stdout] --> src/ir/generator/jvm_frame/stack_frame.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | pub(crate) const DUAL_SLOT: SlotWidth = true; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JvmStackFrame` is never constructed [INFO] [stdout] --> src/ir/generator/jvm_frame/stack_frame.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct JvmStackFrame { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/ir/generator/jvm_frame/stack_frame.rs:30:19 [INFO] [stdout] | [INFO] [stdout] 29 | impl JvmStackFrame { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 30 | pub(crate) fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub(crate) fn pop_raw(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub(crate) fn push_raw(&mut self, value: Entry) -> Result<(), ExecutionError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub(crate) fn pop_value(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub(crate) fn push_value( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub(crate) fn pop_args( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub(crate) fn typed_push( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | pub(crate) fn typed_pop(&mut self, value_type: &FieldType) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | pub(crate) fn get_local( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | pub(crate) fn set_local( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | pub(crate) fn same_frame(&self) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 178 | pub(crate) fn same_locals_1_stack_item_frame(&self, stack_value: Entry) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | pub(crate) fn merge(&self, other: Self) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_local_variable_entries` is never used [INFO] [stdout] --> src/ir/generator/jvm_frame/stack_frame.rs:232:4 [INFO] [stdout] | [INFO] [stdout] 232 | fn create_local_variable_entries( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `def` is never used [INFO] [stdout] --> src/ir/moka_instruction.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 62 | impl MokaInstruction { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn def(&self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_argument` is never used [INFO] [stdout] --> src/ir/moka_instruction.rs:188:12 [INFO] [stdout] | [INFO] [stdout] 179 | impl LocalValue { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 188 | pub fn as_argument(&self) -> Operand { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_classes`, `super_classes`, and `subclasses` are never used [INFO] [stdout] --> src/ir/type_hierarchy.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl ClassHierarchy { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn from_classes<'a, I>(classes: I) -> Self [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn super_classes(&self, class: &ClassRef) -> HashSet { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn subclasses(&self, class: &ClassRef) -> HashSet { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_classes`, `implemented_interfaces`, and `implementers` are never used [INFO] [stdout] --> src/ir/type_hierarchy.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 65 | impl InterfaceImplHierarchy { [INFO] [stdout] | --------------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn from_classes<'a, I>(classes: I) -> Self [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn implemented_interfaces(&self, class: &ClassRef) -> HashSet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn implementers(&self, interface: &ClassRef) -> HashSet { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `kind` is never used [INFO] [stdout] --> src/jvm/bytecode/errors.rs:289:18 [INFO] [stdout] | [INFO] [stdout] 247 | impl GenerationError { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 289 | pub const fn kind(&self) -> GenerationErrorKind { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "cd3e24a0122f24068ef8661570654834dbbc15e0014e4698385ec39bde81073c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd3e24a0122f24068ef8661570654834dbbc15e0014e4698385ec39bde81073c", kill_on_drop: false }` [INFO] [stdout] cd3e24a0122f24068ef8661570654834dbbc15e0014e4698385ec39bde81073c