[INFO] cloning repository https://github.com/xyzzyz/rzlib [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xyzzyz/rzlib" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxyzzyz%2Frzlib", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxyzzyz%2Frzlib'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 30874b37def7c4cdbcce1fa6c12546e286e17b4d [INFO] checking xyzzyz/rzlib against master#7bdae134cba57426d3c56b5de737a351762445e1 for pr-123794 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxyzzyz%2Frzlib" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/xyzzyz/rzlib on toolchain 7bdae134cba57426d3c56b5de737a351762445e1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7bdae134cba57426d3c56b5de737a351762445e1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/xyzzyz/rzlib [INFO] finished tweaking git repo https://github.com/xyzzyz/rzlib [INFO] tweaked toml for git repo https://github.com/xyzzyz/rzlib written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/xyzzyz/rzlib 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" "+7bdae134cba57426d3c56b5de737a351762445e1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking xyzzyz/rzlib against try#f0a46ffcb8bbd220fe569642e5e175207d8e3fea for pr-123794 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxyzzyz%2Frzlib" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/xyzzyz/rzlib on toolchain f0a46ffcb8bbd220fe569642e5e175207d8e3fea [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f0a46ffcb8bbd220fe569642e5e175207d8e3fea" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/xyzzyz/rzlib [INFO] finished tweaking git repo https://github.com/xyzzyz/rzlib [INFO] tweaked toml for git repo https://github.com/xyzzyz/rzlib written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/xyzzyz/rzlib 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" "+f0a46ffcb8bbd220fe569642e5e175207d8e3fea" "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 [INFO] checking xyzzyz/rzlib against try#f0a46ffcb8bbd220fe569642e5e175207d8e3fea for pr-123794 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxyzzyz%2Frzlib" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/xyzzyz/rzlib on toolchain f0a46ffcb8bbd220fe569642e5e175207d8e3fea [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f0a46ffcb8bbd220fe569642e5e175207d8e3fea" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/xyzzyz/rzlib [INFO] finished tweaking git repo https://github.com/xyzzyz/rzlib [INFO] tweaked toml for git repo https://github.com/xyzzyz/rzlib written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/xyzzyz/rzlib 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" "+f0a46ffcb8bbd220fe569642e5e175207d8e3fea" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+f0a46ffcb8bbd220fe569642e5e175207d8e3fea" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dc03e65e4c8b01ec49d8382847bc1f0e9e020afdaab9afb5db6e0e178f6db30f [INFO] running `Command { std: "docker" "start" "-a" "dc03e65e4c8b01ec49d8382847bc1f0e9e020afdaab9afb5db6e0e178f6db30f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dc03e65e4c8b01ec49d8382847bc1f0e9e020afdaab9afb5db6e0e178f6db30f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc03e65e4c8b01ec49d8382847bc1f0e9e020afdaab9afb5db6e0e178f6db30f", kill_on_drop: false }` [INFO] [stdout] dc03e65e4c8b01ec49d8382847bc1f0e9e020afdaab9afb5db6e0e178f6db30f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+f0a46ffcb8bbd220fe569642e5e175207d8e3fea" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6e368e330b4701c52426cb7602d256653267fa9af89704b8f1c4800e2c14ff46 [INFO] running `Command { std: "docker" "start" "-a" "6e368e330b4701c52426cb7602d256653267fa9af89704b8f1c4800e2c14ff46", kill_on_drop: false }` [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking rzlib v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/rzlibreader.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `File`, `read` [INFO] [stdout] --> src/rzlibreader.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs::{read, File}; [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/rzlibreader.rs:4:30 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{BufRead, Read, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fmt`, `result` [INFO] [stdout] --> src/rzlibreader.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | use std::{cmp, fmt, io, mem, result}; [INFO] [stdout] | ^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/rzlibreader.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::debug` [INFO] [stdout] --> src/rzlibreader.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use log::debug; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `File`, `read` [INFO] [stdout] --> src/rzlibreader.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs::{read, File}; [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/lookbackbuffer.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/rzlibreader.rs:4:30 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{BufRead, Read, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fmt`, `result` [INFO] [stdout] --> src/rzlibreader.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | use std::{cmp, fmt, io, mem, result}; [INFO] [stdout] | ^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::debug` [INFO] [stdout] --> src/rzlibreader.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use log::debug; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/lookbackbuffer.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes_read` [INFO] [stdout] --> src/rzlibreader.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | let bytes_read = self.reader.read_until(0, &mut buf)?; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes_read` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ftext` [INFO] [stdout] --> src/rzlibreader.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | let ftext = flg & 1 == 1; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_ftext` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mtime` [INFO] [stdout] --> src/rzlibreader.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | let mtime = self.reader.read_u32()?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_mtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `xfl` [INFO] [stdout] --> src/rzlibreader.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 117 | let xfl = self.reader.read_u8()?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_xfl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `os` [INFO] [stdout] --> src/rzlibreader.rs:120:13 [INFO] [stdout] | [INFO] [stdout] 120 | let os = self.reader.read_u8()?; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `extra` [INFO] [stdout] --> src/rzlibreader.rs:129:17 [INFO] [stdout] | [INFO] [stdout] 129 | let extra = match String::from_utf8(fextra_buf) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_extra` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_name` [INFO] [stdout] --> src/rzlibreader.rs:137:17 [INFO] [stdout] | [INFO] [stdout] 137 | let file_name = self.read_cstring()?; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comment` [INFO] [stdout] --> src/rzlibreader.rs:142:17 [INFO] [stdout] | [INFO] [stdout] 142 | let comment = self.read_cstring()?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `crc16` [INFO] [stdout] --> src/rzlibreader.rs:149:17 [INFO] [stdout] | [INFO] [stdout] 149 | let crc16 = u16::from_le_bytes(crc16_buf); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_crc16` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `crc32` [INFO] [stdout] --> src/rzlibreader.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let crc32 = self.reader.read_u32()?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_crc32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `isize` [INFO] [stdout] --> src/rzlibreader.rs:160:13 [INFO] [stdout] | [INFO] [stdout] 160 | let isize = self.reader.read_u32()?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_isize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/rzlibreader.rs:232:14 [INFO] [stdout] | [INFO] [stdout] 232 | for (i, l) in clen_lengths.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/rzlibreader.rs:232:17 [INFO] [stdout] | [INFO] [stdout] 232 | for (i, l) in clen_lengths.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/rzlibreader.rs:279:14 [INFO] [stdout] | [INFO] [stdout] 279 | for (i, l) in all_lengths.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/rzlibreader.rs:279:17 [INFO] [stdout] | [INFO] [stdout] 279 | for (i, l) in all_lengths.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes_read` [INFO] [stdout] --> src/rzlibreader.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | let bytes_read = self.reader.read_until(0, &mut buf)?; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes_read` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ftext` [INFO] [stdout] --> src/rzlibreader.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | let ftext = flg & 1 == 1; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_ftext` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mtime` [INFO] [stdout] --> src/rzlibreader.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | let mtime = self.reader.read_u32()?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_mtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `xfl` [INFO] [stdout] --> src/rzlibreader.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 117 | let xfl = self.reader.read_u8()?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_xfl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `os` [INFO] [stdout] --> src/rzlibreader.rs:120:13 [INFO] [stdout] | [INFO] [stdout] 120 | let os = self.reader.read_u8()?; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `extra` [INFO] [stdout] --> src/rzlibreader.rs:129:17 [INFO] [stdout] | [INFO] [stdout] 129 | let extra = match String::from_utf8(fextra_buf) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_extra` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_name` [INFO] [stdout] --> src/rzlibreader.rs:137:17 [INFO] [stdout] | [INFO] [stdout] 137 | let file_name = self.read_cstring()?; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comment` [INFO] [stdout] --> src/rzlibreader.rs:142:17 [INFO] [stdout] | [INFO] [stdout] 142 | let comment = self.read_cstring()?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `crc16` [INFO] [stdout] --> src/rzlibreader.rs:149:17 [INFO] [stdout] | [INFO] [stdout] 149 | let crc16 = u16::from_le_bytes(crc16_buf); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_crc16` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `crc32` [INFO] [stdout] --> src/rzlibreader.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let crc32 = self.reader.read_u32()?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_crc32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `isize` [INFO] [stdout] --> src/rzlibreader.rs:160:13 [INFO] [stdout] | [INFO] [stdout] 160 | let isize = self.reader.read_u32()?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_isize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/rzlibreader.rs:232:14 [INFO] [stdout] | [INFO] [stdout] 232 | for (i, l) in clen_lengths.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/rzlibreader.rs:232:17 [INFO] [stdout] | [INFO] [stdout] 232 | for (i, l) in clen_lengths.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/rzlibreader.rs:279:14 [INFO] [stdout] | [INFO] [stdout] 279 | for (i, l) in all_lengths.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/rzlibreader.rs:279:17 [INFO] [stdout] | [INFO] [stdout] 279 | for (i, l) in all_lengths.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Item` is never used [INFO] [stdout] --> src/rzlibreader.rs:44:6 [INFO] [stdout] | [INFO] [stdout] 44 | enum Item { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Item` is never used [INFO] [stdout] --> src/rzlibreader.rs:44:6 [INFO] [stdout] | [INFO] [stdout] 44 | enum Item { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/rzlibreader.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/rzlibreader.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `File`, `read` [INFO] [stdout] --> src/rzlibreader.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs::{read, File}; [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/rzlibreader.rs:4:30 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{BufRead, Read, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `File`, `read` [INFO] [stdout] --> src/rzlibreader.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs::{read, File}; [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/rzlibreader.rs:4:30 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{BufRead, Read, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fmt`, `result` [INFO] [stdout] --> src/rzlibreader.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | use std::{cmp, fmt, io, mem, result}; [INFO] [stdout] | ^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fmt`, `result` [INFO] [stdout] --> src/rzlibreader.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | use std::{cmp, fmt, io, mem, result}; [INFO] [stdout] | ^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::debug` [INFO] [stdout] --> src/rzlibreader.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use log::debug; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::debug` [INFO] [stdout] --> src/rzlibreader.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use log::debug; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/lookbackbuffer.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read`, `Write` [INFO] [stdout] --> src/main.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::{Read, Write}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/lookbackbuffer.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read`, `Write` [INFO] [stdout] --> src/main.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::{Read, Write}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes_read` [INFO] [stdout] --> src/rzlibreader.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | let bytes_read = self.reader.read_until(0, &mut buf)?; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes_read` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ftext` [INFO] [stdout] --> src/rzlibreader.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | let ftext = flg & 1 == 1; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_ftext` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mtime` [INFO] [stdout] --> src/rzlibreader.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | let mtime = self.reader.read_u32()?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_mtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `xfl` [INFO] [stdout] --> src/rzlibreader.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 117 | let xfl = self.reader.read_u8()?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_xfl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `os` [INFO] [stdout] --> src/rzlibreader.rs:120:13 [INFO] [stdout] | [INFO] [stdout] 120 | let os = self.reader.read_u8()?; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `extra` [INFO] [stdout] --> src/rzlibreader.rs:129:17 [INFO] [stdout] | [INFO] [stdout] 129 | let extra = match String::from_utf8(fextra_buf) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_extra` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_name` [INFO] [stdout] --> src/rzlibreader.rs:137:17 [INFO] [stdout] | [INFO] [stdout] 137 | let file_name = self.read_cstring()?; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comment` [INFO] [stdout] --> src/rzlibreader.rs:142:17 [INFO] [stdout] | [INFO] [stdout] 142 | let comment = self.read_cstring()?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `crc16` [INFO] [stdout] --> src/rzlibreader.rs:149:17 [INFO] [stdout] | [INFO] [stdout] 149 | let crc16 = u16::from_le_bytes(crc16_buf); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_crc16` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `crc32` [INFO] [stdout] --> src/rzlibreader.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let crc32 = self.reader.read_u32()?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_crc32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `isize` [INFO] [stdout] --> src/rzlibreader.rs:160:13 [INFO] [stdout] | [INFO] [stdout] 160 | let isize = self.reader.read_u32()?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_isize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/rzlibreader.rs:232:14 [INFO] [stdout] | [INFO] [stdout] 232 | for (i, l) in clen_lengths.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/rzlibreader.rs:232:17 [INFO] [stdout] | [INFO] [stdout] 232 | for (i, l) in clen_lengths.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/rzlibreader.rs:279:14 [INFO] [stdout] | [INFO] [stdout] 279 | for (i, l) in all_lengths.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/rzlibreader.rs:279:17 [INFO] [stdout] | [INFO] [stdout] 279 | for (i, l) in all_lengths.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes_read` [INFO] [stdout] --> src/rzlibreader.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | let bytes_read = self.reader.read_until(0, &mut buf)?; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes_read` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ftext` [INFO] [stdout] --> src/rzlibreader.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | let ftext = flg & 1 == 1; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_ftext` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mtime` [INFO] [stdout] --> src/rzlibreader.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | let mtime = self.reader.read_u32()?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_mtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `xfl` [INFO] [stdout] --> src/rzlibreader.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 117 | let xfl = self.reader.read_u8()?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_xfl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `os` [INFO] [stdout] --> src/rzlibreader.rs:120:13 [INFO] [stdout] | [INFO] [stdout] 120 | let os = self.reader.read_u8()?; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `extra` [INFO] [stdout] --> src/rzlibreader.rs:129:17 [INFO] [stdout] | [INFO] [stdout] 129 | let extra = match String::from_utf8(fextra_buf) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_extra` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_name` [INFO] [stdout] --> src/rzlibreader.rs:137:17 [INFO] [stdout] | [INFO] [stdout] 137 | let file_name = self.read_cstring()?; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comment` [INFO] [stdout] --> src/rzlibreader.rs:142:17 [INFO] [stdout] | [INFO] [stdout] 142 | let comment = self.read_cstring()?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `crc16` [INFO] [stdout] --> src/rzlibreader.rs:149:17 [INFO] [stdout] | [INFO] [stdout] 149 | let crc16 = u16::from_le_bytes(crc16_buf); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_crc16` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `crc32` [INFO] [stdout] --> src/rzlibreader.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let crc32 = self.reader.read_u32()?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_crc32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `isize` [INFO] [stdout] --> src/rzlibreader.rs:160:13 [INFO] [stdout] | [INFO] [stdout] 160 | let isize = self.reader.read_u32()?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_isize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/rzlibreader.rs:232:14 [INFO] [stdout] | [INFO] [stdout] 232 | for (i, l) in clen_lengths.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/rzlibreader.rs:232:17 [INFO] [stdout] | [INFO] [stdout] 232 | for (i, l) in clen_lengths.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/rzlibreader.rs:279:14 [INFO] [stdout] | [INFO] [stdout] 279 | for (i, l) in all_lengths.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/rzlibreader.rs:279:17 [INFO] [stdout] | [INFO] [stdout] 279 | for (i, l) in all_lengths.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Item` is never used [INFO] [stdout] --> src/rzlibreader.rs:44:6 [INFO] [stdout] | [INFO] [stdout] 44 | enum Item { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `dump_impl` and `dump` are never used [INFO] [stdout] --> src/huffman.rs:163:8 [INFO] [stdout] | [INFO] [stdout] 67 | impl HuffmanTree { [INFO] [stdout] | ------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 163 | fn dump_impl(&self, path: &Codeword) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | pub fn dump(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Item` is never used [INFO] [stdout] --> src/rzlibreader.rs:44:6 [INFO] [stdout] | [INFO] [stdout] 44 | enum Item { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `dump_impl` and `dump` are never used [INFO] [stdout] --> src/huffman.rs:163:8 [INFO] [stdout] | [INFO] [stdout] 67 | impl HuffmanTree { [INFO] [stdout] | ------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 163 | fn dump_impl(&self, path: &Codeword) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | pub fn dump(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.36s [INFO] running `Command { std: "docker" "inspect" "6e368e330b4701c52426cb7602d256653267fa9af89704b8f1c4800e2c14ff46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e368e330b4701c52426cb7602d256653267fa9af89704b8f1c4800e2c14ff46", kill_on_drop: false }` [INFO] [stdout] 6e368e330b4701c52426cb7602d256653267fa9af89704b8f1c4800e2c14ff46