[INFO] cloning repository https://github.com/nate601/Rs-Book-Downloader-Cli [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nate601/Rs-Book-Downloader-Cli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnate601%2FRs-Book-Downloader-Cli", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnate601%2FRs-Book-Downloader-Cli'... [INFO] [stderr] fatal: write error: No space left on device [INFO] [stderr] fatal: fetch-pack: invalid index-pack output [WARN] Retrying crate fetch in 3 seconds (attempt 1) [INFO] cloning repository https://github.com/nate601/Rs-Book-Downloader-Cli [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nate601/Rs-Book-Downloader-Cli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnate601%2FRs-Book-Downloader-Cli", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnate601%2FRs-Book-Downloader-Cli'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7eb5740db2aca9dffd3f9c3d9aa29925e894f118 [INFO] building nate601/Rs-Book-Downloader-Cli against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnate601%2FRs-Book-Downloader-Cli" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nate601/Rs-Book-Downloader-Cli on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nate601/Rs-Book-Downloader-Cli [INFO] finished tweaking git repo https://github.com/nate601/Rs-Book-Downloader-Cli [INFO] tweaked toml for git repo https://github.com/nate601/Rs-Book-Downloader-Cli written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/nate601/Rs-Book-Downloader-Cli 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f7ee119d1d8c51c2d8345b93dc7f4e1e89691859ff77725ea0e12fa172675856 [INFO] running `Command { std: "docker" "start" "-a" "f7ee119d1d8c51c2d8345b93dc7f4e1e89691859ff77725ea0e12fa172675856", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f7ee119d1d8c51c2d8345b93dc7f4e1e89691859ff77725ea0e12fa172675856", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7ee119d1d8c51c2d8345b93dc7f4e1e89691859ff77725ea0e12fa172675856", kill_on_drop: false }` [INFO] [stdout] f7ee119d1d8c51c2d8345b93dc7f4e1e89691859ff77725ea0e12fa172675856 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7a5d9ff55cc350a3fa4267b3fae42e93f3767a1662f62a217030fb338c762dca [INFO] running `Command { std: "docker" "start" "-a" "7a5d9ff55cc350a3fa4267b3fae42e93f3767a1662f62a217030fb338c762dca", kill_on_drop: false }` [INFO] [stderr] Compiling rs-book-downloader-cli v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::ops::DerefMut` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::ops::DerefMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::HashMap` [INFO] [stdout] --> src/irc_connection.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | net::TcpStream, collections::HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/irc_message.rs:107:28 [INFO] [stdout] | [INFO] [stdout] 107 | if (k.starts_with('+') || k.starts_with('!')) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 107 - if (k.starts_with('+') || k.starts_with('!')) [INFO] [stdout] 107 + if k.starts_with('+') || k.starts_with('!') [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `RPL_NAME_REPLY` should have an upper camel case name [INFO] [stdout] --> src/irc_message.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 148 | RPL_NAME_REPLY [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RplNameReply` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/pkzip.rs:913:20 [INFO] [stdout] | [INFO] [stdout] 913 | if (length_base.is_none()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 913 - if (length_base.is_none()) [INFO] [stdout] 913 + if length_base.is_none() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/pkzip.rs:918:20 [INFO] [stdout] | [INFO] [stdout] 918 | if (length_number_of_extra_bits.is_none()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 918 - if (length_number_of_extra_bits.is_none()) [INFO] [stdout] 918 + if length_number_of_extra_bits.is_none() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/pkzip.rs:938:20 [INFO] [stdout] | [INFO] [stdout] 938 | if (distance_base.is_none()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 938 - if (distance_base.is_none()) [INFO] [stdout] 938 + if distance_base.is_none() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/pkzip.rs:943:20 [INFO] [stdout] | [INFO] [stdout] 943 | if (distance_number_of_extra_bits.is_none()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 943 - if (distance_number_of_extra_bits.is_none()) [INFO] [stdout] 943 + if distance_number_of_extra_bits.is_none() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_fixed_huffman_trees` [INFO] [stdout] --> src/pkzip_test.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::pkzip::{get_fixed_huffman_trees, BitArray, ByteStream, HuffmanTree}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | mod pkzip_test; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:144:12 [INFO] [stdout] | [INFO] [stdout] 144 | if (pack_opt.is_none()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 144 - if (pack_opt.is_none()) [INFO] [stdout] 144 + if pack_opt.is_none() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:196:20 [INFO] [stdout] | [INFO] [stdout] 196 | if (*x == ':') [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 196 - if (*x == ':') [INFO] [stdout] 196 + if *x == ':' [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:198:24 [INFO] [stdout] | [INFO] [stdout] 198 | if (was_last_character_info_marker) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 198 - if (was_last_character_info_marker) [INFO] [stdout] 198 + if was_last_character_info_marker [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `query_type` [INFO] [stdout] --> src/irc_message.rs:193:13 [INFO] [stdout] | [INFO] [stdout] 193 | query_type, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `query_type: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `argument` [INFO] [stdout] --> src/irc_message.rs:194:13 [INFO] [stdout] | [INFO] [stdout] 194 | argument, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `argument: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/pkzip.rs:516:13 [INFO] [stdout] | [INFO] [stdout] 516 | let mut bits = self.read_bits(number_of_bits)?; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/pkzip.rs:534:13 [INFO] [stdout] | [INFO] [stdout] 534 | for i in 0..number_of_bits [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/pkzip.rs:633:21 [INFO] [stdout] | [INFO] [stdout] 633 | let mut byte_stream = ByteStream::new(compressed_byte_arrays); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/pkzip.rs:691:9 [INFO] [stdout] | [INFO] [stdout] 691 | for i in 0..hclen [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/pkzip.rs:730:17 [INFO] [stdout] | [INFO] [stdout] 730 | for i in 0..number_of_times_to_repeat [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/pkzip.rs:740:17 [INFO] [stdout] | [INFO] [stdout] 740 | for i in 0..number_of_times_to_repeat [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/pkzip.rs:751:17 [INFO] [stdout] | [INFO] [stdout] 751 | for i in 0..number_of_times_to_repeat [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/pkzip.rs:780:17 [INFO] [stdout] | [INFO] [stdout] 780 | for i in 0..number_of_times_to_repeat [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/pkzip.rs:790:17 [INFO] [stdout] | [INFO] [stdout] 790 | for i in 0..number_of_times_to_repeat [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/pkzip.rs:801:17 [INFO] [stdout] | [INFO] [stdout] 801 | for i in 0..number_of_times_to_repeat [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ret_val` [INFO] [stdout] --> src/pkzip.rs:818:9 [INFO] [stdout] | [INFO] [stdout] 818 | let ret_val: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ret_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text` [INFO] [stdout] --> src/pkzip.rs:857:9 [INFO] [stdout] | [INFO] [stdout] 857 | let text = String::from_utf8(ret_cursor.get_ref().to_vec()); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `debug_iterations` is assigned to, but never used [INFO] [stdout] --> src/pkzip.rs:870:13 [INFO] [stdout] | [INFO] [stdout] 870 | let mut debug_iterations = 0u16; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_debug_iterations` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `match_iterations` is assigned to, but never used [INFO] [stdout] --> src/pkzip.rs:871:13 [INFO] [stdout] | [INFO] [stdout] 871 | let mut match_iterations = 0u16; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_match_iterations` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/pkzip.rs:970:21 [INFO] [stdout] | [INFO] [stdout] 970 | for i in 00u16..length [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/pkzip.rs:1157:17 [INFO] [stdout] | [INFO] [stdout] 1157 | let s = BitArray::new_from_word(*next_address.get(bit_length).unwrap()).get_string(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/pkzip_test.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | let k = vec![ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pack` [INFO] [stdout] --> src/main.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | let pack = loop [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let mut users: HashMap> = HashMap::new(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Disconnected`, `WaitingForResults`, and `WaitingForBook` are never constructed [INFO] [stdout] --> src/irc_connection.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum ConnectionStatus [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] 7 | { [INFO] [stdout] 8 | Disconnected, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 9 | Connected, [INFO] [stdout] 10 | WaitingForResults, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | WaitingForBook, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `send_command` is never used [INFO] [stdout] --> src/irc_connection.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl IrcConnection [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn send_command(&mut self, command: &str) -> Result [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `end_of_central_directory_record` is never read [INFO] [stdout] --> src/pkzip.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct PkZip [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | pub end_of_central_directory_record: EndOfCentralDirectoryRecord, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PkZip` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `file_name`, `compressed_size`, and `crc_32` are never read [INFO] [stdout] --> src/pkzip.rs:301:9 [INFO] [stdout] | [INFO] [stdout] 299 | pub struct PkZipFile [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 300 | { [INFO] [stdout] 301 | pub file_name: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 302 | pub compressed_size: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 305 | pub crc_32: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PkZipFile` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `get_bits`, `is_bit_set`, and `get_cursor` are never used [INFO] [stdout] --> src/pkzip.rs:418:12 [INFO] [stdout] | [INFO] [stdout] 315 | impl BitArray [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 418 | pub fn get_bits(source: Vec) -> Vec [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 431 | pub fn is_bit_set(source: u8, n: u8) -> bool [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 440 | pub fn get_cursor(o: Vec) -> Cursor> [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data` is never read [INFO] [stdout] --> src/pkzip.rs:495:5 [INFO] [stdout] | [INFO] [stdout] 493 | pub struct ByteStream [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 494 | { [INFO] [stdout] 495 | data: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ByteStream` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_at_end` is never used [INFO] [stdout] --> src/pkzip.rs:559:12 [INFO] [stdout] | [INFO] [stdout] 499 | impl ByteStream [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 559 | pub fn is_at_end(&self) -> bool [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_value` is never used [INFO] [stdout] --> src/pkzip.rs:1110:12 [INFO] [stdout] | [INFO] [stdout] 1073 | impl HuffmanTree [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 1110 | pub fn get_value(self, address: u16, address_len: u8) -> Option [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/pkzip.rs:1261:9 [INFO] [stdout] | [INFO] [stdout] 1259 | pub struct LocalFileHeader [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 1260 | { [INFO] [stdout] 1261 | pub start_position: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 1262 | pub version_needed_to_extract: [u8; 2], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 1263 | pub general_purpose_bit_flag: [u8; 2], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 1264 | pub compression_method: [u8; 2], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 1265 | pub last_mod_file_time: [u8; 2], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 1266 | pub last_mod_file_date: [u8; 2], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 1267 | pub crc_32: [u8; 4], [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 1268 | pub compressed_size: [u8; 4], [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 1269 | pub uncompressed_size: [u8; 4], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 1270 | pub file_name_length: [u8; 2], [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 1271 | pub extra_field_length: [u8; 2], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 1272 | //Variable size [INFO] [stdout] 1273 | pub file_name: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 1274 | pub extra_field: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LocalFileHeader` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/pkzip.rs:1280:9 [INFO] [stdout] | [INFO] [stdout] 1278 | pub struct CentralDirectoryHeader [INFO] [stdout] | ---------------------- fields in this struct [INFO] [stdout] 1279 | { [INFO] [stdout] 1280 | pub start_position: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 1281 | pub version_maker: [u8; 2], [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 1282 | pub version_needed_to_extract: [u8; 2], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 1283 | pub general_purpose_bit_flag: [u8; 2], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 1284 | pub compression_method: [u8; 2], [INFO] [stdout] 1285 | pub last_mod_file_time: [u8; 2], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 1286 | pub last_mod_file_date: [u8; 2], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1290 | pub file_name_length: [u8; 2], [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 1291 | pub extra_field_length: [u8; 2], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 1292 | pub file_comment_length: [u8; 2], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 1293 | pub disk_number_start: [u8; 2], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 1294 | pub internal_file_attributes: [u8; 2], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 1295 | pub external_file_attributes: [u8; 4], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1299 | pub extra_field: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 1300 | pub file_comment: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 1301 | pub end_position: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CentralDirectoryHeader` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/pkzip.rs:1306:9 [INFO] [stdout] | [INFO] [stdout] 1304 | pub struct EndOfCentralDirectoryRecord [INFO] [stdout] | --------------------------- fields in this struct [INFO] [stdout] 1305 | { [INFO] [stdout] 1306 | pub number_of_this_disk: [u8; 2], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 1307 | pub number_of_disk_with_start_of_central_directory: [u8; 2], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 1308 | pub total_number_of_entries_in_central_directory_on_current_disk: [u8; 2], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 1309 | pub total_number_of_entries_in_central_directory: [u8; 2], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 1310 | pub size_of_central_directory: [u8; 4], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 1311 | pub offset_of_start_of_central_directory_with_respect_to_starting_disk_number: [u8; 4], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 1312 | pub zip_file_comment_length: [u8; 2], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 1313 | // Variable size [INFO] [stdout] 1314 | pub zip_file_comment: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EndOfCentralDirectoryRecord` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `huffman_tree_bit_decode_test` is never used [INFO] [stdout] --> src/pkzip_test.rs:92:4 [INFO] [stdout] | [INFO] [stdout] 92 | fn huffman_tree_bit_decode_test() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `retVal` should have a snake case name [INFO] [stdout] --> src/pkzip.rs:403:17 [INFO] [stdout] | [INFO] [stdout] 403 | let mut retVal = String::new(); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `ret_val` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] rustc-LLVM ERROR: IO failure on output stream: No space left on device [INFO] [stderr] error: could not compile `rs-book-downloader-cli` (bin "rs-book-downloader-cli"); 46 warnings emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/11663cd3bfefef7d34e8f0892c250bf698049392/bin/rustc --crate-name rs_book_downloader_cli --edition=2021 src/main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' -C metadata=db06fea66dc69fe9 -C extra-filename=-98253ede44039fff --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --cap-lints=forbid -Dtail-expr-drop-order` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "7a5d9ff55cc350a3fa4267b3fae42e93f3767a1662f62a217030fb338c762dca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a5d9ff55cc350a3fa4267b3fae42e93f3767a1662f62a217030fb338c762dca", kill_on_drop: false }` [INFO] [stdout] 7a5d9ff55cc350a3fa4267b3fae42e93f3767a1662f62a217030fb338c762dca