[INFO] fetching crate tokio-aead 0.0.0... [INFO] checking tokio-aead-0.0.0 against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] extracting crate tokio-aead 0.0.0 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate tokio-aead 0.0.0 on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", 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-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5075babde7d9ae0500f7e95326e97c4b09b50fd88a17f2b1403bf7f336f29890 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "5075babde7d9ae0500f7e95326e97c4b09b50fd88a17f2b1403bf7f336f29890", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5075babde7d9ae0500f7e95326e97c4b09b50fd88a17f2b1403bf7f336f29890", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5075babde7d9ae0500f7e95326e97c4b09b50fd88a17f2b1403bf7f336f29890", kill_on_drop: false }` [INFO] [stdout] 5075babde7d9ae0500f7e95326e97c4b09b50fd88a17f2b1403bf7f336f29890 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b2eaec16c6b38a251c4680dffa452a2792193c32481403cd4a1df38de4871b35 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b2eaec16c6b38a251c4680dffa452a2792193c32481403cd4a1df38de4871b35", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Checking log v0.4.11 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking chacha20-poly1305-aead v0.1.2 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking thread_local v0.3.4 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [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] [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 13.42s [INFO] running `Command { std: "docker" "inspect" "b2eaec16c6b38a251c4680dffa452a2792193c32481403cd4a1df38de4871b35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2eaec16c6b38a251c4680dffa452a2792193c32481403cd4a1df38de4871b35", kill_on_drop: false }` [INFO] [stdout] b2eaec16c6b38a251c4680dffa452a2792193c32481403cd4a1df38de4871b35