[INFO] cloning repository https://github.com/ConnorSkees/zip-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ConnorSkees/zip-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FConnorSkees%2Fzip-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FConnorSkees%2Fzip-rs'... [INFO] updating cached repository https://github.com/ConnorSkees/zip-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/ConnorSkees/zip-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/ConnorSkees/zip-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/ConnorSkees/zip-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/ConnorSkees/zip-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/ConnorSkees/zip-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/ConnorSkees/zip-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/ConnorSkees/zip-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/ConnorSkees/zip-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/ConnorSkees/zip-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/ConnorSkees/zip-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/ConnorSkees/zip-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/ConnorSkees/zip-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/ConnorSkees/zip-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e2aa9ff1d7e4f768a2ed4707981071886c6560bb [INFO] checking ConnorSkees/zip-rs against master#1673f1450eeaf4a5452e086db0fe2ae274a0144f for pr-99413 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FConnorSkees%2Fzip-rs" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ConnorSkees/zip-rs on toolchain 1673f1450eeaf4a5452e086db0fe2ae274a0144f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1673f1450eeaf4a5452e086db0fe2ae274a0144f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ConnorSkees/zip-rs [INFO] finished tweaking git repo https://github.com/ConnorSkees/zip-rs [INFO] tweaked toml for git repo https://github.com/ConnorSkees/zip-rs written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/ConnorSkees/zip-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1673f1450eeaf4a5452e086db0fe2ae274a0144f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded flate2 v1.0.12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:ecb52c4cf6672b83cc996368a05b4a059042425f2b6ba9cd23a06cdead5d8d70" "/opt/rustwide/cargo-home/bin/cargo" "+1673f1450eeaf4a5452e086db0fe2ae274a0144f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 388cc55426921c1f2d1babf2f34674d111dc58c17ce56fc3c39a6d040a0ebc98 [INFO] running `Command { std: "docker" "start" "-a" "388cc55426921c1f2d1babf2f34674d111dc58c17ce56fc3c39a6d040a0ebc98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "388cc55426921c1f2d1babf2f34674d111dc58c17ce56fc3c39a6d040a0ebc98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "388cc55426921c1f2d1babf2f34674d111dc58c17ce56fc3c39a6d040a0ebc98", kill_on_drop: false }` [INFO] [stdout] 388cc55426921c1f2d1babf2f34674d111dc58c17ce56fc3c39a6d040a0ebc98 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:ecb52c4cf6672b83cc996368a05b4a059042425f2b6ba9cd23a06cdead5d8d70" "/opt/rustwide/cargo-home/bin/cargo" "+1673f1450eeaf4a5452e086db0fe2ae274a0144f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a490a1df31056c87ea8100a12d2b29a8233dad107a93d4e5317eb866ccc71a63 [INFO] running `Command { std: "docker" "start" "-a" "a490a1df31056c87ea8100a12d2b29a8233dad107a93d4e5317eb866ccc71a63", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Checking adler32 v1.0.4 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking miniz_oxide v0.3.5 [INFO] [stderr] Checking flate2 v1.0.12 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking zip-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `os`, `metadata`, `disk_num_start`, `internal_attributes`, `external_attributes` and `zip_specification_version` are never read [INFO] [stdout] --> src/lib.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) struct CentralDirectoryFileHeader<'a> { [INFO] [stdout] | -------------------------- fields in this struct [INFO] [stdout] 20 | pub(crate) os: OS, [INFO] [stdout] | ^^ [INFO] [stdout] 21 | pub(crate) metadata: Metadata<'a>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 22 | pub(crate) disk_num_start: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 23 | pub(crate) internal_attributes: InternalAttributes, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 24 | pub(crate) external_attributes: ExternalAttributes, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 25 | pub(crate) zip_specification_version: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: `CentralDirectoryFileHeader` 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: fields `disk_num`, `disk_central_dir_num`, `disk_entires`, `total_entires` and `central_dir_size` are never read [INFO] [stdout] --> src/lib.rs:31:16 [INFO] [stdout] | [INFO] [stdout] 30 | pub(crate) struct EndCentralDirectory { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 31 | pub(crate) disk_num: u16, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 32 | pub(crate) disk_central_dir_num: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 33 | pub(crate) disk_entires: u16, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 34 | pub(crate) total_entires: u16, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 35 | pub(crate) central_dir_size: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EndCentralDirectory` 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 `version_needed`, `date_time_modified`, `flags` and `crc` are never read [INFO] [stdout] --> src/lib.rs:41:16 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct Metadata<'a> { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 41 | pub(crate) version_needed: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 42 | pub(crate) compression_method: CompressionMethod, [INFO] [stdout] 43 | pub(crate) date_time_modified: DateTimeModified, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 44 | pub(crate) flags: ZipFlags, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub(crate) crc: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Metadata` 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: field `end` is never read [INFO] [stdout] --> src/lib.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 105 | struct CentralDirectory<'a> { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 106 | files: Vec>, [INFO] [stdout] 107 | end: EndCentralDirectory, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CentralDirectory` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `os`, `metadata`, `disk_num_start`, `internal_attributes`, `external_attributes` and `zip_specification_version` are never read [INFO] [stdout] --> src/lib.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) struct CentralDirectoryFileHeader<'a> { [INFO] [stdout] | -------------------------- fields in this struct [INFO] [stdout] 20 | pub(crate) os: OS, [INFO] [stdout] | ^^ [INFO] [stdout] 21 | pub(crate) metadata: Metadata<'a>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 22 | pub(crate) disk_num_start: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 23 | pub(crate) internal_attributes: InternalAttributes, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 24 | pub(crate) external_attributes: ExternalAttributes, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 25 | pub(crate) zip_specification_version: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: `CentralDirectoryFileHeader` 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: fields `disk_num`, `disk_central_dir_num`, `disk_entires`, `total_entires` and `central_dir_size` are never read [INFO] [stdout] --> src/lib.rs:31:16 [INFO] [stdout] | [INFO] [stdout] 30 | pub(crate) struct EndCentralDirectory { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 31 | pub(crate) disk_num: u16, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 32 | pub(crate) disk_central_dir_num: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 33 | pub(crate) disk_entires: u16, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 34 | pub(crate) total_entires: u16, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 35 | pub(crate) central_dir_size: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EndCentralDirectory` 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 `version_needed`, `date_time_modified`, `flags` and `crc` are never read [INFO] [stdout] --> src/lib.rs:41:16 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct Metadata<'a> { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 41 | pub(crate) version_needed: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 42 | pub(crate) compression_method: CompressionMethod, [INFO] [stdout] 43 | pub(crate) date_time_modified: DateTimeModified, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 44 | pub(crate) flags: ZipFlags, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub(crate) crc: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Metadata` 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: field `end` is never read [INFO] [stdout] --> src/lib.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 105 | struct CentralDirectory<'a> { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 106 | files: Vec>, [INFO] [stdout] 107 | end: EndCentralDirectory, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CentralDirectory` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 146 | dbg!(file.file_path()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:148:13 [INFO] [stdout] | [INFO] [stdout] 148 | dbg!(file.decompressed_contents()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.94s [INFO] running `Command { std: "docker" "inspect" "a490a1df31056c87ea8100a12d2b29a8233dad107a93d4e5317eb866ccc71a63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a490a1df31056c87ea8100a12d2b29a8233dad107a93d4e5317eb866ccc71a63", kill_on_drop: false }` [INFO] [stdout] a490a1df31056c87ea8100a12d2b29a8233dad107a93d4e5317eb866ccc71a63