[INFO] cloning repository https://github.com/dcechano/sumatra [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dcechano/sumatra" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdcechano%2Fsumatra", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdcechano%2Fsumatra'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 339e7074b9eff305eee8b6fb53b3f3a45a1f39f9 [INFO] checking dcechano/sumatra against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdcechano%2Fsumatra" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dcechano/sumatra on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dcechano/sumatra [INFO] finished tweaking git repo https://github.com/dcechano/sumatra [INFO] tweaked toml for git repo https://github.com/dcechano/sumatra written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/dcechano/sumatra 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3859e1c2ca94c839f7ef54ad237c89f2cbca72fb5e0072cf1f5475801f7eb5ed [INFO] running `Command { std: "docker" "start" "-a" "3859e1c2ca94c839f7ef54ad237c89f2cbca72fb5e0072cf1f5475801f7eb5ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3859e1c2ca94c839f7ef54ad237c89f2cbca72fb5e0072cf1f5475801f7eb5ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3859e1c2ca94c839f7ef54ad237c89f2cbca72fb5e0072cf1f5475801f7eb5ed", kill_on_drop: false }` [INFO] [stdout] 3859e1c2ca94c839f7ef54ad237c89f2cbca72fb5e0072cf1f5475801f7eb5ed [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 38782bad60cf877b52a7b90abe166244b63556c3a7c8d76eb10becd052661ab6 [INFO] running `Command { std: "docker" "start" "-a" "38782bad60cf877b52a7b90abe166244b63556c3a7c8d76eb10becd052661ab6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Compiling anyhow v1.0.81 [INFO] [stderr] Compiling zstd-safe v5.0.2+zstd.1.5.2 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Checking time-core v0.1.2 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking password-hash v0.4.2 [INFO] [stderr] Checking sumatra_parser v0.1.0 (/opt/rustwide/workdir/parser) [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> parser/src/instruction.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> parser/src/instruction.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking time v0.3.34 [INFO] [stderr] Compiling jobserver v0.1.28 [INFO] [stdout] warning: unused import: `byteorder::ReadBytesExt` [INFO] [stdout] --> parser/src/class_file.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use byteorder::ReadBytesExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bitflags::Flags` [INFO] [stdout] --> parser/src/class_file.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use bitflags::Flags; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bitflags::Flags` [INFO] [stdout] --> parser/src/class_reader.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use bitflags::Flags; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `byteorder::ReadBytesExt` [INFO] [stdout] --> parser/src/instruction.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use byteorder::ReadBytesExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `byteorder::ReadBytesExt` [INFO] [stdout] --> parser/src/class_file.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use byteorder::ReadBytesExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bitflags::Flags` [INFO] [stdout] --> parser/src/class_file.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use bitflags::Flags; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bitflags::Flags` [INFO] [stdout] --> parser/src/class_reader.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use bitflags::Flags; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `byteorder::ReadBytesExt` [INFO] [stdout] --> parser/src/instruction.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use byteorder::ReadBytesExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stdout] warning: unused variable: `min_ver` [INFO] [stdout] --> parser/src/class_reader.rs:494:51 [INFO] [stdout] | [INFO] [stdout] 494 | fn parse_method(&mut self, cp: &ConstantPool, min_ver: u16, maj_ver: u16) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_min_ver` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `maj_ver` [INFO] [stdout] --> parser/src/class_reader.rs:494:65 [INFO] [stdout] | [INFO] [stdout] 494 | fn parse_method(&mut self, cp: &ConstantPool, min_ver: u16, maj_ver: u16) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_maj_ver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `min_ver` [INFO] [stdout] --> parser/src/class_reader.rs:494:51 [INFO] [stdout] | [INFO] [stdout] 494 | fn parse_method(&mut self, cp: &ConstantPool, min_ver: u16, maj_ver: u16) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_min_ver` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `maj_ver` [INFO] [stdout] --> parser/src/class_reader.rs:494:65 [INFO] [stdout] | [INFO] [stdout] 494 | fn parse_method(&mut self, cp: &ConstantPool, min_ver: u16, maj_ver: u16) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_maj_ver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `METHOD_PARAMETERS` is never used [INFO] [stdout] --> parser/src/attribute.rs:37:22 [INFO] [stdout] | [INFO] [stdout] 37 | pub(crate) const METHOD_PARAMETERS: &[u8] = b"MethodParameters"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `read_u64` is never used [INFO] [stdout] --> parser/src/class_reader.rs:119:19 [INFO] [stdout] | [INFO] [stdout] 72 | impl ClassReader { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 119 | pub(crate) fn read_u64(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `METHOD_PARAMETERS` is never used [INFO] [stdout] --> parser/src/attribute.rs:37:22 [INFO] [stdout] | [INFO] [stdout] 37 | pub(crate) const METHOD_PARAMETERS: &[u8] = b"MethodParameters"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `read_u64` is never used [INFO] [stdout] --> parser/src/class_reader.rs:119:19 [INFO] [stdout] | [INFO] [stdout] 72 | impl ClassReader { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 119 | pub(crate) fn read_u64(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Compiling zstd-sys v2.0.10+zstd.1.5.6 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Checking pbkdf2 v0.11.0 [INFO] [stderr] Checking bzip2 v0.4.4 [INFO] [stderr] Checking zstd v0.11.2+zstd.1.5.2 [INFO] [stderr] Checking zip v0.6.6 [INFO] [stderr] Checking sumatra_vm v0.1.0 (/opt/rustwide/workdir/vm) [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> vm/src/vm.rs:328:9 [INFO] [stdout] | [INFO] [stdout] 321 | todo!() [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 328 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> vm/src/vm.rs:328:9 [INFO] [stdout] | [INFO] [stdout] 321 | todo!() [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 328 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `string_index` [INFO] [stdout] --> vm/src/vm.rs:215:42 [INFO] [stdout] | [INFO] [stdout] 215 | Constant::String(string_index) => { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_string_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name_index` [INFO] [stdout] --> vm/src/vm.rs:317:17 [INFO] [stdout] | [INFO] [stdout] 317 | name_index, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `name_index: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `descriptor_index` [INFO] [stdout] --> vm/src/vm.rs:318:17 [INFO] [stdout] | [INFO] [stdout] 318 | descriptor_index, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try ignoring the field: `descriptor_index: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pc` and `locals` are never read [INFO] [stdout] --> vm/src/call_frame.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) struct CallFrame<'vm> { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 9 | pub(crate) method: &'vm Method, [INFO] [stdout] 10 | pub(crate) pc: usize, [INFO] [stdout] | ^^ [INFO] [stdout] 11 | pub(crate) locals: Vec>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CallFrame` 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: constant `DEFAULT_CAPACITY` is never used [INFO] [stdout] --> vm/src/class_loader.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const DEFAULT_CAPACITY: usize = 64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `by_name`, and `by_index` are never used [INFO] [stdout] --> vm/src/class_loader.rs:20:19 [INFO] [stdout] | [INFO] [stdout] 18 | impl ClassLoader { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 19 | #[inline] [INFO] [stdout] 20 | pub(crate) fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub(crate) fn by_name(&self, name: &str) -> Result<&Class> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub(crate) fn by_index(&self, index: usize) -> Result<&Class> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VALUE_SIZE` is never used [INFO] [stdout] --> vm/src/oop.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | const VALUE_SIZE: usize = mem::size_of::(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VALUE_ALIGN` is never used [INFO] [stdout] --> vm/src/oop.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | const VALUE_ALIGN: usize = mem::align_of::(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `with_capacity` is never used [INFO] [stdout] --> vm/src/oop.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 25 | impl FieldsTable { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 26 | #[inline] [INFO] [stdout] 27 | fn with_capacity(cap: usize) -> Self { Self(HashMap::with_capacity(cap)) } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `populate_table` are never used [INFO] [stdout] --> vm/src/oop.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 48 | impl Header { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 49 | #[inline] [INFO] [stdout] 50 | fn new(class: &ClassFile, class_index: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | fn populate_table(&mut self, ptr: *mut u8, fields: &[Field], alignment: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_field`, `get_field_inner`, `set_field`, and `deallocate` are never used [INFO] [stdout] --> vm/src/oop.rs:96:19 [INFO] [stdout] | [INFO] [stdout] 94 | impl<'data> HeapAlloc<'data> { [INFO] [stdout] | ---------------------------- associated items in this implementation [INFO] [stdout] 95 | #[allow(clippy::new_ret_no_self)] [INFO] [stdout] 96 | pub(crate) fn new(class: &ClassFile, index: usize) -> *mut u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | pub(crate) fn get_field(&self, name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | pub(crate) unsafe fn get_field_inner(&self, name: &str) -> Result<*mut u8> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | pub(crate) fn set_field(&mut self, name: &str, data: Value) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | pub(crate) unsafe fn deallocate(heap: *mut HeapAlloc) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Double`, `Int`, `Short`, `Byte`, `Long`, and `RefType` are never constructed [INFO] [stdout] --> vm/src/value.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Value<'data> { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 8 | Double(f64), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 9 | Int(i32), [INFO] [stdout] | ^^^ [INFO] [stdout] 10 | Short(i16), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 11 | Byte(i8), [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | Long(i64), [INFO] [stdout] | ^^^^ [INFO] [stdout] 13 | RefType(HeapAlloc<'data>), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Value` 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 `stack` is never read [INFO] [stdout] --> vm/src/vm.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct VM<'vm> { [INFO] [stdout] | -- field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | pub(crate) stack: Vec>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `string_index` [INFO] [stdout] --> vm/src/vm.rs:215:42 [INFO] [stdout] | [INFO] [stdout] 215 | Constant::String(string_index) => { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_string_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking sumatra_cli v0.1.0 (/opt/rustwide/workdir/cli) [INFO] [stdout] warning: unused variable: `name_index` [INFO] [stdout] --> vm/src/vm.rs:317:17 [INFO] [stdout] | [INFO] [stdout] 317 | name_index, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `name_index: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `descriptor_index` [INFO] [stdout] --> vm/src/vm.rs:318:17 [INFO] [stdout] | [INFO] [stdout] 318 | descriptor_index, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try ignoring the field: `descriptor_index: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pc` and `locals` are never read [INFO] [stdout] --> vm/src/call_frame.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) struct CallFrame<'vm> { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 9 | pub(crate) method: &'vm Method, [INFO] [stdout] 10 | pub(crate) pc: usize, [INFO] [stdout] | ^^ [INFO] [stdout] 11 | pub(crate) locals: Vec>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CallFrame` 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: constant `DEFAULT_CAPACITY` is never used [INFO] [stdout] --> vm/src/class_loader.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const DEFAULT_CAPACITY: usize = 64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `by_name`, and `by_index` are never used [INFO] [stdout] --> vm/src/class_loader.rs:20:19 [INFO] [stdout] | [INFO] [stdout] 18 | impl ClassLoader { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 19 | #[inline] [INFO] [stdout] 20 | pub(crate) fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub(crate) fn by_name(&self, name: &str) -> Result<&Class> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub(crate) fn by_index(&self, index: usize) -> Result<&Class> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VALUE_SIZE` is never used [INFO] [stdout] --> vm/src/oop.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | const VALUE_SIZE: usize = mem::size_of::(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VALUE_ALIGN` is never used [INFO] [stdout] --> vm/src/oop.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | const VALUE_ALIGN: usize = mem::align_of::(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `with_capacity` is never used [INFO] [stdout] --> vm/src/oop.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 25 | impl FieldsTable { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 26 | #[inline] [INFO] [stdout] 27 | fn with_capacity(cap: usize) -> Self { Self(HashMap::with_capacity(cap)) } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `populate_table` are never used [INFO] [stdout] --> vm/src/oop.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 48 | impl Header { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 49 | #[inline] [INFO] [stdout] 50 | fn new(class: &ClassFile, class_index: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | fn populate_table(&mut self, ptr: *mut u8, fields: &[Field], alignment: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_field`, `get_field_inner`, `set_field`, and `deallocate` are never used [INFO] [stdout] --> vm/src/oop.rs:96:19 [INFO] [stdout] | [INFO] [stdout] 94 | impl<'data> HeapAlloc<'data> { [INFO] [stdout] | ---------------------------- associated items in this implementation [INFO] [stdout] 95 | #[allow(clippy::new_ret_no_self)] [INFO] [stdout] 96 | pub(crate) fn new(class: &ClassFile, index: usize) -> *mut u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | pub(crate) fn get_field(&self, name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | pub(crate) unsafe fn get_field_inner(&self, name: &str) -> Result<*mut u8> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | pub(crate) fn set_field(&mut self, name: &str, data: Value) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | pub(crate) unsafe fn deallocate(heap: *mut HeapAlloc) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Double`, `Int`, `Short`, `Byte`, `Long`, and `RefType` are never constructed [INFO] [stdout] --> vm/src/value.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Value<'data> { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 8 | Double(f64), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 9 | Int(i32), [INFO] [stdout] | ^^^ [INFO] [stdout] 10 | Short(i16), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 11 | Byte(i8), [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | Long(i64), [INFO] [stdout] | ^^^^ [INFO] [stdout] 13 | RefType(HeapAlloc<'data>), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Value` 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 `stack` is never read [INFO] [stdout] --> vm/src/vm.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct VM<'vm> { [INFO] [stdout] | -- field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | pub(crate) stack: Vec>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CLASSES` is never used [INFO] [stdout] --> cli/src/main.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const CLASSES: [&str; 5] = [ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CLASSES` is never used [INFO] [stdout] --> cli/src/main.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const CLASSES: [&str; 5] = [ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.67s [INFO] running `Command { std: "docker" "inspect" "38782bad60cf877b52a7b90abe166244b63556c3a7c8d76eb10becd052661ab6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38782bad60cf877b52a7b90abe166244b63556c3a7c8d76eb10becd052661ab6", kill_on_drop: false }` [INFO] [stdout] 38782bad60cf877b52a7b90abe166244b63556c3a7c8d76eb10becd052661ab6 [INFO] checking dcechano/sumatra against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdcechano%2Fsumatra" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dcechano/sumatra on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dcechano/sumatra [INFO] finished tweaking git repo https://github.com/dcechano/sumatra [INFO] tweaked toml for git repo https://github.com/dcechano/sumatra written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/dcechano/sumatra 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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 90e7a068ce2a1baa8637061588cb359b869f0405d14c48a14326e6e7e14787ab [INFO] running `Command { std: "docker" "start" "-a" "90e7a068ce2a1baa8637061588cb359b869f0405d14c48a14326e6e7e14787ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "90e7a068ce2a1baa8637061588cb359b869f0405d14c48a14326e6e7e14787ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90e7a068ce2a1baa8637061588cb359b869f0405d14c48a14326e6e7e14787ab", kill_on_drop: false }` [INFO] [stdout] 90e7a068ce2a1baa8637061588cb359b869f0405d14c48a14326e6e7e14787ab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "-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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d939caa6057c391e342594489429376cf7e9df1f8d8ebb7e61e233648d5235c0 [INFO] running `Command { std: "docker" "start" "-a" "d939caa6057c391e342594489429376cf7e9df1f8d8ebb7e61e233648d5235c0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling anyhow v1.0.81 [INFO] [stderr] Compiling zstd-safe v5.0.2+zstd.1.5.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Checking time-core v0.1.2 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking password-hash v0.4.2 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking sumatra_parser v0.1.0 (/opt/rustwide/workdir/parser) [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> parser/src/instruction.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> parser/src/instruction.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stdout] warning: unused import: `byteorder::ReadBytesExt` [INFO] [stdout] --> parser/src/class_file.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use byteorder::ReadBytesExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bitflags::Flags` [INFO] [stdout] --> parser/src/class_file.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use bitflags::Flags; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bitflags::Flags` [INFO] [stdout] --> parser/src/class_reader.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use bitflags::Flags; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `byteorder::ReadBytesExt` [INFO] [stdout] --> parser/src/instruction.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use byteorder::ReadBytesExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `min_ver` [INFO] [stdout] --> parser/src/class_reader.rs:494:51 [INFO] [stdout] | [INFO] [stdout] 494 | fn parse_method(&mut self, cp: &ConstantPool, min_ver: u16, maj_ver: u16) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_min_ver` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `maj_ver` [INFO] [stdout] --> parser/src/class_reader.rs:494:65 [INFO] [stdout] | [INFO] [stdout] 494 | fn parse_method(&mut self, cp: &ConstantPool, min_ver: u16, maj_ver: u16) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_maj_ver` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking time v0.3.34 [INFO] [stdout] warning: unused import: `byteorder::ReadBytesExt` [INFO] [stdout] --> parser/src/class_file.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use byteorder::ReadBytesExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bitflags::Flags` [INFO] [stdout] --> parser/src/class_file.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use bitflags::Flags; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bitflags::Flags` [INFO] [stdout] --> parser/src/class_reader.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use bitflags::Flags; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `byteorder::ReadBytesExt` [INFO] [stdout] --> parser/src/instruction.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use byteorder::ReadBytesExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `min_ver` [INFO] [stdout] --> parser/src/class_reader.rs:494:51 [INFO] [stdout] | [INFO] [stdout] 494 | fn parse_method(&mut self, cp: &ConstantPool, min_ver: u16, maj_ver: u16) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_min_ver` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `maj_ver` [INFO] [stdout] --> parser/src/class_reader.rs:494:65 [INFO] [stdout] | [INFO] [stdout] 494 | fn parse_method(&mut self, cp: &ConstantPool, min_ver: u16, maj_ver: u16) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_maj_ver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `METHOD_PARAMETERS` is never used [INFO] [stdout] --> parser/src/attribute.rs:37:22 [INFO] [stdout] | [INFO] [stdout] 37 | pub(crate) const METHOD_PARAMETERS: &[u8] = b"MethodParameters"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `read_u64` is never used [INFO] [stdout] --> parser/src/class_reader.rs:119:19 [INFO] [stdout] | [INFO] [stdout] 72 | impl ClassReader { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 119 | pub(crate) fn read_u64(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `METHOD_PARAMETERS` is never used [INFO] [stdout] --> parser/src/attribute.rs:37:22 [INFO] [stdout] | [INFO] [stdout] 37 | pub(crate) const METHOD_PARAMETERS: &[u8] = b"MethodParameters"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `read_u64` is never used [INFO] [stdout] --> parser/src/class_reader.rs:119:19 [INFO] [stdout] | [INFO] [stdout] 72 | impl ClassReader { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 119 | pub(crate) fn read_u64(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling jobserver v0.1.28 [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking pbkdf2 v0.11.0 [INFO] [stderr] Compiling zstd-sys v2.0.10+zstd.1.5.6 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Checking bzip2 v0.4.4 [INFO] [stderr] Checking zstd v0.11.2+zstd.1.5.2 [INFO] [stderr] Checking zip v0.6.6 [INFO] [stderr] Checking sumatra_vm v0.1.0 (/opt/rustwide/workdir/vm) [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> vm/src/vm.rs:328:9 [INFO] [stdout] | [INFO] [stdout] 321 | todo!() [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 328 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> vm/src/vm.rs:328:9 [INFO] [stdout] | [INFO] [stdout] 321 | todo!() [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 328 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `string_index` [INFO] [stdout] --> vm/src/vm.rs:215:42 [INFO] [stdout] | [INFO] [stdout] 215 | Constant::String(string_index) => { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_string_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name_index` [INFO] [stdout] --> vm/src/vm.rs:317:17 [INFO] [stdout] | [INFO] [stdout] 317 | name_index, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `name_index: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `descriptor_index` [INFO] [stdout] --> vm/src/vm.rs:318:17 [INFO] [stdout] | [INFO] [stdout] 318 | descriptor_index, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try ignoring the field: `descriptor_index: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pc` and `locals` are never read [INFO] [stdout] --> vm/src/call_frame.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) struct CallFrame<'vm> { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 9 | pub(crate) method: &'vm Method, [INFO] [stdout] 10 | pub(crate) pc: usize, [INFO] [stdout] | ^^ [INFO] [stdout] 11 | pub(crate) locals: Vec>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CallFrame` 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: constant `DEFAULT_CAPACITY` is never used [INFO] [stdout] --> vm/src/class_loader.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const DEFAULT_CAPACITY: usize = 64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `by_name`, and `by_index` are never used [INFO] [stdout] --> vm/src/class_loader.rs:20:19 [INFO] [stdout] | [INFO] [stdout] 18 | impl ClassLoader { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 19 | #[inline] [INFO] [stdout] 20 | pub(crate) fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub(crate) fn by_name(&self, name: &str) -> Result<&Class> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub(crate) fn by_index(&self, index: usize) -> Result<&Class> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VALUE_SIZE` is never used [INFO] [stdout] --> vm/src/oop.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | const VALUE_SIZE: usize = mem::size_of::(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VALUE_ALIGN` is never used [INFO] [stdout] --> vm/src/oop.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | const VALUE_ALIGN: usize = mem::align_of::(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `with_capacity` is never used [INFO] [stdout] --> vm/src/oop.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 25 | impl FieldsTable { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 26 | #[inline] [INFO] [stdout] 27 | fn with_capacity(cap: usize) -> Self { Self(HashMap::with_capacity(cap)) } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `populate_table` are never used [INFO] [stdout] --> vm/src/oop.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 48 | impl Header { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 49 | #[inline] [INFO] [stdout] 50 | fn new(class: &ClassFile, class_index: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | fn populate_table(&mut self, ptr: *mut u8, fields: &[Field], alignment: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_field`, `get_field_inner`, `set_field`, and `deallocate` are never used [INFO] [stdout] --> vm/src/oop.rs:96:19 [INFO] [stdout] | [INFO] [stdout] 94 | impl<'data> HeapAlloc<'data> { [INFO] [stdout] | ---------------------------- associated items in this implementation [INFO] [stdout] 95 | #[allow(clippy::new_ret_no_self)] [INFO] [stdout] 96 | pub(crate) fn new(class: &ClassFile, index: usize) -> *mut u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | pub(crate) fn get_field(&self, name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | pub(crate) unsafe fn get_field_inner(&self, name: &str) -> Result<*mut u8> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | pub(crate) fn set_field(&mut self, name: &str, data: Value) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | pub(crate) unsafe fn deallocate(heap: *mut HeapAlloc) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Double`, `Int`, `Short`, `Byte`, `Long`, and `RefType` are never constructed [INFO] [stdout] --> vm/src/value.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Value<'data> { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 8 | Double(f64), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 9 | Int(i32), [INFO] [stdout] | ^^^ [INFO] [stdout] 10 | Short(i16), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 11 | Byte(i8), [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | Long(i64), [INFO] [stdout] | ^^^^ [INFO] [stdout] 13 | RefType(HeapAlloc<'data>), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Value` 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 `stack` is never read [INFO] [stdout] --> vm/src/vm.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct VM<'vm> { [INFO] [stdout] | -- field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | pub(crate) stack: Vec>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `string_index` [INFO] [stdout] --> vm/src/vm.rs:215:42 [INFO] [stdout] | [INFO] [stdout] 215 | Constant::String(string_index) => { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_string_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name_index` [INFO] [stdout] --> vm/src/vm.rs:317:17 [INFO] [stdout] | [INFO] [stdout] 317 | name_index, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `name_index: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `descriptor_index` [INFO] [stdout] --> vm/src/vm.rs:318:17 [INFO] [stdout] | [INFO] [stdout] 318 | descriptor_index, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try ignoring the field: `descriptor_index: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pc` and `locals` are never read [INFO] [stdout] --> vm/src/call_frame.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) struct CallFrame<'vm> { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 9 | pub(crate) method: &'vm Method, [INFO] [stdout] 10 | pub(crate) pc: usize, [INFO] [stdout] | ^^ [INFO] [stdout] 11 | pub(crate) locals: Vec>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CallFrame` 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: constant `DEFAULT_CAPACITY` is never used [INFO] [stdout] --> vm/src/class_loader.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const DEFAULT_CAPACITY: usize = 64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `by_name`, and `by_index` are never used [INFO] [stdout] --> vm/src/class_loader.rs:20:19 [INFO] [stdout] | [INFO] [stdout] 18 | impl ClassLoader { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 19 | #[inline] [INFO] [stdout] 20 | pub(crate) fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub(crate) fn by_name(&self, name: &str) -> Result<&Class> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub(crate) fn by_index(&self, index: usize) -> Result<&Class> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VALUE_SIZE` is never used [INFO] [stdout] --> vm/src/oop.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | const VALUE_SIZE: usize = mem::size_of::(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VALUE_ALIGN` is never used [INFO] [stdout] --> vm/src/oop.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | const VALUE_ALIGN: usize = mem::align_of::(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `with_capacity` is never used [INFO] [stdout] --> vm/src/oop.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 25 | impl FieldsTable { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 26 | #[inline] [INFO] [stdout] 27 | fn with_capacity(cap: usize) -> Self { Self(HashMap::with_capacity(cap)) } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `populate_table` are never used [INFO] [stdout] --> vm/src/oop.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 48 | impl Header { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 49 | #[inline] [INFO] [stdout] 50 | fn new(class: &ClassFile, class_index: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | fn populate_table(&mut self, ptr: *mut u8, fields: &[Field], alignment: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_field`, `get_field_inner`, `set_field`, and `deallocate` are never used [INFO] [stdout] --> vm/src/oop.rs:96:19 [INFO] [stdout] | [INFO] [stdout] 94 | impl<'data> HeapAlloc<'data> { [INFO] [stdout] | ---------------------------- associated items in this implementation [INFO] [stdout] 95 | #[allow(clippy::new_ret_no_self)] [INFO] [stdout] 96 | pub(crate) fn new(class: &ClassFile, index: usize) -> *mut u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | pub(crate) fn get_field(&self, name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | pub(crate) unsafe fn get_field_inner(&self, name: &str) -> Result<*mut u8> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | pub(crate) fn set_field(&mut self, name: &str, data: Value) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | pub(crate) unsafe fn deallocate(heap: *mut HeapAlloc) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Double`, `Int`, `Short`, `Byte`, `Long`, and `RefType` are never constructed [INFO] [stdout] --> vm/src/value.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Value<'data> { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 8 | Double(f64), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 9 | Int(i32), [INFO] [stdout] | ^^^ [INFO] [stdout] 10 | Short(i16), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 11 | Byte(i8), [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | Long(i64), [INFO] [stdout] | ^^^^ [INFO] [stdout] 13 | RefType(HeapAlloc<'data>), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Value` 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 `stack` is never read [INFO] [stdout] --> vm/src/vm.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct VM<'vm> { [INFO] [stdout] | -- field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | pub(crate) stack: Vec>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking sumatra_cli v0.1.0 (/opt/rustwide/workdir/cli) [INFO] [stdout] warning: constant `CLASSES` is never used [INFO] [stdout] --> cli/src/main.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const CLASSES: [&str; 5] = [ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CLASSES` is never used [INFO] [stdout] --> cli/src/main.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const CLASSES: [&str; 5] = [ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.70s [INFO] running `Command { std: "docker" "inspect" "d939caa6057c391e342594489429376cf7e9df1f8d8ebb7e61e233648d5235c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d939caa6057c391e342594489429376cf7e9df1f8d8ebb7e61e233648d5235c0", kill_on_drop: false }` [INFO] [stdout] d939caa6057c391e342594489429376cf7e9df1f8d8ebb7e61e233648d5235c0