[INFO] cloning repository https://github.com/zhangxp1998/bsdump [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zhangxp1998/bsdump" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhangxp1998%2Fbsdump", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhangxp1998%2Fbsdump'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 869c624557bead4e1e023864c30070375b21da9e [INFO] checking zhangxp1998/bsdump against master#5a45ab9738330fb317d49e3594c2db5248b1e971 for pr-136303 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhangxp1998%2Fbsdump" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zhangxp1998/bsdump on toolchain 5a45ab9738330fb317d49e3594c2db5248b1e971 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5a45ab9738330fb317d49e3594c2db5248b1e971" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/zhangxp1998/bsdump [INFO] finished tweaking git repo https://github.com/zhangxp1998/bsdump [INFO] tweaked toml for git repo https://github.com/zhangxp1998/bsdump written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/zhangxp1998/bsdump 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" "+5a45ab9738330fb317d49e3594c2db5248b1e971" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded brotli v3.3.2 [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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+5a45ab9738330fb317d49e3594c2db5248b1e971" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a9e00f670709a58443ce632cc66f86792bd339fd6b3c865c3cbf86562b63deb5 [INFO] running `Command { std: "docker" "start" "-a" "a9e00f670709a58443ce632cc66f86792bd339fd6b3c865c3cbf86562b63deb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a9e00f670709a58443ce632cc66f86792bd339fd6b3c865c3cbf86562b63deb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9e00f670709a58443ce632cc66f86792bd339fd6b3c865c3cbf86562b63deb5", kill_on_drop: false }` [INFO] [stdout] a9e00f670709a58443ce632cc66f86792bd339fd6b3c865c3cbf86562b63deb5 [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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+5a45ab9738330fb317d49e3594c2db5248b1e971" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fc5f2824e491a39ea98a2cb228ce002040e86db3c01408c573e6aeb1913f95cf [INFO] running `Command { std: "docker" "start" "-a" "fc5f2824e491a39ea98a2cb228ce002040e86db3c01408c573e6aeb1913f95cf", 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] Checking alloc-no-stdlib v2.0.3 [INFO] [stderr] Compiling rustversion v1.0.5 [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: field `new_file_size` is never read [INFO] [stdout] --> src/bsdiff_format.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct BsdiffFormat { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 79 | 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: method `get_extra_compressor` is never used [INFO] [stdout] --> src/bsdiff_format.rs:103:8 [INFO] [stdout] | [INFO] [stdout] 82 | impl BsdiffFormat { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 103 | 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:132:9 [INFO] [stdout] | [INFO] [stdout] 130 | pub struct ControlEntry { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 131 | // The number of bytes to copy from the source and diff stream. [INFO] [stdout] 132 | pub diff_size: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | pub extra_size: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | 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:144:11 [INFO] [stdout] | [INFO] [stdout] 144 | 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:147:5 [INFO] [stdout] | [INFO] [stdout] 146 | pub struct BsdiffReader<'a> { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 147 | 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:272:12 [INFO] [stdout] | [INFO] [stdout] 185 | impl<'a> BsdiffReader<'a> { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 272 | pub fn get_new_file_size(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `new_file_size` is never read [INFO] [stdout] --> src/bsdiff_format.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct BsdiffFormat { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 79 | 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: method `get_extra_compressor` is never used [INFO] [stdout] --> src/bsdiff_format.rs:103:8 [INFO] [stdout] | [INFO] [stdout] 82 | impl BsdiffFormat { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 103 | 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:132:9 [INFO] [stdout] | [INFO] [stdout] 130 | pub struct ControlEntry { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 131 | // The number of bytes to copy from the source and diff stream. [INFO] [stdout] 132 | pub diff_size: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | pub extra_size: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | 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:144:11 [INFO] [stdout] | [INFO] [stdout] 144 | 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:147:5 [INFO] [stdout] | [INFO] [stdout] 146 | pub struct BsdiffReader<'a> { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 147 | 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:272:12 [INFO] [stdout] | [INFO] [stdout] 185 | impl<'a> BsdiffReader<'a> { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 272 | pub fn get_new_file_size(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.47s [INFO] running `Command { std: "docker" "inspect" "fc5f2824e491a39ea98a2cb228ce002040e86db3c01408c573e6aeb1913f95cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc5f2824e491a39ea98a2cb228ce002040e86db3c01408c573e6aeb1913f95cf", kill_on_drop: false }` [INFO] [stdout] fc5f2824e491a39ea98a2cb228ce002040e86db3c01408c573e6aeb1913f95cf