[INFO] fetching crate deflate 1.0.0... [INFO] checking deflate-1.0.0 against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] extracting crate deflate 1.0.0 into /workspace/builds/worker-7-tc2/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-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate deflate 1.0.0 on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cace34d1de6827854addf8b1a9e66b685c8ef90ad55a3103febd3e9302e7b137 [INFO] running `Command { std: "docker" "start" "-a" "cace34d1de6827854addf8b1a9e66b685c8ef90ad55a3103febd3e9302e7b137", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cace34d1de6827854addf8b1a9e66b685c8ef90ad55a3103febd3e9302e7b137", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cace34d1de6827854addf8b1a9e66b685c8ef90ad55a3103febd3e9302e7b137", kill_on_drop: false }` [INFO] [stdout] cace34d1de6827854addf8b1a9e66b685c8ef90ad55a3103febd3e9302e7b137 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 96692f36ec62a4dae67b0c35456b5171d21221bbc6a882aa25dac155d6acb096 [INFO] running `Command { std: "docker" "start" "-a" "96692f36ec62a4dae67b0c35456b5171d21221bbc6a882aa25dac155d6acb096", kill_on_drop: false }` [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking miniz_oxide v0.5.4 [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] [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] 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] 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] 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: lifetime flowing from input to output with different syntax can be 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 gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to 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" "96692f36ec62a4dae67b0c35456b5171d21221bbc6a882aa25dac155d6acb096", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96692f36ec62a4dae67b0c35456b5171d21221bbc6a882aa25dac155d6acb096", kill_on_drop: false }` [INFO] [stdout] 96692f36ec62a4dae67b0c35456b5171d21221bbc6a882aa25dac155d6acb096