[INFO] cloning repository https://github.com/undefined-ux/deflate_compression_rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/undefined-ux/deflate_compression_rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fundefined-ux%2Fdeflate_compression_rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fundefined-ux%2Fdeflate_compression_rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 10a00e98253070a8b7af4cef7d92aa4d9d9c46ab
[INFO] checking undefined-ux/deflate_compression_rs against master#5a45ab9738330fb317d49e3594c2db5248b1e971 for pr-136303
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fundefined-ux%2Fdeflate_compression_rs" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/undefined-ux/deflate_compression_rs on toolchain 5a45ab9738330fb317d49e3594c2db5248b1e971
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5a45ab9738330fb317d49e3594c2db5248b1e971" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/undefined-ux/deflate_compression_rs
[INFO] finished tweaking git repo https://github.com/undefined-ux/deflate_compression_rs
[INFO] tweaked toml for git repo https://github.com/undefined-ux/deflate_compression_rs written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/undefined-ux/deflate_compression_rs 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" "+5a45ab9738330fb317d49e3594c2db5248b1e971" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+5a45ab9738330fb317d49e3594c2db5248b1e971" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1f0a132549bdd1c2b14c095e1af6e4a1567d9fa8ae55899caec46d19bc7a694e
[INFO] running `Command { std: "docker" "start" "-a" "1f0a132549bdd1c2b14c095e1af6e4a1567d9fa8ae55899caec46d19bc7a694e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1f0a132549bdd1c2b14c095e1af6e4a1567d9fa8ae55899caec46d19bc7a694e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1f0a132549bdd1c2b14c095e1af6e4a1567d9fa8ae55899caec46d19bc7a694e", kill_on_drop: false }`
[INFO] [stdout] 1f0a132549bdd1c2b14c095e1af6e4a1567d9fa8ae55899caec46d19bc7a694e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+5a45ab9738330fb317d49e3594c2db5248b1e971" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 997c8ebaac8c868e2272e6f814c03a295a40aeef67fe790454f833fa5f914939
[INFO] running `Command { std: "docker" "start" "-a" "997c8ebaac8c868e2272e6f814c03a295a40aeef67fe790454f833fa5f914939", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.4.0
[INFO] [stderr]     Checking iana-time-zone v0.1.61
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking chrono v0.4.38
[INFO] [stderr]     Checking deflate_compress v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/zip/files/local_file_header.rs:2:15
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::fs::{self, Metadata};
[INFO] [stdout]   |               ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PathBuf`
[INFO] [stdout]  --> src/compress_algorithm/mod.rs:1:23
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::path::{Path, PathBuf};
[INFO] [stdout]   |                       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::utils::datetime::DateTime`
[INFO] [stdout]  --> src/utils/mod.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub use crate::utils::datetime::DateTime;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/zip/files/local_file_header.rs:2:15
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::fs::{self, Metadata};
[INFO] [stdout]   |               ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PathBuf`
[INFO] [stdout]  --> src/compress_algorithm/mod.rs:1:23
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::path::{Path, PathBuf};
[INFO] [stdout]   |                       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::utils::datetime::DateTime`
[INFO] [stdout]  --> src/utils/mod.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub use crate::utils::datetime::DateTime;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `version`
[INFO] [stdout]   --> src/zip/files/local_file_header.rs:25:13
[INFO] [stdout]    |
[INFO] [stdout] 25 |         let version: [u8; 2] = [0x45, 0x00];
[INFO] [stdout]    |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_version`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `file_name_length`
[INFO] [stdout]   --> src/zip/files/local_file_header.rs:26:13
[INFO] [stdout]    |
[INFO] [stdout] 26 |         let file_name_length = file_name.len() as u16;
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_name_length`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `extra_field`
[INFO] [stdout]   --> src/zip/files/local_file_header.rs:27:13
[INFO] [stdout]    |
[INFO] [stdout] 27 |         let extra_field: Vec<u8> = Vec::new();
[INFO] [stdout]    |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_extra_field`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `last_modification_time`
[INFO] [stdout]   --> src/zip/files/local_file_header.rs:28:17
[INFO] [stdout]    |
[INFO] [stdout] 28 |         let mut last_modification_time: [u8; 2];
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_modification_time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `last_modification_date`
[INFO] [stdout]   --> src/zip/files/local_file_header.rs:29:17
[INFO] [stdout]    |
[INFO] [stdout] 29 |         let mut last_modification_date: [u8; 2];
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_modification_date`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `last_modification_timestamp` is assigned to, but never used
[INFO] [stdout]   --> src/zip/files/local_file_header.rs:37:17
[INFO] [stdout]    |
[INFO] [stdout] 37 |         let mut last_modification_timestamp: u64;
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_last_modification_timestamp` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `last_modification_timestamp` is never read
[INFO] [stdout]   --> src/zip/files/local_file_header.rs:40:13
[INFO] [stdout]    |
[INFO] [stdout] 40 |             last_modification_timestamp = match metadata.modified() {
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `last_modification_timestamp` is never read
[INFO] [stdout]   --> src/zip/files/local_file_header.rs:48:13
[INFO] [stdout]    |
[INFO] [stdout] 48 |             last_modification_timestamp = SystemTime::now().duration_since(UNIX_EPOCH).unwrap().as_secs();
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `compression_method`
[INFO] [stdout]   --> src/zip/files/local_file_header.rs:23:53
[INFO] [stdout]    |
[INFO] [stdout] 23 |     pub fn new(file: &Path, target_file_name: &str, compression_method: impl Compressable) -> () {
[INFO] [stdout]    |                                                     ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compression_method`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/zip/files/local_file_header.rs:37:13
[INFO] [stdout]    |
[INFO] [stdout] 37 |         let mut last_modification_timestamp: u64;
[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: `version`
[INFO] [stdout]   --> src/zip/files/local_file_header.rs:25:13
[INFO] [stdout]    |
[INFO] [stdout] 25 |         let version: [u8; 2] = [0x45, 0x00];
[INFO] [stdout]    |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_version`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `file_name_length`
[INFO] [stdout]   --> src/zip/files/local_file_header.rs:26:13
[INFO] [stdout]    |
[INFO] [stdout] 26 |         let file_name_length = file_name.len() as u16;
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_name_length`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `extra_field`
[INFO] [stdout]   --> src/zip/files/local_file_header.rs:27:13
[INFO] [stdout]    |
[INFO] [stdout] 27 |         let extra_field: Vec<u8> = Vec::new();
[INFO] [stdout]    |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_extra_field`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `last_modification_time`
[INFO] [stdout]   --> src/zip/files/local_file_header.rs:28:17
[INFO] [stdout]    |
[INFO] [stdout] 28 |         let mut last_modification_time: [u8; 2];
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_modification_time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `last_modification_date`
[INFO] [stdout]   --> src/zip/files/local_file_header.rs:29:17
[INFO] [stdout]    |
[INFO] [stdout] 29 |         let mut last_modification_date: [u8; 2];
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_modification_date`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `last_modification_timestamp` is assigned to, but never used
[INFO] [stdout]   --> src/zip/files/local_file_header.rs:37:17
[INFO] [stdout]    |
[INFO] [stdout] 37 |         let mut last_modification_timestamp: u64;
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_last_modification_timestamp` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `last_modification_timestamp` is never read
[INFO] [stdout]   --> src/zip/files/local_file_header.rs:40:13
[INFO] [stdout]    |
[INFO] [stdout] 40 |             last_modification_timestamp = match metadata.modified() {
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `last_modification_timestamp` is never read
[INFO] [stdout]   --> src/zip/files/local_file_header.rs:48:13
[INFO] [stdout]    |
[INFO] [stdout] 48 |             last_modification_timestamp = SystemTime::now().duration_since(UNIX_EPOCH).unwrap().as_secs();
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `compression_method`
[INFO] [stdout]   --> src/zip/files/local_file_header.rs:23:53
[INFO] [stdout]    |
[INFO] [stdout] 23 |     pub fn new(file: &Path, target_file_name: &str, compression_method: impl Compressable) -> () {
[INFO] [stdout]    |                                                     ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compression_method`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/zip/files/local_file_header.rs:37:13
[INFO] [stdout]    |
[INFO] [stdout] 37 |         let mut last_modification_timestamp: u64;
[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: field `target_file_path` is never read
[INFO] [stdout]   --> src/zip/files/mod.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 7  | pub struct File {
[INFO] [stdout]    |            ---- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 13 |     target_file_path: String
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LocalFileHeader` is never constructed
[INFO] [stdout]  --> src/zip/files/local_file_header.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct LocalFileHeader {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/zip/files/local_file_header.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 22 | impl LocalFileHeader {
[INFO] [stdout]    | -------------------- associated function in this implementation
[INFO] [stdout] 23 |     pub fn new(file: &Path, target_file_name: &str, compression_method: impl Compressable) -> () {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `local`, `utc`, `msdos_date`, and `msdos_time` are never used
[INFO] [stdout]   --> src/utils/datetime.rs:32:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl DateTime {
[INFO] [stdout]    | ------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 32 |     pub fn local() -> Self {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 39 |     pub fn utc() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 44 |     pub fn msdos_date(&self) -> u16 {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 48 |     pub fn msdos_time(&self) -> u16 {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `target_file_path` is never read
[INFO] [stdout]   --> src/zip/files/mod.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 7  | pub struct File {
[INFO] [stdout]    |            ---- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 13 |     target_file_path: String
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LocalFileHeader` is never constructed
[INFO] [stdout]  --> src/zip/files/local_file_header.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct LocalFileHeader {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/zip/files/local_file_header.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 22 | impl LocalFileHeader {
[INFO] [stdout]    | -------------------- associated function in this implementation
[INFO] [stdout] 23 |     pub fn new(file: &Path, target_file_name: &str, compression_method: impl Compressable) -> () {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.87s
[INFO] running `Command { std: "docker" "inspect" "997c8ebaac8c868e2272e6f814c03a295a40aeef67fe790454f833fa5f914939", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "997c8ebaac8c868e2272e6f814c03a295a40aeef67fe790454f833fa5f914939", kill_on_drop: false }`
[INFO] [stdout] 997c8ebaac8c868e2272e6f814c03a295a40aeef67fe790454f833fa5f914939
