[INFO] fetching crate bsdump 0.1.0... [INFO] checking bsdump-0.1.0 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate bsdump 0.1.0 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate bsdump 0.1.0 [INFO] finished tweaking crates.io crate bsdump 0.1.0 [INFO] tweaked toml for crates.io crate bsdump 0.1.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate bsdump 0.1.0 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate bsdump 0.1.0 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 909854b424cca56090933160239b569843ff916d29b7c69f55829114666e67df [INFO] running `Command { std: "docker" "start" "-a" "909854b424cca56090933160239b569843ff916d29b7c69f55829114666e67df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "909854b424cca56090933160239b569843ff916d29b7c69f55829114666e67df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "909854b424cca56090933160239b569843ff916d29b7c69f55829114666e67df", kill_on_drop: false }` [INFO] [stdout] 909854b424cca56090933160239b569843ff916d29b7c69f55829114666e67df [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d2edcaf292661137e42c8e0582a10d8caeea6975dbff9cd05e0deb0bea2ebfc3 [INFO] running `Command { std: "docker" "start" "-a" "d2edcaf292661137e42c8e0582a10d8caeea6975dbff9cd05e0deb0bea2ebfc3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling libc v0.2.103 [INFO] [stderr] Compiling cc v1.0.70 [INFO] [stderr] Compiling pkg-config v0.3.20 [INFO] [stderr] Compiling syn v1.0.77 [INFO] [stderr] Compiling rustversion v1.0.5 [INFO] [stderr] Checking alloc-no-stdlib v2.0.3 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Checking alloc-stdlib v0.2.1 [INFO] [stderr] Checking brotli-decompressor v2.3.2 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Checking brotli v3.3.2 [INFO] [stderr] Checking bzip2 v0.4.3 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Checking binread v2.2.0 [INFO] [stderr] Checking bsdump v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/bsdiff_format.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::{self, ErrorKind}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/bsdiff_format.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::{self, ErrorKind}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `compressed_ctrl_size`, `compressed_diff_size`, and `new_file_size` are never read [INFO] [stdout] --> src/bsdiff_format.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct BsdiffFormat { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 59 | pub compressed_ctrl_size: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 60 | pub compressed_diff_size: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 61 | pub new_file_size: u64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BsdiffFormat` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_diff_compressor` and `get_extra_compressor` are never used [INFO] [stdout] --> src/bsdiff_format.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 64 | impl BsdiffFormat { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 75 | fn get_diff_compressor(&self) -> CompressorType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | fn get_extra_compressor(&self) -> CompressorType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `diff_size`, `extra_size`, and `offset_increment` are never read [INFO] [stdout] --> src/bsdiff_format.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 109 | pub struct ControlEntry { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 110 | // The number of bytes to copy from the source and diff stream. [INFO] [stdout] 111 | pub diff_size: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | pub extra_size: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | offset_increment: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ControlEntry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `BinreadReader` is never used [INFO] [stdout] --> src/bsdiff_format.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait BinreadReader: Read + Seek {} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data` is never read [INFO] [stdout] --> src/bsdiff_format.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 125 | pub struct BsdiffReader<'a> { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 126 | data: &'a [u8], [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_new_file_size` is never used [INFO] [stdout] --> src/bsdiff_format.rs:206:12 [INFO] [stdout] | [INFO] [stdout] 164 | impl<'a> BsdiffReader<'a> { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 206 | pub fn get_new_file_size(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bsdiff_format.rs:151:42 [INFO] [stdout] | [INFO] [stdout] 151 | mut control_entry_reader: Cursor<&Vec>, [INFO] [stdout] | ^^^^^^^^ the lifetime is elided here [INFO] [stdout] 152 | control_entry_stream_len: usize, [INFO] [stdout] 153 | ) -> ControlEntryIter { [INFO] [stdout] | ---------------- 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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 153 | ) -> ControlEntryIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bsdiff_format.rs:201:28 [INFO] [stdout] | [INFO] [stdout] 201 | pub fn control_entries(&self) -> ControlEntryIter { [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] 201 | pub fn control_entries(&self) -> ControlEntryIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `compressed_ctrl_size`, `compressed_diff_size`, and `new_file_size` are never read [INFO] [stdout] --> src/bsdiff_format.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct BsdiffFormat { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 59 | pub compressed_ctrl_size: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 60 | pub compressed_diff_size: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 61 | pub new_file_size: u64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BsdiffFormat` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_diff_compressor` and `get_extra_compressor` are never used [INFO] [stdout] --> src/bsdiff_format.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 64 | impl BsdiffFormat { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 75 | fn get_diff_compressor(&self) -> CompressorType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | fn get_extra_compressor(&self) -> CompressorType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `diff_size`, `extra_size`, and `offset_increment` are never read [INFO] [stdout] --> src/bsdiff_format.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 109 | pub struct ControlEntry { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 110 | // The number of bytes to copy from the source and diff stream. [INFO] [stdout] 111 | pub diff_size: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | pub extra_size: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | offset_increment: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ControlEntry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `BinreadReader` is never used [INFO] [stdout] --> src/bsdiff_format.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait BinreadReader: Read + Seek {} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data` is never read [INFO] [stdout] --> src/bsdiff_format.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 125 | pub struct BsdiffReader<'a> { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 126 | data: &'a [u8], [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_new_file_size` is never used [INFO] [stdout] --> src/bsdiff_format.rs:206:12 [INFO] [stdout] | [INFO] [stdout] 164 | impl<'a> BsdiffReader<'a> { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 206 | pub fn get_new_file_size(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bsdiff_format.rs:151:42 [INFO] [stdout] | [INFO] [stdout] 151 | mut control_entry_reader: Cursor<&Vec>, [INFO] [stdout] | ^^^^^^^^ the lifetime is elided here [INFO] [stdout] 152 | control_entry_stream_len: usize, [INFO] [stdout] 153 | ) -> ControlEntryIter { [INFO] [stdout] | ---------------- 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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 153 | ) -> ControlEntryIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bsdiff_format.rs:201:28 [INFO] [stdout] | [INFO] [stdout] 201 | pub fn control_entries(&self) -> ControlEntryIter { [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] 201 | pub fn control_entries(&self) -> ControlEntryIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.06s [INFO] running `Command { std: "docker" "inspect" "d2edcaf292661137e42c8e0582a10d8caeea6975dbff9cd05e0deb0bea2ebfc3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2edcaf292661137e42c8e0582a10d8caeea6975dbff9cd05e0deb0bea2ebfc3", kill_on_drop: false }` [INFO] [stdout] d2edcaf292661137e42c8e0582a10d8caeea6975dbff9cd05e0deb0bea2ebfc3