[INFO] fetching crate tokio-aead 0.0.0...
[INFO] checking tokio-aead-0.0.0 against master#bca37a20bd376ce3fd138e7cdee7fe704e0f8814 for pr-139493-3
[INFO] extracting crate tokio-aead 0.0.0 into /workspace/builds/worker-4-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-4-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate tokio-aead 0.0.0 on toolchain bca37a20bd376ce3fd138e7cdee7fe704e0f8814
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "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" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 59 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.11.0)
[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" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "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 stderrlog v0.4.3
[INFO] [stderr]   Downloaded chacha20-poly1305-aead v0.1.2
[INFO] [stderr]   Downloaded numtoa v0.1.0
[INFO] [stderr]   Downloaded redox_termios v0.1.3
[INFO] [stderr]   Downloaded thread_local v0.3.4
[INFO] [stderr]   Downloaded lazy_static v0.2.11
[INFO] [stderr]   Downloaded termion v1.5.6
[INFO] [stderr]   Downloaded rand v0.5.6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 40c2eaf15d78257dadedea7738cf18f12e077ab289825af8baa62a6de60f33d6
[INFO] running `Command { std: "docker" "start" "-a" "40c2eaf15d78257dadedea7738cf18f12e077ab289825af8baa62a6de60f33d6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "40c2eaf15d78257dadedea7738cf18f12e077ab289825af8baa62a6de60f33d6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "40c2eaf15d78257dadedea7738cf18f12e077ab289825af8baa62a6de60f33d6", kill_on_drop: false }`
[INFO] [stdout] 40c2eaf15d78257dadedea7738cf18f12e077ab289825af8baa62a6de60f33d6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] fb4a4726c59b06eb856b4b2831734cf4c23c931197de7ad0ffa07e8209de4460
[INFO] running `Command { std: "docker" "start" "-a" "fb4a4726c59b06eb856b4b2831734cf4c23c931197de7ad0ffa07e8209de4460", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]     Checking void v1.0.2
[INFO] [stderr]     Checking iana-time-zone v0.1.64
[INFO] [stderr]     Checking lazy_static v0.2.11
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking rand_core v0.3.1
[INFO] [stderr]     Checking chacha20-poly1305-aead v0.1.2
[INFO] [stderr]     Checking atty v0.2.11
[INFO] [stderr]     Checking rand v0.5.6
[INFO] [stderr]     Checking unreachable v1.0.0
[INFO] [stderr]     Checking thread_local v0.3.4
[INFO] [stderr]     Checking 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]     Checking chrono v0.4.42
[INFO] [stderr]     Checking stderrlog v0.4.3
[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 `dev` profile [unoptimized + debuginfo] target(s) in 1.84s
[INFO] running `Command { std: "docker" "inspect" "fb4a4726c59b06eb856b4b2831734cf4c23c931197de7ad0ffa07e8209de4460", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fb4a4726c59b06eb856b4b2831734cf4c23c931197de7ad0ffa07e8209de4460", kill_on_drop: false }`
[INFO] [stdout] fb4a4726c59b06eb856b4b2831734cf4c23c931197de7ad0ffa07e8209de4460
