[INFO] fetching crate bsdump 0.1.0... [INFO] testing bsdump-0.1.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate bsdump 0.1.0 into /workspace/builds/worker-2-tc1/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-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate bsdump 0.1.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--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] Downloading crates ... [INFO] [stderr] Downloaded alloc-stdlib v0.2.1 [INFO] [stderr] Downloaded pkg-config v0.3.20 [INFO] [stderr] Downloaded memmap v0.7.0 [INFO] [stderr] Downloaded cc v1.0.70 [INFO] [stderr] Downloaded rustversion v1.0.5 [INFO] [stderr] Downloaded proc-macro2 v1.0.29 [INFO] [stderr] Downloaded binread_derive v2.1.0 [INFO] [stderr] Downloaded binread v2.2.0 [INFO] [stderr] Downloaded alloc-no-stdlib v2.0.3 [INFO] [stderr] Downloaded libc v0.2.103 [INFO] [stderr] Downloaded brotli-decompressor v2.3.2 [INFO] [stderr] Downloaded syn v1.0.77 [INFO] [stderr] Downloaded brotli v3.3.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cfdb642d9e7ee33aacf2b6cfeebda301f52fa970dc4b70effd64afa83d8061d3 [INFO] running `Command { std: "docker" "start" "-a" "cfdb642d9e7ee33aacf2b6cfeebda301f52fa970dc4b70effd64afa83d8061d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cfdb642d9e7ee33aacf2b6cfeebda301f52fa970dc4b70effd64afa83d8061d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cfdb642d9e7ee33aacf2b6cfeebda301f52fa970dc4b70effd64afa83d8061d3", kill_on_drop: false }` [INFO] [stdout] cfdb642d9e7ee33aacf2b6cfeebda301f52fa970dc4b70effd64afa83d8061d3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 0f410b6d873f22c75474d1b4468536d1dd9b785966dc5ddde38f87db5541e602 [INFO] running `Command { std: "docker" "start" "-a" "0f410b6d873f22c75474d1b4468536d1dd9b785966dc5ddde38f87db5541e602", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling libc v0.2.103 [INFO] [stderr] Compiling unicode-xid v0.2.2 [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] Compiling alloc-no-stdlib v2.0.3 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling alloc-stdlib v0.2.1 [INFO] [stderr] Compiling brotli-decompressor v2.3.2 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling brotli v3.3.2 [INFO] [stderr] Compiling bzip2 v0.4.3 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stderr] Compiling 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: 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 `Debug` and `Clone`, 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/bsdiff_format.rs:151:42 [INFO] [stdout] | [INFO] [stdout] 151 | mut control_entry_reader: Cursor<&Vec>, [INFO] [stdout] | ^^^^^^^^ this lifetime flows to the output [INFO] [stdout] 152 | control_entry_stream_len: usize, [INFO] [stdout] 153 | ) -> ControlEntryIter { [INFO] [stdout] | ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 153 | ) -> ControlEntryIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/bsdiff_format.rs:201:28 [INFO] [stdout] | [INFO] [stdout] 201 | pub fn control_entries(&self) -> ControlEntryIter { [INFO] [stdout] | ^^^^^ ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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 11.55s [INFO] running `Command { std: "docker" "inspect" "0f410b6d873f22c75474d1b4468536d1dd9b785966dc5ddde38f87db5541e602", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f410b6d873f22c75474d1b4468536d1dd9b785966dc5ddde38f87db5541e602", kill_on_drop: false }` [INFO] [stdout] 0f410b6d873f22c75474d1b4468536d1dd9b785966dc5ddde38f87db5541e602 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 68ee13b763ca6c40fff87a601cab6d7745f4b6ab23bc5e5acde269510b307803 [INFO] running `Command { std: "docker" "start" "-a" "68ee13b763ca6c40fff87a601cab6d7745f4b6ab23bc5e5acde269510b307803", kill_on_drop: false }` [INFO] [stderr] Compiling 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: 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 `Debug` and `Clone`, 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/bsdiff_format.rs:151:42 [INFO] [stdout] | [INFO] [stdout] 151 | mut control_entry_reader: Cursor<&Vec>, [INFO] [stdout] | ^^^^^^^^ this lifetime flows to the output [INFO] [stdout] 152 | control_entry_stream_len: usize, [INFO] [stdout] 153 | ) -> ControlEntryIter { [INFO] [stdout] | ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 153 | ) -> ControlEntryIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/bsdiff_format.rs:201:28 [INFO] [stdout] | [INFO] [stdout] 201 | pub fn control_entries(&self) -> ControlEntryIter { [INFO] [stdout] | ^^^^^ ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 201 | pub fn control_entries(&self) -> ControlEntryIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.43s [INFO] running `Command { std: "docker" "inspect" "68ee13b763ca6c40fff87a601cab6d7745f4b6ab23bc5e5acde269510b307803", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68ee13b763ca6c40fff87a601cab6d7745f4b6ab23bc5e5acde269510b307803", kill_on_drop: false }` [INFO] [stdout] 68ee13b763ca6c40fff87a601cab6d7745f4b6ab23bc5e5acde269510b307803 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] f41d5ed31e1ef6e58995c1dda11fa1a3de64ec388b8ce651afb597cdabea1af7 [INFO] running `Command { std: "docker" "start" "-a" "f41d5ed31e1ef6e58995c1dda11fa1a3de64ec388b8ce651afb597cdabea1af7", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `self` [INFO] [stderr] --> src/bsdiff_format.rs:3:15 [INFO] [stderr] | [INFO] [stderr] 3 | use std::io::{self, ErrorKind}; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: fields `compressed_ctrl_size`, `compressed_diff_size`, and `new_file_size` are never read [INFO] [stderr] --> src/bsdiff_format.rs:59:9 [INFO] [stderr] | [INFO] [stderr] 56 | pub struct BsdiffFormat { [INFO] [stderr] | ------------ fields in this struct [INFO] [stderr] ... [INFO] [stderr] 59 | pub compressed_ctrl_size: u64, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 60 | pub compressed_diff_size: u64, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 61 | pub new_file_size: u64, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `BsdiffFormat` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: methods `get_diff_compressor` and `get_extra_compressor` are never used [INFO] [stderr] --> src/bsdiff_format.rs:75:8 [INFO] [stderr] | [INFO] [stderr] 64 | impl BsdiffFormat { [INFO] [stderr] | ----------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 75 | fn get_diff_compressor(&self) -> CompressorType { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 82 | fn get_extra_compressor(&self) -> CompressorType { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `diff_size`, `extra_size`, and `offset_increment` are never read [INFO] [stderr] --> src/bsdiff_format.rs:111:9 [INFO] [stderr] | [INFO] [stderr] 109 | pub struct ControlEntry { [INFO] [stderr] | ------------ fields in this struct [INFO] [stderr] 110 | // The number of bytes to copy from the source and diff stream. [INFO] [stderr] 111 | pub diff_size: u64, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 114 | pub extra_size: u64, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 118 | offset_increment: i64, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ControlEntry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: trait `BinreadReader` is never used [INFO] [stderr] --> src/bsdiff_format.rs:123:11 [INFO] [stderr] | [INFO] [stderr] 123 | pub trait BinreadReader: Read + Seek {} [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `data` is never read [INFO] [stderr] --> src/bsdiff_format.rs:126:5 [INFO] [stderr] | [INFO] [stderr] 125 | pub struct BsdiffReader<'a> { [INFO] [stderr] | ------------ field in this struct [INFO] [stderr] 126 | data: &'a [u8], [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `get_new_file_size` is never used [INFO] [stderr] --> src/bsdiff_format.rs:206:12 [INFO] [stderr] | [INFO] [stderr] 164 | impl<'a> BsdiffReader<'a> { [INFO] [stderr] | ------------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 206 | pub fn get_new_file_size(&self) -> u64 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/bsdiff_format.rs:151:42 [INFO] [stderr] | [INFO] [stderr] 151 | mut control_entry_reader: Cursor<&Vec>, [INFO] [stderr] | ^^^^^^^^ this lifetime flows to the output [INFO] [stderr] 152 | control_entry_stream_len: usize, [INFO] [stderr] 153 | ) -> ControlEntryIter { [INFO] [stderr] | ---------------- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 153 | ) -> ControlEntryIter<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/bsdiff_format.rs:201:28 [INFO] [stderr] | [INFO] [stderr] 201 | pub fn control_entries(&self) -> ControlEntryIter { [INFO] [stderr] | ^^^^^ ---------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 201 | pub fn control_entries(&self) -> ControlEntryIter<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `bsdump` (bin "bsdump" test) generated 9 warnings (run `cargo fix --bin "bsdump" --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/bsdump-bac21183244325de) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f41d5ed31e1ef6e58995c1dda11fa1a3de64ec388b8ce651afb597cdabea1af7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f41d5ed31e1ef6e58995c1dda11fa1a3de64ec388b8ce651afb597cdabea1af7", kill_on_drop: false }` [INFO] [stdout] f41d5ed31e1ef6e58995c1dda11fa1a3de64ec388b8ce651afb597cdabea1af7