[INFO] fetching crate preflate-rs 0.6.0... [INFO] checking preflate-rs-0.6.0 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] extracting crate preflate-rs 0.6.0 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate preflate-rs 0.6.0 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate preflate-rs 0.6.0 [INFO] finished tweaking crates.io crate preflate-rs 0.6.0 [INFO] tweaked toml for crates.io crate preflate-rs 0.6.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 34 packages to latest compatible versions [INFO] [stderr] Adding addr2line v0.22.0 (latest: v0.24.1) [INFO] [stderr] Adding cabac v0.6.0 (latest: v0.8.0) [INFO] [stderr] Adding gimli v0.29.0 (latest: v0.31.0) [INFO] [stderr] Adding miniz_oxide v0.7.4 (latest: v0.8.0) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cabac v0.6.0 [INFO] [stderr] Downloaded default-boxed-derive v0.2.0 [INFO] [stderr] Downloaded default-boxed v0.2.0 [INFO] [stderr] Downloaded libdeflate-sys v1.21.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0ddf02f46f1eb92ad8e0d0b466a5680bf15a2c751a30a2ece1a49462876c2d34 [INFO] running `Command { std: "docker" "start" "-a" "0ddf02f46f1eb92ad8e0d0b466a5680bf15a2c751a30a2ece1a49462876c2d34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0ddf02f46f1eb92ad8e0d0b466a5680bf15a2c751a30a2ece1a49462876c2d34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ddf02f46f1eb92ad8e0d0b466a5680bf15a2c751a30a2ece1a49462876c2d34", kill_on_drop: false }` [INFO] [stdout] 0ddf02f46f1eb92ad8e0d0b466a5680bf15a2c751a30a2ece1a49462876c2d34 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9585e2ee527d745df1e795422a2942cef738bf6b199e328d566754d8c4b575b7 [INFO] running `Command { std: "docker" "start" "-a" "9585e2ee527d745df1e795422a2942cef738bf6b199e328d566754d8c4b575b7", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking cabac v0.6.0 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Compiling cc v1.1.15 [INFO] [stderr] Checking flate2 v1.0.33 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Compiling backtrace v0.3.73 [INFO] [stderr] Compiling libdeflate-sys v1.21.0 [INFO] [stderr] Compiling libz-sys v1.1.20 [INFO] [stderr] Compiling default-boxed-derive v0.2.0 [INFO] [stderr] Checking default-boxed v0.2.0 [INFO] [stderr] Checking zstd v0.13.2 [INFO] [stderr] Checking preflate-rs v0.6.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `bad` [INFO] [stdout] --> src/hash_chain.rs:266:11 [INFO] [stdout] | [INFO] [stdout] 266 | #[cfg(bad)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bad)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bad)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `bad` [INFO] [stdout] --> src/hash_chain.rs:298:11 [INFO] [stdout] | [INFO] [stdout] 298 | #[cfg(bad)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bad)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bad)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `bad` [INFO] [stdout] --> src/hash_chain.rs:266:11 [INFO] [stdout] | [INFO] [stdout] 266 | #[cfg(bad)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bad)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bad)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `bad` [INFO] [stdout] --> src/hash_chain.rs:298:11 [INFO] [stdout] | [INFO] [stdout] 298 | #[cfg(bad)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bad)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bad)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `reference_count` and `unfound_references` are never read [INFO] [stdout] --> src/complevel_estimator.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct CompLevelInfo { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 19 | pub zlib_compatible: bool, [INFO] [stdout] 20 | pub reference_count: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 21 | pub unfound_references: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `HashChainTrait` is never used [INFO] [stdout] --> src/hash_chain.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | pub trait HashChainTrait: Default {} [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/predictor_state.rs:20:28 [INFO] [stdout] | [INFO] [stdout] 20 | DistanceLargerThanHop0(u32, u32), [INFO] [stdout] | ---------------------- ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MatchResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 20 | DistanceLargerThanHop0((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/predictor_state.rs:23:22 [INFO] [stdout] | [INFO] [stdout] 23 | MaxChainExceeded(u32), [INFO] [stdout] | ---------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MatchResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 23 | MaxChainExceeded(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `requested_match_depth` and `condensed_hops` are never read [INFO] [stdout] --> src/predictor_state.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct PreflateRematchInfo { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 28 | pub requested_match_depth: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 29 | pub condensed_hops: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `signature` is never read [INFO] [stdout] --> src/scan_deflate.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct DeflateStreamLocation { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 41 | pub signature: Signature, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DeflateStreamLocation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/scan_deflate.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct ZipLocalFileHeader { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 79 | pub local_file_header_signature: u32, [INFO] [stdout] 80 | pub version_needed_to_extract: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 81 | pub general_purpose_bit_flag: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 82 | pub compression_method: u16, [INFO] [stdout] 83 | pub last_mod_file_time: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 84 | pub last_mod_file_date: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 85 | pub crc32: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 86 | pub compressed_size: u64, // only 4 bytes in the regular header but can be 8 bytes if Zip64 [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 87 | pub uncompressed_size: u64, // only 4 bytes in the regular header but can be 8 bytes if Zip64 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `reference_count` and `unfound_references` are never read [INFO] [stdout] --> src/complevel_estimator.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct CompLevelInfo { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 19 | pub zlib_compatible: bool, [INFO] [stdout] 20 | pub reference_count: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 21 | pub unfound_references: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `HashChainTrait` is never used [INFO] [stdout] --> src/hash_chain.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | pub trait HashChainTrait: Default {} [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/predictor_state.rs:20:28 [INFO] [stdout] | [INFO] [stdout] 20 | DistanceLargerThanHop0(u32, u32), [INFO] [stdout] | ---------------------- ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MatchResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 20 | DistanceLargerThanHop0((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/predictor_state.rs:23:22 [INFO] [stdout] | [INFO] [stdout] 23 | MaxChainExceeded(u32), [INFO] [stdout] | ---------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MatchResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 23 | MaxChainExceeded(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `requested_match_depth` and `condensed_hops` are never read [INFO] [stdout] --> src/predictor_state.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct PreflateRematchInfo { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 28 | pub requested_match_depth: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 29 | pub condensed_hops: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `signature` is never read [INFO] [stdout] --> src/scan_deflate.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct DeflateStreamLocation { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 41 | pub signature: Signature, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DeflateStreamLocation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/scan_deflate.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct ZipLocalFileHeader { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 79 | pub local_file_header_signature: u32, [INFO] [stdout] 80 | pub version_needed_to_extract: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 81 | pub general_purpose_bit_flag: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 82 | pub compression_method: u16, [INFO] [stdout] 83 | pub last_mod_file_time: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 84 | pub last_mod_file_date: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 85 | pub crc32: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 86 | pub compressed_size: u64, // only 4 bytes in the regular header but can be 8 bytes if Zip64 [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 87 | pub uncompressed_size: u64, // only 4 bytes in the regular header but can be 8 bytes if Zip64 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.14s [INFO] running `Command { std: "docker" "inspect" "9585e2ee527d745df1e795422a2942cef738bf6b199e328d566754d8c4b575b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9585e2ee527d745df1e795422a2942cef738bf6b199e328d566754d8c4b575b7", kill_on_drop: false }` [INFO] [stdout] 9585e2ee527d745df1e795422a2942cef738bf6b199e328d566754d8c4b575b7