[INFO] cloning repository https://github.com/morningKing/jvst [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/morningKing/jvst" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FmorningKing%2Fjvst", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FmorningKing%2Fjvst'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c7ab989311ca62adbc3af78f91c2719fe34325e0 [INFO] checking morningKing/jvst against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FmorningKing%2Fjvst" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/morningKing/jvst on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/morningKing/jvst [INFO] finished tweaking git repo https://github.com/morningKing/jvst [INFO] tweaked toml for git repo https://github.com/morningKing/jvst written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/morningKing/jvst 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "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 [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 morningKing/jvst against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FmorningKing%2Fjvst" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/morningKing/jvst on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/morningKing/jvst [INFO] finished tweaking git repo https://github.com/morningKing/jvst [INFO] tweaked toml for git repo https://github.com/morningKing/jvst written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/morningKing/jvst 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "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 zip v0.5.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 25c7abe591600caedfcd3a1bde8b06310e96976a38e26742e5f0c64783a45fc3 [INFO] running `Command { std: "docker" "start" "-a" "25c7abe591600caedfcd3a1bde8b06310e96976a38e26742e5f0c64783a45fc3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "25c7abe591600caedfcd3a1bde8b06310e96976a38e26742e5f0c64783a45fc3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25c7abe591600caedfcd3a1bde8b06310e96976a38e26742e5f0c64783a45fc3", kill_on_drop: false }` [INFO] [stdout] 25c7abe591600caedfcd3a1bde8b06310e96976a38e26742e5f0c64783a45fc3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bef3b8dd67f7631069cabbc91c32e8bdc5d14ae1b886c77b855fc95f05c9fcd5 [INFO] running `Command { std: "docker" "start" "-a" "bef3b8dd67f7631069cabbc91c32e8bdc5d14ae1b886c77b855fc95f05c9fcd5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling cc v1.0.48 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Checking adler32 v1.0.4 [INFO] [stderr] Checking podio v0.1.6 [INFO] [stderr] Checking hex v0.3.2 [INFO] [stderr] Checking miniz_oxide v0.3.5 [INFO] [stderr] Compiling bzip2-sys v0.1.7 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking flate2 v1.0.13 [INFO] [stderr] Checking bzip2 v0.3.3 [INFO] [stderr] Checking zip v0.5.3 [INFO] [stderr] Checking jvst v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/cmd/classfile/clz_reader.rs:47:74 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn read_u16_string(data: &[u8], mut res: String, index: &mut u32) -> (String) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 47 - pub fn read_u16_string(data: &[u8], mut res: String, index: &mut u32) -> (String) { [INFO] [stdout] 47 + pub fn read_u16_string(data: &[u8], mut res: String, index: &mut u32) -> String { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/cmd/visit.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | if (name.ends_with(clz_nm)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 34 - if (name.ends_with(clz_nm)) { [INFO] [stdout] 34 + if name.ends_with(clz_nm) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/cmd/classfile/clz_reader.rs:47:74 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn read_u16_string(data: &[u8], mut res: String, index: &mut u32) -> (String) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 47 - pub fn read_u16_string(data: &[u8], mut res: String, index: &mut u32) -> (String) { [INFO] [stdout] 47 + pub fn read_u16_string(data: &[u8], mut res: String, index: &mut u32) -> String { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/cmd/visit.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | if (name.ends_with(clz_nm)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 34 - if (name.ends_with(clz_nm)) { [INFO] [stdout] 34 + if name.ends_with(clz_nm) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/cmd/classfile/attr_code.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | for i in 0..exp_len { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/cmd/classfile/attr_info.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | for i in 0..count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/cmd/classfile/attr_ln_info.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | for i in 0..ln_len { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/cmd/classfile/attr_lvt_info.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | for i in 0..lvt_len { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/cmd/classfile/attr_code.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | for i in 0..exp_len { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/cmd/classfile/attr_info.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | for i in 0..count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value passed to `res` is never read [INFO] [stdout] --> src/cmd/classfile/clz_reader.rs:30:33 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn read_u8(data: &[u8], mut res: u8, mut index: &mut u32) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cmd/classfile/clz_reader.rs:30:42 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn read_u8(data: &[u8], mut res: u8, mut index: &mut u32) -> u8 { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value passed to `res` is never read [INFO] [stdout] --> src/cmd/classfile/clz_reader.rs:47:41 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn read_u16_string(data: &[u8], mut res: String, index: &mut u32) -> (String) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/cmd/classfile/attr_ln_info.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | for i in 0..ln_len { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `res` is never read [INFO] [stdout] --> src/cmd/classfile/clz_reader.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | let mut res = 0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/cmd/classfile/attr_lvt_info.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | for i in 0..lvt_len { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cmd/classfile/clz_reader.rs:55:30 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn read_u16(data: &[u8], mut index: &mut u32) -> u16 { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value passed to `res` is never read [INFO] [stdout] --> src/cmd/classfile/clz_reader.rs:68:41 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn read_u32_string(data: &[u8], mut res: String, index: &mut u32) -> String { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value passed to `res` is never read [INFO] [stdout] --> src/cmd/classfile/clz_reader.rs:76:34 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn read_i32(data: &[u8], mut res: i32, index: &mut u32) -> i32 { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value passed to `res` is never read [INFO] [stdout] --> src/cmd/classfile/clz_reader.rs:88:34 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn read_f32(data: &[u8], mut res: f32, index: &mut u32) -> f32 { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value passed to `res` is never read [INFO] [stdout] --> src/cmd/classfile/clz_reader.rs:100:34 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn read_u32(data: &[u8], mut res: u32, index: &mut u32) -> u32 { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value passed to `res` is never read [INFO] [stdout] --> src/cmd/classfile/clz_reader.rs:112:34 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn read_i64(data: &[u8], mut res: i64, index: &mut u32) -> i64 { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value passed to `res` is never read [INFO] [stdout] --> src/cmd/classfile/clz_reader.rs:124:34 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn read_f64(data: &[u8], mut res: f64, mut index: &mut u32) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cmd/classfile/clz_reader.rs:124:44 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn read_f64(data: &[u8], mut res: f64, mut index: &mut u32) -> f64 { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value passed to `res` is never read [INFO] [stdout] --> src/cmd/classfile/clz_reader.rs:136:35 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn read_utf8(data: &[u8], mut res: String, index: &mut u32, len: u32) -> String { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value passed to `res` is never read [INFO] [stdout] --> src/cmd/classfile/clz_reader.rs:30:33 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn read_u8(data: &[u8], mut res: u8, mut index: &mut u32) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/cmd/classfile/clz_reader.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | for i in 0..count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `res` is never read [INFO] [stdout] --> src/cmd/classfile/clz_reader.rs:151:17 [INFO] [stdout] | [INFO] [stdout] 151 | let mut res = 0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cmd/classfile/clz_reader.rs:30:42 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn read_u8(data: &[u8], mut res: u8, mut index: &mut u32) -> u8 { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value passed to `res` is never read [INFO] [stdout] --> src/cmd/classfile/clz_reader.rs:47:41 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn read_u16_string(data: &[u8], mut res: String, index: &mut u32) -> (String) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `res` is never read [INFO] [stdout] --> src/cmd/classfile/clz_reader.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | let mut res = 0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cmd/classfile/clz_reader.rs:55:30 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn read_u16(data: &[u8], mut index: &mut u32) -> u16 { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value passed to `res` is never read [INFO] [stdout] --> src/cmd/classfile/clz_reader.rs:68:41 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn read_u32_string(data: &[u8], mut res: String, index: &mut u32) -> String { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value passed to `res` is never read [INFO] [stdout] --> src/cmd/classfile/clz_reader.rs:76:34 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn read_i32(data: &[u8], mut res: i32, index: &mut u32) -> i32 { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value passed to `res` is never read [INFO] [stdout] --> src/cmd/classfile/clz_reader.rs:88:34 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn read_f32(data: &[u8], mut res: f32, index: &mut u32) -> f32 { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value passed to `res` is never read [INFO] [stdout] --> src/cmd/classfile/clz_reader.rs:100:34 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn read_u32(data: &[u8], mut res: u32, index: &mut u32) -> u32 { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value passed to `res` is never read [INFO] [stdout] --> src/cmd/classfile/clz_reader.rs:112:34 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn read_i64(data: &[u8], mut res: i64, index: &mut u32) -> i64 { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value passed to `res` is never read [INFO] [stdout] --> src/cmd/classfile/clz_reader.rs:124:34 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn read_f64(data: &[u8], mut res: f64, mut index: &mut u32) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cmd/classfile/clz_reader.rs:124:44 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn read_f64(data: &[u8], mut res: f64, mut index: &mut u32) -> f64 { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value passed to `res` is never read [INFO] [stdout] --> src/cmd/classfile/clz_reader.rs:136:35 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn read_utf8(data: &[u8], mut res: String, index: &mut u32, len: u32) -> String { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/cmd/classfile/clz_reader.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | for i in 0..count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `res` is never read [INFO] [stdout] --> src/cmd/classfile/clz_reader.rs:151:17 [INFO] [stdout] | [INFO] [stdout] 151 | let mut res = 0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name_index` [INFO] [stdout] --> src/cmd/classfile/cp_name_type_info.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | let name_index = 0; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_name_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name_index` [INFO] [stdout] --> src/cmd/classfile/cp_name_type_info.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | let name_index = 0; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_name_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `desc_index` [INFO] [stdout] --> src/cmd/classfile/cp_name_type_info.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | let desc_index = 0; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_desc_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `desc_index` [INFO] [stdout] --> src/cmd/classfile/cp_name_type_info.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | let desc_index = 0; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_desc_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/cmd/classfile/memb_info.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | for i in 0..mems_num { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/cmd/classfile/memb_info.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | for i in 0..mems_num { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/cmd/visit.rs:68:16 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn exp_cmp(path: String, clz_nm: &str) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `clz_nm` [INFO] [stdout] --> src/cmd/visit.rs:68:30 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn exp_cmp(path: String, clz_nm: &str) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_clz_nm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/cmd/visit.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn exp_wlid(path: String, clz_nm: &str) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `clz_nm` [INFO] [stdout] --> src/cmd/visit.rs:75:31 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn exp_wlid(path: String, clz_nm: &str) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_clz_nm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/cmd/visit.rs:68:16 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn exp_cmp(path: String, clz_nm: &str) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `magic`, `minor_v`, `major_v`, `access_flag`, `this_class`, and `super_class` are never read [INFO] [stdout] --> src/cmd/classfile.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct Classfile<'a> { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 27 | pub magic: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 28 | pub minor_v: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 29 | pub major_v: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 30 | pub const_pool: &'a Constantpool<'a>, [INFO] [stdout] 31 | pub access_flag: u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 32 | pub this_class: u16, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 33 | pub super_class: u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `clz_nm` [INFO] [stdout] --> src/cmd/visit.rs:68:30 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn exp_cmp(path: String, clz_nm: &str) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_clz_nm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cp` is never read [INFO] [stdout] --> src/cmd/classfile/attr_src_info.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct AttrSrcInfo<'a> { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 6 | pub cp: &'a Constantpool<'a>, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `read_file_name` is never used [INFO] [stdout] --> src/cmd/classfile/attr_src_info.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl<'a> AttrSrcInfo<'a> { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] 17 | pub fn read_file_name(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/cmd/classfile/attr_tbc.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct AttrTbcInfo { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 5 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cp` is never read [INFO] [stdout] --> src/cmd/classfile/memb_info.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct MemberInfo<'a> { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 7 | pub cp: &'a Constantpool<'a>, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/cmd/visit.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn exp_wlid(path: String, clz_nm: &str) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Bootpath` is never constructed [INFO] [stdout] --> src/cmd/classpath.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Bootpath { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Extpath` is never constructed [INFO] [stdout] --> src/cmd/classpath.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Extpath { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `clz_nm` [INFO] [stdout] --> src/cmd/visit.rs:75:31 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn exp_wlid(path: String, clz_nm: &str) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_clz_nm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `readclz` is never used [INFO] [stdout] --> src/cmd/classpath.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Bootpath { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 17 | pub fn readclz(&self, clz_nm: &str) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `readclz` is never used [INFO] [stdout] --> src/cmd/classpath.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Extpath { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 23 | pub fn readclz(&self, clz_nm: &str) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `exp_cmp` is never used [INFO] [stdout] --> src/cmd/visit.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn exp_cmp(path: String, clz_nm: &str) {} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `exp_wlid` is never used [INFO] [stdout] --> src/cmd/visit.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn exp_wlid(path: String, clz_nm: &str) {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `magic`, `minor_v`, `major_v`, `access_flag`, `this_class`, and `super_class` are never read [INFO] [stdout] --> src/cmd/classfile.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct Classfile<'a> { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 27 | pub magic: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 28 | pub minor_v: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 29 | pub major_v: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 30 | pub const_pool: &'a Constantpool<'a>, [INFO] [stdout] 31 | pub access_flag: u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 32 | pub this_class: u16, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 33 | pub super_class: u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cp` is never read [INFO] [stdout] --> src/cmd/classfile/attr_src_info.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct AttrSrcInfo<'a> { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 6 | pub cp: &'a Constantpool<'a>, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `read_file_name` is never used [INFO] [stdout] --> src/cmd/classfile/attr_src_info.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl<'a> AttrSrcInfo<'a> { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] 17 | pub fn read_file_name(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/cmd/classfile/attr_tbc.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct AttrTbcInfo { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 5 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cp` is never read [INFO] [stdout] --> src/cmd/classfile/memb_info.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct MemberInfo<'a> { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 7 | pub cp: &'a Constantpool<'a>, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Bootpath` is never constructed [INFO] [stdout] --> src/cmd/classpath.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Bootpath { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Extpath` is never constructed [INFO] [stdout] --> src/cmd/classpath.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Extpath { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `readclz` is never used [INFO] [stdout] --> src/cmd/classpath.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Bootpath { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 17 | pub fn readclz(&self, clz_nm: &str) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `readclz` is never used [INFO] [stdout] --> src/cmd/classpath.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Extpath { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 23 | pub fn readclz(&self, clz_nm: &str) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `exp_cmp` is never used [INFO] [stdout] --> src/cmd/visit.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn exp_cmp(path: String, clz_nm: &str) {} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `exp_wlid` is never used [INFO] [stdout] --> src/cmd/visit.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn exp_wlid(path: String, clz_nm: &str) {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/cmd/visit.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | cb(&entry, paths, clz_nm); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 21 | let _ = cb(&entry, paths, clz_nm); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/cmd/visit.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | visit_zip(clz_path, paths, clz_nm); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 72 | let _ = visit_zip(clz_path, paths, clz_nm); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/cmd/visit.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | cb(&entry, paths, clz_nm); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 21 | let _ = cb(&entry, paths, clz_nm); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/cmd/visit.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | visit_zip(clz_path, paths, clz_nm); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 72 | let _ = visit_zip(clz_path, paths, clz_nm); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 41 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 41 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.02s [INFO] running `Command { std: "docker" "inspect" "bef3b8dd67f7631069cabbc91c32e8bdc5d14ae1b886c77b855fc95f05c9fcd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bef3b8dd67f7631069cabbc91c32e8bdc5d14ae1b886c77b855fc95f05c9fcd5", kill_on_drop: false }` [INFO] [stdout] bef3b8dd67f7631069cabbc91c32e8bdc5d14ae1b886c77b855fc95f05c9fcd5