[INFO] fetching crate tokio-aead 0.0.0...
[INFO] building tokio-aead-0.0.0 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1
[INFO] extracting crate tokio-aead 0.0.0 into /workspace/builds/worker-2-tc1/source
[INFO] started tweaking crates.io crate tokio-aead 0.0.0
[INFO] finished tweaking crates.io crate tokio-aead 0.0.0
[INFO] tweaked toml for crates.io crate tokio-aead 0.0.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate tokio-aead 0.0.0 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 60 packages to latest compatible versions
[INFO] [stderr]       Adding atty v0.2.11 (available: v0.2.14)
[INFO] [stderr]       Adding bytes v0.4.12 (available: v1.10.1)
[INFO] [stderr]       Adding futures v0.1.31 (available: v0.3.31)
[INFO] [stderr]       Adding rand v0.5.6 (available: v0.9.2)
[INFO] [stderr]       Adding stderrlog v0.4.3 (available: v0.6.0)
[INFO] [stderr]       Adding thread_local v0.3.4 (available: v0.3.6)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded atty v0.2.11
[INFO] [stderr]   Downloaded thread_local v0.3.4
[INFO] [stderr]   Downloaded stderrlog v0.4.3
[INFO] [stderr]   Downloaded chacha20-poly1305-aead v0.1.2
[INFO] [stderr]   Downloaded termion v1.5.6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1175c6200b1eb7ae3dcf20de3efefce743279f8294014e5244b94dabe0e5bacb
[INFO] running `Command { std: "docker" "start" "-a" "1175c6200b1eb7ae3dcf20de3efefce743279f8294014e5244b94dabe0e5bacb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1175c6200b1eb7ae3dcf20de3efefce743279f8294014e5244b94dabe0e5bacb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1175c6200b1eb7ae3dcf20de3efefce743279f8294014e5244b94dabe0e5bacb", kill_on_drop: false }`
[INFO] [stdout] 1175c6200b1eb7ae3dcf20de3efefce743279f8294014e5244b94dabe0e5bacb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 00d451f07cdea73ab1be83157e1966c08b24358dcdd405d5930280731d77a840
[INFO] running `Command { std: "docker" "start" "-a" "00d451f07cdea73ab1be83157e1966c08b24358dcdd405d5930280731d77a840", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]    Compiling constant_time_eq v0.1.5
[INFO] [stderr]    Compiling rand v0.5.6
[INFO] [stderr]    Compiling bytes v0.4.12
[INFO] [stderr]    Compiling chacha20-poly1305-aead v0.1.2
[INFO] [stderr]    Compiling tokio-aead v0.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stdout]  --> src/lib.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![cfg_attr(feature = "cargo-clippy", deny(clippy::pedantic))]
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]   |
[INFO] [stdout]   = note: no expected values for `feature`
[INFO] [stdout]   = help: consider adding `cargo-clippy` as a feature in `Cargo.toml`
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]   = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stdout]  --> src/lib.rs:2:13
[INFO] [stdout]   |
[INFO] [stdout] 2 | #![cfg_attr(feature = "cargo-clippy", allow(clippy::cast_possible_truncation))]
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]   |
[INFO] [stdout]   = note: no expected values for `feature`
[INFO] [stdout]   = help: consider adding `cargo-clippy` as a feature in `Cargo.toml`
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/lib.rs:141:21
[INFO] [stdout]     |
[INFO] [stdout] 141 | /                     mem::replace(&mut self.state, EncryptingState::Reading{
[INFO] [stdout] 142 | |                         nonce,
[INFO] [stdout] 143 | |                         buf,
[INFO] [stdout] 144 | |                         aad,
[INFO] [stdout] 145 | |                     });
[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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 141 |                     let _ = mem::replace(&mut self.state, EncryptingState::Reading{
[INFO] [stdout]     |                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/lib.rs:150:29
[INFO] [stdout]     |
[INFO] [stdout] 150 | / ...                   mem::replace(&mut self.state, EncryptingState::Reading{
[INFO] [stdout] 151 | | ...                       nonce,
[INFO] [stdout] 152 | | ...                       buf,
[INFO] [stdout] 153 | | ...                       aad
[INFO] [stdout] 154 | | ...                   });
[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] 150 |                             let _ = mem::replace(&mut self.state, EncryptingState::Reading{
[INFO] [stdout]     |                             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/lib.rs:159:29
[INFO] [stdout]     |
[INFO] [stdout] 159 | ...                   mem::replace(&mut self.state, EncryptingState::EOF);
[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] 159 |                             let _ = mem::replace(&mut self.state, EncryptingState::EOF);
[INFO] [stdout]     |                             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/lib.rs:212:29
[INFO] [stdout]     |
[INFO] [stdout] 212 | / ...                   mem::replace(&mut self.state, EncryptingState::Reading{
[INFO] [stdout] 213 | | ...                       nonce,
[INFO] [stdout] 214 | | ...                       buf: BytesMut::new(),
[INFO] [stdout] 215 | | ...                       aad: res,
[INFO] [stdout] 216 | | ...                   });
[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] 212 |                             let _ = mem::replace(&mut self.state, EncryptingState::Reading{
[INFO] [stdout]     |                             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/lib.rs:227:21
[INFO] [stdout]     |
[INFO] [stdout] 227 |                     mem::replace(&mut self.state, EncryptingState::EOF);
[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] 227 |                     let _ = mem::replace(&mut self.state, EncryptingState::EOF);
[INFO] [stdout]     |                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/lib.rs:264:29
[INFO] [stdout]     |
[INFO] [stdout] 264 | / ...                   mem::replace(&mut self.state, DecryptingState::Start{
[INFO] [stdout] 265 | | ...                       buf
[INFO] [stdout] 266 | | ...                   });
[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] 264 |                             let _ = mem::replace(&mut self.state, DecryptingState::Start{
[INFO] [stdout]     |                             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/lib.rs:281:37
[INFO] [stdout]     |
[INFO] [stdout] 281 | / ...                   mem::replace(&mut self.state, DecryptingState::Start{
[INFO] [stdout] 282 | | ...                       buf
[INFO] [stdout] 283 | | ...                   });
[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] 281 |                                     let _ = mem::replace(&mut self.state, DecryptingState::Start{
[INFO] [stdout]     |                                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/lib.rs:295:29
[INFO] [stdout]     |
[INFO] [stdout] 295 | / ...                   mem::replace(&mut self.state, DecryptingState::GotMagic{
[INFO] [stdout] 296 | | ...                       buf
[INFO] [stdout] 297 | | ...                   });
[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] 295 |                             let _ = mem::replace(&mut self.state, DecryptingState::GotMagic{
[INFO] [stdout]     |                             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/lib.rs:310:29
[INFO] [stdout]     |
[INFO] [stdout] 310 | / ...                   mem::replace(&mut self.state, DecryptingState::ReadingV1 {
[INFO] [stdout] 311 | | ...                       buf,
[INFO] [stdout] 312 | | ...                       state: Version1::new(self.key)
[INFO] [stdout] 313 | | ...                   });
[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] 310 |                             let _ = mem::replace(&mut self.state, DecryptingState::ReadingV1 {
[INFO] [stdout]     |                             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/lib.rs:323:37
[INFO] [stdout]     |
[INFO] [stdout] 323 | / ...                   mem::replace(&mut self.state, DecryptingState::GotMagic {
[INFO] [stdout] 324 | | ...                       buf
[INFO] [stdout] 325 | | ...                   });
[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] 323 |                                     let _ = mem::replace(&mut self.state, DecryptingState::GotMagic {
[INFO] [stdout]     |                                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/lib.rs:334:37
[INFO] [stdout]     |
[INFO] [stdout] 334 | / ...                   mem::replace(&mut self.state, DecryptingState::GotMagic {
[INFO] [stdout] 335 | | ...                       buf
[INFO] [stdout] 336 | | ...                   });
[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] 334 |                                     let _ = mem::replace(&mut self.state, DecryptingState::GotMagic {
[INFO] [stdout]     |                                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/lib.rs:347:29
[INFO] [stdout]     |
[INFO] [stdout] 347 | / ...                   mem::replace(&mut self.state, DecryptingState::ReadingV1 {
[INFO] [stdout] 348 | | ...                       buf,
[INFO] [stdout] 349 | | ...                       state
[INFO] [stdout] 350 | | ...                   });
[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] 347 |                             let _ = mem::replace(&mut self.state, DecryptingState::ReadingV1 {
[INFO] [stdout]     |                             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/lib.rs:359:37
[INFO] [stdout]     |
[INFO] [stdout] 359 | / ...                   mem::replace(&mut self.state, DecryptingState::ReadingV1 {
[INFO] [stdout] 360 | | ...                       buf,
[INFO] [stdout] 361 | | ...                       state
[INFO] [stdout] 362 | | ...                   });
[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] 359 |                                     let _ = mem::replace(&mut self.state, DecryptingState::ReadingV1 {
[INFO] [stdout]     |                                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/lib.rs:366:37
[INFO] [stdout]     |
[INFO] [stdout] 366 | ...                   mem::replace(&mut self.state, DecryptingState::EOF);
[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] 366 |                                     let _ = mem::replace(&mut self.state, DecryptingState::EOF);
[INFO] [stdout]     |                                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/lib.rs:372:37
[INFO] [stdout]     |
[INFO] [stdout] 372 | / ...                   mem::replace(&mut self.state, DecryptingState::ReadingV1 {
[INFO] [stdout] 373 | | ...                       buf,
[INFO] [stdout] 374 | | ...                       state
[INFO] [stdout] 375 | | ...                   });
[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] 372 |                                     let _ = mem::replace(&mut self.state, DecryptingState::ReadingV1 {
[INFO] [stdout]     |                                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/lib.rs:391:37
[INFO] [stdout]     |
[INFO] [stdout] 391 | / ...                   mem::replace(&mut self.state, DecryptingState::ReadingV1 {
[INFO] [stdout] 392 | | ...                       buf,
[INFO] [stdout] 393 | | ...                       state
[INFO] [stdout] 394 | | ...                   });
[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] 391 |                                     let _ = mem::replace(&mut self.state, DecryptingState::ReadingV1 {
[INFO] [stdout]     |                                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/lib.rs:408:21
[INFO] [stdout]     |
[INFO] [stdout] 408 |                     mem::replace(&mut self.state, DecryptingState::EOF);
[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] 408 |                     let _ = mem::replace(&mut self.state, DecryptingState::EOF);
[INFO] [stdout]     |                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/lib.rs:479:21
[INFO] [stdout]     |
[INFO] [stdout] 479 | /                     mem::replace(&mut self.state, V1State::ReadingNextBlock {
[INFO] [stdout] 480 | |                        aad: MAGIC,
[INFO] [stdout] 481 | |                     });
[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] 479 |                     let _ = mem::replace(&mut self.state, V1State::ReadingNextBlock {
[INFO] [stdout]     |                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/lib.rs:486:25
[INFO] [stdout]     |
[INFO] [stdout] 486 | /                         mem::replace(&mut self.state, V1State::ReadingNextBlock {
[INFO] [stdout] 487 | |                            aad,
[INFO] [stdout] 488 | |                         });
[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] 486 |                         let _ = mem::replace(&mut self.state, V1State::ReadingNextBlock {
[INFO] [stdout]     |                         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/lib.rs:494:29
[INFO] [stdout]     |
[INFO] [stdout] 494 | / ...                   mem::replace(&mut self.state, V1State::ReadingNextBlock {
[INFO] [stdout] 495 | | ...                      aad,
[INFO] [stdout] 496 | | ...                   });
[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] 494 |                             let _ = mem::replace(&mut self.state, V1State::ReadingNextBlock {
[INFO] [stdout]     |                             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/lib.rs:502:29
[INFO] [stdout]     |
[INFO] [stdout] 502 | / ...                   mem::replace(&mut self.state, V1State::ReadingNonce {
[INFO] [stdout] 503 | | ...                      aad,
[INFO] [stdout] 504 | | ...                      length,
[INFO] [stdout] 505 | | ...                   });
[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] 502 |                             let _ = mem::replace(&mut self.state, V1State::ReadingNonce {
[INFO] [stdout]     |                             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/lib.rs:523:25
[INFO] [stdout]     |
[INFO] [stdout] 523 | /                         mem::replace(&mut self.state, V1State::ReadingData {
[INFO] [stdout] 524 | |                            aad,
[INFO] [stdout] 525 | |                            nonce,
[INFO] [stdout] 526 | |                            ciphertext_buffer,
[INFO] [stdout] 527 | |                            length,
[INFO] [stdout] 528 | |                         });
[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] 523 |                         let _ = mem::replace(&mut self.state, V1State::ReadingData {
[INFO] [stdout]     |                         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/lib.rs:538:25
[INFO] [stdout]     |
[INFO] [stdout] 538 | /                         mem::replace(&mut self.state, V1State::ReadingTag {
[INFO] [stdout] 539 | |                            aad,
[INFO] [stdout] 540 | |                            nonce,
[INFO] [stdout] 541 | |                            ciphertext_buffer,
[INFO] [stdout] 542 | |                            length,
[INFO] [stdout] 543 | |                         });
[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] 538 |                         let _ = mem::replace(&mut self.state, V1State::ReadingTag {
[INFO] [stdout]     |                         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/lib.rs:568:29
[INFO] [stdout]     |
[INFO] [stdout] 568 | / ...                   mem::replace(&mut self.state, V1State::ReadingNextBlock {
[INFO] [stdout] 569 | | ...                      aad: tag,
[INFO] [stdout] 570 | | ...                   });
[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] 568 |                             let _ = mem::replace(&mut self.state, V1State::ReadingNextBlock {
[INFO] [stdout]     |                             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/lib.rs:573:29
[INFO] [stdout]     |
[INFO] [stdout] 573 | ...                   mem::replace(&mut self.state, V1State::Errored);
[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] 573 |                             let _ = mem::replace(&mut self.state, V1State::Errored);
[INFO] [stdout]     |                             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.91s
[INFO] running `Command { std: "docker" "inspect" "00d451f07cdea73ab1be83157e1966c08b24358dcdd405d5930280731d77a840", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "00d451f07cdea73ab1be83157e1966c08b24358dcdd405d5930280731d77a840", kill_on_drop: false }`
[INFO] [stdout] 00d451f07cdea73ab1be83157e1966c08b24358dcdd405d5930280731d77a840
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 92a2c31f458053dc938e913c09b0db665a713b565ebb227a6cfdb4fdc3ca2ead
[INFO] running `Command { std: "docker" "start" "-a" "92a2c31f458053dc938e913c09b0db665a713b565ebb227a6cfdb4fdc3ca2ead", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]    Compiling lazy_static v0.2.11
[INFO] [stderr]    Compiling atty v0.2.11
[INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stdout]  --> src/lib.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![cfg_attr(feature = "cargo-clippy", deny(clippy::pedantic))]
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]   |
[INFO] [stdout]   = note: no expected values for `feature`
[INFO] [stdout]   = help: consider adding `cargo-clippy` as a feature in `Cargo.toml`
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]   = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stdout]  --> src/lib.rs:2:13
[INFO] [stdout]   |
[INFO] [stdout] 2 | #![cfg_attr(feature = "cargo-clippy", allow(clippy::cast_possible_truncation))]
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]   |
[INFO] [stdout]   = note: no expected values for `feature`
[INFO] [stdout]   = help: consider adding `cargo-clippy` as a feature in `Cargo.toml`
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/lib.rs:141:21
[INFO] [stdout]     |
[INFO] [stdout] 141 | /                     mem::replace(&mut self.state, EncryptingState::Reading{
[INFO] [stdout] 142 | |                         nonce,
[INFO] [stdout] 143 | |                         buf,
[INFO] [stdout] 144 | |                         aad,
[INFO] [stdout] 145 | |                     });
[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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 141 |                     let _ = mem::replace(&mut self.state, EncryptingState::Reading{
[INFO] [stdout]     |                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/lib.rs:150:29
[INFO] [stdout]     |
[INFO] [stdout] 150 | / ...                   mem::replace(&mut self.state, EncryptingState::Reading{
[INFO] [stdout] 151 | | ...                       nonce,
[INFO] [stdout] 152 | | ...                       buf,
[INFO] [stdout] 153 | | ...                       aad
[INFO] [stdout] 154 | | ...                   });
[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] 150 |                             let _ = mem::replace(&mut self.state, EncryptingState::Reading{
[INFO] [stdout]     |                             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/lib.rs:159:29
[INFO] [stdout]     |
[INFO] [stdout] 159 | ...                   mem::replace(&mut self.state, EncryptingState::EOF);
[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] 159 |                             let _ = mem::replace(&mut self.state, EncryptingState::EOF);
[INFO] [stdout]     |                             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/lib.rs:212:29
[INFO] [stdout]     |
[INFO] [stdout] 212 | / ...                   mem::replace(&mut self.state, EncryptingState::Reading{
[INFO] [stdout] 213 | | ...                       nonce,
[INFO] [stdout] 214 | | ...                       buf: BytesMut::new(),
[INFO] [stdout] 215 | | ...                       aad: res,
[INFO] [stdout] 216 | | ...                   });
[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] 212 |                             let _ = mem::replace(&mut self.state, EncryptingState::Reading{
[INFO] [stdout]     |                             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/lib.rs:227:21
[INFO] [stdout]     |
[INFO] [stdout] 227 |                     mem::replace(&mut self.state, EncryptingState::EOF);
[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] 227 |                     let _ = mem::replace(&mut self.state, EncryptingState::EOF);
[INFO] [stdout]     |                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/lib.rs:264:29
[INFO] [stdout]     |
[INFO] [stdout] 264 | / ...                   mem::replace(&mut self.state, DecryptingState::Start{
[INFO] [stdout] 265 | | ...                       buf
[INFO] [stdout] 266 | | ...                   });
[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] 264 |                             let _ = mem::replace(&mut self.state, DecryptingState::Start{
[INFO] [stdout]     |                             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/lib.rs:281:37
[INFO] [stdout]     |
[INFO] [stdout] 281 | / ...                   mem::replace(&mut self.state, DecryptingState::Start{
[INFO] [stdout] 282 | | ...                       buf
[INFO] [stdout] 283 | | ...                   });
[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] 281 |                                     let _ = mem::replace(&mut self.state, DecryptingState::Start{
[INFO] [stdout]     |                                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/lib.rs:295:29
[INFO] [stdout]     |
[INFO] [stdout] 295 | / ...                   mem::replace(&mut self.state, DecryptingState::GotMagic{
[INFO] [stdout] 296 | | ...                       buf
[INFO] [stdout] 297 | | ...                   });
[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] 295 |                             let _ = mem::replace(&mut self.state, DecryptingState::GotMagic{
[INFO] [stdout]     |                             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/lib.rs:310:29
[INFO] [stdout]     |
[INFO] [stdout] 310 | / ...                   mem::replace(&mut self.state, DecryptingState::ReadingV1 {
[INFO] [stdout] 311 | | ...                       buf,
[INFO] [stdout] 312 | | ...                       state: Version1::new(self.key)
[INFO] [stdout] 313 | | ...                   });
[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] 310 |                             let _ = mem::replace(&mut self.state, DecryptingState::ReadingV1 {
[INFO] [stdout]     |                             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/lib.rs:323:37
[INFO] [stdout]     |
[INFO] [stdout] 323 | / ...                   mem::replace(&mut self.state, DecryptingState::GotMagic {
[INFO] [stdout] 324 | | ...                       buf
[INFO] [stdout] 325 | | ...                   });
[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] 323 |                                     let _ = mem::replace(&mut self.state, DecryptingState::GotMagic {
[INFO] [stdout]     |                                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/lib.rs:334:37
[INFO] [stdout]     |
[INFO] [stdout] 334 | / ...                   mem::replace(&mut self.state, DecryptingState::GotMagic {
[INFO] [stdout] 335 | | ...                       buf
[INFO] [stdout] 336 | | ...                   });
[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] 334 |                                     let _ = mem::replace(&mut self.state, DecryptingState::GotMagic {
[INFO] [stdout]     |                                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/lib.rs:347:29
[INFO] [stdout]     |
[INFO] [stdout] 347 | / ...                   mem::replace(&mut self.state, DecryptingState::ReadingV1 {
[INFO] [stdout] 348 | | ...                       buf,
[INFO] [stdout] 349 | | ...                       state
[INFO] [stdout] 350 | | ...                   });
[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] 347 |                             let _ = mem::replace(&mut self.state, DecryptingState::ReadingV1 {
[INFO] [stdout]     |                             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/lib.rs:359:37
[INFO] [stdout]     |
[INFO] [stdout] 359 | / ...                   mem::replace(&mut self.state, DecryptingState::ReadingV1 {
[INFO] [stdout] 360 | | ...                       buf,
[INFO] [stdout] 361 | | ...                       state
[INFO] [stdout] 362 | | ...                   });
[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] 359 |                                     let _ = mem::replace(&mut self.state, DecryptingState::ReadingV1 {
[INFO] [stdout]     |                                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/lib.rs:366:37
[INFO] [stdout]     |
[INFO] [stdout] 366 | ...                   mem::replace(&mut self.state, DecryptingState::EOF);
[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] 366 |                                     let _ = mem::replace(&mut self.state, DecryptingState::EOF);
[INFO] [stdout]     |                                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/lib.rs:372:37
[INFO] [stdout]     |
[INFO] [stdout] 372 | / ...                   mem::replace(&mut self.state, DecryptingState::ReadingV1 {
[INFO] [stdout] 373 | | ...                       buf,
[INFO] [stdout] 374 | | ...                       state
[INFO] [stdout] 375 | | ...                   });
[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] 372 |                                     let _ = mem::replace(&mut self.state, DecryptingState::ReadingV1 {
[INFO] [stdout]     |                                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/lib.rs:391:37
[INFO] [stdout]     |
[INFO] [stdout] 391 | / ...                   mem::replace(&mut self.state, DecryptingState::ReadingV1 {
[INFO] [stdout] 392 | | ...                       buf,
[INFO] [stdout] 393 | | ...                       state
[INFO] [stdout] 394 | | ...                   });
[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] 391 |                                     let _ = mem::replace(&mut self.state, DecryptingState::ReadingV1 {
[INFO] [stdout]     |                                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/lib.rs:408:21
[INFO] [stdout]     |
[INFO] [stdout] 408 |                     mem::replace(&mut self.state, DecryptingState::EOF);
[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] 408 |                     let _ = mem::replace(&mut self.state, DecryptingState::EOF);
[INFO] [stdout]     |                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/lib.rs:479:21
[INFO] [stdout]     |
[INFO] [stdout] 479 | /                     mem::replace(&mut self.state, V1State::ReadingNextBlock {
[INFO] [stdout] 480 | |                        aad: MAGIC,
[INFO] [stdout] 481 | |                     });
[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] 479 |                     let _ = mem::replace(&mut self.state, V1State::ReadingNextBlock {
[INFO] [stdout]     |                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/lib.rs:486:25
[INFO] [stdout]     |
[INFO] [stdout] 486 | /                         mem::replace(&mut self.state, V1State::ReadingNextBlock {
[INFO] [stdout] 487 | |                            aad,
[INFO] [stdout] 488 | |                         });
[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] 486 |                         let _ = mem::replace(&mut self.state, V1State::ReadingNextBlock {
[INFO] [stdout]     |                         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/lib.rs:494:29
[INFO] [stdout]     |
[INFO] [stdout] 494 | / ...                   mem::replace(&mut self.state, V1State::ReadingNextBlock {
[INFO] [stdout] 495 | | ...                      aad,
[INFO] [stdout] 496 | | ...                   });
[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] 494 |                             let _ = mem::replace(&mut self.state, V1State::ReadingNextBlock {
[INFO] [stdout]     |                             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/lib.rs:502:29
[INFO] [stdout]     |
[INFO] [stdout] 502 | / ...                   mem::replace(&mut self.state, V1State::ReadingNonce {
[INFO] [stdout] 503 | | ...                      aad,
[INFO] [stdout] 504 | | ...                      length,
[INFO] [stdout] 505 | | ...                   });
[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] 502 |                             let _ = mem::replace(&mut self.state, V1State::ReadingNonce {
[INFO] [stdout]     |                             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/lib.rs:523:25
[INFO] [stdout]     |
[INFO] [stdout] 523 | /                         mem::replace(&mut self.state, V1State::ReadingData {
[INFO] [stdout] 524 | |                            aad,
[INFO] [stdout] 525 | |                            nonce,
[INFO] [stdout] 526 | |                            ciphertext_buffer,
[INFO] [stdout] 527 | |                            length,
[INFO] [stdout] 528 | |                         });
[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] 523 |                         let _ = mem::replace(&mut self.state, V1State::ReadingData {
[INFO] [stdout]     |                         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/lib.rs:538:25
[INFO] [stdout]     |
[INFO] [stdout] 538 | /                         mem::replace(&mut self.state, V1State::ReadingTag {
[INFO] [stdout] 539 | |                            aad,
[INFO] [stdout] 540 | |                            nonce,
[INFO] [stdout] 541 | |                            ciphertext_buffer,
[INFO] [stdout] 542 | |                            length,
[INFO] [stdout] 543 | |                         });
[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] 538 |                         let _ = mem::replace(&mut self.state, V1State::ReadingTag {
[INFO] [stdout]     |                         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/lib.rs:568:29
[INFO] [stdout]     |
[INFO] [stdout] 568 | / ...                   mem::replace(&mut self.state, V1State::ReadingNextBlock {
[INFO] [stdout] 569 | | ...                      aad: tag,
[INFO] [stdout] 570 | | ...                   });
[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] 568 |                             let _ = mem::replace(&mut self.state, V1State::ReadingNextBlock {
[INFO] [stdout]     |                             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/lib.rs:573:29
[INFO] [stdout]     |
[INFO] [stdout] 573 | ...                   mem::replace(&mut self.state, V1State::Errored);
[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] 573 |                             let _ = mem::replace(&mut self.state, V1State::Errored);
[INFO] [stdout]     |                             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling thread_local v0.3.4
[INFO] [stderr]    Compiling stderrlog v0.4.3
[INFO] [stderr]    Compiling tokio-aead v0.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> tests/integration.rs:17:53
[INFO] [stdout]    |
[INFO] [stdout] 17 | fn producer(blocksize: usize, length: usize) -> Box<Stream<Item=Bytes, Error=()>> {
[INFO] [stdout]    |                                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 17 | fn producer(blocksize: usize, length: usize) -> Box<dyn Stream<Item=Bytes, Error=()>> {
[INFO] [stdout]    |                                                     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stdout]  --> src/lib.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![cfg_attr(feature = "cargo-clippy", deny(clippy::pedantic))]
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]   |
[INFO] [stdout]   = note: no expected values for `feature`
[INFO] [stdout]   = help: consider adding `cargo-clippy` as a feature in `Cargo.toml`
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]   = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stdout]  --> src/lib.rs:2:13
[INFO] [stdout]   |
[INFO] [stdout] 2 | #![cfg_attr(feature = "cargo-clippy", allow(clippy::cast_possible_truncation))]
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]   |
[INFO] [stdout]   = note: no expected values for `feature`
[INFO] [stdout]   = help: consider adding `cargo-clippy` as a feature in `Cargo.toml`
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/lib.rs:141:21
[INFO] [stdout]     |
[INFO] [stdout] 141 | /                     mem::replace(&mut self.state, EncryptingState::Reading{
[INFO] [stdout] 142 | |                         nonce,
[INFO] [stdout] 143 | |                         buf,
[INFO] [stdout] 144 | |                         aad,
[INFO] [stdout] 145 | |                     });
[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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 141 |                     let _ = mem::replace(&mut self.state, EncryptingState::Reading{
[INFO] [stdout]     |                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/lib.rs:150:29
[INFO] [stdout]     |
[INFO] [stdout] 150 | / ...                   mem::replace(&mut self.state, EncryptingState::Reading{
[INFO] [stdout] 151 | | ...                       nonce,
[INFO] [stdout] 152 | | ...                       buf,
[INFO] [stdout] 153 | | ...                       aad
[INFO] [stdout] 154 | | ...                   });
[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] 150 |                             let _ = mem::replace(&mut self.state, EncryptingState::Reading{
[INFO] [stdout]     |                             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/lib.rs:159:29
[INFO] [stdout]     |
[INFO] [stdout] 159 | ...                   mem::replace(&mut self.state, EncryptingState::EOF);
[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] 159 |                             let _ = mem::replace(&mut self.state, EncryptingState::EOF);
[INFO] [stdout]     |                             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/lib.rs:212:29
[INFO] [stdout]     |
[INFO] [stdout] 212 | / ...                   mem::replace(&mut self.state, EncryptingState::Reading{
[INFO] [stdout] 213 | | ...                       nonce,
[INFO] [stdout] 214 | | ...                       buf: BytesMut::new(),
[INFO] [stdout] 215 | | ...                       aad: res,
[INFO] [stdout] 216 | | ...                   });
[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] 212 |                             let _ = mem::replace(&mut self.state, EncryptingState::Reading{
[INFO] [stdout]     |                             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/lib.rs:227:21
[INFO] [stdout]     |
[INFO] [stdout] 227 |                     mem::replace(&mut self.state, EncryptingState::EOF);
[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] 227 |                     let _ = mem::replace(&mut self.state, EncryptingState::EOF);
[INFO] [stdout]     |                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/lib.rs:264:29
[INFO] [stdout]     |
[INFO] [stdout] 264 | / ...                   mem::replace(&mut self.state, DecryptingState::Start{
[INFO] [stdout] 265 | | ...                       buf
[INFO] [stdout] 266 | | ...                   });
[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] 264 |                             let _ = mem::replace(&mut self.state, DecryptingState::Start{
[INFO] [stdout]     |                             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/lib.rs:281:37
[INFO] [stdout]     |
[INFO] [stdout] 281 | / ...                   mem::replace(&mut self.state, DecryptingState::Start{
[INFO] [stdout] 282 | | ...                       buf
[INFO] [stdout] 283 | | ...                   });
[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] 281 |                                     let _ = mem::replace(&mut self.state, DecryptingState::Start{
[INFO] [stdout]     |                                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/lib.rs:295:29
[INFO] [stdout]     |
[INFO] [stdout] 295 | / ...                   mem::replace(&mut self.state, DecryptingState::GotMagic{
[INFO] [stdout] 296 | | ...                       buf
[INFO] [stdout] 297 | | ...                   });
[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] 295 |                             let _ = mem::replace(&mut self.state, DecryptingState::GotMagic{
[INFO] [stdout]     |                             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/lib.rs:310:29
[INFO] [stdout]     |
[INFO] [stdout] 310 | / ...                   mem::replace(&mut self.state, DecryptingState::ReadingV1 {
[INFO] [stdout] 311 | | ...                       buf,
[INFO] [stdout] 312 | | ...                       state: Version1::new(self.key)
[INFO] [stdout] 313 | | ...                   });
[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] 310 |                             let _ = mem::replace(&mut self.state, DecryptingState::ReadingV1 {
[INFO] [stdout]     |                             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/lib.rs:323:37
[INFO] [stdout]     |
[INFO] [stdout] 323 | / ...                   mem::replace(&mut self.state, DecryptingState::GotMagic {
[INFO] [stdout] 324 | | ...                       buf
[INFO] [stdout] 325 | | ...                   });
[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] 323 |                                     let _ = mem::replace(&mut self.state, DecryptingState::GotMagic {
[INFO] [stdout]     |                                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/lib.rs:334:37
[INFO] [stdout]     |
[INFO] [stdout] 334 | / ...                   mem::replace(&mut self.state, DecryptingState::GotMagic {
[INFO] [stdout] 335 | | ...                       buf
[INFO] [stdout] 336 | | ...                   });
[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] 334 |                                     let _ = mem::replace(&mut self.state, DecryptingState::GotMagic {
[INFO] [stdout]     |                                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/lib.rs:347:29
[INFO] [stdout]     |
[INFO] [stdout] 347 | / ...                   mem::replace(&mut self.state, DecryptingState::ReadingV1 {
[INFO] [stdout] 348 | | ...                       buf,
[INFO] [stdout] 349 | | ...                       state
[INFO] [stdout] 350 | | ...                   });
[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] 347 |                             let _ = mem::replace(&mut self.state, DecryptingState::ReadingV1 {
[INFO] [stdout]     |                             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/lib.rs:359:37
[INFO] [stdout]     |
[INFO] [stdout] 359 | / ...                   mem::replace(&mut self.state, DecryptingState::ReadingV1 {
[INFO] [stdout] 360 | | ...                       buf,
[INFO] [stdout] 361 | | ...                       state
[INFO] [stdout] 362 | | ...                   });
[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] 359 |                                     let _ = mem::replace(&mut self.state, DecryptingState::ReadingV1 {
[INFO] [stdout]     |                                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/lib.rs:366:37
[INFO] [stdout]     |
[INFO] [stdout] 366 | ...                   mem::replace(&mut self.state, DecryptingState::EOF);
[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] 366 |                                     let _ = mem::replace(&mut self.state, DecryptingState::EOF);
[INFO] [stdout]     |                                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/lib.rs:372:37
[INFO] [stdout]     |
[INFO] [stdout] 372 | / ...                   mem::replace(&mut self.state, DecryptingState::ReadingV1 {
[INFO] [stdout] 373 | | ...                       buf,
[INFO] [stdout] 374 | | ...                       state
[INFO] [stdout] 375 | | ...                   });
[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] 372 |                                     let _ = mem::replace(&mut self.state, DecryptingState::ReadingV1 {
[INFO] [stdout]     |                                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/lib.rs:391:37
[INFO] [stdout]     |
[INFO] [stdout] 391 | / ...                   mem::replace(&mut self.state, DecryptingState::ReadingV1 {
[INFO] [stdout] 392 | | ...                       buf,
[INFO] [stdout] 393 | | ...                       state
[INFO] [stdout] 394 | | ...                   });
[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] 391 |                                     let _ = mem::replace(&mut self.state, DecryptingState::ReadingV1 {
[INFO] [stdout]     |                                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/lib.rs:408:21
[INFO] [stdout]     |
[INFO] [stdout] 408 |                     mem::replace(&mut self.state, DecryptingState::EOF);
[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] 408 |                     let _ = mem::replace(&mut self.state, DecryptingState::EOF);
[INFO] [stdout]     |                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/lib.rs:479:21
[INFO] [stdout]     |
[INFO] [stdout] 479 | /                     mem::replace(&mut self.state, V1State::ReadingNextBlock {
[INFO] [stdout] 480 | |                        aad: MAGIC,
[INFO] [stdout] 481 | |                     });
[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] 479 |                     let _ = mem::replace(&mut self.state, V1State::ReadingNextBlock {
[INFO] [stdout]     |                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/lib.rs:486:25
[INFO] [stdout]     |
[INFO] [stdout] 486 | /                         mem::replace(&mut self.state, V1State::ReadingNextBlock {
[INFO] [stdout] 487 | |                            aad,
[INFO] [stdout] 488 | |                         });
[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] 486 |                         let _ = mem::replace(&mut self.state, V1State::ReadingNextBlock {
[INFO] [stdout]     |                         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/lib.rs:494:29
[INFO] [stdout]     |
[INFO] [stdout] 494 | / ...                   mem::replace(&mut self.state, V1State::ReadingNextBlock {
[INFO] [stdout] 495 | | ...                      aad,
[INFO] [stdout] 496 | | ...                   });
[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] 494 |                             let _ = mem::replace(&mut self.state, V1State::ReadingNextBlock {
[INFO] [stdout]     |                             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/lib.rs:502:29
[INFO] [stdout]     |
[INFO] [stdout] 502 | / ...                   mem::replace(&mut self.state, V1State::ReadingNonce {
[INFO] [stdout] 503 | | ...                      aad,
[INFO] [stdout] 504 | | ...                      length,
[INFO] [stdout] 505 | | ...                   });
[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] 502 |                             let _ = mem::replace(&mut self.state, V1State::ReadingNonce {
[INFO] [stdout]     |                             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/lib.rs:523:25
[INFO] [stdout]     |
[INFO] [stdout] 523 | /                         mem::replace(&mut self.state, V1State::ReadingData {
[INFO] [stdout] 524 | |                            aad,
[INFO] [stdout] 525 | |                            nonce,
[INFO] [stdout] 526 | |                            ciphertext_buffer,
[INFO] [stdout] 527 | |                            length,
[INFO] [stdout] 528 | |                         });
[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] 523 |                         let _ = mem::replace(&mut self.state, V1State::ReadingData {
[INFO] [stdout]     |                         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/lib.rs:538:25
[INFO] [stdout]     |
[INFO] [stdout] 538 | /                         mem::replace(&mut self.state, V1State::ReadingTag {
[INFO] [stdout] 539 | |                            aad,
[INFO] [stdout] 540 | |                            nonce,
[INFO] [stdout] 541 | |                            ciphertext_buffer,
[INFO] [stdout] 542 | |                            length,
[INFO] [stdout] 543 | |                         });
[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] 538 |                         let _ = mem::replace(&mut self.state, V1State::ReadingTag {
[INFO] [stdout]     |                         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/lib.rs:568:29
[INFO] [stdout]     |
[INFO] [stdout] 568 | / ...                   mem::replace(&mut self.state, V1State::ReadingNextBlock {
[INFO] [stdout] 569 | | ...                      aad: tag,
[INFO] [stdout] 570 | | ...                   });
[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] 568 |                             let _ = mem::replace(&mut self.state, V1State::ReadingNextBlock {
[INFO] [stdout]     |                             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/lib.rs:573:29
[INFO] [stdout]     |
[INFO] [stdout] 573 | ...                   mem::replace(&mut self.state, V1State::Errored);
[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] 573 |                             let _ = mem::replace(&mut self.state, V1State::Errored);
[INFO] [stdout]     |                             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 2.68s
[INFO] running `Command { std: "docker" "inspect" "92a2c31f458053dc938e913c09b0db665a713b565ebb227a6cfdb4fdc3ca2ead", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "92a2c31f458053dc938e913c09b0db665a713b565ebb227a6cfdb4fdc3ca2ead", kill_on_drop: false }`
[INFO] [stdout] 92a2c31f458053dc938e913c09b0db665a713b565ebb227a6cfdb4fdc3ca2ead
