[INFO] fetching crate tokio-aead 0.0.0... [INFO] checking tokio-aead-0.0.0 against try#39e1293fce4b650061e85dda88aa428f726a8444 for pr-88041 [INFO] extracting crate tokio-aead 0.0.0 into /workspace/builds/worker-74/source [INFO] validating manifest of crates.io crate tokio-aead 0.0.0 on toolchain 39e1293fce4b650061e85dda88aa428f726a8444 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39e1293fce4b650061e85dda88aa428f726a8444" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-74/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39e1293fce4b650061e85dda88aa428f726a8444" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39e1293fce4b650061e85dda88aa428f726a8444" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded chacha20-poly1305-aead v0.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-74/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-74/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+39e1293fce4b650061e85dda88aa428f726a8444" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 132f1943416855105a97fd843057b3cc4e06efa0b20af5708cc0a5f39d3f4a7a [INFO] running `Command { std: "docker" "start" "-a" "132f1943416855105a97fd843057b3cc4e06efa0b20af5708cc0a5f39d3f4a7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "132f1943416855105a97fd843057b3cc4e06efa0b20af5708cc0a5f39d3f4a7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "132f1943416855105a97fd843057b3cc4e06efa0b20af5708cc0a5f39d3f4a7a", kill_on_drop: false }` [INFO] [stdout] 132f1943416855105a97fd843057b3cc4e06efa0b20af5708cc0a5f39d3f4a7a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-74/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-74/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+39e1293fce4b650061e85dda88aa428f726a8444" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 86393cf4f4c30dd7b91393fb755f7ce2ce6a52b6e6d23888c9adb1c68ecb018a [INFO] running `Command { std: "docker" "start" "-a" "86393cf4f4c30dd7b91393fb755f7ce2ce6a52b6e6d23888c9adb1c68ecb018a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking chacha20-poly1305-aead v0.1.2 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking thread_local v0.3.4 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking tokio-aead v0.0.0 (/opt/rustwide/workdir) [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: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking chrono v0.4.19 [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> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Stream` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [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: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.70s [INFO] running `Command { std: "docker" "inspect" "86393cf4f4c30dd7b91393fb755f7ce2ce6a52b6e6d23888c9adb1c68ecb018a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86393cf4f4c30dd7b91393fb755f7ce2ce6a52b6e6d23888c9adb1c68ecb018a", kill_on_drop: false }` [INFO] [stdout] 86393cf4f4c30dd7b91393fb755f7ce2ce6a52b6e6d23888c9adb1c68ecb018a