[INFO] fetching crate deflate 1.0.0... [INFO] checking deflate-1.0.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate deflate 1.0.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate deflate 1.0.0 [INFO] finished tweaking crates.io crate deflate 1.0.0 [INFO] tweaked toml for crates.io crate deflate 1.0.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate deflate 1.0.0 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 6 packages to latest compatible versions [INFO] [stderr] Adding miniz_oxide v0.5.4 (available: v0.8.9) [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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] bf761e8172389df1f02149e3dea7b8be708b56d55bd757db98a98fc40ba16cbf [INFO] running `Command { std: "docker" "start" "-a" "bf761e8172389df1f02149e3dea7b8be708b56d55bd757db98a98fc40ba16cbf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bf761e8172389df1f02149e3dea7b8be708b56d55bd757db98a98fc40ba16cbf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf761e8172389df1f02149e3dea7b8be708b56d55bd757db98a98fc40ba16cbf", kill_on_drop: false }` [INFO] [stdout] bf761e8172389df1f02149e3dea7b8be708b56d55bd757db98a98fc40ba16cbf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] e890a8bbf8979874c622ae423137d96f2808aabdc0617ba9871d380038e5aff1 [INFO] running `Command { std: "docker" "start" "-a" "e890a8bbf8979874c622ae423137d96f2808aabdc0617ba9871d380038e5aff1", kill_on_drop: false }` [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking deflate v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::huffman_table::MAX_MATCH` [INFO] [stdout] --> src/deflate_state.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use crate::huffman_table::MAX_MATCH; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `debug` [INFO] [stdout] --> src/length_encode.rs:181:11 [INFO] [stdout] | [INFO] [stdout] 181 | #[cfg(debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug)");` to the top of the `build.rs` [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 name: `debug` [INFO] [stdout] --> src/length_encode.rs:207:15 [INFO] [stdout] | [INFO] [stdout] 207 | #[cfg(not(debug))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking miniz_oxide v0.5.4 [INFO] [stdout] warning: method `update` is never used [INFO] [stdout] --> src/checksum.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait RollingChecksum { [INFO] [stdout] | --------------- method in this trait [INFO] [stdout] 4 | fn update(&mut self, byte: u8); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `compression_options` is never read [INFO] [stdout] --> src/deflate_state.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct DeflateState { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 70 | pub compression_options: CompressionOptions, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::huffman_table::MAX_MATCH` [INFO] [stdout] --> src/deflate_state.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use crate::huffman_table::MAX_MATCH; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `debug` [INFO] [stdout] --> src/length_encode.rs:181:11 [INFO] [stdout] | [INFO] [stdout] 181 | #[cfg(debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug)");` to the top of the `build.rs` [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 name: `debug` [INFO] [stdout] --> src/length_encode.rs:207:15 [INFO] [stdout] | [INFO] [stdout] 207 | #[cfg(not(debug))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `flate2` [INFO] [stdout] --> benches/bench.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate flate2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] error: could not compile `deflate` (bench "bench") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: method `update` is never used [INFO] [stdout] --> src/checksum.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait RollingChecksum { [INFO] [stdout] | --------------- method in this trait [INFO] [stdout] 4 | fn update(&mut self, byte: u8); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `compression_options` is never read [INFO] [stdout] --> src/deflate_state.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct DeflateState { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 70 | pub compression_options: CompressionOptions, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `length_extra_bits` is never read [INFO] [stdout] --> src/huffman_table.rs:223:9 [INFO] [stdout] | [INFO] [stdout] 221 | pub struct LengthAndDistanceBits { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 222 | pub length_code: HuffmanCode, [INFO] [stdout] 223 | pub length_extra_bits: HuffmanCode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/input_buffer.rs:16:27 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new<'a>(data: &'a [u8]) -> (InputBuffer, Option<&[u8]>) { [INFO] [stdout] | ^^ the lifetime is named here ----- the same 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new<'a>(data: &'a [u8]) -> (InputBuffer, Option<&'a [u8]>) { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e890a8bbf8979874c622ae423137d96f2808aabdc0617ba9871d380038e5aff1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e890a8bbf8979874c622ae423137d96f2808aabdc0617ba9871d380038e5aff1", kill_on_drop: false }` [INFO] [stdout] e890a8bbf8979874c622ae423137d96f2808aabdc0617ba9871d380038e5aff1