[INFO] fetching crate tokio-aead 0.0.0... [INFO] testing tokio-aead-0.0.0 against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] extracting crate tokio-aead 0.0.0 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate tokio-aead 0.0.0 on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "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-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6e144aa3afc96f38bfeeedc49b4823a3a72b4bda92e5273f7fcedb371045f58f [INFO] running `Command { std: "docker" "start" "-a" "6e144aa3afc96f38bfeeedc49b4823a3a72b4bda92e5273f7fcedb371045f58f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6e144aa3afc96f38bfeeedc49b4823a3a72b4bda92e5273f7fcedb371045f58f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e144aa3afc96f38bfeeedc49b4823a3a72b4bda92e5273f7fcedb371045f58f", kill_on_drop: false }` [INFO] [stdout] 6e144aa3afc96f38bfeeedc49b4823a3a72b4bda92e5273f7fcedb371045f58f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0df99f9d396f99cfe7bc6788497bc3ac1d78382847f9af089e5b1a334efacbcc [INFO] running `Command { std: "docker" "start" "-a" "0df99f9d396f99cfe7bc6788497bc3ac1d78382847f9af089e5b1a334efacbcc", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.95 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling chacha20-poly1305-aead v0.1.2 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling 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] Finished dev [unoptimized + debuginfo] target(s) in 5.09s [INFO] running `Command { std: "docker" "inspect" "0df99f9d396f99cfe7bc6788497bc3ac1d78382847f9af089e5b1a334efacbcc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0df99f9d396f99cfe7bc6788497bc3ac1d78382847f9af089e5b1a334efacbcc", kill_on_drop: false }` [INFO] [stdout] 0df99f9d396f99cfe7bc6788497bc3ac1d78382847f9af089e5b1a334efacbcc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6e1a907d5e7bed663335a54a8acacc3c7310f8416d74a84986f4fad0706d6489 [INFO] running `Command { std: "docker" "start" "-a" "6e1a907d5e7bed663335a54a8acacc3c7310f8416d74a84986f4fad0706d6489", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling atty v0.2.11 [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] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling thread_local v0.3.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling chrono v0.4.19 [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> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Stream` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 7.43s [INFO] running `Command { std: "docker" "inspect" "6e1a907d5e7bed663335a54a8acacc3c7310f8416d74a84986f4fad0706d6489", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e1a907d5e7bed663335a54a8acacc3c7310f8416d74a84986f4fad0706d6489", kill_on_drop: false }` [INFO] [stdout] 6e1a907d5e7bed663335a54a8acacc3c7310f8416d74a84986f4fad0706d6489 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 62f0ad76328443ab4de361ab5eeb608d009d37d69d3c6a6729d6c90d931c63d5 [INFO] running `Command { std: "docker" "start" "-a" "62f0ad76328443ab4de361ab5eeb608d009d37d69d3c6a6729d6c90d931c63d5", kill_on_drop: false }` [INFO] [stdout] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] running 3 tests [INFO] [stderr] --> src/lib.rs:141:21 [INFO] [stdout] test buf::tests::test_append ... ok [INFO] [stderr] | [INFO] [stdout] test buf::tests::test_read ... ok [INFO] [stderr] 141 | / mem::replace(&mut self.state, EncryptingState::Reading{ [INFO] [stdout] test buf::tests::test_need_more_bytes ... ok [INFO] [stderr] 142 | | nonce, [INFO] [stdout] [INFO] [stderr] 143 | | buf, [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] 144 | | aad, [INFO] [stdout] [INFO] [stderr] 145 | | }); [INFO] [stdout] [INFO] [stderr] | |_______________________^ [INFO] [stdout] running 0 tests [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] running 1 test [INFO] [stderr] --> src/lib.rs:150:29 [INFO] [stderr] | [INFO] [stderr] 150 | / ... mem::replace(&mut self.state, EncryptingState::Reading{ [INFO] [stderr] 151 | | ... nonce, [INFO] [stderr] 152 | | ... buf, [INFO] [stderr] 153 | | ... aad [INFO] [stderr] 154 | | ... }); [INFO] [stderr] | |_________________________^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/lib.rs:159:29 [INFO] [stderr] | [INFO] [stderr] 159 | ... mem::replace(&mut self.state, EncryptingState::EOF); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/lib.rs:212:29 [INFO] [stderr] | [INFO] [stderr] 212 | / ... mem::replace(&mut self.state, EncryptingState::Reading{ [INFO] [stderr] 213 | | ... nonce, [INFO] [stderr] 214 | | ... buf: BytesMut::new(), [INFO] [stderr] 215 | | ... aad: res, [INFO] [stderr] 216 | | ... }); [INFO] [stderr] | |_________________________^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/lib.rs:227:21 [INFO] [stderr] | [INFO] [stderr] 227 | mem::replace(&mut self.state, EncryptingState::EOF); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/lib.rs:264:29 [INFO] [stderr] | [INFO] [stderr] 264 | / ... mem::replace(&mut self.state, DecryptingState::Start{ [INFO] [stderr] 265 | | ... buf [INFO] [stderr] 266 | | ... }); [INFO] [stderr] | |_________________________^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/lib.rs:281:37 [INFO] [stderr] | [INFO] [stderr] 281 | / ... mem::replace(&mut self.state, DecryptingState::Start{ [INFO] [stderr] 282 | | ... buf [INFO] [stderr] 283 | | ... }); [INFO] [stderr] | |_________________________^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/lib.rs:295:29 [INFO] [stderr] | [INFO] [stderr] 295 | / ... mem::replace(&mut self.state, DecryptingState::GotMagic{ [INFO] [stderr] 296 | | ... buf [INFO] [stderr] 297 | | ... }); [INFO] [stderr] | |_________________________^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/lib.rs:310:29 [INFO] [stderr] | [INFO] [stderr] 310 | / ... mem::replace(&mut self.state, DecryptingState::ReadingV1 { [INFO] [stderr] 311 | | ... buf, [INFO] [stderr] 312 | | ... state: Version1::new(self.key) [INFO] [stderr] 313 | | ... }); [INFO] [stderr] | |_________________________^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/lib.rs:323:37 [INFO] [stderr] | [INFO] [stderr] 323 | / ... mem::replace(&mut self.state, DecryptingState::GotMagic { [INFO] [stderr] 324 | | ... buf [INFO] [stderr] 325 | | ... }); [INFO] [stderr] | |_________________________^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/lib.rs:334:37 [INFO] [stderr] | [INFO] [stderr] 334 | / ... mem::replace(&mut self.state, DecryptingState::GotMagic { [INFO] [stderr] 335 | | ... buf [INFO] [stderr] 336 | | ... }); [INFO] [stderr] | |_________________________^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/lib.rs:347:29 [INFO] [stderr] | [INFO] [stderr] 347 | / ... mem::replace(&mut self.state, DecryptingState::ReadingV1 { [INFO] [stderr] 348 | | ... buf, [INFO] [stderr] 349 | | ... state [INFO] [stderr] 350 | | ... }); [INFO] [stderr] | |_________________________^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/lib.rs:359:37 [INFO] [stderr] | [INFO] [stderr] 359 | / ... mem::replace(&mut self.state, DecryptingState::ReadingV1 { [INFO] [stderr] 360 | | ... buf, [INFO] [stderr] 361 | | ... state [INFO] [stderr] 362 | | ... }); [INFO] [stderr] | |_________________________^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/lib.rs:366:37 [INFO] [stderr] | [INFO] [stderr] 366 | ... mem::replace(&mut self.state, DecryptingState::EOF); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/lib.rs:372:37 [INFO] [stderr] | [INFO] [stderr] 372 | / ... mem::replace(&mut self.state, DecryptingState::ReadingV1 { [INFO] [stderr] 373 | | ... buf, [INFO] [stderr] 374 | | ... state [INFO] [stderr] 375 | | ... }); [INFO] [stderr] | |_________________________^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/lib.rs:391:37 [INFO] [stderr] | [INFO] [stderr] 391 | / ... mem::replace(&mut self.state, DecryptingState::ReadingV1 { [INFO] [stderr] 392 | | ... buf, [INFO] [stderr] 393 | | ... state [INFO] [stderr] 394 | | ... }); [INFO] [stderr] | |_________________________^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/lib.rs:408:21 [INFO] [stderr] | [INFO] [stderr] 408 | mem::replace(&mut self.state, DecryptingState::EOF); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/lib.rs:479:21 [INFO] [stderr] | [INFO] [stderr] 479 | / mem::replace(&mut self.state, V1State::ReadingNextBlock { [INFO] [stderr] 480 | | aad: MAGIC, [INFO] [stderr] 481 | | }); [INFO] [stderr] | |_______________________^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/lib.rs:486:25 [INFO] [stderr] | [INFO] [stderr] 486 | / mem::replace(&mut self.state, V1State::ReadingNextBlock { [INFO] [stderr] 487 | | aad, [INFO] [stderr] 488 | | }); [INFO] [stderr] | |___________________________^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/lib.rs:494:29 [INFO] [stderr] | [INFO] [stderr] 494 | / ... mem::replace(&mut self.state, V1State::ReadingNextBlock { [INFO] [stderr] 495 | | ... aad, [INFO] [stderr] 496 | | ... }); [INFO] [stderr] | |_________________________^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/lib.rs:502:29 [INFO] [stderr] | [INFO] [stderr] 502 | / ... mem::replace(&mut self.state, V1State::ReadingNonce { [INFO] [stderr] 503 | | ... aad, [INFO] [stderr] 504 | | ... length, [INFO] [stderr] 505 | | ... }); [INFO] [stderr] | |_________________________^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/lib.rs:523:25 [INFO] [stderr] | [INFO] [stderr] 523 | / mem::replace(&mut self.state, V1State::ReadingData { [INFO] [stderr] 524 | | aad, [INFO] [stderr] 525 | | nonce, [INFO] [stderr] 526 | | ciphertext_buffer, [INFO] [stderr] 527 | | length, [INFO] [stderr] 528 | | }); [INFO] [stderr] | |___________________________^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/lib.rs:538:25 [INFO] [stderr] | [INFO] [stderr] 538 | / mem::replace(&mut self.state, V1State::ReadingTag { [INFO] [stderr] 539 | | aad, [INFO] [stderr] 540 | | nonce, [INFO] [stderr] 541 | | ciphertext_buffer, [INFO] [stderr] 542 | | length, [INFO] [stderr] 543 | | }); [INFO] [stderr] | |___________________________^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/lib.rs:568:29 [INFO] [stderr] | [INFO] [stderr] 568 | / ... mem::replace(&mut self.state, V1State::ReadingNextBlock { [INFO] [stderr] 569 | | ... aad: tag, [INFO] [stderr] 570 | | ... }); [INFO] [stderr] | |_________________________^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/lib.rs:573:29 [INFO] [stderr] | [INFO] [stderr] 573 | ... mem::replace(&mut self.state, V1State::Errored); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: 25 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> tests/integration.rs:17:53 [INFO] [stderr] | [INFO] [stderr] 17 | fn producer(blocksize: usize, length: usize) -> Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Stream` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/lib.rs:141:21 [INFO] [stderr] | [INFO] [stderr] 141 | / mem::replace(&mut self.state, EncryptingState::Reading{ [INFO] [stderr] 142 | | nonce, [INFO] [stderr] 143 | | buf, [INFO] [stderr] 144 | | aad, [INFO] [stderr] 145 | | }); [INFO] [stderr] | |_______________________^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/lib.rs:150:29 [INFO] [stderr] | [INFO] [stderr] 150 | / ... mem::replace(&mut self.state, EncryptingState::Reading{ [INFO] [stderr] 151 | | ... nonce, [INFO] [stderr] 152 | | ... buf, [INFO] [stderr] 153 | | ... aad [INFO] [stderr] 154 | | ... }); [INFO] [stderr] | |_________________________^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/lib.rs:159:29 [INFO] [stderr] | [INFO] [stderr] 159 | ... mem::replace(&mut self.state, EncryptingState::EOF); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/lib.rs:212:29 [INFO] [stderr] | [INFO] [stderr] 212 | / ... mem::replace(&mut self.state, EncryptingState::Reading{ [INFO] [stderr] 213 | | ... nonce, [INFO] [stderr] 214 | | ... buf: BytesMut::new(), [INFO] [stderr] 215 | | ... aad: res, [INFO] [stderr] 216 | | ... }); [INFO] [stderr] | |_________________________^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/lib.rs:227:21 [INFO] [stderr] | [INFO] [stderr] 227 | mem::replace(&mut self.state, EncryptingState::EOF); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/lib.rs:264:29 [INFO] [stderr] | [INFO] [stderr] 264 | / ... mem::replace(&mut self.state, DecryptingState::Start{ [INFO] [stderr] 265 | | ... buf [INFO] [stderr] 266 | | ... }); [INFO] [stderr] | |_________________________^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/lib.rs:281:37 [INFO] [stderr] | [INFO] [stderr] 281 | / ... mem::replace(&mut self.state, DecryptingState::Start{ [INFO] [stderr] 282 | | ... buf [INFO] [stderr] 283 | | ... }); [INFO] [stderr] | |_________________________^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/lib.rs:295:29 [INFO] [stderr] | [INFO] [stderr] 295 | / ... mem::replace(&mut self.state, DecryptingState::GotMagic{ [INFO] [stderr] 296 | | ... buf [INFO] [stderr] 297 | | ... }); [INFO] [stderr] | |_________________________^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/lib.rs:310:29 [INFO] [stderr] | [INFO] [stderr] 310 | / ... mem::replace(&mut self.state, DecryptingState::ReadingV1 { [INFO] [stderr] 311 | | ... buf, [INFO] [stderr] 312 | | ... state: Version1::new(self.key) [INFO] [stderr] 313 | | ... }); [INFO] [stderr] | |_________________________^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/lib.rs:323:37 [INFO] [stderr] | [INFO] [stderr] 323 | / ... mem::replace(&mut self.state, DecryptingState::GotMagic { [INFO] [stderr] 324 | | ... buf [INFO] [stderr] 325 | | ... }); [INFO] [stderr] | |_________________________^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/lib.rs:334:37 [INFO] [stderr] | [INFO] [stderr] 334 | / ... mem::replace(&mut self.state, DecryptingState::GotMagic { [INFO] [stderr] 335 | | ... buf [INFO] [stderr] 336 | | ... }); [INFO] [stderr] | |_________________________^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/lib.rs:347:29 [INFO] [stderr] | [INFO] [stderr] 347 | / ... mem::replace(&mut self.state, DecryptingState::ReadingV1 { [INFO] [stderr] 348 | | ... buf, [INFO] [stderr] 349 | | ... state [INFO] [stderr] 350 | | ... }); [INFO] [stderr] | |_________________________^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/lib.rs:359:37 [INFO] [stderr] | [INFO] [stderr] 359 | / ... mem::replace(&mut self.state, DecryptingState::ReadingV1 { [INFO] [stderr] 360 | | ... buf, [INFO] [stderr] 361 | | ... state [INFO] [stderr] 362 | | ... }); [INFO] [stderr] | |_________________________^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/lib.rs:366:37 [INFO] [stderr] | [INFO] [stderr] 366 | ... mem::replace(&mut self.state, DecryptingState::EOF); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/lib.rs:372:37 [INFO] [stderr] | [INFO] [stderr] 372 | / ... mem::replace(&mut self.state, DecryptingState::ReadingV1 { [INFO] [stderr] 373 | | ... buf, [INFO] [stderr] 374 | | ... state [INFO] [stderr] 375 | | ... }); [INFO] [stderr] | |_________________________^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/lib.rs:391:37 [INFO] [stderr] | [INFO] [stderr] 391 | / ... mem::replace(&mut self.state, DecryptingState::ReadingV1 { [INFO] [stderr] 392 | | ... buf, [INFO] [stderr] 393 | | ... state [INFO] [stderr] 394 | | ... }); [INFO] [stderr] | |_________________________^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/lib.rs:408:21 [INFO] [stderr] | [INFO] [stderr] 408 | mem::replace(&mut self.state, DecryptingState::EOF); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/lib.rs:479:21 [INFO] [stderr] | [INFO] [stderr] 479 | / mem::replace(&mut self.state, V1State::ReadingNextBlock { [INFO] [stderr] 480 | | aad: MAGIC, [INFO] [stderr] 481 | | }); [INFO] [stderr] | |_______________________^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/lib.rs:486:25 [INFO] [stderr] | [INFO] [stderr] 486 | / mem::replace(&mut self.state, V1State::ReadingNextBlock { [INFO] [stderr] 487 | | aad, [INFO] [stderr] 488 | | }); [INFO] [stderr] | |___________________________^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/lib.rs:494:29 [INFO] [stderr] | [INFO] [stderr] 494 | / ... mem::replace(&mut self.state, V1State::ReadingNextBlock { [INFO] [stderr] 495 | | ... aad, [INFO] [stderr] 496 | | ... }); [INFO] [stderr] | |_________________________^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/lib.rs:502:29 [INFO] [stderr] | [INFO] [stderr] 502 | / ... mem::replace(&mut self.state, V1State::ReadingNonce { [INFO] [stderr] 503 | | ... aad, [INFO] [stderr] 504 | | ... length, [INFO] [stderr] 505 | | ... }); [INFO] [stderr] | |_________________________^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/lib.rs:523:25 [INFO] [stderr] | [INFO] [stderr] 523 | / mem::replace(&mut self.state, V1State::ReadingData { [INFO] [stderr] 524 | | aad, [INFO] [stderr] 525 | | nonce, [INFO] [stderr] 526 | | ciphertext_buffer, [INFO] [stderr] 527 | | length, [INFO] [stderr] 528 | | }); [INFO] [stderr] | |___________________________^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/lib.rs:538:25 [INFO] [stderr] | [INFO] [stderr] 538 | / mem::replace(&mut self.state, V1State::ReadingTag { [INFO] [stderr] 539 | | aad, [INFO] [stderr] 540 | | nonce, [INFO] [stderr] 541 | | ciphertext_buffer, [INFO] [stderr] 542 | | length, [INFO] [stderr] 543 | | }); [INFO] [stderr] | |___________________________^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/lib.rs:568:29 [INFO] [stderr] | [INFO] [stderr] 568 | / ... mem::replace(&mut self.state, V1State::ReadingNextBlock { [INFO] [stderr] 569 | | ... aad: tag, [INFO] [stderr] 570 | | ... }); [INFO] [stderr] | |_________________________^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/lib.rs:573:29 [INFO] [stderr] | [INFO] [stderr] 573 | ... mem::replace(&mut self.state, V1State::Errored); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: 25 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/tokio_aead-3695681132cfaaf7) [INFO] [stderr] Running tests/common.rs (/opt/rustwide/target/debug/deps/common-e17cccd4326e67dc) [INFO] [stderr] Running tests/integration.rs (/opt/rustwide/target/debug/deps/integration-67ecf93abdd76ade) [INFO] [stderr] TRACE - cleartext buffer len 8192 [INFO] [stderr] TRACE - encrypting block input len 4096 output len 36 [INFO] [stderr] TRACE - output len 4132 after [INFO] [stderr] TRACE - ciphering nonce: [46, 255, 112, 175, 207, 52, 224, 157, 0, 0, 0, 0] tag: [172, 143, 137, 96, 29, 78, 10, 95, 62, 205, 17, 61, 241, 72, 9, 125] [INFO] [stderr] TRACE - encrypting block input len 4096 output len 4164 [INFO] [stderr] TRACE - output len 8260 after [INFO] [stderr] TRACE - ciphering nonce: [46, 255, 112, 175, 207, 52, 224, 158, 0, 0, 0, 0] tag: [26, 25, 17, 190, 84, 90, 13, 228, 197, 73, 96, 204, 99, 170, 77, 194] [INFO] [stderr] TRACE - output buffer len 8276 [INFO] [stderr] TRACE - reading 4096 bytes of ciphertext [INFO] [stderr] TRACE - deciphering nonce: [46, 255, 112, 175, 207, 52, 224, 157, 0, 0, 0, 0] tag: [172, 143, 137, 96, 29, 78, 10, 95, 62, 205, 17, 61, 241, 72, 9, 125] [INFO] [stderr] TRACE - reading 4096 bytes of ciphertext [INFO] [stderr] TRACE - deciphering nonce: [46, 255, 112, 175, 207, 52, 224, 158, 0, 0, 0, 0] tag: [26, 25, 17, 190, 84, 90, 13, 228, 197, 73, 96, 204, 99, 170, 77, 194] [INFO] [stderr] TRACE - cleartext buffer len 8192 [INFO] [stderr] TRACE - encrypting block input len 4096 output len 16 [INFO] [stderr] TRACE - output len 4112 after [INFO] [stderr] TRACE - ciphering nonce: [46, 255, 112, 175, 207, 52, 224, 159, 0, 0, 0, 0] tag: [35, 246, 46, 42, 226, 169, 226, 36, 233, 220, 190, 144, 129, 16, 71, 240] [INFO] [stderr] TRACE - encrypting block input len 4096 output len 4144 [INFO] [stderr] TRACE - output len 8240 after [INFO] [stderr] TRACE - ciphering nonce: [46, 255, 112, 175, 207, 52, 224, 160, 0, 0, 0, 0] tag: [57, 34, 29, 55, 114, 161, 210, 122, 0, 113, 0, 55, 239, 92, 178, 45] [INFO] [stderr] TRACE - output buffer len 8256 [INFO] [stderr] TRACE - reading 4096 bytes of ciphertext [INFO] [stderr] TRACE - deciphering nonce: [46, 255, 112, 175, 207, 52, 224, 159, 0, 0, 0, 0] tag: [35, 246, 46, 42, 226, 169, 226, 36, 233, 220, 190, 144, 129, 16, 71, 240] [INFO] [stderr] TRACE - reading 4096 bytes of ciphertext [INFO] [stderr] TRACE - deciphering nonce: [46, 255, 112, 175, 207, 52, 224, 160, 0, 0, 0, 0] tag: [57, 34, 29, 55, 114, 161, 210, 122, 0, 113, 0, 55, 239, 92, 178, 45] [INFO] [stderr] TRACE - cleartext buffer len 8192 [INFO] [stderr] TRACE - encrypting block input len 4096 output len 16 [INFO] [stderr] TRACE - output len 4112 after [INFO] [stderr] TRACE - ciphering nonce: [46, 255, 112, 175, 207, 52, 224, 161, 0, 0, 0, 0] tag: [234, 154, 86, 248, 8, 20, 213, 12, 136, 147, 106, 192, 169, 135, 82, 32] [INFO] [stderr] TRACE - encrypting block input len 4096 output len 4144 [INFO] [stderr] TRACE - output len 8240 after [INFO] [stderr] TRACE - ciphering nonce: [46, 255, 112, 175, 207, 52, 224, 162, 0, 0, 0, 0] tag: [48, 142, 253, 75, 206, 77, 134, 222, 133, 77, 31, 172, 172, 66, 212, 74] [INFO] [stderr] TRACE - output buffer len 8256 [INFO] [stderr] TRACE - reading 4096 bytes of ciphertext [INFO] [stderr] TRACE - deciphering nonce: [46, 255, 112, 175, 207, 52, 224, 161, 0, 0, 0, 0] tag: [234, 154, 86, 248, 8, 20, 213, 12, 136, 147, 106, 192, 169, 135, 82, 32] [INFO] [stderr] TRACE - reading 4096 bytes of ciphertext [INFO] [stderr] TRACE - deciphering nonce: [46, 255, 112, 175, 207, 52, 224, 162, 0, 0, 0, 0] tag: [48, 142, 253, 75, 206, 77, 134, 222, 133, 77, 31, 172, 172, 66, 212, 74] [INFO] [stderr] TRACE - cleartext buffer len 8192 [INFO] [stderr] TRACE - encrypting block input len 4096 output len 16 [INFO] [stderr] TRACE - output len 4112 after [INFO] [stderr] TRACE - ciphering nonce: [46, 255, 112, 175, 207, 52, 224, 163, 0, 0, 0, 0] tag: [36, 63, 242, 26, 146, 75, 145, 130, 123, 36, 130, 198, 137, 42, 75, 245] [INFO] [stderr] TRACE - encrypting block input len 4096 output len 4144 [INFO] [stderr] TRACE - output len 8240 after [INFO] [stderr] TRACE - ciphering nonce: [46, 255, 112, 175, 207, 52, 224, 164, 0, 0, 0, 0] tag: [187, 183, 203, 182, 153, 120, 225, 224, 126, 171, 160, 108, 46, 54, 177, 183] [INFO] [stderr] TRACE - output buffer len 8256 [INFO] [stderr] TRACE - reading 4096 bytes of ciphertext [INFO] [stderr] TRACE - deciphering nonce: [46, 255, 112, 175, 207, 52, 224, 163, 0, 0, 0, 0] tag: [36, 63, 242, 26, 146, 75, 145, 130, 123, 36, 130, 198, 137, 42, 75, 245] [INFO] [stderr] TRACE - reading 4096 bytes of ciphertext [INFO] [stderr] TRACE - deciphering nonce: [46, 255, 112, 175, 207, 52, 224, 164, 0, 0, 0, 0] tag: [187, 183, 203, 182, 153, 120, 225, 224, 126, 171, 160, 108, 46, 54, 177, 183] [INFO] [stderr] TRACE - cleartext buffer len 8192 [INFO] [stderr] TRACE - encrypting block input len 4096 output len 16 [INFO] [stderr] TRACE - output len 4112 after [INFO] [stderr] TRACE - ciphering nonce: [46, 255, 112, 175, 207, 52, 224, 165, 0, 0, 0, 0] tag: [25, 38, 62, 62, 81, 173, 54, 43, 31, 14, 160, 169, 198, 230, 249, 127] [INFO] [stderr] TRACE - encrypting block input len 4096 output len 4144 [INFO] [stderr] TRACE - output len 8240 after [INFO] [stderr] TRACE - ciphering nonce: [46, 255, 112, 175, 207, 52, 224, 166, 0, 0, 0, 0] tag: [32, 148, 239, 86, 166, 13, 33, 80, 46, 220, 231, 205, 109, 156, 165, 207] [INFO] [stderr] TRACE - output buffer len 8256 [INFO] [stderr] TRACE - reading 4096 bytes of ciphertext [INFO] [stderr] TRACE - deciphering nonce: [46, 255, 112, 175, 207, 52, 224, 165, 0, 0, 0, 0] tag: [25, 38, 62, 62, 81, 173, 54, 43, 31, 14, 160, 169, 198, 230, 249, 127] [INFO] [stderr] TRACE - reading 4096 bytes of ciphertext [INFO] [stderr] TRACE - deciphering nonce: [46, 255, 112, 175, 207, 52, 224, 166, 0, 0, 0, 0] tag: [32, 148, 239, 86, 166, 13, 33, 80, 46, 220, 231, 205, 109, 156, 165, 207] [INFO] [stderr] TRACE - cleartext buffer len 8192 [INFO] [stderr] TRACE - encrypting block input len 4096 output len 16 [INFO] [stderr] TRACE - output len 4112 after [INFO] [stderr] TRACE - ciphering nonce: [46, 255, 112, 175, 207, 52, 224, 167, 0, 0, 0, 0] tag: [251, 35, 118, 142, 112, 122, 178, 50, 185, 246, 146, 170, 143, 76, 118, 72] [INFO] [stderr] TRACE - encrypting block input len 4096 output len 4144 [INFO] [stderr] TRACE - output len 8240 after [INFO] [stderr] TRACE - ciphering nonce: [46, 255, 112, 175, 207, 52, 224, 168, 0, 0, 0, 0] tag: [79, 201, 73, 68, 27, 61, 221, 222, 249, 51, 125, 114, 169, 128, 30, 212] [INFO] [stderr] TRACE - output buffer len 8256 [INFO] [stderr] TRACE - reading 4096 bytes of ciphertext [INFO] [stderr] TRACE - deciphering nonce: [46, 255, 112, 175, 207, 52, 224, 167, 0, 0, 0, 0] tag: [251, 35, 118, 142, 112, 122, 178, 50, 185, 246, 146, 170, 143, 76, 118, 72] [INFO] [stderr] TRACE - reading 4096 bytes of ciphertext [INFO] [stderr] TRACE - deciphering nonce: [46, 255, 112, 175, 207, 52, 224, 168, 0, 0, 0, 0] tag: [79, 201, 73, 68, 27, 61, 221, 222, 249, 51, 125, 114, 169, 128, 30, 212] [INFO] [stderr] TRACE - cleartext buffer len 8192 [INFO] [stderr] TRACE - encrypting block input len 4096 output len 16 [INFO] [stderr] TRACE - output len 4112 after [INFO] [stderr] TRACE - ciphering nonce: [46, 255, 112, 175, 207, 52, 224, 169, 0, 0, 0, 0] tag: [160, 84, 249, 179, 61, 78, 223, 239, 102, 199, 7, 134, 1, 226, 127, 103] [INFO] [stderr] TRACE - encrypting block input len 4096 output len 4144 [INFO] [stderr] TRACE - output len 8240 after [INFO] [stderr] TRACE - ciphering nonce: [46, 255, 112, 175, 207, 52, 224, 170, 0, 0, 0, 0] tag: [93, 134, 29, 252, 165, 87, 175, 251, 231, 46, 52, 201, 76, 133, 115, 213] [INFO] [stderr] TRACE - output buffer len 8256 [INFO] [stderr] TRACE - reading 4096 bytes of ciphertext [INFO] [stderr] TRACE - deciphering nonce: [46, 255, 112, 175, 207, 52, 224, 169, 0, 0, 0, 0] tag: [160, 84, 249, 179, 61, 78, 223, 239, 102, 199, 7, 134, 1, 226, 127, 103] [INFO] [stderr] TRACE - reading 4096 bytes of ciphertext [INFO] [stderr] TRACE - deciphering nonce: [46, 255, 112, 175, 207, 52, 224, 170, 0, 0, 0, 0] tag: [93, 134, 29, 252, 165, 87, 175, 251, 231, 46, 52, 201, 76, 133, 115, 213] [INFO] [stderr] TRACE - cleartext buffer len 8192 [INFO] [stderr] TRACE - encrypting block input len 4096 output len 16 [INFO] [stderr] TRACE - output len 4112 after [INFO] [stderr] TRACE - ciphering nonce: [46, 255, 112, 175, 207, 52, 224, 171, 0, 0, 0, 0] tag: [118, 91, 151, 36, 244, 104, 165, 19, 138, 138, 3, 0, 238, 232, 16, 165] [INFO] [stderr] TRACE - encrypting block input len 4096 output len 4144 [INFO] [stderr] TRACE - output len 8240 after [INFO] [stderr] TRACE - ciphering nonce: [46, 255, 112, 175, 207, 52, 224, 172, 0, 0, 0, 0] tag: [138, 212, 95, 96, 90, 9, 160, 41, 194, 67, 72, 37, 238, 134, 237, 77] [INFO] [stderr] TRACE - output buffer len 8256 [INFO] [stderr] TRACE - reading 4096 bytes of ciphertext [INFO] [stderr] TRACE - deciphering nonce: [46, 255, 112, 175, 207, 52, 224, 171, 0, 0, 0, 0] tag: [118, 91, 151, 36, 244, 104, 165, 19, 138, 138, 3, 0, 238, 232, 16, 165] [INFO] [stderr] TRACE - reading 4096 bytes of ciphertext [INFO] [stderr] TRACE - deciphering nonce: [46, 255, 112, 175, 207, 52, 224, 172, 0, 0, 0, 0] tag: [138, 212, 95, 96, 90, 9, 160, 41, 194, 67, 72, 37, 238, 134, 237, 77] [INFO] [stderr] TRACE - cleartext buffer len 8192 [INFO] [stderr] TRACE - encrypting block input len 4096 output len 16 [INFO] [stderr] TRACE - output len 4112 after [INFO] [stderr] TRACE - ciphering nonce: [46, 255, 112, 175, 207, 52, 224, 173, 0, 0, 0, 0] tag: [49, 46, 142, 164, 245, 187, 132, 63, 138, 230, 166, 226, 52, 14, 65, 65] [INFO] [stderr] TRACE - encrypting block input len 4096 output len 4144 [INFO] [stderr] TRACE - output len 8240 after [INFO] [stderr] TRACE - ciphering nonce: [46, 255, 112, 175, 207, 52, 224, 174, 0, 0, 0, 0] tag: [149, 192, 120, 190, 37, 0, 198, 95, 131, 92, 171, 195, 163, 152, 155, 112] [INFO] [stderr] TRACE - output buffer len 8256 [INFO] [stderr] TRACE - reading 4096 bytes of ciphertext [INFO] [stderr] TRACE - deciphering nonce: [46, 255, 112, 175, 207, 52, 224, 173, 0, 0, 0, 0] tag: [49, 46, 142, 164, 245, 187, 132, 63, 138, 230, 166, 226, 52, 14, 65, 65] [INFO] [stderr] TRACE - reading 4096 bytes of ciphertext [INFO] [stderr] TRACE - deciphering nonce: [46, 255, 112, 175, 207, 52, 224, 174, 0, 0, 0, 0] tag: [149, 192, 120, 190, 37, 0, 198, 95, 131, 92, 171, 195, 163, 152, 155, 112] [INFO] [stderr] TRACE - cleartext buffer len 8192 [INFO] [stderr] TRACE - encrypting block input len 4096 output len 16 [INFO] [stdout] test test_encryption ... ok [INFO] [stderr] TRACE - output len 4112 after [INFO] [stdout] [INFO] [stderr] TRACE - ciphering nonce: [46, 255, 112, 175, 207, 52, 224, 175, 0, 0, 0, 0] tag: [62, 28, 9, 35, 65, 204, 11, 207, 146, 152, 187, 126, 14, 145, 5, 65] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stderr] TRACE - encrypting block input len 4096 output len 4144 [INFO] [stdout] [INFO] [stderr] TRACE - output len 8240 after [INFO] [stderr] TRACE - ciphering nonce: [46, 255, 112, 175, 207, 52, 224, 176, 0, 0, 0, 0] tag: [56, 186, 83, 2, 226, 39, 213, 118, 77, 97, 74, 191, 243, 197, 106, 64] [INFO] [stderr] TRACE - output buffer len 8256 [INFO] [stderr] TRACE - reading 4096 bytes of ciphertext [INFO] [stderr] TRACE - deciphering nonce: [46, 255, 112, 175, 207, 52, 224, 175, 0, 0, 0, 0] tag: [62, 28, 9, 35, 65, 204, 11, 207, 146, 152, 187, 126, 14, 145, 5, 65] [INFO] [stderr] TRACE - reading 4096 bytes of ciphertext [INFO] [stderr] TRACE - deciphering nonce: [46, 255, 112, 175, 207, 52, 224, 176, 0, 0, 0, 0] tag: [56, 186, 83, 2, 226, 39, 213, 118, 77, 97, 74, 191, 243, 197, 106, 64] [INFO] [stderr] TRACE - cleartext buffer len 3 [INFO] [stderr] TRACE - encrypting block input len 3 output len 16 [INFO] [stderr] TRACE - output len 19 after [INFO] [stderr] TRACE - ciphering nonce: [46, 255, 112, 175, 207, 52, 224, 177, 0, 0, 0, 0] tag: [112, 151, 190, 10, 13, 21, 140, 109, 128, 156, 156, 86, 252, 46, 142, 1] [INFO] [stderr] TRACE - output buffer len 35 [INFO] [stderr] TRACE - reading 3 bytes of ciphertext [INFO] [stderr] TRACE - deciphering nonce: [46, 255, 112, 175, 207, 52, 224, 177, 0, 0, 0, 0] tag: [112, 151, 190, 10, 13, 21, 140, 109, 128, 156, 156, 86, 252, 46, 142, 1] [INFO] [stderr] Doc-tests tokio-aead [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "62f0ad76328443ab4de361ab5eeb608d009d37d69d3c6a6729d6c90d931c63d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62f0ad76328443ab4de361ab5eeb608d009d37d69d3c6a6729d6c90d931c63d5", kill_on_drop: false }` [INFO] [stdout] 62f0ad76328443ab4de361ab5eeb608d009d37d69d3c6a6729d6c90d931c63d5