[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 try#09ea730c380b8b9acb96ff87b724c45df920f793 for pr-134272 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fundefined-ux%2Fdeflate_compression_rs" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/undefined-ux/deflate_compression_rs on toolchain 09ea730c380b8b9acb96ff87b724c45df920f793 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+09ea730c380b8b9acb96ff87b724c45df920f793" "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-2-tc2/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" "+09ea730c380b8b9acb96ff87b724c45df920f793" "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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+09ea730c380b8b9acb96ff87b724c45df920f793" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f0296c5cd5bce8c334e6e638b04f6601185bdac0fb4a3a558d5a8c06b8fc142e [INFO] running `Command { std: "docker" "start" "-a" "f0296c5cd5bce8c334e6e638b04f6601185bdac0fb4a3a558d5a8c06b8fc142e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f0296c5cd5bce8c334e6e638b04f6601185bdac0fb4a3a558d5a8c06b8fc142e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0296c5cd5bce8c334e6e638b04f6601185bdac0fb4a3a558d5a8c06b8fc142e", kill_on_drop: false }` [INFO] [stdout] f0296c5cd5bce8c334e6e638b04f6601185bdac0fb4a3a558d5a8c06b8fc142e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+09ea730c380b8b9acb96ff87b724c45df920f793" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] adc460fbe3973458ff126408f4c5b40beac4147696635dbae70bc1319c48a991 [INFO] running `Command { std: "docker" "start" "-a" "adc460fbe3973458ff126408f4c5b40beac4147696635dbae70bc1319c48a991", 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: `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 = 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: 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 = 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: 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 2.59s [INFO] running `Command { std: "docker" "inspect" "adc460fbe3973458ff126408f4c5b40beac4147696635dbae70bc1319c48a991", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "adc460fbe3973458ff126408f4c5b40beac4147696635dbae70bc1319c48a991", kill_on_drop: false }` [INFO] [stdout] adc460fbe3973458ff126408f4c5b40beac4147696635dbae70bc1319c48a991