[INFO] fetching crate brotli-no-stdlib 1.0.4...
[INFO] checking brotli-no-stdlib-1.0.4 against master#b0696a5160711c068cb1f01b7437db7990d15750 for pr-121848
[INFO] extracting crate brotli-no-stdlib 1.0.4 into /workspace/builds/worker-3-tc1/source
[INFO] validating manifest of crates.io crate brotli-no-stdlib 1.0.4 on toolchain b0696a5160711c068cb1f01b7437db7990d15750
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate brotli-no-stdlib 1.0.4
[INFO] finished tweaking crates.io crate brotli-no-stdlib 1.0.4
[INFO] tweaked toml for crates.io crate brotli-no-stdlib 1.0.4 written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "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" "+b0696a5160711c068cb1f01b7437db7990d15750" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: An explicit [[bin]] section is specified in Cargo.toml which currently
[INFO] [stderr] disables Cargo from automatically inferring other binary targets.
[INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following
[INFO] [stderr] files will be included as a binary target:
[INFO] [stderr] 
[INFO] [stderr] * /workspace/builds/worker-3-tc1/source/src/bin/integration_tests.rs
[INFO] [stderr] 
[INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be
[INFO] [stderr] ready to be compiled as a binary target today. You can future-proof yourself
[INFO] [stderr] and disable this warning by adding `autobins = false` to your [package]
[INFO] [stderr] section. You may also move the files to a location where Cargo would not
[INFO] [stderr] automatically infer them to be a target, such as in subfolders.
[INFO] [stderr] 
[INFO] [stderr] For more information on this warning you can consult
[INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded alloc-no-stdlib v1.0.0
[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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c7c2596b13040022e96bbeae91023735e00653902334f825901a30ce3eea9366
[INFO] running `Command { std: "docker" "start" "-a" "c7c2596b13040022e96bbeae91023735e00653902334f825901a30ce3eea9366", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c7c2596b13040022e96bbeae91023735e00653902334f825901a30ce3eea9366", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c7c2596b13040022e96bbeae91023735e00653902334f825901a30ce3eea9366", kill_on_drop: false }`
[INFO] [stdout] c7c2596b13040022e96bbeae91023735e00653902334f825901a30ce3eea9366
[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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 403c820dfe56dcd41a6b47e3c4dd0ce91a1b4616f0aa6888611b53aa695c1a41
[INFO] running `Command { std: "docker" "start" "-a" "403c820dfe56dcd41a6b47e3c4dd0ce91a1b4616f0aa6888611b53aa695c1a41", kill_on_drop: false }`
[INFO] [stderr] warning: An explicit [[bin]] section is specified in Cargo.toml which currently
[INFO] [stderr] disables Cargo from automatically inferring other binary targets.
[INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following
[INFO] [stderr] files will be included as a binary target:
[INFO] [stderr] 
[INFO] [stderr] * /opt/rustwide/workdir/src/bin/integration_tests.rs
[INFO] [stderr] 
[INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be
[INFO] [stderr] ready to be compiled as a binary target today. You can future-proof yourself
[INFO] [stderr] and disable this warning by adding `autobins = false` to your [package]
[INFO] [stderr] section. You may also move the files to a location where Cargo would not
[INFO] [stderr] automatically infer them to be a target, such as in subfolders.
[INFO] [stderr] 
[INFO] [stderr] For more information on this warning you can consult
[INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330
[INFO] [stderr]     Checking alloc-no-stdlib v1.0.0
[INFO] [stderr]     Checking brotli-no-stdlib v1.0.4 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]   --> src/lib.rs:11:1
[INFO] [stdout]    |
[INFO] [stdout] 11 | #[macro_use]
[INFO] [stdout]    | ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Default` is imported redundantly
[INFO] [stdout]  --> src/bit_reader/mod.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use core::default::Default;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/b0696a5160711c068cb1f01b7437db7990d15750/library/core/src/prelude/mod.rs:18:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `Default` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `core` is imported redundantly
[INFO] [stdout]  --> src/huffman/mod.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use ::core;
[INFO] [stdout]   |     ^^^^^^ the item `core` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `alloc` is imported redundantly
[INFO] [stdout]   --> src/huffman/mod.rs:5:5
[INFO] [stdout]    |
[INFO] [stdout] 5  | use alloc;
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:12:1
[INFO] [stdout]    |
[INFO] [stdout] 12 | 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 `Default` is imported redundantly
[INFO] [stdout]  --> src/huffman/mod.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use core::default::Default;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/b0696a5160711c068cb1f01b7437db7990d15750/library/core/src/prelude/mod.rs:18:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `Default` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `alloc` is imported redundantly
[INFO] [stdout]   --> src/state.rs:6:5
[INFO] [stdout]    |
[INFO] [stdout] 6  | use alloc;
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:12:1
[INFO] [stdout]    |
[INFO] [stdout] 12 | 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/state.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use core;
[INFO] [stdout]   |     ^^^^ the item `core` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused macro definition: `SafeReadBlockLength`
[INFO] [stdout]    --> src/lib.rs:921:14
[INFO] [stdout]     |
[INFO] [stdout] 921 | macro_rules! SafeReadBlockLength (
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_macros)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Default` is imported redundantly
[INFO] [stdout]  --> src/bit_reader/mod.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use core::default::Default;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/b0696a5160711c068cb1f01b7437db7990d15750/library/core/src/prelude/mod.rs:18:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `Default` is already defined here
[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/huffman/mod.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use ::core;
[INFO] [stdout]   |     ^^^^^^ the item `core` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `alloc` is imported redundantly
[INFO] [stdout]   --> src/huffman/mod.rs:5:5
[INFO] [stdout]    |
[INFO] [stdout] 5  | use alloc;
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:12:1
[INFO] [stdout]    |
[INFO] [stdout] 12 | 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 `Default` is imported redundantly
[INFO] [stdout]  --> src/huffman/mod.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use core::default::Default;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/b0696a5160711c068cb1f01b7437db7990d15750/library/core/src/prelude/mod.rs:18:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `Default` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `alloc` is imported redundantly
[INFO] [stdout]   --> src/state.rs:6:5
[INFO] [stdout]    |
[INFO] [stdout] 6  | use alloc;
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:12:1
[INFO] [stdout]    |
[INFO] [stdout] 12 | 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/state.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use core;
[INFO] [stdout]   |     ^^^^ the item `core` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused macro definition: `SafeReadBlockLength`
[INFO] [stdout]    --> src/lib.rs:921:14
[INFO] [stdout]     |
[INFO] [stdout] 921 | macro_rules! SafeReadBlockLength (
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_macros)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/transform.rs:284:9
[INFO] [stdout]     |
[INFO] [stdout] 284 |     let mut uppercase = &mut dst[(idx - len) as usize ..];
[INFO] [stdout]     |         ----^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:131:22
[INFO] [stdout]     |
[INFO] [stdout] 131 |                      mut value : &mut u32,
[INFO] [stdout]     |                      ----^^^^^
[INFO] [stdout]     |                      |
[INFO] [stdout]     |                      help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/lib.rs:1018:7
[INFO] [stdout]      |
[INFO] [stdout] 1018 |   for mut htree_iter in htrees.slice_mut()[s.htree_index as usize .. (group_num_htrees as usize)].iter_mut() {
[INFO] [stdout]      |       ----^^^^^^^^^^
[INFO] [stdout]      |       |
[INFO] [stdout]      |       help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/lib.rs:1152:13
[INFO] [stdout]      |
[INFO] [stdout] 1152 |         let mut context_map = &mut context_map_arg.slice_mut();
[INFO] [stdout]      |             ----^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/lib.rs:1271:45
[INFO] [stdout]      |
[INFO] [stdout] 1271 | ...                   mut s : &mut BlockTypeAndLengthState<AllocHC>,
[INFO] [stdout]      |                       ----^
[INFO] [stdout]      |                       |
[INFO] [stdout]      |                       help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/lib.rs:1272:45
[INFO] [stdout]      |
[INFO] [stdout] 1272 | ...                   mut br : &mut bit_reader::BrotliBitReader,
[INFO] [stdout]      |                       ----^^
[INFO] [stdout]      |                       |
[INFO] [stdout]      |                       help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/lib.rs:1332:45
[INFO] [stdout]      |
[INFO] [stdout] 1332 | ...                   mut s : &mut BrotliState<AllocU8,
[INFO] [stdout]      |                       ----^
[INFO] [stdout]      |                       |
[INFO] [stdout]      |                       help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/lib.rs:1377:45
[INFO] [stdout]      |
[INFO] [stdout] 1377 | ...                   mut s : &mut BrotliState<AllocU8, AllocU32, AllocHC>, input : &[u8]) -> bool {
[INFO] [stdout]      |                       ----^
[INFO] [stdout]      |                       |
[INFO] [stdout]      |                       help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/lib.rs:1390:45
[INFO] [stdout]      |
[INFO] [stdout] 1390 |   AllocHC : alloc::Allocator<HuffmanCode>> (mut s : &mut BrotliState<AllocU8, AllocU32, AllocHC>, input : &[u8]) {
[INFO] [stdout]      |                                             ----^
[INFO] [stdout]      |                                             |
[INFO] [stdout]      |                                             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/lib.rs:1398:45
[INFO] [stdout]      |
[INFO] [stdout] 1398 |   AllocHC : alloc::Allocator<HuffmanCode>> (mut s : &mut BrotliState<AllocU8, AllocU32, AllocHC>, input : &[u8]) -> bool {
[INFO] [stdout]      |                                             ----^
[INFO] [stdout]      |                                             |
[INFO] [stdout]      |                                             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/lib.rs:1409:45
[INFO] [stdout]      |
[INFO] [stdout] 1409 | ...                   mut s : &mut BrotliState<AllocU8, AllocU32, AllocHC>, input : &[u8]) -> bool {
[INFO] [stdout]      |                       ----^
[INFO] [stdout]      |                       |
[INFO] [stdout]      |                       help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/lib.rs:1424:45
[INFO] [stdout]      |
[INFO] [stdout] 1424 |   AllocHC : alloc::Allocator<HuffmanCode>> (mut s : &mut BrotliState<AllocU8, AllocU32, AllocHC>, input : &[u8]) {
[INFO] [stdout]      |                                             ----^
[INFO] [stdout]      |                                             |
[INFO] [stdout]      |                                             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/lib.rs:1433:45
[INFO] [stdout]      |
[INFO] [stdout] 1433 |   AllocHC : alloc::Allocator<HuffmanCode>> (mut s : &mut BrotliState<AllocU8, AllocU32, AllocHC>, input : &[u8]) -> bool {
[INFO] [stdout]      |                                             ----^
[INFO] [stdout]      |                                             |
[INFO] [stdout]      |                                             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/lib.rs:1440:33
[INFO] [stdout]      |
[INFO] [stdout] 1440 |    (available_out : &mut usize, mut output : &mut [u8], mut output_offset : &mut usize,
[INFO] [stdout]      |                                 ----^^^^^^
[INFO] [stdout]      |                                 |
[INFO] [stdout]      |                                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/lib.rs:1440:57
[INFO] [stdout]      |
[INFO] [stdout] 1440 |    (available_out : &mut usize, mut output : &mut [u8], mut output_offset : &mut usize,
[INFO] [stdout]      |                                                         ----^^^^^^^^^^^^^
[INFO] [stdout]      |                                                         |
[INFO] [stdout]      |                                                         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/lib.rs:1441:20
[INFO] [stdout]      |
[INFO] [stdout] 1441 |                    mut total_out : &mut usize, s : &mut BrotliState<AllocU8, AllocU32, AllocHC>) -> BrotliResult {
[INFO] [stdout]      |                    ----^^^^^^^^^
[INFO] [stdout]      |                    |
[INFO] [stdout]      |                    help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/lib.rs:2198:3
[INFO] [stdout]      |
[INFO] [stdout] 2198 |   mut available_in : &mut usize, input_offset : &mut usize, xinput : &[u8], // ugly that we are mutable
[INFO] [stdout]      |   ----^^^^^^^^^^^^
[INFO] [stdout]      |   |
[INFO] [stdout]      |   help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used
[INFO] [stdout]     --> src/lib.rs:1035:5
[INFO] [stdout]      |
[INFO] [stdout] 1035 | /     mem::replace(&mut s.literal_hgroup.codes,
[INFO] [stdout] 1036 | |                  mem::replace(&mut hcodes,
[INFO] [stdout] 1037 | |                               AllocHC::AllocatedMemory::default()));
[INFO] [stdout]      | |___________________________________________________________________^
[INFO] [stdout]      |
[INFO] [stdout]      = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout]      = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 1035 |     let _ = mem::replace(&mut s.literal_hgroup.codes,
[INFO] [stdout]      |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used
[INFO] [stdout]     --> src/lib.rs:1038:5
[INFO] [stdout]      |
[INFO] [stdout] 1038 | /     mem::replace(&mut s.literal_hgroup.htrees,
[INFO] [stdout] 1039 | |                  mem::replace(&mut htrees,
[INFO] [stdout] 1040 | |                               AllocU32::AllocatedMemory::default()));
[INFO] [stdout]      | |____________________________________________________________________^
[INFO] [stdout]      |
[INFO] [stdout]      = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 1038 |     let _ = mem::replace(&mut s.literal_hgroup.htrees,
[INFO] [stdout]      |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used
[INFO] [stdout]     --> src/lib.rs:1042:5
[INFO] [stdout]      |
[INFO] [stdout] 1042 | /     mem::replace(&mut s.insert_copy_hgroup.codes,
[INFO] [stdout] 1043 | |                  mem::replace(&mut hcodes,
[INFO] [stdout] 1044 | |                               AllocHC::AllocatedMemory::default()));
[INFO] [stdout]      | |___________________________________________________________________^
[INFO] [stdout]      |
[INFO] [stdout]      = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 1042 |     let _ = mem::replace(&mut s.insert_copy_hgroup.codes,
[INFO] [stdout]      |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used
[INFO] [stdout]     --> src/lib.rs:1045:5
[INFO] [stdout]      |
[INFO] [stdout] 1045 | /     mem::replace(&mut s.insert_copy_hgroup.htrees,
[INFO] [stdout] 1046 | |                  mem::replace(&mut htrees,
[INFO] [stdout] 1047 | |                               AllocU32::AllocatedMemory::default()));
[INFO] [stdout]      | |____________________________________________________________________^
[INFO] [stdout]      |
[INFO] [stdout]      = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 1045 |     let _ = mem::replace(&mut s.insert_copy_hgroup.htrees,
[INFO] [stdout]      |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used
[INFO] [stdout]     --> src/lib.rs:1049:5
[INFO] [stdout]      |
[INFO] [stdout] 1049 | /     mem::replace(&mut s.distance_hgroup.codes,
[INFO] [stdout] 1050 | |                  mem::replace(&mut hcodes,
[INFO] [stdout] 1051 | |                               AllocHC::AllocatedMemory::default()));
[INFO] [stdout]      | |___________________________________________________________________^
[INFO] [stdout]      |
[INFO] [stdout]      = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 1049 |     let _ = mem::replace(&mut s.distance_hgroup.codes,
[INFO] [stdout]      |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used
[INFO] [stdout]     --> src/lib.rs:1052:5
[INFO] [stdout]      |
[INFO] [stdout] 1052 | /     mem::replace(&mut s.distance_hgroup.htrees,
[INFO] [stdout] 1053 | |                  mem::replace(&mut htrees,
[INFO] [stdout] 1054 | |                               AllocU32::AllocatedMemory::default()));
[INFO] [stdout]      | |____________________________________________________________________^
[INFO] [stdout]      |
[INFO] [stdout]      = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 1052 |     let _ = mem::replace(&mut s.distance_hgroup.htrees,
[INFO] [stdout]      |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used
[INFO] [stdout]     --> src/lib.rs:1139:9
[INFO] [stdout]      |
[INFO] [stdout] 1139 | /         mem::replace(&mut s.context_map_table, mem::replace(&mut local_context_map_table,
[INFO] [stdout] 1140 | |                                                             AllocHC::AllocatedMemory::default()));
[INFO] [stdout]      | |_________________________________________________________________________________________________^
[INFO] [stdout]      |
[INFO] [stdout]      = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 1139 |         let _ = mem::replace(&mut s.context_map_table, mem::replace(&mut local_context_map_table,
[INFO] [stdout]      |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used
[INFO] [stdout]     --> src/lib.rs:1258:5
[INFO] [stdout]      |
[INFO] [stdout] 1258 | /     mem::replace(&mut s.dist_context_map, mem::replace(&mut context_map_arg,
[INFO] [stdout] 1259 | |                                                        AllocU8::AllocatedMemory::default()));
[INFO] [stdout]      | |____________________________________________________________________________________________^
[INFO] [stdout]      |
[INFO] [stdout]      = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 1258 |     let _ = mem::replace(&mut s.dist_context_map, mem::replace(&mut context_map_arg,
[INFO] [stdout]      |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used
[INFO] [stdout]     --> src/lib.rs:1262:5
[INFO] [stdout]      |
[INFO] [stdout] 1262 | /     mem::replace(&mut s.context_map, mem::replace(&mut context_map_arg,
[INFO] [stdout] 1263 | |                                                   AllocU8::AllocatedMemory::default()));
[INFO] [stdout]      | |_______________________________________________________________________________________^
[INFO] [stdout]      |
[INFO] [stdout]      = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 1262 |     let _ = mem::replace(&mut s.context_map, mem::replace(&mut context_map_arg,
[INFO] [stdout]      |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used
[INFO] [stdout]     --> src/lib.rs:2161:3
[INFO] [stdout]      |
[INFO] [stdout] 2161 | /   core::mem::replace(&mut s.literal_hgroup,
[INFO] [stdout] 2162 | |                 core::mem::replace(&mut saved_literal_hgroup,
[INFO] [stdout] 2163 | |                   HuffmanTreeGroup::<AllocU32, AllocHC>::default()));
[INFO] [stdout]      | |____________________________________________________________________^
[INFO] [stdout]      |
[INFO] [stdout]      = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 2161 |   let _ = core::mem::replace(&mut s.literal_hgroup,
[INFO] [stdout]      |   +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used
[INFO] [stdout]     --> src/lib.rs:2165:3
[INFO] [stdout]      |
[INFO] [stdout] 2165 | /   core::mem::replace(&mut s.distance_hgroup,
[INFO] [stdout] 2166 | |                 core::mem::replace(&mut saved_distance_hgroup,
[INFO] [stdout] 2167 | |                   HuffmanTreeGroup::<AllocU32, AllocHC>::default()));
[INFO] [stdout]      | |____________________________________________________________________^
[INFO] [stdout]      |
[INFO] [stdout]      = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 2165 |   let _ = core::mem::replace(&mut s.distance_hgroup,
[INFO] [stdout]      |   +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used
[INFO] [stdout]     --> src/lib.rs:2169:3
[INFO] [stdout]      |
[INFO] [stdout] 2169 | /   core::mem::replace(&mut s.insert_copy_hgroup,
[INFO] [stdout] 2170 | |                 core::mem::replace(&mut saved_insert_copy_hgroup,
[INFO] [stdout] 2171 | |                   HuffmanTreeGroup::<AllocU32, AllocHC>::default()));
[INFO] [stdout]      | |____________________________________________________________________^
[INFO] [stdout]      |
[INFO] [stdout]      = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 2169 |   let _ = core::mem::replace(&mut s.insert_copy_hgroup,
[INFO] [stdout]      |   +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used
[INFO] [stdout]     --> src/lib.rs:2439:11
[INFO] [stdout]      |
[INFO] [stdout] 2439 | /           mem::replace(&mut s.block_type_length_state.block_type_trees,
[INFO] [stdout] 2440 | |                        new_huffman_table);
[INFO] [stdout]      | |_________________________________________^
[INFO] [stdout]      |
[INFO] [stdout]      = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 2439 |           let _ = mem::replace(&mut s.block_type_length_state.block_type_trees,
[INFO] [stdout]      |           +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used
[INFO] [stdout]     --> src/lib.rs:2454:11
[INFO] [stdout]      |
[INFO] [stdout] 2454 | /           mem::replace(&mut s.block_type_length_state.block_len_trees,
[INFO] [stdout] 2455 | |                        new_huffman_table);
[INFO] [stdout]      | |_________________________________________^
[INFO] [stdout]      |
[INFO] [stdout]      = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 2454 |           let _ = mem::replace(&mut s.block_type_length_state.block_len_trees,
[INFO] [stdout]      |           +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used
[INFO] [stdout]   --> src/huffman/mod.rs:58:9
[INFO] [stdout]    |
[INFO] [stdout] 58 | /         core::mem::replace(&mut self.htrees,
[INFO] [stdout] 59 | |                            alloc_u32.alloc_cell(ntrees as usize));
[INFO] [stdout]    | |_________________________________________________________________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 58 |         let _ = core::mem::replace(&mut self.htrees,
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used
[INFO] [stdout]   --> src/huffman/mod.rs:60:9
[INFO] [stdout]    |
[INFO] [stdout] 60 | /         core::mem::replace(&mut self.codes,
[INFO] [stdout] 61 | |                            alloc_hc.alloc_cell(ntrees as usize * BROTLI_HUFFMAN_MAX_TABLE_SIZE as usize));
[INFO] [stdout]    | |_________________________________________________________________________________________________________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 60 |         let _ = core::mem::replace(&mut self.codes,
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 41 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/transform.rs:284:9
[INFO] [stdout]     |
[INFO] [stdout] 284 |     let mut uppercase = &mut dst[(idx - len) as usize ..];
[INFO] [stdout]     |         ----^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/bin/brot.rs:128:15
[INFO] [stdout]     |
[INFO] [stdout] 128 |               try!(_write_all(&mut w, &output.slice()[..output_offset]));
[INFO] [stdout]     |               ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/bin/brot.rs:146:11
[INFO] [stdout]     |
[INFO] [stdout] 146 |           try!(_write_all(&mut w, &output.slice()[..output_offset]));
[INFO] [stdout]     |           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/bin/brot.rs:128:15
[INFO] [stdout]     |
[INFO] [stdout] 128 |               try!(_write_all(&mut w, &output.slice()[..output_offset]));
[INFO] [stdout]     |               ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/bin/brot.rs:146:11
[INFO] [stdout]     |
[INFO] [stdout] 146 |           try!(_write_all(&mut w, &output.slice()[..output_offset]));
[INFO] [stdout]     |           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:131:22
[INFO] [stdout]     |
[INFO] [stdout] 131 |                      mut value : &mut u32,
[INFO] [stdout]     |                      ----^^^^^
[INFO] [stdout]     |                      |
[INFO] [stdout]     |                      help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/lib.rs:1018:7
[INFO] [stdout]      |
[INFO] [stdout] 1018 |   for mut htree_iter in htrees.slice_mut()[s.htree_index as usize .. (group_num_htrees as usize)].iter_mut() {
[INFO] [stdout]      |       ----^^^^^^^^^^
[INFO] [stdout]      |       |
[INFO] [stdout]      |       help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/lib.rs:1152:13
[INFO] [stdout]      |
[INFO] [stdout] 1152 |         let mut context_map = &mut context_map_arg.slice_mut();
[INFO] [stdout]      |             ----^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/lib.rs:1271:45
[INFO] [stdout]      |
[INFO] [stdout] 1271 | ...                   mut s : &mut BlockTypeAndLengthState<AllocHC>,
[INFO] [stdout]      |                       ----^
[INFO] [stdout]      |                       |
[INFO] [stdout]      |                       help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/lib.rs:1272:45
[INFO] [stdout]      |
[INFO] [stdout] 1272 | ...                   mut br : &mut bit_reader::BrotliBitReader,
[INFO] [stdout]      |                       ----^^
[INFO] [stdout]      |                       |
[INFO] [stdout]      |                       help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/lib.rs:1332:45
[INFO] [stdout]      |
[INFO] [stdout] 1332 | ...                   mut s : &mut BrotliState<AllocU8,
[INFO] [stdout]      |                       ----^
[INFO] [stdout]      |                       |
[INFO] [stdout]      |                       help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/lib.rs:1377:45
[INFO] [stdout]      |
[INFO] [stdout] 1377 | ...                   mut s : &mut BrotliState<AllocU8, AllocU32, AllocHC>, input : &[u8]) -> bool {
[INFO] [stdout]      |                       ----^
[INFO] [stdout]      |                       |
[INFO] [stdout]      |                       help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/lib.rs:1390:45
[INFO] [stdout]      |
[INFO] [stdout] 1390 |   AllocHC : alloc::Allocator<HuffmanCode>> (mut s : &mut BrotliState<AllocU8, AllocU32, AllocHC>, input : &[u8]) {
[INFO] [stdout]      |                                             ----^
[INFO] [stdout]      |                                             |
[INFO] [stdout]      |                                             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/lib.rs:1398:45
[INFO] [stdout]      |
[INFO] [stdout] 1398 |   AllocHC : alloc::Allocator<HuffmanCode>> (mut s : &mut BrotliState<AllocU8, AllocU32, AllocHC>, input : &[u8]) -> bool {
[INFO] [stdout]      |                                             ----^
[INFO] [stdout]      |                                             |
[INFO] [stdout]      |                                             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/lib.rs:1409:45
[INFO] [stdout]      |
[INFO] [stdout] 1409 | ...                   mut s : &mut BrotliState<AllocU8, AllocU32, AllocHC>, input : &[u8]) -> bool {
[INFO] [stdout]      |                       ----^
[INFO] [stdout]      |                       |
[INFO] [stdout]      |                       help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/lib.rs:1424:45
[INFO] [stdout]      |
[INFO] [stdout] 1424 |   AllocHC : alloc::Allocator<HuffmanCode>> (mut s : &mut BrotliState<AllocU8, AllocU32, AllocHC>, input : &[u8]) {
[INFO] [stdout]      |                                             ----^
[INFO] [stdout]      |                                             |
[INFO] [stdout]      |                                             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/lib.rs:1433:45
[INFO] [stdout]      |
[INFO] [stdout] 1433 |   AllocHC : alloc::Allocator<HuffmanCode>> (mut s : &mut BrotliState<AllocU8, AllocU32, AllocHC>, input : &[u8]) -> bool {
[INFO] [stdout]      |                                             ----^
[INFO] [stdout]      |                                             |
[INFO] [stdout]      |                                             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/lib.rs:1440:33
[INFO] [stdout]      |
[INFO] [stdout] 1440 |    (available_out : &mut usize, mut output : &mut [u8], mut output_offset : &mut usize,
[INFO] [stdout]      |                                 ----^^^^^^
[INFO] [stdout]      |                                 |
[INFO] [stdout]      |                                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/lib.rs:1440:57
[INFO] [stdout]      |
[INFO] [stdout] 1440 |    (available_out : &mut usize, mut output : &mut [u8], mut output_offset : &mut usize,
[INFO] [stdout]      |                                                         ----^^^^^^^^^^^^^
[INFO] [stdout]      |                                                         |
[INFO] [stdout]      |                                                         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/lib.rs:1441:20
[INFO] [stdout]      |
[INFO] [stdout] 1441 |                    mut total_out : &mut usize, s : &mut BrotliState<AllocU8, AllocU32, AllocHC>) -> BrotliResult {
[INFO] [stdout]      |                    ----^^^^^^^^^
[INFO] [stdout]      |                    |
[INFO] [stdout]      |                    help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/lib.rs:2198:3
[INFO] [stdout]      |
[INFO] [stdout] 2198 |   mut available_in : &mut usize, input_offset : &mut usize, xinput : &[u8], // ugly that we are mutable
[INFO] [stdout]      |   ----^^^^^^^^^^^^
[INFO] [stdout]      |   |
[INFO] [stdout]      |   help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used
[INFO] [stdout]     --> src/lib.rs:1035:5
[INFO] [stdout]      |
[INFO] [stdout] 1035 | /     mem::replace(&mut s.literal_hgroup.codes,
[INFO] [stdout] 1036 | |                  mem::replace(&mut hcodes,
[INFO] [stdout] 1037 | |                               AllocHC::AllocatedMemory::default()));
[INFO] [stdout]      | |___________________________________________________________________^
[INFO] [stdout]      |
[INFO] [stdout]      = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout]      = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 1035 |     let _ = mem::replace(&mut s.literal_hgroup.codes,
[INFO] [stdout]      |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used
[INFO] [stdout]     --> src/lib.rs:1038:5
[INFO] [stdout]      |
[INFO] [stdout] 1038 | /     mem::replace(&mut s.literal_hgroup.htrees,
[INFO] [stdout] 1039 | |                  mem::replace(&mut htrees,
[INFO] [stdout] 1040 | |                               AllocU32::AllocatedMemory::default()));
[INFO] [stdout]      | |____________________________________________________________________^
[INFO] [stdout]      |
[INFO] [stdout]      = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 1038 |     let _ = mem::replace(&mut s.literal_hgroup.htrees,
[INFO] [stdout]      |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used
[INFO] [stdout]     --> src/lib.rs:1042:5
[INFO] [stdout]      |
[INFO] [stdout] 1042 | /     mem::replace(&mut s.insert_copy_hgroup.codes,
[INFO] [stdout] 1043 | |                  mem::replace(&mut hcodes,
[INFO] [stdout] 1044 | |                               AllocHC::AllocatedMemory::default()));
[INFO] [stdout]      | |___________________________________________________________________^
[INFO] [stdout]      |
[INFO] [stdout]      = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 1042 |     let _ = mem::replace(&mut s.insert_copy_hgroup.codes,
[INFO] [stdout]      |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used
[INFO] [stdout]     --> src/lib.rs:1045:5
[INFO] [stdout]      |
[INFO] [stdout] 1045 | /     mem::replace(&mut s.insert_copy_hgroup.htrees,
[INFO] [stdout] 1046 | |                  mem::replace(&mut htrees,
[INFO] [stdout] 1047 | |                               AllocU32::AllocatedMemory::default()));
[INFO] [stdout]      | |____________________________________________________________________^
[INFO] [stdout]      |
[INFO] [stdout]      = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 1045 |     let _ = mem::replace(&mut s.insert_copy_hgroup.htrees,
[INFO] [stdout]      |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used
[INFO] [stdout]     --> src/lib.rs:1049:5
[INFO] [stdout]      |
[INFO] [stdout] 1049 | /     mem::replace(&mut s.distance_hgroup.codes,
[INFO] [stdout] 1050 | |                  mem::replace(&mut hcodes,
[INFO] [stdout] 1051 | |                               AllocHC::AllocatedMemory::default()));
[INFO] [stdout]      | |___________________________________________________________________^
[INFO] [stdout]      |
[INFO] [stdout]      = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 1049 |     let _ = mem::replace(&mut s.distance_hgroup.codes,
[INFO] [stdout]      |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used
[INFO] [stdout]     --> src/lib.rs:1052:5
[INFO] [stdout]      |
[INFO] [stdout] 1052 | /     mem::replace(&mut s.distance_hgroup.htrees,
[INFO] [stdout] 1053 | |                  mem::replace(&mut htrees,
[INFO] [stdout] 1054 | |                               AllocU32::AllocatedMemory::default()));
[INFO] [stdout]      | |____________________________________________________________________^
[INFO] [stdout]      |
[INFO] [stdout]      = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 1052 |     let _ = mem::replace(&mut s.distance_hgroup.htrees,
[INFO] [stdout]      |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used
[INFO] [stdout]     --> src/lib.rs:1139:9
[INFO] [stdout]      |
[INFO] [stdout] 1139 | /         mem::replace(&mut s.context_map_table, mem::replace(&mut local_context_map_table,
[INFO] [stdout] 1140 | |                                                             AllocHC::AllocatedMemory::default()));
[INFO] [stdout]      | |_________________________________________________________________________________________________^
[INFO] [stdout]      |
[INFO] [stdout]      = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 1139 |         let _ = mem::replace(&mut s.context_map_table, mem::replace(&mut local_context_map_table,
[INFO] [stdout]      |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used
[INFO] [stdout]     --> src/lib.rs:1258:5
[INFO] [stdout]      |
[INFO] [stdout] 1258 | /     mem::replace(&mut s.dist_context_map, mem::replace(&mut context_map_arg,
[INFO] [stdout] 1259 | |                                                        AllocU8::AllocatedMemory::default()));
[INFO] [stdout]      | |____________________________________________________________________________________________^
[INFO] [stdout]      |
[INFO] [stdout]      = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 1258 |     let _ = mem::replace(&mut s.dist_context_map, mem::replace(&mut context_map_arg,
[INFO] [stdout]      |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used
[INFO] [stdout]     --> src/lib.rs:1262:5
[INFO] [stdout]      |
[INFO] [stdout] 1262 | /     mem::replace(&mut s.context_map, mem::replace(&mut context_map_arg,
[INFO] [stdout] 1263 | |                                                   AllocU8::AllocatedMemory::default()));
[INFO] [stdout]      | |_______________________________________________________________________________________^
[INFO] [stdout]      |
[INFO] [stdout]      = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 1262 |     let _ = mem::replace(&mut s.context_map, mem::replace(&mut context_map_arg,
[INFO] [stdout]      |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used
[INFO] [stdout]     --> src/lib.rs:2161:3
[INFO] [stdout]      |
[INFO] [stdout] 2161 | /   core::mem::replace(&mut s.literal_hgroup,
[INFO] [stdout] 2162 | |                 core::mem::replace(&mut saved_literal_hgroup,
[INFO] [stdout] 2163 | |                   HuffmanTreeGroup::<AllocU32, AllocHC>::default()));
[INFO] [stdout]      | |____________________________________________________________________^
[INFO] [stdout]      |
[INFO] [stdout]      = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 2161 |   let _ = core::mem::replace(&mut s.literal_hgroup,
[INFO] [stdout]      |   +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used
[INFO] [stdout]     --> src/lib.rs:2165:3
[INFO] [stdout]      |
[INFO] [stdout] 2165 | /   core::mem::replace(&mut s.distance_hgroup,
[INFO] [stdout] 2166 | |                 core::mem::replace(&mut saved_distance_hgroup,
[INFO] [stdout] 2167 | |                   HuffmanTreeGroup::<AllocU32, AllocHC>::default()));
[INFO] [stdout]      | |____________________________________________________________________^
[INFO] [stdout]      |
[INFO] [stdout]      = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 2165 |   let _ = core::mem::replace(&mut s.distance_hgroup,
[INFO] [stdout]      |   +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used
[INFO] [stdout]     --> src/lib.rs:2169:3
[INFO] [stdout]      |
[INFO] [stdout] 2169 | /   core::mem::replace(&mut s.insert_copy_hgroup,
[INFO] [stdout] 2170 | |                 core::mem::replace(&mut saved_insert_copy_hgroup,
[INFO] [stdout] 2171 | |                   HuffmanTreeGroup::<AllocU32, AllocHC>::default()));
[INFO] [stdout]      | |____________________________________________________________________^
[INFO] [stdout]      |
[INFO] [stdout]      = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 2169 |   let _ = core::mem::replace(&mut s.insert_copy_hgroup,
[INFO] [stdout]      |   +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used
[INFO] [stdout]     --> src/lib.rs:2439:11
[INFO] [stdout]      |
[INFO] [stdout] 2439 | /           mem::replace(&mut s.block_type_length_state.block_type_trees,
[INFO] [stdout] 2440 | |                        new_huffman_table);
[INFO] [stdout]      | |_________________________________________^
[INFO] [stdout]      |
[INFO] [stdout]      = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 2439 |           let _ = mem::replace(&mut s.block_type_length_state.block_type_trees,
[INFO] [stdout]      |           +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used
[INFO] [stdout]     --> src/lib.rs:2454:11
[INFO] [stdout]      |
[INFO] [stdout] 2454 | /           mem::replace(&mut s.block_type_length_state.block_len_trees,
[INFO] [stdout] 2455 | |                        new_huffman_table);
[INFO] [stdout]      | |_________________________________________^
[INFO] [stdout]      |
[INFO] [stdout]      = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 2454 |           let _ = mem::replace(&mut s.block_type_length_state.block_len_trees,
[INFO] [stdout]      |           +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used
[INFO] [stdout]   --> src/huffman/mod.rs:58:9
[INFO] [stdout]    |
[INFO] [stdout] 58 | /         core::mem::replace(&mut self.htrees,
[INFO] [stdout] 59 | |                            alloc_u32.alloc_cell(ntrees as usize));
[INFO] [stdout]    | |_________________________________________________________________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 58 |         let _ = core::mem::replace(&mut self.htrees,
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used
[INFO] [stdout]   --> src/huffman/mod.rs:60:9
[INFO] [stdout]    |
[INFO] [stdout] 60 | /         core::mem::replace(&mut self.codes,
[INFO] [stdout] 61 | |                            alloc_hc.alloc_cell(ntrees as usize * BROTLI_HUFFMAN_MAX_TABLE_SIZE as usize));
[INFO] [stdout]    | |_________________________________________________________________________________________________________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 60 |         let _ = core::mem::replace(&mut self.codes,
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/bin/brot.rs:76:63
[INFO] [stdout]    |
[INFO] [stdout] 76 | pub fn decompress<InputType, OutputType> (r : &mut InputType, mut w : &mut OutputType) -> Result<(), io::Error>
[INFO] [stdout]    |                                                               ----^
[INFO] [stdout]    |                                                               |
[INFO] [stdout]    |                                                               help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 40 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/bin/brot.rs:76:63
[INFO] [stdout]    |
[INFO] [stdout] 76 | pub fn decompress<InputType, OutputType> (r : &mut InputType, mut w : &mut OutputType) -> Result<(), io::Error>
[INFO] [stdout]    |                                                               ----^
[INFO] [stdout]    |                                                               |
[INFO] [stdout]    |                                                               help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.88s
[INFO] running `Command { std: "docker" "inspect" "403c820dfe56dcd41a6b47e3c4dd0ce91a1b4616f0aa6888611b53aa695c1a41", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "403c820dfe56dcd41a6b47e3c4dd0ce91a1b4616f0aa6888611b53aa695c1a41", kill_on_drop: false }`
[INFO] [stdout] 403c820dfe56dcd41a6b47e3c4dd0ce91a1b4616f0aa6888611b53aa695c1a41
[INFO] checking brotli-no-stdlib-1.0.4 against try#bfe97fcae016881ad333f0ff8cea2cadb9cf136c for pr-121848
[INFO] extracting crate brotli-no-stdlib 1.0.4 into /workspace/builds/worker-3-tc2/source
[INFO] validating manifest of crates.io crate brotli-no-stdlib 1.0.4 on toolchain bfe97fcae016881ad333f0ff8cea2cadb9cf136c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bfe97fcae016881ad333f0ff8cea2cadb9cf136c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate brotli-no-stdlib 1.0.4
[INFO] finished tweaking crates.io crate brotli-no-stdlib 1.0.4
[INFO] tweaked toml for crates.io crate brotli-no-stdlib 1.0.4 written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bfe97fcae016881ad333f0ff8cea2cadb9cf136c" "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" "+bfe97fcae016881ad333f0ff8cea2cadb9cf136c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: An explicit [[bin]] section is specified in Cargo.toml which currently
[INFO] [stderr] disables Cargo from automatically inferring other binary targets.
[INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following
[INFO] [stderr] files will be included as a binary target:
[INFO] [stderr] 
[INFO] [stderr] * /workspace/builds/worker-3-tc2/source/src/bin/integration_tests.rs
[INFO] [stderr] 
[INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be
[INFO] [stderr] ready to be compiled as a binary target today. You can future-proof yourself
[INFO] [stderr] and disable this warning by adding `autobins = false` to your [package]
[INFO] [stderr] section. You may also move the files to a location where Cargo would not
[INFO] [stderr] automatically infer them to be a target, such as in subfolders.
[INFO] [stderr] 
[INFO] [stderr] For more information on this warning you can consult
[INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+bfe97fcae016881ad333f0ff8cea2cadb9cf136c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 46230a2dd1144a3991bf55531dd0434099f99883a66c053f4952fed0ad379e28
[INFO] running `Command { std: "docker" "start" "-a" "46230a2dd1144a3991bf55531dd0434099f99883a66c053f4952fed0ad379e28", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "46230a2dd1144a3991bf55531dd0434099f99883a66c053f4952fed0ad379e28", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "46230a2dd1144a3991bf55531dd0434099f99883a66c053f4952fed0ad379e28", kill_on_drop: false }`
[INFO] [stdout] 46230a2dd1144a3991bf55531dd0434099f99883a66c053f4952fed0ad379e28
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+bfe97fcae016881ad333f0ff8cea2cadb9cf136c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e4ae1ca28088acc55ddcbe21254cc57fec7bcdbf3e2d9cb289c2e0d1bd53f825
[INFO] running `Command { std: "docker" "start" "-a" "e4ae1ca28088acc55ddcbe21254cc57fec7bcdbf3e2d9cb289c2e0d1bd53f825", kill_on_drop: false }`
[INFO] [stderr] warning: An explicit [[bin]] section is specified in Cargo.toml which currently
[INFO] [stderr] disables Cargo from automatically inferring other binary targets.
[INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following
[INFO] [stderr] files will be included as a binary target:
[INFO] [stderr] 
[INFO] [stderr] * /opt/rustwide/workdir/src/bin/integration_tests.rs
[INFO] [stderr] 
[INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be
[INFO] [stderr] ready to be compiled as a binary target today. You can future-proof yourself
[INFO] [stderr] and disable this warning by adding `autobins = false` to your [package]
[INFO] [stderr] section. You may also move the files to a location where Cargo would not
[INFO] [stderr] automatically infer them to be a target, such as in subfolders.
[INFO] [stderr] 
[INFO] [stderr] For more information on this warning you can consult
[INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330
[INFO] [stderr]     Checking alloc-no-stdlib v1.0.0
[INFO] [stderr]     Checking brotli-no-stdlib v1.0.4 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]   --> src/lib.rs:11:1
[INFO] [stdout]    |
[INFO] [stdout] 11 | #[macro_use]
[INFO] [stdout]    | ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Default` is imported redundantly
[INFO] [stdout]  --> src/bit_reader/mod.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use core::default::Default;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/bfe97fcae016881ad333f0ff8cea2cadb9cf136c/library/core/src/prelude/mod.rs:18:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `Default` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `core` is imported redundantly
[INFO] [stdout]  --> src/huffman/mod.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use ::core;
[INFO] [stdout]   |     ^^^^^^ the item `core` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `alloc` is imported redundantly
[INFO] [stdout]   --> src/huffman/mod.rs:5:5
[INFO] [stdout]    |
[INFO] [stdout] 5  | use alloc;
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:12:1
[INFO] [stdout]    |
[INFO] [stdout] 12 | 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 `Default` is imported redundantly
[INFO] [stdout]  --> src/huffman/mod.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use core::default::Default;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/bfe97fcae016881ad333f0ff8cea2cadb9cf136c/library/core/src/prelude/mod.rs:18:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `Default` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `alloc` is imported redundantly
[INFO] [stdout]   --> src/state.rs:6:5
[INFO] [stdout]    |
[INFO] [stdout] 6  | use alloc;
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:12:1
[INFO] [stdout]    |
[INFO] [stdout] 12 | 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/state.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use core;
[INFO] [stdout]   |     ^^^^ the item `core` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused macro definition: `SafeReadBlockLength`
[INFO] [stdout]    --> src/lib.rs:921:14
[INFO] [stdout]     |
[INFO] [stdout] 921 | macro_rules! SafeReadBlockLength (
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_macros)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Default` is imported redundantly
[INFO] [stdout]  --> src/bit_reader/mod.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use core::default::Default;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/bfe97fcae016881ad333f0ff8cea2cadb9cf136c/library/core/src/prelude/mod.rs:18:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `Default` is already defined here
[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/huffman/mod.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use ::core;
[INFO] [stdout]   |     ^^^^^^ the item `core` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `alloc` is imported redundantly
[INFO] [stdout]   --> src/huffman/mod.rs:5:5
[INFO] [stdout]    |
[INFO] [stdout] 5  | use alloc;
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:12:1
[INFO] [stdout]    |
[INFO] [stdout] 12 | 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 `Default` is imported redundantly
[INFO] [stdout]  --> src/huffman/mod.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use core::default::Default;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/bfe97fcae016881ad333f0ff8cea2cadb9cf136c/library/core/src/prelude/mod.rs:18:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `Default` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `alloc` is imported redundantly
[INFO] [stdout]   --> src/state.rs:6:5
[INFO] [stdout]    |
[INFO] [stdout] 6  | use alloc;
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:12:1
[INFO] [stdout]    |
[INFO] [stdout] 12 | 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/state.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use core;
[INFO] [stdout]   |     ^^^^ the item `core` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused macro definition: `SafeReadBlockLength`
[INFO] [stdout]    --> src/lib.rs:921:14
[INFO] [stdout]     |
[INFO] [stdout] 921 | macro_rules! SafeReadBlockLength (
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_macros)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/transform.rs:284:9
[INFO] [stdout]     |
[INFO] [stdout] 284 |     let mut uppercase = &mut dst[(idx - len) as usize ..];
[INFO] [stdout]     |         ----^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:131:22
[INFO] [stdout]     |
[INFO] [stdout] 131 |                      mut value : &mut u32,
[INFO] [stdout]     |                      ----^^^^^
[INFO] [stdout]     |                      |
[INFO] [stdout]     |                      help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/lib.rs:1018:7
[INFO] [stdout]      |
[INFO] [stdout] 1018 |   for mut htree_iter in htrees.slice_mut()[s.htree_index as usize .. (group_num_htrees as usize)].iter_mut() {
[INFO] [stdout]      |       ----^^^^^^^^^^
[INFO] [stdout]      |       |
[INFO] [stdout]      |       help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/lib.rs:1152:13
[INFO] [stdout]      |
[INFO] [stdout] 1152 |         let mut context_map = &mut context_map_arg.slice_mut();
[INFO] [stdout]      |             ----^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/lib.rs:1271:45
[INFO] [stdout]      |
[INFO] [stdout] 1271 | ...                   mut s : &mut BlockTypeAndLengthState<AllocHC>,
[INFO] [stdout]      |                       ----^
[INFO] [stdout]      |                       |
[INFO] [stdout]      |                       help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/lib.rs:1272:45
[INFO] [stdout]      |
[INFO] [stdout] 1272 | ...                   mut br : &mut bit_reader::BrotliBitReader,
[INFO] [stdout]      |                       ----^^
[INFO] [stdout]      |                       |
[INFO] [stdout]      |                       help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/lib.rs:1332:45
[INFO] [stdout]      |
[INFO] [stdout] 1332 | ...                   mut s : &mut BrotliState<AllocU8,
[INFO] [stdout]      |                       ----^
[INFO] [stdout]      |                       |
[INFO] [stdout]      |                       help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/lib.rs:1377:45
[INFO] [stdout]      |
[INFO] [stdout] 1377 | ...                   mut s : &mut BrotliState<AllocU8, AllocU32, AllocHC>, input : &[u8]) -> bool {
[INFO] [stdout]      |                       ----^
[INFO] [stdout]      |                       |
[INFO] [stdout]      |                       help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/lib.rs:1390:45
[INFO] [stdout]      |
[INFO] [stdout] 1390 |   AllocHC : alloc::Allocator<HuffmanCode>> (mut s : &mut BrotliState<AllocU8, AllocU32, AllocHC>, input : &[u8]) {
[INFO] [stdout]      |                                             ----^
[INFO] [stdout]      |                                             |
[INFO] [stdout]      |                                             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/lib.rs:1398:45
[INFO] [stdout]      |
[INFO] [stdout] 1398 |   AllocHC : alloc::Allocator<HuffmanCode>> (mut s : &mut BrotliState<AllocU8, AllocU32, AllocHC>, input : &[u8]) -> bool {
[INFO] [stdout]      |                                             ----^
[INFO] [stdout]      |                                             |
[INFO] [stdout]      |                                             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/lib.rs:1409:45
[INFO] [stdout]      |
[INFO] [stdout] 1409 | ...                   mut s : &mut BrotliState<AllocU8, AllocU32, AllocHC>, input : &[u8]) -> bool {
[INFO] [stdout]      |                       ----^
[INFO] [stdout]      |                       |
[INFO] [stdout]      |                       help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/lib.rs:1424:45
[INFO] [stdout]      |
[INFO] [stdout] 1424 |   AllocHC : alloc::Allocator<HuffmanCode>> (mut s : &mut BrotliState<AllocU8, AllocU32, AllocHC>, input : &[u8]) {
[INFO] [stdout]      |                                             ----^
[INFO] [stdout]      |                                             |
[INFO] [stdout]      |                                             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/lib.rs:1433:45
[INFO] [stdout]      |
[INFO] [stdout] 1433 |   AllocHC : alloc::Allocator<HuffmanCode>> (mut s : &mut BrotliState<AllocU8, AllocU32, AllocHC>, input : &[u8]) -> bool {
[INFO] [stdout]      |                                             ----^
[INFO] [stdout]      |                                             |
[INFO] [stdout]      |                                             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/lib.rs:1440:33
[INFO] [stdout]      |
[INFO] [stdout] 1440 |    (available_out : &mut usize, mut output : &mut [u8], mut output_offset : &mut usize,
[INFO] [stdout]      |                                 ----^^^^^^
[INFO] [stdout]      |                                 |
[INFO] [stdout]      |                                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/lib.rs:1440:57
[INFO] [stdout]      |
[INFO] [stdout] 1440 |    (available_out : &mut usize, mut output : &mut [u8], mut output_offset : &mut usize,
[INFO] [stdout]      |                                                         ----^^^^^^^^^^^^^
[INFO] [stdout]      |                                                         |
[INFO] [stdout]      |                                                         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/lib.rs:1441:20
[INFO] [stdout]      |
[INFO] [stdout] 1441 |                    mut total_out : &mut usize, s : &mut BrotliState<AllocU8, AllocU32, AllocHC>) -> BrotliResult {
[INFO] [stdout]      |                    ----^^^^^^^^^
[INFO] [stdout]      |                    |
[INFO] [stdout]      |                    help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/lib.rs:2198:3
[INFO] [stdout]      |
[INFO] [stdout] 2198 |   mut available_in : &mut usize, input_offset : &mut usize, xinput : &[u8], // ugly that we are mutable
[INFO] [stdout]      |   ----^^^^^^^^^^^^
[INFO] [stdout]      |   |
[INFO] [stdout]      |   help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used
[INFO] [stdout]     --> src/lib.rs:1035:5
[INFO] [stdout]      |
[INFO] [stdout] 1035 | /     mem::replace(&mut s.literal_hgroup.codes,
[INFO] [stdout] 1036 | |                  mem::replace(&mut hcodes,
[INFO] [stdout] 1037 | |                               AllocHC::AllocatedMemory::default()));
[INFO] [stdout]      | |___________________________________________________________________^
[INFO] [stdout]      |
[INFO] [stdout]      = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout]      = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 1035 |     let _ = mem::replace(&mut s.literal_hgroup.codes,
[INFO] [stdout]      |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used
[INFO] [stdout]     --> src/lib.rs:1038:5
[INFO] [stdout]      |
[INFO] [stdout] 1038 | /     mem::replace(&mut s.literal_hgroup.htrees,
[INFO] [stdout] 1039 | |                  mem::replace(&mut htrees,
[INFO] [stdout] 1040 | |                               AllocU32::AllocatedMemory::default()));
[INFO] [stdout]      | |____________________________________________________________________^
[INFO] [stdout]      |
[INFO] [stdout]      = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 1038 |     let _ = mem::replace(&mut s.literal_hgroup.htrees,
[INFO] [stdout]      |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used
[INFO] [stdout]     --> src/lib.rs:1042:5
[INFO] [stdout]      |
[INFO] [stdout] 1042 | /     mem::replace(&mut s.insert_copy_hgroup.codes,
[INFO] [stdout] 1043 | |                  mem::replace(&mut hcodes,
[INFO] [stdout] 1044 | |                               AllocHC::AllocatedMemory::default()));
[INFO] [stdout]      | |___________________________________________________________________^
[INFO] [stdout]      |
[INFO] [stdout]      = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 1042 |     let _ = mem::replace(&mut s.insert_copy_hgroup.codes,
[INFO] [stdout]      |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used
[INFO] [stdout]     --> src/lib.rs:1045:5
[INFO] [stdout]      |
[INFO] [stdout] 1045 | /     mem::replace(&mut s.insert_copy_hgroup.htrees,
[INFO] [stdout] 1046 | |                  mem::replace(&mut htrees,
[INFO] [stdout] 1047 | |                               AllocU32::AllocatedMemory::default()));
[INFO] [stdout]      | |____________________________________________________________________^
[INFO] [stdout]      |
[INFO] [stdout]      = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 1045 |     let _ = mem::replace(&mut s.insert_copy_hgroup.htrees,
[INFO] [stdout]      |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used
[INFO] [stdout]     --> src/lib.rs:1049:5
[INFO] [stdout]      |
[INFO] [stdout] 1049 | /     mem::replace(&mut s.distance_hgroup.codes,
[INFO] [stdout] 1050 | |                  mem::replace(&mut hcodes,
[INFO] [stdout] 1051 | |                               AllocHC::AllocatedMemory::default()));
[INFO] [stdout]      | |___________________________________________________________________^
[INFO] [stdout]      |
[INFO] [stdout]      = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 1049 |     let _ = mem::replace(&mut s.distance_hgroup.codes,
[INFO] [stdout]      |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used
[INFO] [stdout]     --> src/lib.rs:1052:5
[INFO] [stdout]      |
[INFO] [stdout] 1052 | /     mem::replace(&mut s.distance_hgroup.htrees,
[INFO] [stdout] 1053 | |                  mem::replace(&mut htrees,
[INFO] [stdout] 1054 | |                               AllocU32::AllocatedMemory::default()));
[INFO] [stdout]      | |____________________________________________________________________^
[INFO] [stdout]      |
[INFO] [stdout]      = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 1052 |     let _ = mem::replace(&mut s.distance_hgroup.htrees,
[INFO] [stdout]      |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used
[INFO] [stdout]     --> src/lib.rs:1139:9
[INFO] [stdout]      |
[INFO] [stdout] 1139 | /         mem::replace(&mut s.context_map_table, mem::replace(&mut local_context_map_table,
[INFO] [stdout] 1140 | |                                                             AllocHC::AllocatedMemory::default()));
[INFO] [stdout]      | |_________________________________________________________________________________________________^
[INFO] [stdout]      |
[INFO] [stdout]      = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 1139 |         let _ = mem::replace(&mut s.context_map_table, mem::replace(&mut local_context_map_table,
[INFO] [stdout]      |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used
[INFO] [stdout]     --> src/lib.rs:1258:5
[INFO] [stdout]      |
[INFO] [stdout] 1258 | /     mem::replace(&mut s.dist_context_map, mem::replace(&mut context_map_arg,
[INFO] [stdout] 1259 | |                                                        AllocU8::AllocatedMemory::default()));
[INFO] [stdout]      | |____________________________________________________________________________________________^
[INFO] [stdout]      |
[INFO] [stdout]      = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 1258 |     let _ = mem::replace(&mut s.dist_context_map, mem::replace(&mut context_map_arg,
[INFO] [stdout]      |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used
[INFO] [stdout]     --> src/lib.rs:1262:5
[INFO] [stdout]      |
[INFO] [stdout] 1262 | /     mem::replace(&mut s.context_map, mem::replace(&mut context_map_arg,
[INFO] [stdout] 1263 | |                                                   AllocU8::AllocatedMemory::default()));
[INFO] [stdout]      | |_______________________________________________________________________________________^
[INFO] [stdout]      |
[INFO] [stdout]      = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 1262 |     let _ = mem::replace(&mut s.context_map, mem::replace(&mut context_map_arg,
[INFO] [stdout]      |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used
[INFO] [stdout]     --> src/lib.rs:2161:3
[INFO] [stdout]      |
[INFO] [stdout] 2161 | /   core::mem::replace(&mut s.literal_hgroup,
[INFO] [stdout] 2162 | |                 core::mem::replace(&mut saved_literal_hgroup,
[INFO] [stdout] 2163 | |                   HuffmanTreeGroup::<AllocU32, AllocHC>::default()));
[INFO] [stdout]      | |____________________________________________________________________^
[INFO] [stdout]      |
[INFO] [stdout]      = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 2161 |   let _ = core::mem::replace(&mut s.literal_hgroup,
[INFO] [stdout]      |   +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used
[INFO] [stdout]     --> src/lib.rs:2165:3
[INFO] [stdout]      |
[INFO] [stdout] 2165 | /   core::mem::replace(&mut s.distance_hgroup,
[INFO] [stdout] 2166 | |                 core::mem::replace(&mut saved_distance_hgroup,
[INFO] [stdout] 2167 | |                   HuffmanTreeGroup::<AllocU32, AllocHC>::default()));
[INFO] [stdout]      | |____________________________________________________________________^
[INFO] [stdout]      |
[INFO] [stdout]      = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 2165 |   let _ = core::mem::replace(&mut s.distance_hgroup,
[INFO] [stdout]      |   +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used
[INFO] [stdout]     --> src/lib.rs:2169:3
[INFO] [stdout]      |
[INFO] [stdout] 2169 | /   core::mem::replace(&mut s.insert_copy_hgroup,
[INFO] [stdout] 2170 | |                 core::mem::replace(&mut saved_insert_copy_hgroup,
[INFO] [stdout] 2171 | |                   HuffmanTreeGroup::<AllocU32, AllocHC>::default()));
[INFO] [stdout]      | |____________________________________________________________________^
[INFO] [stdout]      |
[INFO] [stdout]      = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 2169 |   let _ = core::mem::replace(&mut s.insert_copy_hgroup,
[INFO] [stdout]      |   +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used
[INFO] [stdout]     --> src/lib.rs:2439:11
[INFO] [stdout]      |
[INFO] [stdout] 2439 | /           mem::replace(&mut s.block_type_length_state.block_type_trees,
[INFO] [stdout] 2440 | |                        new_huffman_table);
[INFO] [stdout]      | |_________________________________________^
[INFO] [stdout]      |
[INFO] [stdout]      = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 2439 |           let _ = mem::replace(&mut s.block_type_length_state.block_type_trees,
[INFO] [stdout]      |           +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used
[INFO] [stdout]     --> src/lib.rs:2454:11
[INFO] [stdout]      |
[INFO] [stdout] 2454 | /           mem::replace(&mut s.block_type_length_state.block_len_trees,
[INFO] [stdout] 2455 | |                        new_huffman_table);
[INFO] [stdout]      | |_________________________________________^
[INFO] [stdout]      |
[INFO] [stdout]      = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 2454 |           let _ = mem::replace(&mut s.block_type_length_state.block_len_trees,
[INFO] [stdout]      |           +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used
[INFO] [stdout]   --> src/huffman/mod.rs:58:9
[INFO] [stdout]    |
[INFO] [stdout] 58 | /         core::mem::replace(&mut self.htrees,
[INFO] [stdout] 59 | |                            alloc_u32.alloc_cell(ntrees as usize));
[INFO] [stdout]    | |_________________________________________________________________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 58 |         let _ = core::mem::replace(&mut self.htrees,
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used
[INFO] [stdout]   --> src/huffman/mod.rs:60:9
[INFO] [stdout]    |
[INFO] [stdout] 60 | /         core::mem::replace(&mut self.codes,
[INFO] [stdout] 61 | |                            alloc_hc.alloc_cell(ntrees as usize * BROTLI_HUFFMAN_MAX_TABLE_SIZE as usize));
[INFO] [stdout]    | |_________________________________________________________________________________________________________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 60 |         let _ = core::mem::replace(&mut self.codes,
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 41 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/bin/brot.rs:128:15
[INFO] [stdout]     |
[INFO] [stdout] 128 |               try!(_write_all(&mut w, &output.slice()[..output_offset]));
[INFO] [stdout]     |               ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/bin/brot.rs:146:11
[INFO] [stdout]     |
[INFO] [stdout] 146 |           try!(_write_all(&mut w, &output.slice()[..output_offset]));
[INFO] [stdout]     |           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/transform.rs:284:9
[INFO] [stdout]     |
[INFO] [stdout] 284 |     let mut uppercase = &mut dst[(idx - len) as usize ..];
[INFO] [stdout]     |         ----^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/bin/brot.rs:128:15
[INFO] [stdout]     |
[INFO] [stdout] 128 |               try!(_write_all(&mut w, &output.slice()[..output_offset]));
[INFO] [stdout]     |               ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/bin/brot.rs:146:11
[INFO] [stdout]     |
[INFO] [stdout] 146 |           try!(_write_all(&mut w, &output.slice()[..output_offset]));
[INFO] [stdout]     |           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/bin/brot.rs:76:63
[INFO] [stdout]    |
[INFO] [stdout] 76 | pub fn decompress<InputType, OutputType> (r : &mut InputType, mut w : &mut OutputType) -> Result<(), io::Error>
[INFO] [stdout]    |                                                               ----^
[INFO] [stdout]    |                                                               |
[INFO] [stdout]    |                                                               help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:131:22
[INFO] [stdout]     |
[INFO] [stdout] 131 |                      mut value : &mut u32,
[INFO] [stdout]     |                      ----^^^^^
[INFO] [stdout]     |                      |
[INFO] [stdout]     |                      help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/lib.rs:1018:7
[INFO] [stdout]      |
[INFO] [stdout] 1018 |   for mut htree_iter in htrees.slice_mut()[s.htree_index as usize .. (group_num_htrees as usize)].iter_mut() {
[INFO] [stdout]      |       ----^^^^^^^^^^
[INFO] [stdout]      |       |
[INFO] [stdout]      |       help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/lib.rs:1152:13
[INFO] [stdout]      |
[INFO] [stdout] 1152 |         let mut context_map = &mut context_map_arg.slice_mut();
[INFO] [stdout]      |             ----^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/lib.rs:1271:45
[INFO] [stdout]      |
[INFO] [stdout] 1271 | ...                   mut s : &mut BlockTypeAndLengthState<AllocHC>,
[INFO] [stdout]      |                       ----^
[INFO] [stdout]      |                       |
[INFO] [stdout]      |                       help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/lib.rs:1272:45
[INFO] [stdout]      |
[INFO] [stdout] 1272 | ...                   mut br : &mut bit_reader::BrotliBitReader,
[INFO] [stdout]      |                       ----^^
[INFO] [stdout]      |                       |
[INFO] [stdout]      |                       help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/lib.rs:1332:45
[INFO] [stdout]      |
[INFO] [stdout] 1332 | ...                   mut s : &mut BrotliState<AllocU8,
[INFO] [stdout]      |                       ----^
[INFO] [stdout]      |                       |
[INFO] [stdout]      |                       help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/lib.rs:1377:45
[INFO] [stdout]      |
[INFO] [stdout] 1377 | ...                   mut s : &mut BrotliState<AllocU8, AllocU32, AllocHC>, input : &[u8]) -> bool {
[INFO] [stdout]      |                       ----^
[INFO] [stdout]      |                       |
[INFO] [stdout]      |                       help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/lib.rs:1390:45
[INFO] [stdout]      |
[INFO] [stdout] 1390 |   AllocHC : alloc::Allocator<HuffmanCode>> (mut s : &mut BrotliState<AllocU8, AllocU32, AllocHC>, input : &[u8]) {
[INFO] [stdout]      |                                             ----^
[INFO] [stdout]      |                                             |
[INFO] [stdout]      |                                             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/lib.rs:1398:45
[INFO] [stdout]      |
[INFO] [stdout] 1398 |   AllocHC : alloc::Allocator<HuffmanCode>> (mut s : &mut BrotliState<AllocU8, AllocU32, AllocHC>, input : &[u8]) -> bool {
[INFO] [stdout]      |                                             ----^
[INFO] [stdout]      |                                             |
[INFO] [stdout]      |                                             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/lib.rs:1409:45
[INFO] [stdout]      |
[INFO] [stdout] 1409 | ...                   mut s : &mut BrotliState<AllocU8, AllocU32, AllocHC>, input : &[u8]) -> bool {
[INFO] [stdout]      |                       ----^
[INFO] [stdout]      |                       |
[INFO] [stdout]      |                       help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/lib.rs:1424:45
[INFO] [stdout]      |
[INFO] [stdout] 1424 |   AllocHC : alloc::Allocator<HuffmanCode>> (mut s : &mut BrotliState<AllocU8, AllocU32, AllocHC>, input : &[u8]) {
[INFO] [stdout]      |                                             ----^
[INFO] [stdout]      |                                             |
[INFO] [stdout]      |                                             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/lib.rs:1433:45
[INFO] [stdout]      |
[INFO] [stdout] 1433 |   AllocHC : alloc::Allocator<HuffmanCode>> (mut s : &mut BrotliState<AllocU8, AllocU32, AllocHC>, input : &[u8]) -> bool {
[INFO] [stdout]      |                                             ----^
[INFO] [stdout]      |                                             |
[INFO] [stdout]      |                                             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/lib.rs:1440:33
[INFO] [stdout]      |
[INFO] [stdout] 1440 |    (available_out : &mut usize, mut output : &mut [u8], mut output_offset : &mut usize,
[INFO] [stdout]      |                                 ----^^^^^^
[INFO] [stdout]      |                                 |
[INFO] [stdout]      |                                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/lib.rs:1440:57
[INFO] [stdout]      |
[INFO] [stdout] 1440 |    (available_out : &mut usize, mut output : &mut [u8], mut output_offset : &mut usize,
[INFO] [stdout]      |                                                         ----^^^^^^^^^^^^^
[INFO] [stdout]      |                                                         |
[INFO] [stdout]      |                                                         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/lib.rs:1441:20
[INFO] [stdout]      |
[INFO] [stdout] 1441 |                    mut total_out : &mut usize, s : &mut BrotliState<AllocU8, AllocU32, AllocHC>) -> BrotliResult {
[INFO] [stdout]      |                    ----^^^^^^^^^
[INFO] [stdout]      |                    |
[INFO] [stdout]      |                    help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/lib.rs:2198:3
[INFO] [stdout]      |
[INFO] [stdout] 2198 |   mut available_in : &mut usize, input_offset : &mut usize, xinput : &[u8], // ugly that we are mutable
[INFO] [stdout]      |   ----^^^^^^^^^^^^
[INFO] [stdout]      |   |
[INFO] [stdout]      |   help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used
[INFO] [stdout]     --> src/lib.rs:1035:5
[INFO] [stdout]      |
[INFO] [stdout] 1035 | /     mem::replace(&mut s.literal_hgroup.codes,
[INFO] [stdout] 1036 | |                  mem::replace(&mut hcodes,
[INFO] [stdout] 1037 | |                               AllocHC::AllocatedMemory::default()));
[INFO] [stdout]      | |___________________________________________________________________^
[INFO] [stdout]      |
[INFO] [stdout]      = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout]      = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 1035 |     let _ = mem::replace(&mut s.literal_hgroup.codes,
[INFO] [stdout]      |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used
[INFO] [stdout]     --> src/lib.rs:1038:5
[INFO] [stdout]      |
[INFO] [stdout] 1038 | /     mem::replace(&mut s.literal_hgroup.htrees,
[INFO] [stdout] 1039 | |                  mem::replace(&mut htrees,
[INFO] [stdout] 1040 | |                               AllocU32::AllocatedMemory::default()));
[INFO] [stdout]      | |____________________________________________________________________^
[INFO] [stdout]      |
[INFO] [stdout]      = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 1038 |     let _ = mem::replace(&mut s.literal_hgroup.htrees,
[INFO] [stdout]      |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used
[INFO] [stdout]     --> src/lib.rs:1042:5
[INFO] [stdout]      |
[INFO] [stdout] 1042 | /     mem::replace(&mut s.insert_copy_hgroup.codes,
[INFO] [stdout] 1043 | |                  mem::replace(&mut hcodes,
[INFO] [stdout] 1044 | |                               AllocHC::AllocatedMemory::default()));
[INFO] [stdout]      | |___________________________________________________________________^
[INFO] [stdout]      |
[INFO] [stdout]      = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 1042 |     let _ = mem::replace(&mut s.insert_copy_hgroup.codes,
[INFO] [stdout]      |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used
[INFO] [stdout]     --> src/lib.rs:1045:5
[INFO] [stdout]      |
[INFO] [stdout] 1045 | /     mem::replace(&mut s.insert_copy_hgroup.htrees,
[INFO] [stdout] 1046 | |                  mem::replace(&mut htrees,
[INFO] [stdout] 1047 | |                               AllocU32::AllocatedMemory::default()));
[INFO] [stdout]      | |____________________________________________________________________^
[INFO] [stdout]      |
[INFO] [stdout]      = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 1045 |     let _ = mem::replace(&mut s.insert_copy_hgroup.htrees,
[INFO] [stdout]      |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used
[INFO] [stdout]     --> src/lib.rs:1049:5
[INFO] [stdout]      |
[INFO] [stdout] 1049 | /     mem::replace(&mut s.distance_hgroup.codes,
[INFO] [stdout] 1050 | |                  mem::replace(&mut hcodes,
[INFO] [stdout] 1051 | |                               AllocHC::AllocatedMemory::default()));
[INFO] [stdout]      | |___________________________________________________________________^
[INFO] [stdout]      |
[INFO] [stdout]      = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 1049 |     let _ = mem::replace(&mut s.distance_hgroup.codes,
[INFO] [stdout]      |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used
[INFO] [stdout]     --> src/lib.rs:1052:5
[INFO] [stdout]      |
[INFO] [stdout] 1052 | /     mem::replace(&mut s.distance_hgroup.htrees,
[INFO] [stdout] 1053 | |                  mem::replace(&mut htrees,
[INFO] [stdout] 1054 | |                               AllocU32::AllocatedMemory::default()));
[INFO] [stdout]      | |____________________________________________________________________^
[INFO] [stdout]      |
[INFO] [stdout]      = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 1052 |     let _ = mem::replace(&mut s.distance_hgroup.htrees,
[INFO] [stdout]      |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used
[INFO] [stdout]     --> src/lib.rs:1139:9
[INFO] [stdout]      |
[INFO] [stdout] 1139 | /         mem::replace(&mut s.context_map_table, mem::replace(&mut local_context_map_table,
[INFO] [stdout] 1140 | |                                                             AllocHC::AllocatedMemory::default()));
[INFO] [stdout]      | |_________________________________________________________________________________________________^
[INFO] [stdout]      |
[INFO] [stdout]      = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 1139 |         let _ = mem::replace(&mut s.context_map_table, mem::replace(&mut local_context_map_table,
[INFO] [stdout]      |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used
[INFO] [stdout]     --> src/lib.rs:1258:5
[INFO] [stdout]      |
[INFO] [stdout] 1258 | /     mem::replace(&mut s.dist_context_map, mem::replace(&mut context_map_arg,
[INFO] [stdout] 1259 | |                                                        AllocU8::AllocatedMemory::default()));
[INFO] [stdout]      | |____________________________________________________________________________________________^
[INFO] [stdout]      |
[INFO] [stdout]      = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 1258 |     let _ = mem::replace(&mut s.dist_context_map, mem::replace(&mut context_map_arg,
[INFO] [stdout]      |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used
[INFO] [stdout]     --> src/lib.rs:1262:5
[INFO] [stdout]      |
[INFO] [stdout] 1262 | /     mem::replace(&mut s.context_map, mem::replace(&mut context_map_arg,
[INFO] [stdout] 1263 | |                                                   AllocU8::AllocatedMemory::default()));
[INFO] [stdout]      | |_______________________________________________________________________________________^
[INFO] [stdout]      |
[INFO] [stdout]      = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 1262 |     let _ = mem::replace(&mut s.context_map, mem::replace(&mut context_map_arg,
[INFO] [stdout]      |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used
[INFO] [stdout]     --> src/lib.rs:2161:3
[INFO] [stdout]      |
[INFO] [stdout] 2161 | /   core::mem::replace(&mut s.literal_hgroup,
[INFO] [stdout] 2162 | |                 core::mem::replace(&mut saved_literal_hgroup,
[INFO] [stdout] 2163 | |                   HuffmanTreeGroup::<AllocU32, AllocHC>::default()));
[INFO] [stdout]      | |____________________________________________________________________^
[INFO] [stdout]      |
[INFO] [stdout]      = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 2161 |   let _ = core::mem::replace(&mut s.literal_hgroup,
[INFO] [stdout]      |   +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used
[INFO] [stdout]     --> src/lib.rs:2165:3
[INFO] [stdout]      |
[INFO] [stdout] 2165 | /   core::mem::replace(&mut s.distance_hgroup,
[INFO] [stdout] 2166 | |                 core::mem::replace(&mut saved_distance_hgroup,
[INFO] [stdout] 2167 | |                   HuffmanTreeGroup::<AllocU32, AllocHC>::default()));
[INFO] [stdout]      | |____________________________________________________________________^
[INFO] [stdout]      |
[INFO] [stdout]      = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 2165 |   let _ = core::mem::replace(&mut s.distance_hgroup,
[INFO] [stdout]      |   +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used
[INFO] [stdout]     --> src/lib.rs:2169:3
[INFO] [stdout]      |
[INFO] [stdout] 2169 | /   core::mem::replace(&mut s.insert_copy_hgroup,
[INFO] [stdout] 2170 | |                 core::mem::replace(&mut saved_insert_copy_hgroup,
[INFO] [stdout] 2171 | |                   HuffmanTreeGroup::<AllocU32, AllocHC>::default()));
[INFO] [stdout]      | |____________________________________________________________________^
[INFO] [stdout]      |
[INFO] [stdout]      = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 2169 |   let _ = core::mem::replace(&mut s.insert_copy_hgroup,
[INFO] [stdout]      |   +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used
[INFO] [stdout]     --> src/lib.rs:2439:11
[INFO] [stdout]      |
[INFO] [stdout] 2439 | /           mem::replace(&mut s.block_type_length_state.block_type_trees,
[INFO] [stdout] 2440 | |                        new_huffman_table);
[INFO] [stdout]      | |_________________________________________^
[INFO] [stdout]      |
[INFO] [stdout]      = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 2439 |           let _ = mem::replace(&mut s.block_type_length_state.block_type_trees,
[INFO] [stdout]      |           +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used
[INFO] [stdout]     --> src/lib.rs:2454:11
[INFO] [stdout]      |
[INFO] [stdout] 2454 | /           mem::replace(&mut s.block_type_length_state.block_len_trees,
[INFO] [stdout] 2455 | |                        new_huffman_table);
[INFO] [stdout]      | |_________________________________________^
[INFO] [stdout]      |
[INFO] [stdout]      = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 2454 |           let _ = mem::replace(&mut s.block_type_length_state.block_len_trees,
[INFO] [stdout]      |           +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/bin/brot.rs:76:63
[INFO] [stdout]    |
[INFO] [stdout] 76 | pub fn decompress<InputType, OutputType> (r : &mut InputType, mut w : &mut OutputType) -> Result<(), io::Error>
[INFO] [stdout]    |                                                               ----^
[INFO] [stdout]    |                                                               |
[INFO] [stdout]    |                                                               help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used
[INFO] [stdout]   --> src/huffman/mod.rs:58:9
[INFO] [stdout]    |
[INFO] [stdout] 58 | /         core::mem::replace(&mut self.htrees,
[INFO] [stdout] 59 | |                            alloc_u32.alloc_cell(ntrees as usize));
[INFO] [stdout]    | |_________________________________________________________________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 58 |         let _ = core::mem::replace(&mut self.htrees,
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used
[INFO] [stdout]   --> src/huffman/mod.rs:60:9
[INFO] [stdout]    |
[INFO] [stdout] 60 | /         core::mem::replace(&mut self.codes,
[INFO] [stdout] 61 | |                            alloc_hc.alloc_cell(ntrees as usize * BROTLI_HUFFMAN_MAX_TABLE_SIZE as usize));
[INFO] [stdout]    | |_________________________________________________________________________________________________________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 60 |         let _ = core::mem::replace(&mut self.codes,
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 40 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.89s
[INFO] running `Command { std: "docker" "inspect" "e4ae1ca28088acc55ddcbe21254cc57fec7bcdbf3e2d9cb289c2e0d1bd53f825", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e4ae1ca28088acc55ddcbe21254cc57fec7bcdbf3e2d9cb289c2e0d1bd53f825", kill_on_drop: false }`
[INFO] [stdout] e4ae1ca28088acc55ddcbe21254cc57fec7bcdbf3e2d9cb289c2e0d1bd53f825
