[INFO] cloning repository https://github.com/Maciej4/rustjava [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Maciej4/rustjava" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMaciej4%2Frustjava", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMaciej4%2Frustjava'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 729ba3501b81c6faf49eab7655fb6290465a02ee [INFO] checking Maciej4/rustjava against master#8424f8e8cdf07010967a57584fd647b30e930d4d for pr-120095 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMaciej4%2Frustjava" "/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/Maciej4/rustjava on toolchain 8424f8e8cdf07010967a57584fd647b30e930d4d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8424f8e8cdf07010967a57584fd647b30e930d4d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Maciej4/rustjava [INFO] finished tweaking git repo https://github.com/Maciej4/rustjava [INFO] tweaked toml for git repo https://github.com/Maciej4/rustjava written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Maciej4/rustjava 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" "+8424f8e8cdf07010967a57584fd647b30e930d4d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking Maciej4/rustjava against try#047472f299946caf090d1b5608ae4bd9f0416256+rustflags=-Ddereferencing_mut_binding for pr-120095 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMaciej4%2Frustjava" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Maciej4/rustjava on toolchain 047472f299946caf090d1b5608ae4bd9f0416256 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+047472f299946caf090d1b5608ae4bd9f0416256" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Maciej4/rustjava [INFO] finished tweaking git repo https://github.com/Maciej4/rustjava [INFO] tweaked toml for git repo https://github.com/Maciej4/rustjava written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Maciej4/rustjava 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" "+047472f299946caf090d1b5608ae4bd9f0416256" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking Maciej4/rustjava against try#047472f299946caf090d1b5608ae4bd9f0416256+rustflags=-Ddereferencing_mut_binding for pr-120095 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMaciej4%2Frustjava" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Maciej4/rustjava on toolchain 047472f299946caf090d1b5608ae4bd9f0416256 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+047472f299946caf090d1b5608ae4bd9f0416256" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Maciej4/rustjava [INFO] finished tweaking git repo https://github.com/Maciej4/rustjava [INFO] tweaked toml for git repo https://github.com/Maciej4/rustjava written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Maciej4/rustjava 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" "+047472f299946caf090d1b5608ae4bd9f0416256" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tree-sitter-java v0.19.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+047472f299946caf090d1b5608ae4bd9f0416256" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d98873c2b50cb2be7d09ec2ad6f494f2dc1ca5542b6b962a880ac9045fc5fa8b [INFO] running `Command { std: "docker" "start" "-a" "d98873c2b50cb2be7d09ec2ad6f494f2dc1ca5542b6b962a880ac9045fc5fa8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d98873c2b50cb2be7d09ec2ad6f494f2dc1ca5542b6b962a880ac9045fc5fa8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d98873c2b50cb2be7d09ec2ad6f494f2dc1ca5542b6b962a880ac9045fc5fa8b", kill_on_drop: false }` [INFO] [stdout] d98873c2b50cb2be7d09ec2ad6f494f2dc1ca5542b6b962a880ac9045fc5fa8b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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 -Ddereferencing_mut_binding" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+047472f299946caf090d1b5608ae4bd9f0416256" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] deff214de0ea27271053be2a4bc98c3752dccc4654eac22a58fd17e42ba0536c [INFO] running `Command { std: "docker" "start" "-a" "deff214de0ea27271053be2a4bc98c3752dccc4654eac22a58fd17e42ba0536c", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Checking aho-corasick v0.7.19 [INFO] [stderr] Compiling tree-sitter v0.19.5 [INFO] [stderr] Compiling tree-sitter-java v0.19.0 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Checking rustjava v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/javac.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/javac.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `left_type` [INFO] [stdout] --> src/javac.rs:1149:33 [INFO] [stdout] | [INFO] [stdout] 1149 | let (left_instructions, left_type) = parse_expression( [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_left_type` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `right_type` [INFO] [stdout] --> src/javac.rs:1158:34 [INFO] [stdout] | [INFO] [stdout] 1158 | let (right_instructions, right_type) = parse_expression( [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_right_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `left_type` [INFO] [stdout] --> src/javac.rs:1149:33 [INFO] [stdout] | [INFO] [stdout] 1149 | let (left_instructions, left_type) = parse_expression( [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_left_type` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `right_type` [INFO] [stdout] --> src/javac.rs:1158:34 [INFO] [stdout] | [INFO] [stdout] 1158 | let (right_instructions, right_type) = parse_expression( [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_right_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/bytecode.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Instruction { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 3 | Nop, [INFO] [stdout] | ^^^ [INFO] [stdout] 4 | AConstNull, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 5 | Const(Primitive), [INFO] [stdout] 6 | LoadConst(usize), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 7 | Load(usize, PrimitiveType), [INFO] [stdout] 8 | ALoad(PrimitiveType), [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | Pop, [INFO] [stdout] | ^^^ [INFO] [stdout] 12 | Pop2, [INFO] [stdout] | ^^^^ [INFO] [stdout] 13 | Dup, [INFO] [stdout] 14 | DupX1, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 15 | DupX2, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 16 | Dup2, [INFO] [stdout] | ^^^^ [INFO] [stdout] 17 | Dup2X1, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 18 | Dup2X2, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 19 | Swap, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | Neg(PrimitiveType), [INFO] [stdout] | ^^^ [INFO] [stdout] 26 | Shl(PrimitiveType), [INFO] [stdout] | ^^^ [INFO] [stdout] 27 | Shr(PrimitiveType), [INFO] [stdout] | ^^^ [INFO] [stdout] 28 | UShr(PrimitiveType), [INFO] [stdout] | ^^^^ [INFO] [stdout] 29 | And(PrimitiveType), [INFO] [stdout] | ^^^ [INFO] [stdout] 30 | Or(PrimitiveType), [INFO] [stdout] | ^^ [INFO] [stdout] 31 | Xor(PrimitiveType), [INFO] [stdout] | ^^^ [INFO] [stdout] 32 | IInc(usize, i8), [INFO] [stdout] | ^^^^ [INFO] [stdout] 33 | Convert(PrimitiveType, PrimitiveType), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 34 | LCmp, [INFO] [stdout] | ^^^^ [INFO] [stdout] 35 | FCmpL, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 36 | FCmpG, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 37 | DCmpL, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 38 | DCmpG, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 39 | If(usize, Comparison), [INFO] [stdout] | ^^ [INFO] [stdout] 40 | IfICmp(usize, Comparison), [INFO] [stdout] 41 | Goto(usize), [INFO] [stdout] | ^^^^ [INFO] [stdout] 42 | Jsr(usize), [INFO] [stdout] | ^^^ [INFO] [stdout] 43 | Ret(usize), [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | PutStatic(usize), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 49 | GetField(usize), [INFO] [stdout] 50 | PutField(usize), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | InvokeInterface(usize), // TODO: 4: indexbyte1, indexbyte2, count, 0 [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 55 | InvokeDynamic(usize), // TODO: 4: indexbyte1, indexbyte2, 0, 0 [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | ANewArray(PrimitiveType), // TODO: Perhaps this should be removed? [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 59 | ArrayLength, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 60 | AThrow, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 61 | CheckCast(usize), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 62 | InstanceOf(usize), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 63 | MonitorEnter, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 64 | MonitorExit, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | IfNull(usize), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 68 | IfNonNull(usize), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 69 | Breakpoint, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` 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: associated function `from_type_id` is never used [INFO] [stdout] --> src/bytecode.rs:393:12 [INFO] [stdout] | [INFO] [stdout] 361 | impl PrimitiveType { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 393 | pub fn from_type_id(id: usize) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_constant_pool` is never used [INFO] [stdout] --> src/class_file_parser.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn parse_constant_pool(r: &mut Reader, constant_pool_count: u16) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_interfaces` is never used [INFO] [stdout] --> src/class_file_parser.rs:37:4 [INFO] [stdout] | [INFO] [stdout] 37 | fn parse_interfaces(r: &mut Reader, interfaces_count: u16) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_fields` is never used [INFO] [stdout] --> src/class_file_parser.rs:47:4 [INFO] [stdout] | [INFO] [stdout] 47 | fn parse_fields(r: &mut Reader, ct: &[ConstantPoolEntry], fields_count: u16) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_methods` is never used [INFO] [stdout] --> src/class_file_parser.rs:69:4 [INFO] [stdout] | [INFO] [stdout] 69 | fn parse_methods( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_attributes` is never used [INFO] [stdout] --> src/class_file_parser.rs:95:4 [INFO] [stdout] | [INFO] [stdout] 95 | fn parse_attributes( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `u1` is never used [INFO] [stdout] --> src/class_file_parser.rs:275:4 [INFO] [stdout] | [INFO] [stdout] 275 | fn u1(code: &[u8], pc: &mut usize) -> usize { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `u2` is never used [INFO] [stdout] --> src/class_file_parser.rs:281:4 [INFO] [stdout] | [INFO] [stdout] 281 | fn u2(code: &[u8], pc: &mut usize) -> usize { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `u4` is never used [INFO] [stdout] --> src/class_file_parser.rs:288:4 [INFO] [stdout] | [INFO] [stdout] 288 | fn u4(code: &[u8], pc: &mut usize) -> usize { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bytes_to_bytecode` is never used [INFO] [stdout] --> src/class_file_parser.rs:297:8 [INFO] [stdout] | [INFO] [stdout] 297 | pub fn bytes_to_bytecode(code: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_file_to_class` is never used [INFO] [stdout] --> src/class_file_parser.rs:521:8 [INFO] [stdout] | [INFO] [stdout] 521 | pub fn parse_file_to_class(filename: String) -> Class { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/java_class.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum ConstantPoolEntry { [INFO] [stdout] | ----------------- variants in this enum [INFO] [stdout] 6 | Utf8(String), [INFO] [stdout] 7 | Integer(i32), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 8 | Float(f32), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | Long(i64), [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | Double(f64), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | Class(usize), // name_index [INFO] [stdout] 12 | String(usize), // string_index [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | InterfaceMethodRef(usize, usize), // class_index, name_and_type_index [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | NameAndType(usize, usize), // name_index, descriptor_index [INFO] [stdout] 17 | MethodHandle(u8, usize), // reference_kind, reference_index [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 18 | MethodType(usize), // descriptor_index [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 19 | InvokeDynamic(usize, usize), // bootstrap_method_attr_index, name_and_type_index [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConstantPoolEntry` 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: multiple variants are never constructed [INFO] [stdout] --> src/java_class.rs:234:5 [INFO] [stdout] | [INFO] [stdout] 233 | pub enum ClassFlags { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 234 | Public = 0x0001, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 235 | Final = 0x0010, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 236 | Super = 0x0020, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 237 | Interface = 0x0200, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 238 | Abstract = 0x0400, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 239 | Synthetic = 0x1000, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 240 | Annotation = 0x2000, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 241 | Enum = 0x4000, [INFO] [stdout] | ^^^^ [INFO] [stdout] 242 | Module = 0x8000, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClassFlags` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/java_class.rs:246:12 [INFO] [stdout] | [INFO] [stdout] 245 | impl ClassFlags { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 246 | pub fn parse(flags: u16) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/java_class.rs:305:5 [INFO] [stdout] | [INFO] [stdout] 304 | pub enum Attribute { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 305 | ConstantValue(ConstantValueAttribute), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 306 | Code(CodeAttribute), [INFO] [stdout] | ^^^^ [INFO] [stdout] 307 | StackMapTable(StackMapTableAttribute), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 308 | Exceptions(ExceptionsAttribute), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 309 | InnerClasses(InnerClassesAttribute), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 310 | EnclosingMethod(EnclosingMethodAttribute), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 311 | Synthetic(SyntheticAttribute), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 312 | Signature(SignatureAttribute), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 313 | SourceFile(SourceFileAttribute), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 314 | LineNumberTable(LineNumberTableAttribute), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 315 | LocalVariableTable(LocalVariableTableAttribute), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 316 | LocalVariableTypeTable(LocalVariableTypeTableAttribute), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 317 | Deprecated(DeprecatedAttribute), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Attribute` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/javac.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 127 | struct MethodInfo { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 128 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MethodInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `super_class` is never read [INFO] [stdout] --> src/javac.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 136 | struct ClassInfo { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 137 | pub name: String, [INFO] [stdout] 138 | pub super_class: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClassInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `start_index` and `pretty_print_tree` are never used [INFO] [stdout] --> src/javac.rs:862:12 [INFO] [stdout] | [INFO] [stdout] 860 | impl BlockType { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 861 | /// Get the start_index of the block [INFO] [stdout] 862 | pub fn start_index(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 882 | pub fn pretty_print_tree(&self, depth: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Reader` is never constructed [INFO] [stdout] --> src/reader.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Reader { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/reader.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Reader { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 13 | /// Make a new reader for a passed file. [INFO] [stdout] 14 | pub fn new(filename: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn g1(&mut self) -> u8 { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn g2(&mut self) -> u16 { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn g2u(&mut self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn g4(&mut self) -> u32 { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn g(&mut self, size: usize) -> Vec { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn g4_array(&mut self) -> [u8; 4] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn g8_array(&mut self) -> [u8; 8] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn pos(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn set_pos(&mut self, pos: usize) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/javac.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 127 | struct MethodInfo { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 128 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MethodInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `super_class` is never read [INFO] [stdout] --> src/javac.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 136 | struct ClassInfo { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 137 | pub name: String, [INFO] [stdout] 138 | pub super_class: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClassInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `start_index` and `pretty_print_tree` are never used [INFO] [stdout] --> src/javac.rs:862:12 [INFO] [stdout] | [INFO] [stdout] 860 | impl BlockType { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 861 | /// Get the start_index of the block [INFO] [stdout] 862 | pub fn start_index(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 882 | pub fn pretty_print_tree(&self, depth: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.44s [INFO] running `Command { std: "docker" "inspect" "deff214de0ea27271053be2a4bc98c3752dccc4654eac22a58fd17e42ba0536c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "deff214de0ea27271053be2a4bc98c3752dccc4654eac22a58fd17e42ba0536c", kill_on_drop: false }` [INFO] [stdout] deff214de0ea27271053be2a4bc98c3752dccc4654eac22a58fd17e42ba0536c