[INFO] cloning repository https://github.com/caydenlund/xz-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/caydenlund/xz-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcaydenlund%2Fxz-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcaydenlund%2Fxz-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 34eb08b1cd89adf335bee3c25e84e44a11bdedf5 [INFO] checking caydenlund/xz-rs against master#64b185eddaa1d7ddf5e0c024be23b9cbba6c1722 for pr-143929 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcaydenlund%2Fxz-rs" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/caydenlund/xz-rs [INFO] finished tweaking git repo https://github.com/caydenlund/xz-rs [INFO] tweaked toml for git repo https://github.com/caydenlund/xz-rs written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/caydenlund/xz-rs on toolchain 64b185eddaa1d7ddf5e0c024be23b9cbba6c1722 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/caydenlund/xz-rs 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" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 42e18f0d9f6036a4edeef90cb1ce27bbbd2616148b81355a9a5a4387c2300f79 [INFO] running `Command { std: "docker" "start" "-a" "42e18f0d9f6036a4edeef90cb1ce27bbbd2616148b81355a9a5a4387c2300f79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "42e18f0d9f6036a4edeef90cb1ce27bbbd2616148b81355a9a5a4387c2300f79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42e18f0d9f6036a4edeef90cb1ce27bbbd2616148b81355a9a5a4387c2300f79", kill_on_drop: false }` [INFO] [stdout] 42e18f0d9f6036a4edeef90cb1ce27bbbd2616148b81355a9a5a4387c2300f79 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] de04b6dad4568332cb8fe89e8cb6db01ff77ea4fcfd4914844e1de25918e0981 [INFO] running `Command { std: "docker" "start" "-a" "de04b6dad4568332cb8fe89e8cb6db01ff77ea4fcfd4914844e1de25918e0981", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking colorchoice v1.0.3 [INFO] [stderr] Checking anstyle-query v1.1.2 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Checking clap_lex v0.7.4 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Checking anstyle-parse v0.2.6 [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Checking clap_builder v4.5.35 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Checking clap v4.5.35 [INFO] [stderr] Checking xz-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/lzma2/encoder/lzma2_encoder.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new(output: &mut W) -> Self { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/lzma2/encoder/lzma2_encoder.rs:19:42 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn encode(&mut self, input: &mut R) -> EncodeResult<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/lzma2/encoder/lzma2_encoder.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new(output: &mut W) -> Self { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/lzma2/encoder/lzma2_encoder.rs:19:42 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn encode(&mut self, input: &mut R) -> EncodeResult<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_empty` is never used [INFO] [stdout] --> src/lzma2/decoder/dict.rs:20:19 [INFO] [stdout] | [INFO] [stdout] 8 | impl Dict { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 20 | pub(crate) fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `MatchLitLit`, `RepLitLit`, `MatchLit`, `RepLit`, and `ShortrepLit` are never constructed [INFO] [stdout] --> src/lzma2/decoder/lzma_state.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub(crate) enum LzmaState { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 6 | MatchLitLit, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 7 | RepLitLit, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 8 | ShortrepLitLit, [INFO] [stdout] 9 | MatchLit, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 10 | RepLit, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | ShortrepLit, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LzmaState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_empty` is never used [INFO] [stdout] --> src/lzma2/decoder/dict.rs:20:19 [INFO] [stdout] | [INFO] [stdout] 8 | impl Dict { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 20 | pub(crate) fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/lzma2/decoder/range_decoder.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl RangeDecoder { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn new(input: &mut R) -> DecodeResult { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `output`, `buf`, `start`, and `end` are never read [INFO] [stdout] --> src/lzma2/encoder/dict.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub(crate) struct Dict { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 4 | output: W, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 5 | buf: Vec, [INFO] [stdout] | ^^^ [INFO] [stdout] 6 | start: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 7 | end: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `MatchLitLit`, `RepLitLit`, `MatchLit`, `RepLit`, and `ShortrepLit` are never constructed [INFO] [stdout] --> src/lzma2/decoder/lzma_state.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub(crate) enum LzmaState { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 6 | MatchLitLit, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 7 | RepLitLit, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 8 | ShortrepLitLit, [INFO] [stdout] 9 | MatchLit, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 10 | RepLit, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | ShortrepLit, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LzmaState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `len`, `flush`, `push`, and `extend` are never used [INFO] [stdout] --> src/lzma2/encoder/dict.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 10 | impl Dict { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 11 | pub(crate) fn new(output: W, size: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub(crate) fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub(crate) fn flush(&mut self, num_bytes: usize) -> io::Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub(crate) fn push(&mut self, byte: u8) -> io::Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub(crate) fn extend(&mut self, bytes: &[u8]) -> io::Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/lzma2/decoder/range_decoder.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl RangeDecoder { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn new(input: &mut R) -> DecodeResult { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `lzma_enc`, `dict`, and `rc` are never read [INFO] [stdout] --> src/lzma2/encoder/lzma2_encoder.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) struct Lzma2Encoder { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 9 | lzma_enc: LzmaEncoder, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 10 | dict: Dict, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | rc: RangeEncoder, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `output`, `buf`, `start`, and `end` are never read [INFO] [stdout] --> src/lzma2/encoder/dict.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub(crate) struct Dict { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 4 | output: W, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 5 | buf: Vec, [INFO] [stdout] | ^^^ [INFO] [stdout] 6 | start: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 7 | end: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `len`, `flush`, `push`, and `extend` are never used [INFO] [stdout] --> src/lzma2/encoder/dict.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 10 | impl Dict { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 11 | pub(crate) fn new(output: W, size: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub(crate) fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub(crate) fn flush(&mut self, num_bytes: usize) -> io::Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub(crate) fn push(&mut self, byte: u8) -> io::Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub(crate) fn extend(&mut self, bytes: &[u8]) -> io::Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `lzma_enc`, `dict`, and `rc` are never read [INFO] [stdout] --> src/lzma2/encoder/lzma2_encoder.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) struct Lzma2Encoder { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 9 | lzma_enc: LzmaEncoder, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 10 | dict: Dict, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | rc: RangeEncoder, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.34s [INFO] running `Command { std: "docker" "inspect" "de04b6dad4568332cb8fe89e8cb6db01ff77ea4fcfd4914844e1de25918e0981", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de04b6dad4568332cb8fe89e8cb6db01ff77ea4fcfd4914844e1de25918e0981", kill_on_drop: false }` [INFO] [stdout] de04b6dad4568332cb8fe89e8cb6db01ff77ea4fcfd4914844e1de25918e0981