[INFO] fetching crate brotli 3.4.0...
[INFO] checking brotli-3.4.0 against master#30f74ff0dc4d66debc8b50724c446f817e5f75f4 for pr-121848-1
[INFO] extracting crate brotli 3.4.0 into /workspace/builds/worker-2-tc1/source
[INFO] validating manifest of crates.io crate brotli 3.4.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 brotli 3.4.0
[INFO] finished tweaking crates.io crate brotli 3.4.0
[INFO] tweaked toml for crates.io crate brotli 3.4.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] crate crates.io crate brotli 3.4.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" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded brotli-decompressor v2.5.0
[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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e4a03df88b8bfd82fcdbc542a7aa44fd63b20176f311806c9526aee85a0aef34
[INFO] running `Command { std: "docker" "start" "-a" "e4a03df88b8bfd82fcdbc542a7aa44fd63b20176f311806c9526aee85a0aef34", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e4a03df88b8bfd82fcdbc542a7aa44fd63b20176f311806c9526aee85a0aef34", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e4a03df88b8bfd82fcdbc542a7aa44fd63b20176f311806c9526aee85a0aef34", kill_on_drop: false }`
[INFO] [stdout] e4a03df88b8bfd82fcdbc542a7aa44fd63b20176f311806c9526aee85a0aef34
[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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4873d3a4323d1983024e9343475696d8d2da7787e24328bfa77804b1d7390b9c
[INFO] running `Command { std: "docker" "start" "-a" "4873d3a4323d1983024e9343475696d8d2da7787e24328bfa77804b1d7390b9c", kill_on_drop: false }`
[INFO] [stderr]     Checking brotli-decompressor v2.5.0
[INFO] [stderr]     Checking brotli v3.4.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: the item `core` is imported redundantly
[INFO] [stdout]  --> src/enc/input_pair.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core;
[INFO] [stdout]   |     ^^^^ the item `core` is already imported by prelude
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `alloc` is imported redundantly
[INFO] [stdout]   --> src/enc/block_split.rs:2:5
[INFO] [stdout]    |
[INFO] [stdout] 2  | use super::super::alloc;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | extern crate alloc_no_stdlib as alloc;
[INFO] [stdout]    | -------------------------------------- the item `alloc` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `core` is imported redundantly
[INFO] [stdout]  --> src/enc/block_split.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use core;
[INFO] [stdout]   |     ^^^^ the item `core` is already imported by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `core` is imported redundantly
[INFO] [stdout]  --> src/enc/static_dict.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core;
[INFO] [stdout]   |     ^^^^ the item `core` is already imported by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `core` is imported redundantly
[INFO] [stdout]  --> src/enc/util.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use core;
[INFO] [stdout]   |     ^^^^ the item `core` is already imported by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `core` is imported redundantly
[INFO] [stdout]  --> src/enc/bit_cost.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use core;
[INFO] [stdout]   |     ^^^^ the item `core` is already imported by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `alloc` is imported redundantly
[INFO] [stdout]   --> src/enc/cluster.rs:7:5
[INFO] [stdout]    |
[INFO] [stdout] 7  | use alloc;
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | extern crate alloc_no_stdlib as alloc;
[INFO] [stdout]    | -------------------------------------- the item `alloc` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `core` is imported redundantly
[INFO] [stdout]  --> src/enc/cluster.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use core;
[INFO] [stdout]   |     ^^^^ the item `core` is already imported by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `alloc` is imported redundantly
[INFO] [stdout]   --> src/enc/histogram.rs:6:5
[INFO] [stdout]    |
[INFO] [stdout] 6  | use super::super::alloc;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | extern crate alloc_no_stdlib as alloc;
[INFO] [stdout]    | -------------------------------------- the item `alloc` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `core` is imported redundantly
[INFO] [stdout]  --> src/enc/histogram.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use core;
[INFO] [stdout]   |     ^^^^ the item `core` is already imported by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `alloc` is imported redundantly
[INFO] [stdout]   --> src/enc/backward_references/mod.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use super::super::alloc;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | extern crate alloc_no_stdlib as alloc;
[INFO] [stdout]    | -------------------------------------- the item `alloc` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `core` is imported redundantly
[INFO] [stdout]   --> src/enc/backward_references/mod.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use core;
[INFO] [stdout]    |     ^^^^ the item `core` is already imported by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `alloc` is imported redundantly
[INFO] [stdout]   --> src/enc/block_splitter.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use super::super::alloc;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | extern crate alloc_no_stdlib as alloc;
[INFO] [stdout]    | -------------------------------------- the item `alloc` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `core` is imported redundantly
[INFO] [stdout]   --> src/enc/block_splitter.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use core;
[INFO] [stdout]    |     ^^^^ the item `core` is already imported by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `alloc` is imported redundantly
[INFO] [stdout]   --> src/enc/metablock.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use super::super::alloc;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | extern crate alloc_no_stdlib as alloc;
[INFO] [stdout]    | -------------------------------------- the item `alloc` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `core` is imported redundantly
[INFO] [stdout]   --> src/enc/metablock.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | use core;
[INFO] [stdout]    |     ^^^^ the item `core` is already imported by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `alloc` is imported redundantly
[INFO] [stdout]   --> src/enc/compress_fragment_two_pass.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use super::super::alloc;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | extern crate alloc_no_stdlib as alloc;
[INFO] [stdout]    | -------------------------------------- the item `alloc` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `core` is imported redundantly
[INFO] [stdout]   --> src/enc/compress_fragment_two_pass.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use core;
[INFO] [stdout]    |     ^^^^ the item `core` is already imported by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `alloc` is imported redundantly
[INFO] [stdout]   --> src/enc/compress_fragment.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use super::super::alloc;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | extern crate alloc_no_stdlib as alloc;
[INFO] [stdout]    | -------------------------------------- the item `alloc` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `alloc` is imported redundantly
[INFO] [stdout]   --> src/enc/encode.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 33 | use super::super::alloc;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | extern crate alloc_no_stdlib as alloc;
[INFO] [stdout]    | -------------------------------------- the item `alloc` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `core` is imported redundantly
[INFO] [stdout]   --> src/enc/encode.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 37 | use core;
[INFO] [stdout]    |     ^^^^ the item `core` is already imported by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `core` is imported redundantly
[INFO] [stdout]  --> src/enc/writer.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use core;
[INFO] [stdout]   |     ^^^^ the item `core` is already imported by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `alloc` is imported redundantly
[INFO] [stdout]   --> src/enc/find_stride.rs:2:5
[INFO] [stdout]    |
[INFO] [stdout] 2  | use super::super::alloc;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | extern crate alloc_no_stdlib as alloc;
[INFO] [stdout]    | -------------------------------------- the item `alloc` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `core` is imported redundantly
[INFO] [stdout]  --> src/enc/input_pair.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core;
[INFO] [stdout]   |     ^^^^ the item `core` is already imported by prelude
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `core` is imported redundantly
[INFO] [stdout]  --> src/enc/prior_eval.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core;
[INFO] [stdout]   |     ^^^^ the item `core` is already imported by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `alloc` is imported redundantly
[INFO] [stdout]   --> src/enc/prior_eval.rs:2:5
[INFO] [stdout]    |
[INFO] [stdout] 2  | use super::super::alloc;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | extern crate alloc_no_stdlib as alloc;
[INFO] [stdout]    | -------------------------------------- the item `alloc` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `alloc` is imported redundantly
[INFO] [stdout]   --> src/enc/block_split.rs:2:5
[INFO] [stdout]    |
[INFO] [stdout] 2  | use super::super::alloc;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | extern crate alloc_no_stdlib as alloc;
[INFO] [stdout]    | -------------------------------------- the item `alloc` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `core` is imported redundantly
[INFO] [stdout]  --> src/enc/block_split.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use core;
[INFO] [stdout]   |     ^^^^ the item `core` is already imported by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `core` is imported redundantly
[INFO] [stdout]  --> src/enc/stride_eval.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core;
[INFO] [stdout]   |     ^^^^ the item `core` is already imported by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `alloc` is imported redundantly
[INFO] [stdout]   --> src/enc/stride_eval.rs:2:5
[INFO] [stdout]    |
[INFO] [stdout] 2  | use super::super::alloc;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | extern crate alloc_no_stdlib as alloc;
[INFO] [stdout]    | -------------------------------------- the item `alloc` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `core` is imported redundantly
[INFO] [stdout]  --> src/enc/context_map_entropy.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core;
[INFO] [stdout]   |     ^^^^ the item `core` is already imported by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `alloc` is imported redundantly
[INFO] [stdout]   --> src/enc/context_map_entropy.rs:3:5
[INFO] [stdout]    |
[INFO] [stdout] 3  | use super::super::alloc;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | extern crate alloc_no_stdlib as alloc;
[INFO] [stdout]    | -------------------------------------- the item `alloc` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `std` is imported redundantly
[INFO] [stdout]   --> src/enc/threading.rs:6:5
[INFO] [stdout]    |
[INFO] [stdout] 6  | use std;
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:12:1
[INFO] [stdout]    |
[INFO] [stdout] 12 | extern crate std;
[INFO] [stdout]    | ----------------- the item `std` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `std` is imported redundantly
[INFO] [stdout]   --> src/enc/singlethreading.rs:3:5
[INFO] [stdout]    |
[INFO] [stdout] 3  | use std;
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:12:1
[INFO] [stdout]    |
[INFO] [stdout] 12 | extern crate std;
[INFO] [stdout]    | ----------------- the item `std` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `std` is imported redundantly
[INFO] [stdout]   --> src/enc/multithreading.rs:3:5
[INFO] [stdout]    |
[INFO] [stdout] 3  | use std;
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:12:1
[INFO] [stdout]    |
[INFO] [stdout] 12 | extern crate std;
[INFO] [stdout]    | ----------------- the item `std` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `core` is imported redundantly
[INFO] [stdout]  --> src/enc/fixed_queue.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core;
[INFO] [stdout]   |     ^^^^ the item `core` is already imported by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `std` is imported redundantly
[INFO] [stdout]   --> src/enc/worker_pool.rs:3:5
[INFO] [stdout]    |
[INFO] [stdout] 3  | use std;
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:12:1
[INFO] [stdout]    |
[INFO] [stdout] 12 | extern crate std;
[INFO] [stdout]    | ----------------- the item `std` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `core` is imported redundantly
[INFO] [stdout]  --> src/enc/weights.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core;
[INFO] [stdout]   |     ^^^^ the item `core` is already imported by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `core` is imported redundantly
[INFO] [stdout]  --> src/concat/mod.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core;
[INFO] [stdout]   |     ^^^^ the item `core` is already imported by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `core` is imported redundantly
[INFO] [stdout]  --> src/enc/static_dict.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core;
[INFO] [stdout]   |     ^^^^ the item `core` is already imported by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `core` is imported redundantly
[INFO] [stdout]  --> src/ffi/compressor.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use core;
[INFO] [stdout]   |     ^^^^ the item `core` is already imported by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `core` is imported redundantly
[INFO] [stdout]  --> src/ffi/broccoli.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core;
[INFO] [stdout]   |     ^^^^ the item `core` is already imported by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `core` is imported redundantly
[INFO] [stdout]  --> src/ffi/multicompress/mod.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use core;
[INFO] [stdout]   |     ^^^^ the item `core` is already imported by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `core` is imported redundantly
[INFO] [stdout]  --> src/enc/util.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use core;
[INFO] [stdout]   |     ^^^^ the item `core` is already imported by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `core` is imported redundantly
[INFO] [stdout]  --> src/enc/bit_cost.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use core;
[INFO] [stdout]   |     ^^^^ the item `core` is already imported by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `alloc` is imported redundantly
[INFO] [stdout]   --> src/enc/cluster.rs:7:5
[INFO] [stdout]    |
[INFO] [stdout] 7  | use alloc;
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | extern crate alloc_no_stdlib as alloc;
[INFO] [stdout]    | -------------------------------------- the item `alloc` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `core` is imported redundantly
[INFO] [stdout]  --> src/enc/cluster.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use core;
[INFO] [stdout]   |     ^^^^ the item `core` is already imported by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `alloc` is imported redundantly
[INFO] [stdout]   --> src/enc/histogram.rs:6:5
[INFO] [stdout]    |
[INFO] [stdout] 6  | use super::super::alloc;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | extern crate alloc_no_stdlib as alloc;
[INFO] [stdout]    | -------------------------------------- the item `alloc` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `core` is imported redundantly
[INFO] [stdout]  --> src/enc/histogram.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use core;
[INFO] [stdout]   |     ^^^^ the item `core` is already imported by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `alloc` is imported redundantly
[INFO] [stdout]   --> src/enc/backward_references/mod.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use super::super::alloc;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | extern crate alloc_no_stdlib as alloc;
[INFO] [stdout]    | -------------------------------------- the item `alloc` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `core` is imported redundantly
[INFO] [stdout]   --> src/enc/backward_references/mod.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use core;
[INFO] [stdout]    |     ^^^^ the item `core` is already imported by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `alloc` is imported redundantly
[INFO] [stdout]   --> src/enc/block_splitter.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use super::super::alloc;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | extern crate alloc_no_stdlib as alloc;
[INFO] [stdout]    | -------------------------------------- the item `alloc` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `core` is imported redundantly
[INFO] [stdout]   --> src/enc/block_splitter.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use core;
[INFO] [stdout]    |     ^^^^ the item `core` is already imported by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `alloc` is imported redundantly
[INFO] [stdout]   --> src/enc/metablock.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use super::super::alloc;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | extern crate alloc_no_stdlib as alloc;
[INFO] [stdout]    | -------------------------------------- the item `alloc` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `core` is imported redundantly
[INFO] [stdout]   --> src/enc/metablock.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | use core;
[INFO] [stdout]    |     ^^^^ the item `core` is already imported by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `alloc` is imported redundantly
[INFO] [stdout]   --> src/enc/compress_fragment_two_pass.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use super::super::alloc;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | extern crate alloc_no_stdlib as alloc;
[INFO] [stdout]    | -------------------------------------- the item `alloc` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `core` is imported redundantly
[INFO] [stdout]   --> src/enc/compress_fragment_two_pass.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use core;
[INFO] [stdout]    |     ^^^^ the item `core` is already imported by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `alloc` is imported redundantly
[INFO] [stdout]   --> src/enc/compress_fragment.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use super::super::alloc;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | extern crate alloc_no_stdlib as alloc;
[INFO] [stdout]    | -------------------------------------- the item `alloc` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `alloc` is imported redundantly
[INFO] [stdout]   --> src/enc/encode.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 33 | use super::super::alloc;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | extern crate alloc_no_stdlib as alloc;
[INFO] [stdout]    | -------------------------------------- the item `alloc` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `core` is imported redundantly
[INFO] [stdout]   --> src/enc/encode.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 37 | use core;
[INFO] [stdout]    |     ^^^^ the item `core` is already imported by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `core` is imported redundantly
[INFO] [stdout]  --> src/enc/writer.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use core;
[INFO] [stdout]   |     ^^^^ the item `core` is already imported by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `alloc` is imported redundantly
[INFO] [stdout]   --> src/enc/find_stride.rs:2:5
[INFO] [stdout]    |
[INFO] [stdout] 2  | use super::super::alloc;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | extern crate alloc_no_stdlib as alloc;
[INFO] [stdout]    | -------------------------------------- the item `alloc` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `core` is imported redundantly
[INFO] [stdout]  --> src/enc/prior_eval.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core;
[INFO] [stdout]   |     ^^^^ the item `core` is already imported by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `alloc` is imported redundantly
[INFO] [stdout]   --> src/enc/prior_eval.rs:2:5
[INFO] [stdout]    |
[INFO] [stdout] 2  | use super::super::alloc;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | extern crate alloc_no_stdlib as alloc;
[INFO] [stdout]    | -------------------------------------- the item `alloc` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `core` is imported redundantly
[INFO] [stdout]  --> src/enc/stride_eval.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core;
[INFO] [stdout]   |     ^^^^ the item `core` is already imported by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `alloc` is imported redundantly
[INFO] [stdout]   --> src/enc/stride_eval.rs:2:5
[INFO] [stdout]    |
[INFO] [stdout] 2  | use super::super::alloc;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | extern crate alloc_no_stdlib as alloc;
[INFO] [stdout]    | -------------------------------------- the item `alloc` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `core` is imported redundantly
[INFO] [stdout]  --> src/enc/context_map_entropy.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core;
[INFO] [stdout]   |     ^^^^ the item `core` is already imported by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `alloc` is imported redundantly
[INFO] [stdout]   --> src/enc/context_map_entropy.rs:3:5
[INFO] [stdout]    |
[INFO] [stdout] 3  | use super::super::alloc;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | extern crate alloc_no_stdlib as alloc;
[INFO] [stdout]    | -------------------------------------- the item `alloc` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `std` is imported redundantly
[INFO] [stdout]   --> src/enc/threading.rs:6:5
[INFO] [stdout]    |
[INFO] [stdout] 6  | use std;
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:12:1
[INFO] [stdout]    |
[INFO] [stdout] 12 | extern crate std;
[INFO] [stdout]    | ----------------- the item `std` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `std` is imported redundantly
[INFO] [stdout]   --> src/enc/singlethreading.rs:3:5
[INFO] [stdout]    |
[INFO] [stdout] 3  | use std;
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:12:1
[INFO] [stdout]    |
[INFO] [stdout] 12 | extern crate std;
[INFO] [stdout]    | ----------------- the item `std` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `std` is imported redundantly
[INFO] [stdout]   --> src/enc/multithreading.rs:3:5
[INFO] [stdout]    |
[INFO] [stdout] 3  | use std;
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:12:1
[INFO] [stdout]    |
[INFO] [stdout] 12 | extern crate std;
[INFO] [stdout]    | ----------------- the item `std` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `core` is imported redundantly
[INFO] [stdout]  --> src/enc/fixed_queue.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core;
[INFO] [stdout]   |     ^^^^ the item `core` is already imported by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `std` is imported redundantly
[INFO] [stdout]   --> src/enc/worker_pool.rs:3:5
[INFO] [stdout]    |
[INFO] [stdout] 3  | use std;
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:12:1
[INFO] [stdout]    |
[INFO] [stdout] 12 | extern crate std;
[INFO] [stdout]    | ----------------- the item `std` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `core` is imported redundantly
[INFO] [stdout]  --> src/enc/test.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use core;
[INFO] [stdout]   |     ^^^^ the item `core` is already imported by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `core` is imported redundantly
[INFO] [stdout]  --> src/enc/weights.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core;
[INFO] [stdout]   |     ^^^^ the item `core` is already imported by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `core` is imported redundantly
[INFO] [stdout]  --> src/concat/mod.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core;
[INFO] [stdout]   |     ^^^^ the item `core` is already imported by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `core` is imported redundantly
[INFO] [stdout]  --> src/ffi/compressor.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use core;
[INFO] [stdout]   |     ^^^^ the item `core` is already imported by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `core` is imported redundantly
[INFO] [stdout]  --> src/ffi/broccoli.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core;
[INFO] [stdout]   |     ^^^^ the item `core` is already imported by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `BrotliEncoderParameter` is imported redundantly
[INFO] [stdout]  --> src/ffi/multicompress/test.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use super::*;
[INFO] [stdout]   |     -------- the item `BrotliEncoderParameter` is already imported here
[INFO] [stdout] 4 | use ::enc::encode::BrotliEncoderParameter;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `core` is imported redundantly
[INFO] [stdout]  --> src/ffi/multicompress/test.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use super::*;
[INFO] [stdout]   |     -------- the item `core` is already imported here
[INFO] [stdout] 4 | use ::enc::encode::BrotliEncoderParameter;
[INFO] [stdout] 5 | use core;
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `core` is imported redundantly
[INFO] [stdout]  --> src/ffi/multicompress/mod.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use core;
[INFO] [stdout]   |     ^^^^ the item `core` is already imported by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/enc/pdf.rs:5:16
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct PDF([i16;16]);
[INFO] [stdout]   |            --- ^^^^^^^^
[INFO] [stdout]   |            |
[INFO] [stdout]   |            field in this struct
[INFO] [stdout]   |
[INFO] [stdout]   = note: `PDF` 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] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct PDF(());
[INFO] [stdout]   |                ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-binding let on a synchronization lock
[INFO] [stdout]    --> src/enc/worker_pool.rs:135:19
[INFO] [stdout]     |
[INFO] [stdout] 135 |               let _ = cvar.wait(local_queue); // unlock immediately, unfortunately
[INFO] [stdout]     |                   ^ this lock is not assigned to a binding and is immediately dropped
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[deny(let_underscore_lock)]` on by default
[INFO] [stdout] help: consider binding to an unused variable to avoid immediately dropping the value
[INFO] [stdout]     |
[INFO] [stdout] 135 |               let _unused = cvar.wait(local_queue); // unlock immediately, unfortunately
[INFO] [stdout]     |                   ~~~~~~~
[INFO] [stdout] help: consider immediately dropping the value
[INFO] [stdout]     |
[INFO] [stdout] 135 |               drop(cvar.wait(local_queue)); // unlock immediately, unfortunately
[INFO] [stdout]     |               ~~~~~                      +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error; 40 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `brotli` (lib) due to 2 previous errors; 40 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/enc/pdf.rs:5:16
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct PDF([i16;16]);
[INFO] [stdout]   |            --- ^^^^^^^^
[INFO] [stdout]   |            |
[INFO] [stdout]   |            field in this struct
[INFO] [stdout]   |
[INFO] [stdout]   = note: `PDF` 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] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct PDF(());
[INFO] [stdout]   |                ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-binding let on a synchronization lock
[INFO] [stdout]    --> src/enc/worker_pool.rs:135:19
[INFO] [stdout]     |
[INFO] [stdout] 135 |               let _ = cvar.wait(local_queue); // unlock immediately, unfortunately
[INFO] [stdout]     |                   ^ this lock is not assigned to a binding and is immediately dropped
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[deny(let_underscore_lock)]` on by default
[INFO] [stdout] help: consider binding to an unused variable to avoid immediately dropping the value
[INFO] [stdout]     |
[INFO] [stdout] 135 |               let _unused = cvar.wait(local_queue); // unlock immediately, unfortunately
[INFO] [stdout]     |                   ~~~~~~~
[INFO] [stdout] help: consider immediately dropping the value
[INFO] [stdout]     |
[INFO] [stdout] 135 |               drop(cvar.wait(local_queue)); // unlock immediately, unfortunately
[INFO] [stdout]     |               ~~~~~                      +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error; 43 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `brotli` (lib test) due to 2 previous errors; 43 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "4873d3a4323d1983024e9343475696d8d2da7787e24328bfa77804b1d7390b9c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4873d3a4323d1983024e9343475696d8d2da7787e24328bfa77804b1d7390b9c", kill_on_drop: false }`
[INFO] [stdout] 4873d3a4323d1983024e9343475696d8d2da7787e24328bfa77804b1d7390b9c
