[INFO] fetching crate deflate 1.0.0...
[INFO] checking deflate-1.0.0 against master#30f74ff0dc4d66debc8b50724c446f817e5f75f4 for pr-121848-1
[INFO] extracting crate deflate 1.0.0 into /workspace/builds/worker-5-tc1/source
[INFO] validating manifest of crates.io crate deflate 1.0.0 on toolchain 30f74ff0dc4d66debc8b50724c446f817e5f75f4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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-5-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded gzip-header v1.0.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 7296c31145b553158601dd528433c187b5c564f732a4de344c35abf46b9451ac
[INFO] running `Command { std: "docker" "start" "-a" "7296c31145b553158601dd528433c187b5c564f732a4de344c35abf46b9451ac", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7296c31145b553158601dd528433c187b5c564f732a4de344c35abf46b9451ac", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7296c31145b553158601dd528433c187b5c564f732a4de344c35abf46b9451ac", kill_on_drop: false }`
[INFO] [stdout] 7296c31145b553158601dd528433c187b5c564f732a4de344c35abf46b9451ac
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] beef777abd65355dcc6764cd71508c0b3e42daac67e4b5ccac8b3c728f21dd64
[INFO] running `Command { std: "docker" "start" "-a" "beef777abd65355dcc6764cd71508c0b3e42daac67e4b5ccac8b3c728f21dd64", 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: the item `From` is imported redundantly
[INFO] [stdout]   --> src/compression_options.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::convert::From;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `From` is already defined here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[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] 
[INFO] [stdout] warning: the item `Clone` is imported redundantly
[INFO] [stdout]  --> src/length_encode.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::clone::Clone;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `Clone` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Iterator` is imported redundantly
[INFO] [stdout]  --> src/length_encode.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::iter::Iterator;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `Iterator` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Iterator` is imported redundantly
[INFO] [stdout]  --> src/lz77.rs:5:23
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::iter::{self, Iterator};
[INFO] [stdout]   |                       ^^^^^^^^
[INFO] [stdout]  --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `Iterator` is already defined here
[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: 6 warnings emitted
[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] error: aborting due to 1 previous error
[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 2 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: the item `From` is imported redundantly
[INFO] [stdout]   --> src/compression_options.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::convert::From;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `From` is already defined here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[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] 
[INFO] [stdout] warning: the item `build_length_count_table` is imported redundantly
[INFO] [stdout]    --> src/huffman_table.rs:430:9
[INFO] [stdout]     |
[INFO] [stdout] 428 |     use super::*;
[INFO] [stdout]     |         -------- the item `build_length_count_table` is already imported here
[INFO] [stdout] 429 |     use super::{
[INFO] [stdout] 430 |         build_length_count_table, get_distance_code_and_extra_bits, get_length_code_and_extra_bits,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `get_distance_code_and_extra_bits` is imported redundantly
[INFO] [stdout]    --> src/huffman_table.rs:430:35
[INFO] [stdout]     |
[INFO] [stdout] 428 |     use super::*;
[INFO] [stdout]     |         -------- the item `get_distance_code_and_extra_bits` is already imported here
[INFO] [stdout] 429 |     use super::{
[INFO] [stdout] 430 |         build_length_count_table, get_distance_code_and_extra_bits, get_length_code_and_extra_bits,
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `get_length_code_and_extra_bits` is imported redundantly
[INFO] [stdout]    --> src/huffman_table.rs:430:69
[INFO] [stdout]     |
[INFO] [stdout] 428 |     use super::*;
[INFO] [stdout]     |         -------- the item `get_length_code_and_extra_bits` is already imported here
[INFO] [stdout] 429 |     use super::{
[INFO] [stdout] 430 |         build_length_count_table, get_distance_code_and_extra_bits, get_length_code_and_extra_bits,
[INFO] [stdout]     |                                                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `StoredLength` is imported redundantly
[INFO] [stdout]    --> src/huffman_table.rs:433:9
[INFO] [stdout]     |
[INFO] [stdout] 428 |     use super::*;
[INFO] [stdout]     |         -------- the item `StoredLength` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 433 |     use crate::lzvalue::StoredLength;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `MAX_MATCH` is imported redundantly
[INFO] [stdout]    --> src/input_buffer.rs:101:9
[INFO] [stdout]     |
[INFO] [stdout] 101 |     use super::MAX_MATCH;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 102 |     use super::*;
[INFO] [stdout]     |         -------- the item `MAX_MATCH` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `WINDOW_SIZE` is imported redundantly
[INFO] [stdout]    --> src/input_buffer.rs:103:9
[INFO] [stdout]     |
[INFO] [stdout] 102 |     use super::*;
[INFO] [stdout]     |         -------- the item `WINDOW_SIZE` is already imported here
[INFO] [stdout] 103 |     use crate::chained_hash_table::WINDOW_SIZE;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Clone` is imported redundantly
[INFO] [stdout]  --> src/length_encode.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::clone::Clone;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `Clone` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Iterator` is imported redundantly
[INFO] [stdout]  --> src/length_encode.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::iter::Iterator;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `Iterator` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Iterator` is imported redundantly
[INFO] [stdout]  --> src/lz77.rs:5:23
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::iter::{self, Iterator};
[INFO] [stdout]   |                       ^^^^^^^^
[INFO] [stdout]  --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `Iterator` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `LZType` is imported redundantly
[INFO] [stdout]    --> src/lz77.rs:917:35
[INFO] [stdout]     |
[INFO] [stdout] 913 |     use super::*;
[INFO] [stdout]     |         -------- the item `LZType` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 917 |     use crate::lzvalue::{ld, lit, LZType, LZValue};
[INFO] [stdout]     |                                   ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `LZValue` is imported redundantly
[INFO] [stdout]    --> src/lz77.rs:917:43
[INFO] [stdout]     |
[INFO] [stdout] 913 |     use super::*;
[INFO] [stdout]     |         -------- the item `LZValue` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 917 |     use crate::lzvalue::{ld, lit, LZType, LZValue};
[INFO] [stdout]     |                                           ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `MAX_DISTANCE` is imported redundantly
[INFO] [stdout]   --> src/lzvalue.rs:91:32
[INFO] [stdout]    |
[INFO] [stdout] 90 |     use super::*;
[INFO] [stdout]    |         -------- the item `MAX_DISTANCE` is already imported here
[INFO] [stdout] 91 |     use crate::huffman_table::{MAX_DISTANCE, MAX_MATCH, MIN_DISTANCE, MIN_MATCH};
[INFO] [stdout]    |                                ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `MAX_MATCH` is imported redundantly
[INFO] [stdout]   --> src/lzvalue.rs:91:46
[INFO] [stdout]    |
[INFO] [stdout] 90 |     use super::*;
[INFO] [stdout]    |         -------- the item `MAX_MATCH` is already imported here
[INFO] [stdout] 91 |     use crate::huffman_table::{MAX_DISTANCE, MAX_MATCH, MIN_DISTANCE, MIN_MATCH};
[INFO] [stdout]    |                                              ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `MIN_MATCH` is imported redundantly
[INFO] [stdout]   --> src/lzvalue.rs:91:71
[INFO] [stdout]    |
[INFO] [stdout] 90 |     use super::*;
[INFO] [stdout]    |         -------- the item `MIN_MATCH` is already imported here
[INFO] [stdout] 91 |     use crate::huffman_table::{MAX_DISTANCE, MAX_MATCH, MIN_DISTANCE, MIN_MATCH};
[INFO] [stdout]    |                                                                       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `get_distance_code` is imported redundantly
[INFO] [stdout]    --> src/output_writer.rs:123:32
[INFO] [stdout]     |
[INFO] [stdout] 122 |     use super::*;
[INFO] [stdout]     |         -------- the item `get_distance_code` is already imported here
[INFO] [stdout] 123 |     use crate::huffman_table::{get_distance_code, get_length_code};
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `get_length_code` is imported redundantly
[INFO] [stdout]    --> src/output_writer.rs:123:51
[INFO] [stdout]     |
[INFO] [stdout] 122 |     use super::*;
[INFO] [stdout]     |         -------- the item `get_length_code` is already imported here
[INFO] [stdout] 123 |     use crate::huffman_table::{get_distance_code, get_length_code};
[INFO] [stdout]     |                                                   ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `CompressionOptions` is imported redundantly
[INFO] [stdout]    --> src/writer.rs:498:9
[INFO] [stdout]     |
[INFO] [stdout] 497 |     use super::*;
[INFO] [stdout]     |         -------- the item `CompressionOptions` is already imported here
[INFO] [stdout] 498 |     use crate::compression_options::CompressionOptions;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Write` is imported redundantly
[INFO] [stdout]    --> src/writer.rs:500:9
[INFO] [stdout]     |
[INFO] [stdout] 497 |     use super::*;
[INFO] [stdout]     |         -------- the item `Write` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 500 |     use std::io::Write;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `DEFAULT_CMF` is imported redundantly
[INFO] [stdout]   --> src/zlib.rs:66:9
[INFO] [stdout]    |
[INFO] [stdout] 66 |     use super::DEFAULT_CMF;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 67 |     use super::*;
[INFO] [stdout]    |         -------- the item `DEFAULT_CMF` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Write` is imported redundantly
[INFO] [stdout]    --> src/lib.rs:291:9
[INFO] [stdout]     |
[INFO] [stdout] 290 |     use super::*;
[INFO] [stdout]     |         -------- the item `Write` is already imported here
[INFO] [stdout] 291 |     use std::io::Write;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^
[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: 23 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "beef777abd65355dcc6764cd71508c0b3e42daac67e4b5ccac8b3c728f21dd64", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "beef777abd65355dcc6764cd71508c0b3e42daac67e4b5ccac8b3c728f21dd64", kill_on_drop: false }`
[INFO] [stdout] beef777abd65355dcc6764cd71508c0b3e42daac67e4b5ccac8b3c728f21dd64
