[INFO] fetching crate chd 0.3.3... [INFO] checking chd-0.3.3 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate chd 0.3.3 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate chd 0.3.3 [INFO] finished tweaking crates.io crate chd 0.3.3 [INFO] tweaked toml for crates.io crate chd 0.3.3 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate chd 0.3.3 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate chd 0.3.3 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded extension-traits v1.0.1 [INFO] [stderr] Downloaded lending-iterator-proc_macros v0.1.7 [INFO] [stderr] Downloaded lzma-rs-perf-exp v0.2.1 [INFO] [stderr] Downloaded text_io v0.1.13 [INFO] [stderr] Downloaded libz-rs-sys v0.4.2 [INFO] [stderr] Downloaded ext-trait-proc_macros v1.0.1 [INFO] [stderr] Downloaded polonius-the-crab v0.2.1 [INFO] [stderr] Downloaded ext-trait v1.0.1 [INFO] [stderr] Downloaded lending-iterator v0.1.7 [INFO] [stderr] Downloaded zlib-rs v0.4.2 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 099dc4dd44166d0509d22099f7660503cfe19ab6dbd7cb6edefe8a40728d93f5 [INFO] running `Command { std: "docker" "start" "-a" "099dc4dd44166d0509d22099f7660503cfe19ab6dbd7cb6edefe8a40728d93f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "099dc4dd44166d0509d22099f7660503cfe19ab6dbd7cb6edefe8a40728d93f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "099dc4dd44166d0509d22099f7660503cfe19ab6dbd7cb6edefe8a40728d93f5", kill_on_drop: false }` [INFO] [stdout] 099dc4dd44166d0509d22099f7660503cfe19ab6dbd7cb6edefe8a40728d93f5 [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" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ffd51758f95a70e95ebfdd29eb3f7cf2d4247d2c5c37ef2a7989bce7f29f08e8 [INFO] running `Command { std: "docker" "start" "-a" "ffd51758f95a70e95ebfdd29eb3f7cf2d4247d2c5c37ef2a7989bce7f29f08e8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking zlib-rs v0.4.2 [INFO] [stderr] Checking crc-catalog v2.4.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking twox-hash v2.1.0 [INFO] [stderr] Checking text_io v0.1.13 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking claxon v0.4.3 [INFO] [stderr] Checking bencher v0.1.5 [INFO] [stderr] Checking crc v3.2.1 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking bitreader v0.3.11 [INFO] [stderr] Checking ruzstd v0.8.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking lzma-rs-perf-exp v0.2.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Checking libz-rs-sys v0.4.2 [INFO] [stderr] Checking flate2 v1.1.0 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Checking chd v0.3.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/header.rs:506:26 [INFO] [stdout] | [INFO] [stdout] 506 | .map(|e| (e.init(self.hunk_size()))) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 506 - .map(|e| (e.init(self.hunk_size()))) [INFO] [stdout] 506 + .map(|e| e.init(self.hunk_size())) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `unsound_owning_iterators` [INFO] [stdout] --> src/lib.rs:231:11 [INFO] [stdout] | [INFO] [stdout] 231 | #[cfg(feature = "unsound_owning_iterators")] [INFO] [stdout] | ^^^^^^^^^^-------------------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"unstable_lending_iterators"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `c_zlib`, `cd_full`, `codec_api`, `default`, `fast_lzma`, `fast_zlib`, `fast_zstd`, `huff_write`, `huffman_api`, `lending-iterator`, `max_perf`, `nonstandard_channel_count`, `nougat`, `std`, `unstable_lending_iterators`, `verify_block_crc`, `want_raw_data_sector`, `want_subcode`, and `zstd-safe` [INFO] [stdout] = help: consider adding `unsound_owning_iterators` as a feature in `Cargo.toml` [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 value: `unsound_owning_iterators` [INFO] [stdout] --> src/lib.rs:276:11 [INFO] [stdout] | [INFO] [stdout] 276 | #[cfg(feature = "unsound_owning_iterators")] [INFO] [stdout] | ^^^^^^^^^^-------------------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"unstable_lending_iterators"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `c_zlib`, `cd_full`, `codec_api`, `default`, `fast_lzma`, `fast_zlib`, `fast_zstd`, `huff_write`, `huffman_api`, `lending-iterator`, `max_perf`, `nonstandard_channel_count`, `nougat`, `std`, `unstable_lending_iterators`, `verify_block_crc`, `want_raw_data_sector`, `want_subcode`, and `zstd-safe` [INFO] [stdout] = help: consider adding `unsound_owning_iterators` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/header.rs:506:26 [INFO] [stdout] | [INFO] [stdout] 506 | .map(|e| (e.init(self.hunk_size()))) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 506 - .map(|e| (e.init(self.hunk_size()))) [INFO] [stdout] 506 + .map(|e| e.init(self.hunk_size())) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/compression/zstd.rs:58:23 [INFO] [stdout] | [INFO] [stdout] 58 | .map_err(|e| Error::DecompressionError)?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/compression/zstd.rs:58:23 [INFO] [stdout] | [INFO] [stdout] 58 | .map_err(|e| Error::DecompressionError)?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `codec_type` is never used [INFO] [stdout] --> src/compression/mod.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub trait CompressionCodecType { [INFO] [stdout] | -------------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 37 | fn codec_type(&self) -> CodecType [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `clear_ecc` and `verify_ecc` are never used [INFO] [stdout] --> src/compression/ecc.rs:744:8 [INFO] [stdout] | [INFO] [stdout] 742 | pub(crate) trait ErrorCorrectedSector { [INFO] [stdout] | -------------------- methods in this trait [INFO] [stdout] 743 | /// Reset the ECC P and Q codes to 0 within a sector [INFO] [stdout] 744 | fn clear_ecc(&mut self); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 750 | fn verify_ecc(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/chdfile.rs:83:26 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn metadata_refs(&mut self) -> MetadataRefs { [INFO] [stdout] | ^^^^^^^^^ --------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 83 | pub fn metadata_refs(&mut self) -> MetadataRefs<'_, F> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/chdfile.rs:110:17 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn hunk(&mut self, hunk_num: u32) -> Result> { [INFO] [stdout] | ^^^^^^^^^ ------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 110 | pub fn hunk(&mut self, hunk_num: u32) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/map.rs:317:22 [INFO] [stdout] | [INFO] [stdout] 317 | pub fn get_entry(&self, hunk_num: usize) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here -------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 317 | pub fn get_entry(&self, hunk_num: usize) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/map.rs:342:17 [INFO] [stdout] | [INFO] [stdout] 342 | pub fn iter(&self) -> MapEntries { [INFO] [stdout] | ^^^^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 342 | pub fn iter(&self) -> MapEntries<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `codec_type` is never used [INFO] [stdout] --> src/compression/mod.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub trait CompressionCodecType { [INFO] [stdout] | -------------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 37 | fn codec_type(&self) -> CodecType [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `clear_ecc` and `verify_ecc` are never used [INFO] [stdout] --> src/compression/ecc.rs:744:8 [INFO] [stdout] | [INFO] [stdout] 742 | pub(crate) trait ErrorCorrectedSector { [INFO] [stdout] | -------------------- methods in this trait [INFO] [stdout] 743 | /// Reset the ECC P and Q codes to 0 within a sector [INFO] [stdout] 744 | fn clear_ecc(&mut self); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 750 | fn verify_ecc(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/chdfile.rs:83:26 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn metadata_refs(&mut self) -> MetadataRefs { [INFO] [stdout] | ^^^^^^^^^ --------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 83 | pub fn metadata_refs(&mut self) -> MetadataRefs<'_, F> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/chdfile.rs:110:17 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn hunk(&mut self, hunk_num: u32) -> Result> { [INFO] [stdout] | ^^^^^^^^^ ------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 110 | pub fn hunk(&mut self, hunk_num: u32) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/map.rs:317:22 [INFO] [stdout] | [INFO] [stdout] 317 | pub fn get_entry(&self, hunk_num: usize) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here -------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 317 | pub fn get_entry(&self, hunk_num: usize) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/map.rs:342:17 [INFO] [stdout] | [INFO] [stdout] 342 | pub fn iter(&self) -> MapEntries { [INFO] [stdout] | ^^^^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 342 | pub fn iter(&self) -> MapEntries<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.57s [INFO] running `Command { std: "docker" "inspect" "ffd51758f95a70e95ebfdd29eb3f7cf2d4247d2c5c37ef2a7989bce7f29f08e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ffd51758f95a70e95ebfdd29eb3f7cf2d4247d2c5c37ef2a7989bce7f29f08e8", kill_on_drop: false }` [INFO] [stdout] ffd51758f95a70e95ebfdd29eb3f7cf2d4247d2c5c37ef2a7989bce7f29f08e8