[INFO] cloning repository https://github.com/KITKATXU/my_gzip
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/KITKATXU/my_gzip" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKITKATXU%2Fmy_gzip", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKITKATXU%2Fmy_gzip'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] cca370e25c29125f9e1262237263b0db3086a8d9
[INFO] testing KITKATXU/my_gzip against master#1f7f8ea0721a3b1eb73e6c6d25cccb371434b320 for pr-154065
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKITKATXU%2Fmy_gzip" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/KITKATXU/my_gzip
[INFO] finished tweaking git repo https://github.com/KITKATXU/my_gzip
[INFO] tweaked toml for git repo https://github.com/KITKATXU/my_gzip written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/KITKATXU/my_gzip on toolchain 1f7f8ea0721a3b1eb73e6c6d25cccb371434b320
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/KITKATXU/my_gzip 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" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded libc v0.2.159
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 73d2a576207b8cb97d9b54865b053704329ad1642485325b043062f0c35401d7
[INFO] running `Command { std: "docker" "start" "-a" "73d2a576207b8cb97d9b54865b053704329ad1642485325b043062f0c35401d7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "73d2a576207b8cb97d9b54865b053704329ad1642485325b043062f0c35401d7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "73d2a576207b8cb97d9b54865b053704329ad1642485325b043062f0c35401d7", kill_on_drop: false }`
[INFO] [stdout] 73d2a576207b8cb97d9b54865b053704329ad1642485325b043062f0c35401d7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7e632febe599087717c75d003198f82b7b1e9d2fc3932a93b6e5a5d5719302c9
[INFO] running `Command { std: "docker" "start" "-a" "7e632febe599087717c75d003198f82b7b1e9d2fc3932a93b6e5a5d5719302c9", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.159
[INFO] [stderr]    Compiling nix v0.29.0
[INFO] [stderr]    Compiling bitflags v2.6.0
[INFO] [stderr]    Compiling ctrlc v3.4.5
[INFO] [stderr]    Compiling my_gzip v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `crate::decompression::huft::huft_free`
[INFO] [stdout]   --> src/compression/deflate.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | use crate::decompression::huft::huft_free;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/compression/deflate.rs:104:9
[INFO] [stdout]     |
[INFO] [stdout] 104 |     let mut buffer = [0u8; 8192];
[INFO] [stdout]     |         ----^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/compression/deflate.rs:106:9
[INFO] [stdout]     |
[INFO] [stdout] 106 |     let mut strstart = 0;
[INFO] [stdout]     |         ----^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `max_bits`
[INFO] [stdout]    --> src/compression/deflate.rs:100:9
[INFO] [stdout]     |
[INFO] [stdout] 100 |     let max_bits = 15; // 设定Huffman编码允许的最大位数
[INFO] [stdout]     |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_bits`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `buffer`
[INFO] [stdout]    --> src/compression/deflate.rs:104:9
[INFO] [stdout]     |
[INFO] [stdout] 104 |     let mut buffer = [0u8; 8192];
[INFO] [stdout]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lookahead`
[INFO] [stdout]    --> src/compression/deflate.rs:105:9
[INFO] [stdout]     |
[INFO] [stdout] 105 |     let mut lookahead: usize;
[INFO] [stdout]     |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lookahead`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lit_symbols`
[INFO] [stdout]    --> src/compression/deflate.rs:134:9
[INFO] [stdout]     |
[INFO] [stdout] 134 |     let lit_symbols: Vec<u16> = (0..lit_freqs.len() as u16).collect();
[INFO] [stdout]     |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lit_symbols`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dist_symbols`
[INFO] [stdout]    --> src/compression/deflate.rs:135:9
[INFO] [stdout]     |
[INFO] [stdout] 135 |     let dist_symbols: Vec<u16> = (0..dist_freqs.len() as u16).collect();
[INFO] [stdout]     |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dist_symbols`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `hash_head` is never read
[INFO] [stdout]    --> src/compression/deflate.rs:107:25
[INFO] [stdout]     |
[INFO] [stdout] 107 |     let mut hash_head = None;
[INFO] [stdout]     |                         ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TOO_FAR` is never used
[INFO] [stdout]  --> src/compression/lm_init.rs:9:7
[INFO] [stdout]   |
[INFO] [stdout] 9 | const TOO_FAR: usize = 4096;
[INFO] [stdout]   |       ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `max_lazy`, `good_length`, and `nice_length` are never read
[INFO] [stdout]   --> src/compression/lm_init.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | struct Config {
[INFO] [stdout]    |        ------ fields in this struct
[INFO] [stdout] 18 |     max_lazy: usize,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 19 |     good_length: usize,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 20 |     nice_length: usize,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_into_window` is never used
[INFO] [stdout]    --> src/compression/lm_init.rs:147:4
[INFO] [stdout]     |
[INFO] [stdout] 147 | fn read_into_window(window: &mut [u8]) -> Result<usize, &'static str> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::decompression::huft::huft_free`
[INFO] [stdout]   --> src/compression/deflate.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | use crate::decompression::huft::huft_free;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `deflate::deflate`
[INFO] [stdout]  --> src/compression/mod.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub use deflate::deflate;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::util::crc::CRC32_TABLE`
[INFO] [stdout]   --> src/compression/mod.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub use crate::util::crc::CRC32_TABLE;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `inflate::inflate`
[INFO] [stdout]  --> src/decompression/mod.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub use inflate::inflate;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/compression/deflate.rs:104:9
[INFO] [stdout]     |
[INFO] [stdout] 104 |     let mut buffer = [0u8; 8192];
[INFO] [stdout]     |         ----^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/compression/deflate.rs:106:9
[INFO] [stdout]     |
[INFO] [stdout] 106 |     let mut strstart = 0;
[INFO] [stdout]     |         ----^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `max_bits`
[INFO] [stdout]    --> src/compression/deflate.rs:100:9
[INFO] [stdout]     |
[INFO] [stdout] 100 |     let max_bits = 15; // 设定Huffman编码允许的最大位数
[INFO] [stdout]     |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_bits`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `buffer`
[INFO] [stdout]    --> src/compression/deflate.rs:104:9
[INFO] [stdout]     |
[INFO] [stdout] 104 |     let mut buffer = [0u8; 8192];
[INFO] [stdout]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lookahead`
[INFO] [stdout]    --> src/compression/deflate.rs:105:9
[INFO] [stdout]     |
[INFO] [stdout] 105 |     let mut lookahead: usize;
[INFO] [stdout]     |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lookahead`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lit_symbols`
[INFO] [stdout]    --> src/compression/deflate.rs:134:9
[INFO] [stdout]     |
[INFO] [stdout] 134 |     let lit_symbols: Vec<u16> = (0..lit_freqs.len() as u16).collect();
[INFO] [stdout]     |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lit_symbols`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dist_symbols`
[INFO] [stdout]    --> src/compression/deflate.rs:135:9
[INFO] [stdout]     |
[INFO] [stdout] 135 |     let dist_symbols: Vec<u16> = (0..dist_freqs.len() as u16).collect();
[INFO] [stdout]     |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dist_symbols`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `hash_head` is never read
[INFO] [stdout]    --> src/compression/deflate.rs:107:25
[INFO] [stdout]     |
[INFO] [stdout] 107 |     let mut hash_head = None;
[INFO] [stdout]     |                         ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `do_exit` is never used
[INFO] [stdout]   --> src/main.rs:50:4
[INFO] [stdout]    |
[INFO] [stdout] 50 | fn do_exit(code: i32) -> ! {
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TOO_FAR` is never used
[INFO] [stdout]   --> src/compression/deflate.rs:12:11
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub const TOO_FAR: usize = 4096;
[INFO] [stdout]    |           ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TOO_FAR` is never used
[INFO] [stdout]  --> src/compression/lm_init.rs:9:7
[INFO] [stdout]   |
[INFO] [stdout] 9 | const TOO_FAR: usize = 4096;
[INFO] [stdout]   |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `max_lazy`, `good_length`, and `nice_length` are never read
[INFO] [stdout]   --> src/compression/lm_init.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | struct Config {
[INFO] [stdout]    |        ------ fields in this struct
[INFO] [stdout] 18 |     max_lazy: usize,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 19 |     good_length: usize,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 20 |     nice_length: usize,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `block_start` is never read
[INFO] [stdout]   --> src/compression/lm_init.rs:42:9
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct DeflateState {
[INFO] [stdout]    |            ------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 42 |     pub block_start: usize,    // 当前块的起始位置
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/compression/lm_init.rs:48:12
[INFO] [stdout]    |
[INFO] [stdout] 47 | impl DeflateState {
[INFO] [stdout]    | ----------------- associated function in this implementation
[INFO] [stdout] 48 |     pub fn new(window_size: usize) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_into_window` is never used
[INFO] [stdout]    --> src/compression/lm_init.rs:147:4
[INFO] [stdout]     |
[INFO] [stdout] 147 | fn read_into_window(window: &mut [u8]) -> Result<usize, &'static str> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `updcrc` is never used
[INFO] [stdout]  --> src/compression/utils.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn updcrc(crc: u32, buffer: &[u8]) -> u32 {
[INFO] [stdout]   |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `clear_bufs` is never used
[INFO] [stdout]   --> src/compression/utils.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub fn clear_bufs(buf: &mut [u8]) {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `gzip_error` is never used
[INFO] [stdout]   --> src/compression/utils.rs:22:8
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub fn gzip_error(message: &str) -> io::Result<()> {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `strlwr` is never used
[INFO] [stdout]   --> src/compression/utils.rs:28:8
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub fn strlwr(s: &str) -> String {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `inflate` is never used
[INFO] [stdout]  --> src/decompression/inflate.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn inflate(input: &mut dyn Read, output: &mut dyn Write) -> io::Result<()> {
[INFO] [stdout]   |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `inflate_block` is never used
[INFO] [stdout]   --> src/decompression/inflate.rs:15:4
[INFO] [stdout]    |
[INFO] [stdout] 15 | fn inflate_block(input: &mut dyn Read, output: &mut dyn Write) -> io::Result<bool> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `inflate_stored` is never used
[INFO] [stdout]   --> src/decompression/inflate.rs:30:4
[INFO] [stdout]    |
[INFO] [stdout] 30 | fn inflate_stored(input: &mut dyn Read, output: &mut dyn Write) -> io::Result<()> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `inflate_fixed` is never used
[INFO] [stdout]   --> src/decompression/inflate.rs:44:4
[INFO] [stdout]    |
[INFO] [stdout] 44 | fn inflate_fixed(input: &mut dyn Read, output: &mut dyn Write) -> io::Result<()> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `inflate_dynamic` is never used
[INFO] [stdout]   --> src/decompression/inflate.rs:50:4
[INFO] [stdout]    |
[INFO] [stdout] 50 | fn inflate_dynamic(input: &mut dyn Read, output: &mut dyn Write) -> io::Result<()> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `inflate_codes` is never used
[INFO] [stdout]   --> src/decompression/inflate.rs:56:4
[INFO] [stdout]    |
[INFO] [stdout] 56 | fn inflate_codes(input: &mut dyn Read, output: &mut dyn Write, huff_table: &HuffmanTable) -> io::Result<()> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_bit` is never used
[INFO] [stdout]   --> src/decompression/inflate.rs:71:4
[INFO] [stdout]    |
[INFO] [stdout] 71 | fn read_bit(_input: &mut dyn Read) -> io::Result<u8> {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_bits` is never used
[INFO] [stdout]   --> src/decompression/inflate.rs:76:4
[INFO] [stdout]    |
[INFO] [stdout] 76 | fn read_bits(_input: &mut dyn Read, _num_bits: u8) -> io::Result<u16> {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_u16` is never used
[INFO] [stdout]   --> src/decompression/inflate.rs:81:4
[INFO] [stdout]    |
[INFO] [stdout] 81 | fn read_u16(input: &mut dyn Read) -> io::Result<u16> {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HuffmanTable` is never constructed
[INFO] [stdout]   --> src/decompression/inflate.rs:88:8
[INFO] [stdout]    |
[INFO] [stdout] 88 | struct HuffmanTable;
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `decode_symbol` is never used
[INFO] [stdout]   --> src/decompression/inflate.rs:90:8
[INFO] [stdout]    |
[INFO] [stdout] 89 | impl HuffmanTable {
[INFO] [stdout]    | ----------------- method in this implementation
[INFO] [stdout] 90 |     fn decode_symbol(&self, _input: &mut dyn Read) -> io::Result<u16> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `build_fixed_huffman_table` is never used
[INFO] [stdout]   --> src/decompression/inflate.rs:95:4
[INFO] [stdout]    |
[INFO] [stdout] 95 | fn build_fixed_huffman_table() -> HuffmanTable {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `build_dynamic_huffman_tables` is never used
[INFO] [stdout]   --> src/decompression/inflate.rs:99:4
[INFO] [stdout]    |
[INFO] [stdout] 99 | fn build_dynamic_huffman_tables(_input: &mut dyn Read) -> io::Result<(HuffmanTable, HuffmanTable)> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `print_tree` is never used
[INFO] [stdout]   --> src/decompression/huft.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl HuffmanNode {
[INFO] [stdout]    | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 20 |     pub fn print_tree(&self, prefix: String) {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `huft_free` is never used
[INFO] [stdout]   --> src/decompression/huft.rs:91:8
[INFO] [stdout]    |
[INFO] [stdout] 91 | pub fn huft_free(tree: Option<HuffmanNode>) {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `copy` is never used
[INFO] [stdout]  --> src/util/file_io.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub fn copy(input_path: &Path, output_path: &Path) -> io::Result<()> {
[INFO] [stdout]   |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `make_simple_name` is never used
[INFO] [stdout]   --> src/util/file_io.rs:23:8
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub fn make_simple_name(name: &mut String) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `gzip_error` is never used
[INFO] [stdout]  --> src/util/error.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn gzip_error(message: &str) {
[INFO] [stdout]   |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `xalloc_die` is never used
[INFO] [stdout]  --> src/util/error.rs:9:8
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub fn xalloc_die() {
[INFO] [stdout]   |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `warning` is never used
[INFO] [stdout]   --> src/util/error.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub fn warning(message: &str) {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_error` is never used
[INFO] [stdout]   --> src/util/error.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub fn read_error(filename: &str) {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `write_error` is never used
[INFO] [stdout]   --> src/util/error.rs:27:8
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub fn write_error(filename: &str) {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `abort_gzip` is never used
[INFO] [stdout]   --> src/util/error.rs:36:4
[INFO] [stdout]    |
[INFO] [stdout] 36 | fn abort_gzip() -> ! {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/main.rs:57:5
[INFO] [stdout]    |
[INFO] [stdout] 57 |     compression::deflate::deflate(&mut input, &mut output, Some(input_file));
[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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 57 |     let _ = compression::deflate::deflate(&mut input, &mut output, Some(input_file));
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.54s
[INFO] running `Command { std: "docker" "inspect" "7e632febe599087717c75d003198f82b7b1e9d2fc3932a93b6e5a5d5719302c9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7e632febe599087717c75d003198f82b7b1e9d2fc3932a93b6e5a5d5719302c9", kill_on_drop: false }`
[INFO] [stdout] 7e632febe599087717c75d003198f82b7b1e9d2fc3932a93b6e5a5d5719302c9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] eaf2d8f7de3e9bd492805704ac1692467d54f0e81897822034f54e0e3ca44868
[INFO] running `Command { std: "docker" "start" "-a" "eaf2d8f7de3e9bd492805704ac1692467d54f0e81897822034f54e0e3ca44868", kill_on_drop: false }`
[INFO] [stdout] warning: unused import: `crate::decompression::huft::huft_free`
[INFO] [stdout]   --> src/compression/deflate.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | use crate::decompression::huft::huft_free;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/compression/deflate.rs:104:9
[INFO] [stdout]     |
[INFO] [stdout] 104 |     let mut buffer = [0u8; 8192];
[INFO] [stdout]     |         ----^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/compression/deflate.rs:106:9
[INFO] [stdout]     |
[INFO] [stdout] 106 |     let mut strstart = 0;
[INFO] [stdout]     |         ----^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `max_bits`
[INFO] [stdout]    --> src/compression/deflate.rs:100:9
[INFO] [stdout]     |
[INFO] [stdout] 100 |     let max_bits = 15; // 设定Huffman编码允许的最大位数
[INFO] [stdout]     |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_bits`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `buffer`
[INFO] [stdout]    --> src/compression/deflate.rs:104:9
[INFO] [stdout]     |
[INFO] [stdout] 104 |     let mut buffer = [0u8; 8192];
[INFO] [stdout]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lookahead`
[INFO] [stdout]    --> src/compression/deflate.rs:105:9
[INFO] [stdout]     |
[INFO] [stdout] 105 |     let mut lookahead: usize;
[INFO] [stdout]     |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lookahead`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lit_symbols`
[INFO] [stdout]    --> src/compression/deflate.rs:134:9
[INFO] [stdout]     |
[INFO] [stdout] 134 |     let lit_symbols: Vec<u16> = (0..lit_freqs.len() as u16).collect();
[INFO] [stdout]     |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lit_symbols`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dist_symbols`
[INFO] [stdout]    --> src/compression/deflate.rs:135:9
[INFO] [stdout]     |
[INFO] [stdout] 135 |     let dist_symbols: Vec<u16> = (0..dist_freqs.len() as u16).collect();
[INFO] [stdout]     |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dist_symbols`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `hash_head` is never read
[INFO] [stdout]    --> src/compression/deflate.rs:107:25
[INFO] [stdout]     |
[INFO] [stdout] 107 |     let mut hash_head = None;
[INFO] [stdout]     |                         ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TOO_FAR` is never used
[INFO] [stdout]  --> src/compression/lm_init.rs:9:7
[INFO] [stdout]   |
[INFO] [stdout] 9 | const TOO_FAR: usize = 4096;
[INFO] [stdout]   |       ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `max_lazy`, `good_length`, and `nice_length` are never read
[INFO] [stdout]   --> src/compression/lm_init.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | struct Config {
[INFO] [stdout]    |        ------ fields in this struct
[INFO] [stdout] 18 |     max_lazy: usize,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 19 |     good_length: usize,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 20 |     nice_length: usize,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_into_window` is never used
[INFO] [stdout]    --> src/compression/lm_init.rs:147:4
[INFO] [stdout]     |
[INFO] [stdout] 147 | fn read_into_window(window: &mut [u8]) -> Result<usize, &'static str> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling my_gzip v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `crate::decompression::huft::huft_free`
[INFO] [stdout]   --> src/compression/deflate.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | use crate::decompression::huft::huft_free;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::decompression::huft::huft_free`
[INFO] [stdout]   --> src/compression/deflate.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | use crate::decompression::huft::huft_free;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `deflate::deflate`
[INFO] [stdout]  --> src/compression/mod.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub use deflate::deflate;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::util::crc::CRC32_TABLE`
[INFO] [stdout]   --> src/compression/mod.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub use crate::util::crc::CRC32_TABLE;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `inflate::inflate`
[INFO] [stdout]  --> src/decompression/mod.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub use inflate::inflate;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/compression/deflate.rs:104:9
[INFO] [stdout]     |
[INFO] [stdout] 104 |     let mut buffer = [0u8; 8192];
[INFO] [stdout]     |         ----^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/compression/deflate.rs:106:9
[INFO] [stdout]     |
[INFO] [stdout] 106 |     let mut strstart = 0;
[INFO] [stdout]     |         ----^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `max_bits`
[INFO] [stdout]    --> src/compression/deflate.rs:100:9
[INFO] [stdout]     |
[INFO] [stdout] 100 |     let max_bits = 15; // 设定Huffman编码允许的最大位数
[INFO] [stdout]     |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_bits`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `buffer`
[INFO] [stdout]    --> src/compression/deflate.rs:104:9
[INFO] [stdout]     |
[INFO] [stdout] 104 |     let mut buffer = [0u8; 8192];
[INFO] [stdout]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lookahead`
[INFO] [stdout]    --> src/compression/deflate.rs:105:9
[INFO] [stdout]     |
[INFO] [stdout] 105 |     let mut lookahead: usize;
[INFO] [stdout]     |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lookahead`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lit_symbols`
[INFO] [stdout]    --> src/compression/deflate.rs:134:9
[INFO] [stdout]     |
[INFO] [stdout] 134 |     let lit_symbols: Vec<u16> = (0..lit_freqs.len() as u16).collect();
[INFO] [stdout]     |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lit_symbols`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dist_symbols`
[INFO] [stdout]    --> src/compression/deflate.rs:135:9
[INFO] [stdout]     |
[INFO] [stdout] 135 |     let dist_symbols: Vec<u16> = (0..dist_freqs.len() as u16).collect();
[INFO] [stdout]     |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dist_symbols`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `hash_head` is never read
[INFO] [stdout]    --> src/compression/deflate.rs:107:25
[INFO] [stdout]     |
[INFO] [stdout] 107 |     let mut hash_head = None;
[INFO] [stdout]     |                         ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/compression/deflate.rs:104:9
[INFO] [stdout]     |
[INFO] [stdout] 104 |     let mut buffer = [0u8; 8192];
[INFO] [stdout]     |         ----^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/compression/deflate.rs:106:9
[INFO] [stdout]     |
[INFO] [stdout] 106 |     let mut strstart = 0;
[INFO] [stdout]     |         ----^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `max_bits`
[INFO] [stdout]    --> src/compression/deflate.rs:100:9
[INFO] [stdout]     |
[INFO] [stdout] 100 |     let max_bits = 15; // 设定Huffman编码允许的最大位数
[INFO] [stdout]     |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_bits`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `buffer`
[INFO] [stdout]    --> src/compression/deflate.rs:104:9
[INFO] [stdout]     |
[INFO] [stdout] 104 |     let mut buffer = [0u8; 8192];
[INFO] [stdout]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lookahead`
[INFO] [stdout]    --> src/compression/deflate.rs:105:9
[INFO] [stdout]     |
[INFO] [stdout] 105 |     let mut lookahead: usize;
[INFO] [stdout]     |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lookahead`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lit_symbols`
[INFO] [stdout]    --> src/compression/deflate.rs:134:9
[INFO] [stdout]     |
[INFO] [stdout] 134 |     let lit_symbols: Vec<u16> = (0..lit_freqs.len() as u16).collect();
[INFO] [stdout]     |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lit_symbols`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dist_symbols`
[INFO] [stdout]    --> src/compression/deflate.rs:135:9
[INFO] [stdout]     |
[INFO] [stdout] 135 |     let dist_symbols: Vec<u16> = (0..dist_freqs.len() as u16).collect();
[INFO] [stdout]     |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dist_symbols`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `hash_head` is never read
[INFO] [stdout]    --> src/compression/deflate.rs:107:25
[INFO] [stdout]     |
[INFO] [stdout] 107 |     let mut hash_head = None;
[INFO] [stdout]     |                         ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `do_exit` is never used
[INFO] [stdout]   --> src/main.rs:50:4
[INFO] [stdout]    |
[INFO] [stdout] 50 | fn do_exit(code: i32) -> ! {
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TOO_FAR` is never used
[INFO] [stdout]   --> src/compression/deflate.rs:12:11
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub const TOO_FAR: usize = 4096;
[INFO] [stdout]    |           ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TOO_FAR` is never used
[INFO] [stdout]  --> src/compression/lm_init.rs:9:7
[INFO] [stdout]   |
[INFO] [stdout] 9 | const TOO_FAR: usize = 4096;
[INFO] [stdout]   |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `max_lazy`, `good_length`, and `nice_length` are never read
[INFO] [stdout]   --> src/compression/lm_init.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | struct Config {
[INFO] [stdout]    |        ------ fields in this struct
[INFO] [stdout] 18 |     max_lazy: usize,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 19 |     good_length: usize,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 20 |     nice_length: usize,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `block_start` is never read
[INFO] [stdout]   --> src/compression/lm_init.rs:42:9
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct DeflateState {
[INFO] [stdout]    |            ------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 42 |     pub block_start: usize,    // 当前块的起始位置
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/compression/lm_init.rs:48:12
[INFO] [stdout]    |
[INFO] [stdout] 47 | impl DeflateState {
[INFO] [stdout]    | ----------------- associated function in this implementation
[INFO] [stdout] 48 |     pub fn new(window_size: usize) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_into_window` is never used
[INFO] [stdout]    --> src/compression/lm_init.rs:147:4
[INFO] [stdout]     |
[INFO] [stdout] 147 | fn read_into_window(window: &mut [u8]) -> Result<usize, &'static str> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `updcrc` is never used
[INFO] [stdout]  --> src/compression/utils.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn updcrc(crc: u32, buffer: &[u8]) -> u32 {
[INFO] [stdout]   |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `clear_bufs` is never used
[INFO] [stdout]   --> src/compression/utils.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub fn clear_bufs(buf: &mut [u8]) {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `gzip_error` is never used
[INFO] [stdout]   --> src/compression/utils.rs:22:8
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub fn gzip_error(message: &str) -> io::Result<()> {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `strlwr` is never used
[INFO] [stdout]   --> src/compression/utils.rs:28:8
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub fn strlwr(s: &str) -> String {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `inflate` is never used
[INFO] [stdout]  --> src/decompression/inflate.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn inflate(input: &mut dyn Read, output: &mut dyn Write) -> io::Result<()> {
[INFO] [stdout]   |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `inflate_block` is never used
[INFO] [stdout]   --> src/decompression/inflate.rs:15:4
[INFO] [stdout]    |
[INFO] [stdout] 15 | fn inflate_block(input: &mut dyn Read, output: &mut dyn Write) -> io::Result<bool> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `inflate_stored` is never used
[INFO] [stdout]   --> src/decompression/inflate.rs:30:4
[INFO] [stdout]    |
[INFO] [stdout] 30 | fn inflate_stored(input: &mut dyn Read, output: &mut dyn Write) -> io::Result<()> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `inflate_fixed` is never used
[INFO] [stdout]   --> src/decompression/inflate.rs:44:4
[INFO] [stdout]    |
[INFO] [stdout] 44 | fn inflate_fixed(input: &mut dyn Read, output: &mut dyn Write) -> io::Result<()> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `inflate_dynamic` is never used
[INFO] [stdout]   --> src/decompression/inflate.rs:50:4
[INFO] [stdout]    |
[INFO] [stdout] 50 | fn inflate_dynamic(input: &mut dyn Read, output: &mut dyn Write) -> io::Result<()> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `inflate_codes` is never used
[INFO] [stdout]   --> src/decompression/inflate.rs:56:4
[INFO] [stdout]    |
[INFO] [stdout] 56 | fn inflate_codes(input: &mut dyn Read, output: &mut dyn Write, huff_table: &HuffmanTable) -> io::Result<()> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_bit` is never used
[INFO] [stdout]   --> src/decompression/inflate.rs:71:4
[INFO] [stdout]    |
[INFO] [stdout] 71 | fn read_bit(_input: &mut dyn Read) -> io::Result<u8> {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_bits` is never used
[INFO] [stdout]   --> src/decompression/inflate.rs:76:4
[INFO] [stdout]    |
[INFO] [stdout] 76 | fn read_bits(_input: &mut dyn Read, _num_bits: u8) -> io::Result<u16> {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_u16` is never used
[INFO] [stdout]   --> src/decompression/inflate.rs:81:4
[INFO] [stdout]    |
[INFO] [stdout] 81 | fn read_u16(input: &mut dyn Read) -> io::Result<u16> {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HuffmanTable` is never constructed
[INFO] [stdout]   --> src/decompression/inflate.rs:88:8
[INFO] [stdout]    |
[INFO] [stdout] 88 | struct HuffmanTable;
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `decode_symbol` is never used
[INFO] [stdout]   --> src/decompression/inflate.rs:90:8
[INFO] [stdout]    |
[INFO] [stdout] 89 | impl HuffmanTable {
[INFO] [stdout]    | ----------------- method in this implementation
[INFO] [stdout] 90 |     fn decode_symbol(&self, _input: &mut dyn Read) -> io::Result<u16> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `build_fixed_huffman_table` is never used
[INFO] [stdout]   --> src/decompression/inflate.rs:95:4
[INFO] [stdout]    |
[INFO] [stdout] 95 | fn build_fixed_huffman_table() -> HuffmanTable {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `build_dynamic_huffman_tables` is never used
[INFO] [stdout]   --> src/decompression/inflate.rs:99:4
[INFO] [stdout]    |
[INFO] [stdout] 99 | fn build_dynamic_huffman_tables(_input: &mut dyn Read) -> io::Result<(HuffmanTable, HuffmanTable)> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `print_tree` is never used
[INFO] [stdout]   --> src/decompression/huft.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl HuffmanNode {
[INFO] [stdout]    | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 20 |     pub fn print_tree(&self, prefix: String) {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `huft_free` is never used
[INFO] [stdout]   --> src/decompression/huft.rs:91:8
[INFO] [stdout]    |
[INFO] [stdout] 91 | pub fn huft_free(tree: Option<HuffmanNode>) {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `gzip_error` is never used
[INFO] [stdout]  --> src/util/error.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn gzip_error(message: &str) {
[INFO] [stdout]   |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `xalloc_die` is never used
[INFO] [stdout]  --> src/util/error.rs:9:8
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub fn xalloc_die() {
[INFO] [stdout]   |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `warning` is never used
[INFO] [stdout]   --> src/util/error.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub fn warning(message: &str) {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_error` is never used
[INFO] [stdout]   --> src/util/error.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub fn read_error(filename: &str) {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `write_error` is never used
[INFO] [stdout]   --> src/util/error.rs:27:8
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub fn write_error(filename: &str) {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `abort_gzip` is never used
[INFO] [stdout]   --> src/util/error.rs:36:4
[INFO] [stdout]    |
[INFO] [stdout] 36 | fn abort_gzip() -> ! {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/main.rs:57:5
[INFO] [stdout]    |
[INFO] [stdout] 57 |     compression::deflate::deflate(&mut input, &mut output, Some(input_file));
[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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 57 |     let _ = compression::deflate::deflate(&mut input, &mut output, Some(input_file));
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TOO_FAR` is never used
[INFO] [stdout]  --> src/compression/lm_init.rs:9:7
[INFO] [stdout]   |
[INFO] [stdout] 9 | const TOO_FAR: usize = 4096;
[INFO] [stdout]   |       ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `max_lazy`, `good_length`, and `nice_length` are never read
[INFO] [stdout]   --> src/compression/lm_init.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | struct Config {
[INFO] [stdout]    |        ------ fields in this struct
[INFO] [stdout] 18 |     max_lazy: usize,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 19 |     good_length: usize,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 20 |     nice_length: usize,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_into_window` is never used
[INFO] [stdout]    --> src/compression/lm_init.rs:147:4
[INFO] [stdout]     |
[INFO] [stdout] 147 | fn read_into_window(window: &mut [u8]) -> Result<usize, &'static str> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.78s
[INFO] running `Command { std: "docker" "inspect" "eaf2d8f7de3e9bd492805704ac1692467d54f0e81897822034f54e0e3ca44868", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "eaf2d8f7de3e9bd492805704ac1692467d54f0e81897822034f54e0e3ca44868", kill_on_drop: false }`
[INFO] [stdout] eaf2d8f7de3e9bd492805704ac1692467d54f0e81897822034f54e0e3ca44868
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] e8a39463182fdb4251ce2053319a1032b04b40bb4a03a5f0c737dbf02b10ee34
[INFO] running `Command { std: "docker" "start" "-a" "e8a39463182fdb4251ce2053319a1032b04b40bb4a03a5f0c737dbf02b10ee34", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `crate::decompression::huft::huft_free`
[INFO] [stderr]   --> src/compression/deflate.rs:22:5
[INFO] [stderr]    |
[INFO] [stderr] 22 | use crate::decompression::huft::huft_free;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/compression/deflate.rs:104:9
[INFO] [stderr]     |
[INFO] [stderr] 104 |     let mut buffer = [0u8; 8192];
[INFO] [stderr]     |         ----^^^^^^
[INFO] [stderr]     |         |
[INFO] [stderr]     |         help: remove this `mut`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/compression/deflate.rs:106:9
[INFO] [stderr]     |
[INFO] [stderr] 106 |     let mut strstart = 0;
[INFO] [stderr]     |         ----^^^^^^^^
[INFO] [stderr]     |         |
[INFO] [stderr]     |         help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `max_bits`
[INFO] [stderr]    --> src/compression/deflate.rs:100:9
[INFO] [stderr]     |
[INFO] [stderr] 100 |     let max_bits = 15; // 设定Huffman编码允许的最大位数
[INFO] [stderr]     |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_bits`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `buffer`
[INFO] [stderr]    --> src/compression/deflate.rs:104:9
[INFO] [stderr]     |
[INFO] [stderr] 104 |     let mut buffer = [0u8; 8192];
[INFO] [stderr]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `lookahead`
[INFO] [stderr]    --> src/compression/deflate.rs:105:9
[INFO] [stderr]     |
[INFO] [stderr] 105 |     let mut lookahead: usize;
[INFO] [stderr]     |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lookahead`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `lit_symbols`
[INFO] [stderr]    --> src/compression/deflate.rs:134:9
[INFO] [stderr]     |
[INFO] [stderr] 134 |     let lit_symbols: Vec<u16> = (0..lit_freqs.len() as u16).collect();
[INFO] [stderr]     |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lit_symbols`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `dist_symbols`
[INFO] [stderr]    --> src/compression/deflate.rs:135:9
[INFO] [stderr]     |
[INFO] [stderr] 135 |     let dist_symbols: Vec<u16> = (0..dist_freqs.len() as u16).collect();
[INFO] [stderr]     |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dist_symbols`
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `hash_head` is never read
[INFO] [stderr]    --> src/compression/deflate.rs:107:25
[INFO] [stderr]     |
[INFO] [stderr] 107 |     let mut hash_head = None;
[INFO] [stderr]     |                         ^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = help: maybe it is overwritten before being read?
[INFO] [stderr]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: constant `TOO_FAR` is never used
[INFO] [stderr]  --> src/compression/lm_init.rs:9:7
[INFO] [stderr]   |
[INFO] [stderr] 9 | const TOO_FAR: usize = 4096;
[INFO] [stderr]   |       ^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: fields `max_lazy`, `good_length`, and `nice_length` are never read
[INFO] [stderr]   --> src/compression/lm_init.rs:18:5
[INFO] [stderr]    |
[INFO] [stderr] 17 | struct Config {
[INFO] [stderr]    |        ------ fields in this struct
[INFO] [stderr] 18 |     max_lazy: usize,
[INFO] [stderr]    |     ^^^^^^^^
[INFO] [stderr] 19 |     good_length: usize,
[INFO] [stderr]    |     ^^^^^^^^^^^
[INFO] [stderr] 20 |     nice_length: usize,
[INFO] [stderr]    |     ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `read_into_window` is never used
[INFO] [stderr]    --> src/compression/lm_init.rs:147:4
[INFO] [stderr]     |
[INFO] [stderr] 147 | fn read_into_window(window: &mut [u8]) -> Result<usize, &'static str> {
[INFO] [stderr]     |    ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `my_gzip` (lib) generated 12 warnings (run `cargo fix --lib -p my_gzip` to apply 8 suggestions)
[INFO] [stderr] warning: `my_gzip` (lib test) generated 12 warnings (12 duplicates)
[INFO] [stderr] warning: unused import: `deflate::deflate`
[INFO] [stderr]  --> src/compression/mod.rs:7:9
[INFO] [stderr]   |
[INFO] [stderr] 7 | pub use deflate::deflate;
[INFO] [stderr]   |         ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::util::crc::CRC32_TABLE`
[INFO] [stderr]   --> src/compression/mod.rs:12:9
[INFO] [stderr]    |
[INFO] [stderr] 12 | pub use crate::util::crc::CRC32_TABLE;
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `inflate::inflate`
[INFO] [stderr]  --> src/decompression/mod.rs:6:9
[INFO] [stderr]   |
[INFO] [stderr] 6 | pub use inflate::inflate;
[INFO] [stderr]   |         ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `do_exit` is never used
[INFO] [stderr]   --> src/main.rs:50:4
[INFO] [stderr]    |
[INFO] [stderr] 50 | fn do_exit(code: i32) -> ! {
[INFO] [stderr]    |    ^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: constant `TOO_FAR` is never used
[INFO] [stderr]   --> src/compression/deflate.rs:12:11
[INFO] [stderr]    |
[INFO] [stderr] 12 | pub const TOO_FAR: usize = 4096;
[INFO] [stderr]    |           ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `TOO_FAR` is never used
[INFO] [stderr]  --> src/compression/lm_init.rs:9:7
[INFO] [stderr]   |
[INFO] [stderr] 9 | const TOO_FAR: usize = 4096;
[INFO] [stderr]   |       ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `block_start` is never read
[INFO] [stderr]   --> src/compression/lm_init.rs:42:9
[INFO] [stderr]    |
[INFO] [stderr] 37 | pub struct DeflateState {
[INFO] [stderr]    |            ------------ field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 42 |     pub block_start: usize,    // 当前块的起始位置
[INFO] [stderr]    |         ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new` is never used
[INFO] [stderr]   --> src/compression/lm_init.rs:48:12
[INFO] [stderr]    |
[INFO] [stderr] 47 | impl DeflateState {
[INFO] [stderr]    | ----------------- associated function in this implementation
[INFO] [stderr] 48 |     pub fn new(window_size: usize) -> Self {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `updcrc` is never used
[INFO] [stderr]  --> src/compression/utils.rs:4:8
[INFO] [stderr]   |
[INFO] [stderr] 4 | pub fn updcrc(crc: u32, buffer: &[u8]) -> u32 {
[INFO] [stderr]   |        ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `clear_bufs` is never used
[INFO] [stderr]   --> src/compression/utils.rs:15:8
[INFO] [stderr]    |
[INFO] [stderr] 15 | pub fn clear_bufs(buf: &mut [u8]) {
[INFO] [stderr]    |        ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `gzip_error` is never used
[INFO] [stderr]   --> src/compression/utils.rs:22:8
[INFO] [stderr]    |
[INFO] [stderr] 22 | pub fn gzip_error(message: &str) -> io::Result<()> {
[INFO] [stderr]    |        ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `strlwr` is never used
[INFO] [stderr]   --> src/compression/utils.rs:28:8
[INFO] [stderr]    |
[INFO] [stderr] 28 | pub fn strlwr(s: &str) -> String {
[INFO] [stderr]    |        ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `inflate` is never used
[INFO] [stderr]  --> src/decompression/inflate.rs:4:8
[INFO] [stderr]   |
[INFO] [stderr] 4 | pub fn inflate(input: &mut dyn Read, output: &mut dyn Write) -> io::Result<()> {
[INFO] [stderr]   |        ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `inflate_block` is never used
[INFO] [stderr]   --> src/decompression/inflate.rs:15:4
[INFO] [stderr]    |
[INFO] [stderr] 15 | fn inflate_block(input: &mut dyn Read, output: &mut dyn Write) -> io::Result<bool> {
[INFO] [stderr]    |    ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `inflate_stored` is never used
[INFO] [stderr]   --> src/decompression/inflate.rs:30:4
[INFO] [stderr]    |
[INFO] [stderr] 30 | fn inflate_stored(input: &mut dyn Read, output: &mut dyn Write) -> io::Result<()> {
[INFO] [stderr]    |    ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `inflate_fixed` is never used
[INFO] [stderr]   --> src/decompression/inflate.rs:44:4
[INFO] [stderr]    |
[INFO] [stderr] 44 | fn inflate_fixed(input: &mut dyn Read, output: &mut dyn Write) -> io::Result<()> {
[INFO] [stderr]    |    ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `inflate_dynamic` is never used
[INFO] [stderr]   --> src/decompression/inflate.rs:50:4
[INFO] [stderr]    |
[INFO] [stderr] 50 | fn inflate_dynamic(input: &mut dyn Read, output: &mut dyn Write) -> io::Result<()> {
[INFO] [stderr]    |    ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `inflate_codes` is never used
[INFO] [stderr]   --> src/decompression/inflate.rs:56:4
[INFO] [stderr]    |
[INFO] [stderr] 56 | fn inflate_codes(input: &mut dyn Read, output: &mut dyn Write, huff_table: &HuffmanTable) -> io::Result<()> {
[INFO] [stderr]    |    ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `read_bit` is never used
[INFO] [stderr]   --> src/decompression/inflate.rs:71:4
[INFO] [stderr]    |
[INFO] [stderr] 71 | fn read_bit(_input: &mut dyn Read) -> io::Result<u8> {
[INFO] [stderr]    |    ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `read_bits` is never used
[INFO] [stderr]   --> src/decompression/inflate.rs:76:4
[INFO] [stderr]    |
[INFO] [stderr] 76 | fn read_bits(_input: &mut dyn Read, _num_bits: u8) -> io::Result<u16> {
[INFO] [stderr]    |    ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `read_u16` is never used
[INFO] [stderr]   --> src/decompression/inflate.rs:81:4
[INFO] [stderr]    |
[INFO] [stderr] 81 | fn read_u16(input: &mut dyn Read) -> io::Result<u16> {
[INFO] [stderr]    |    ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `HuffmanTable` is never constructed
[INFO] [stderr]   --> src/decompression/inflate.rs:88:8
[INFO] [stderr]    |
[INFO] [stderr] 88 | struct HuffmanTable;
[INFO] [stderr]    |        ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `decode_symbol` is never used
[INFO] [stderr]   --> src/decompression/inflate.rs:90:8
[INFO] [stderr]    |
[INFO] [stderr] 89 | impl HuffmanTable {
[INFO] [stderr]    | ----------------- method in this implementation
[INFO] [stderr] 90 |     fn decode_symbol(&self, _input: &mut dyn Read) -> io::Result<u16> {
[INFO] [stderr]    |        ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `build_fixed_huffman_table` is never used
[INFO] [stderr]   --> src/decompression/inflate.rs:95:4
[INFO] [stderr]    |
[INFO] [stderr] 95 | fn build_fixed_huffman_table() -> HuffmanTable {
[INFO] [stderr]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `build_dynamic_huffman_tables` is never used
[INFO] [stderr]   --> src/decompression/inflate.rs:99:4
[INFO] [stderr]    |
[INFO] [stderr] 99 | fn build_dynamic_huffman_tables(_input: &mut dyn Read) -> io::Result<(HuffmanTable, HuffmanTable)> {
[INFO] [stderr]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `print_tree` is never used
[INFO] [stderr]   --> src/decompression/huft.rs:20:12
[INFO] [stderr]    |
[INFO] [stderr] 11 | impl HuffmanNode {
[INFO] [stderr]    | ---------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 20 |     pub fn print_tree(&self, prefix: String) {
[INFO] [stderr]    |            ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `huft_free` is never used
[INFO] [stderr]   --> src/decompression/huft.rs:91:8
[INFO] [stderr]    |
[INFO] [stderr] 91 | pub fn huft_free(tree: Option<HuffmanNode>) {
[INFO] [stderr]    |        ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `gzip_error` is never used
[INFO] [stderr]  --> src/util/error.rs:4:8
[INFO] [stderr]   |
[INFO] [stderr] 4 | pub fn gzip_error(message: &str) {
[INFO] [stderr]   |        ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `xalloc_die` is never used
[INFO] [stderr]  --> src/util/error.rs:9:8
[INFO] [stderr]   |
[INFO] [stderr] 9 | pub fn xalloc_die() {
[INFO] [stderr]   |        ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `warning` is never used
[INFO] [stderr]   --> src/util/error.rs:14:8
[INFO] [stderr]    |
[INFO] [stderr] 14 | pub fn warning(message: &str) {
[INFO] [stderr]    |        ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `read_error` is never used
[INFO] [stderr]   --> src/util/error.rs:18:8
[INFO] [stderr]    |
[INFO] [stderr] 18 | pub fn read_error(filename: &str) {
[INFO] [stderr]    |        ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `write_error` is never used
[INFO] [stderr]   --> src/util/error.rs:27:8
[INFO] [stderr]    |
[INFO] [stderr] 27 | pub fn write_error(filename: &str) {
[INFO] [stderr]    |        ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `abort_gzip` is never used
[INFO] [stderr]   --> src/util/error.rs:36:4
[INFO] [stderr]    |
[INFO] [stderr] 36 | fn abort_gzip() -> ! {
[INFO] [stderr]    |    ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]   --> src/main.rs:57:5
[INFO] [stderr]    |
[INFO] [stderr] 57 |     compression::deflate::deflate(&mut input, &mut output, Some(input_file));
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]    |
[INFO] [stderr] 57 |     let _ = compression::deflate::deflate(&mut input, &mut output, Some(input_file));
[INFO] [stderr]    |     +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: `my_gzip` (bin "my_gzip" test) generated 45 warnings (11 duplicates) (run `cargo fix --bin "my_gzip" -p my_gzip --tests` to apply 3 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/my_gzip-05664c1579041a3a)
[INFO] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stdout] test util::file_io::tests::test_make_simple_name ... ok
[INFO] [stdout] test util::crc::tests::test_crc ... ok
[INFO] [stdout] test util::file_io::tests::test_copy ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- util::file_io::tests::test_copy stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'util::file_io::tests::test_copy' (18) panicked at src/util/file_io.rs:49:50:
[INFO] [stdout] Unable to write test file: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5c941a12990a - std[f92b4c606f291077]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x5c941a12990a - std[f92b4c606f291077]::backtrace_rs::backtrace::trace_unsynchronized::<std[f92b4c606f291077]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x5c941a12990a - std[f92b4c606f291077]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x5c941a12990a - <<std[f92b4c606f291077]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[786f478f706679df]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x5c941a13d5ea - <core[786f478f706679df]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x5c941a13d5ea - core[786f478f706679df]::fmt::write
[INFO] [stdout]    6:     0x5c941a12e192 - std[f92b4c606f291077]::io::default_write_fmt::<alloc[64763625b5a07cdb]::vec::Vec<u8>>
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x5c941a12e192 - <alloc[64763625b5a07cdb]::vec::Vec<u8> as std[f92b4c606f291077]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/io/mod.rs:1994:13
[INFO] [stdout]    8:     0x5c941a1085af - <std[f92b4c606f291077]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x5c941a1085af - std[f92b4c606f291077]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x5c941a121949 - std[f92b4c606f291077]::panicking::default_hook
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x5c941a0be63c - <alloc[64763625b5a07cdb]::boxed::Box<dyn for<'a, 'b> core[786f478f706679df]::ops::function::Fn<(&'a std[f92b4c606f291077]::panic::PanicHookInfo<'b>,), Output = ()> + core[786f478f706679df]::marker::Sync + core[786f478f706679df]::marker::Send> as core[786f478f706679df]::ops::function::Fn<(&std[f92b4c606f291077]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/alloc/src/boxed.rs:2254:9
[INFO] [stdout]   12:     0x5c941a0be63c - test[20e1f0ae6cad7a17]::test_main_with_exit_callback::<test[20e1f0ae6cad7a17]::test_main::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x5c941a121b02 - <alloc[64763625b5a07cdb]::boxed::Box<dyn for<'a, 'b> core[786f478f706679df]::ops::function::Fn<(&'a std[f92b4c606f291077]::panic::PanicHookInfo<'b>,), Output = ()> + core[786f478f706679df]::marker::Sync + core[786f478f706679df]::marker::Send> as core[786f478f706679df]::ops::function::Fn<(&std[f92b4c606f291077]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/alloc/src/boxed.rs:2254:9
[INFO] [stdout]   14:     0x5c941a121b02 - std[f92b4c606f291077]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x5c941a108668 - std[f92b4c606f291077]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x5c941a0ffe09 - std[f92b4c606f291077]::sys::backtrace::__rust_end_short_backtrace::<std[f92b4c606f291077]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x5c941a10937d - __rustc[8241495c18a89d70]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x5c941a13dd3c - core[786f478f706679df]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x5c941a13dab2 - core[786f478f706679df]::result::unwrap_failed
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/core/src/result.rs:1867:5
[INFO] [stdout]   20:     0x5c941a0ae57c - <core[786f478f706679df]::result::Result<(), std[f92b4c606f291077]::io::error::Error>>::expect
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/core/src/result.rs:1185:23
[INFO] [stdout]   21:     0x5c941a0af579 - my_gzip[da692589648ff073]::util::file_io::tests::test_copy
[INFO] [stdout]                                at /opt/rustwide/workdir/src/util/file_io.rs:49:50
[INFO] [stdout]   22:     0x5c941a0ae157 - my_gzip[da692589648ff073]::util::file_io::tests::test_copy::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/workdir/src/util/file_io.rs:45:19
[INFO] [stdout]   23:     0x5c941a0b1b86 - <my_gzip[da692589648ff073]::util::file_io::tests::test_copy::{closure#0} as core[786f478f706679df]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x5c941a0b271b - <fn() -> core[786f478f706679df]::result::Result<(), alloc[64763625b5a07cdb]::string::String> as core[786f478f706679df]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x5c941a0b271b - test[20e1f0ae6cad7a17]::__rust_begin_short_backtrace::<core[786f478f706679df]::result::Result<(), alloc[64763625b5a07cdb]::string::String>, fn() -> core[786f478f706679df]::result::Result<(), alloc[64763625b5a07cdb]::string::String>>
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/test/src/lib.rs:663:18
[INFO] [stdout]   26:     0x5c941a0bf10b - test[20e1f0ae6cad7a17]::run_test_in_process::{closure#0}
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/test/src/lib.rs:686:74
[INFO] [stdout]   27:     0x5c941a0bf10b - <core[786f478f706679df]::panic::unwind_safe::AssertUnwindSafe<test[20e1f0ae6cad7a17]::run_test_in_process::{closure#0}> as core[786f478f706679df]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   28:     0x5c941a0bf10b - std[f92b4c606f291077]::panicking::catch_unwind::do_call::<core[786f478f706679df]::panic::unwind_safe::AssertUnwindSafe<test[20e1f0ae6cad7a17]::run_test_in_process::{closure#0}>, core[786f478f706679df]::result::Result<(), alloc[64763625b5a07cdb]::string::String>>
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panicking.rs:581:40
[INFO] [stdout]   29:     0x5c941a0bf10b - std[f92b4c606f291077]::panicking::catch_unwind::<core[786f478f706679df]::result::Result<(), alloc[64763625b5a07cdb]::string::String>, core[786f478f706679df]::panic::unwind_safe::AssertUnwindSafe<test[20e1f0ae6cad7a17]::run_test_in_process::{closure#0}>>
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panicking.rs:544:19
[INFO] [stdout]   30:     0x5c941a0bf10b - std[f92b4c606f291077]::panic::catch_unwind::<core[786f478f706679df]::panic::unwind_safe::AssertUnwindSafe<test[20e1f0ae6cad7a17]::run_test_in_process::{closure#0}>, core[786f478f706679df]::result::Result<(), alloc[64763625b5a07cdb]::string::String>>
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panic.rs:359:14
[INFO] [stdout]   31:     0x5c941a0bf10b - test[20e1f0ae6cad7a17]::run_test_in_process
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/test/src/lib.rs:686:27
[INFO] [stdout]   32:     0x5c941a0bf10b - test[20e1f0ae6cad7a17]::run_test::{closure#0}
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/test/src/lib.rs:607:43
[INFO] [stdout]   33:     0x5c941a0ba824 - test[20e1f0ae6cad7a17]::run_test::{closure#1}
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/test/src/lib.rs:637:41
[INFO] [stdout]   34:     0x5c941a0ba824 - std[f92b4c606f291077]::sys::backtrace::__rust_begin_short_backtrace::<test[20e1f0ae6cad7a17]::run_test::{closure#1}, ()>
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   35:     0x5c941a0c1d12 - std[f92b4c606f291077]::thread::lifecycle::spawn_unchecked::<test[20e1f0ae6cad7a17]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/thread/lifecycle.rs:91:13
[INFO] [stdout]   36:     0x5c941a0c1d12 - <core[786f478f706679df]::panic::unwind_safe::AssertUnwindSafe<std[f92b4c606f291077]::thread::lifecycle::spawn_unchecked<test[20e1f0ae6cad7a17]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[786f478f706679df]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   37:     0x5c941a0c1d12 - std[f92b4c606f291077]::panicking::catch_unwind::do_call::<core[786f478f706679df]::panic::unwind_safe::AssertUnwindSafe<std[f92b4c606f291077]::thread::lifecycle::spawn_unchecked<test[20e1f0ae6cad7a17]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panicking.rs:581:40
[INFO] [stdout]   38:     0x5c941a0c1d12 - std[f92b4c606f291077]::panicking::catch_unwind::<(), core[786f478f706679df]::panic::unwind_safe::AssertUnwindSafe<std[f92b4c606f291077]::thread::lifecycle::spawn_unchecked<test[20e1f0ae6cad7a17]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panicking.rs:544:19
[INFO] [stdout]   39:     0x5c941a0c1d12 - std[f92b4c606f291077]::panic::catch_unwind::<core[786f478f706679df]::panic::unwind_safe::AssertUnwindSafe<std[f92b4c606f291077]::thread::lifecycle::spawn_unchecked<test[20e1f0ae6cad7a17]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panic.rs:359:14
[INFO] [stdout]   40:     0x5c941a0c1d12 - std[f92b4c606f291077]::thread::lifecycle::spawn_unchecked::<test[20e1f0ae6cad7a17]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/thread/lifecycle.rs:89:26
[INFO] [stdout]   41:     0x5c941a0c1d12 - <std[f92b4c606f291077]::thread::lifecycle::spawn_unchecked<test[20e1f0ae6cad7a17]::run_test::{closure#1}, ()>::{closure#1} as core[786f478f706679df]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   42:     0x5c941a128d4f - <alloc[64763625b5a07cdb]::boxed::Box<dyn core[786f478f706679df]::ops::function::FnOnce<(), Output = ()> + core[786f478f706679df]::marker::Send> as core[786f478f706679df]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/alloc/src/boxed.rs:2240:9
[INFO] [stdout]   43:     0x5c941a128d4f - <std[f92b4c606f291077]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stdout]   44:     0x739668791aa4 - <unknown>
[INFO] [stdout]   45:     0x73966881ea64 - clone
[INFO] [stdout]   46:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     util::file_io::tests::test_copy
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 2 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--lib`
[INFO] running `Command { std: "docker" "inspect" "e8a39463182fdb4251ce2053319a1032b04b40bb4a03a5f0c737dbf02b10ee34", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e8a39463182fdb4251ce2053319a1032b04b40bb4a03a5f0c737dbf02b10ee34", kill_on_drop: false }`
[INFO] [stdout] e8a39463182fdb4251ce2053319a1032b04b40bb4a03a5f0c737dbf02b10ee34
