[INFO] fetching crate tokio-aead 0.0.0... [INFO] checking tokio-aead-0.0.0 against master#ceab6128fa48a616bfd3e3adf4bc80133b8ee223 for no-never-type-fallback [INFO] extracting crate tokio-aead 0.0.0 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate tokio-aead 0.0.0 on toolchain ceab6128fa48a616bfd3e3adf4bc80133b8ee223 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "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-5-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 61 packages [INFO] [stderr] Adding atty v0.2.11 (latest: v0.2.14) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.5.0) [INFO] [stderr] Adding bytes v0.4.12 (latest: v1.6.0) [INFO] [stderr] Adding cloudabi v0.0.3 (latest: v0.1.0) [INFO] [stderr] Adding constant_time_eq v0.1.5 (latest: v0.3.0) [INFO] [stderr] Adding futures v0.1.31 (latest: v0.3.30) [INFO] [stderr] Adding lazy_static v0.2.11 (latest: v1.4.0) [INFO] [stderr] Adding numtoa v0.1.0 (latest: v0.2.4) [INFO] [stderr] Adding rand v0.5.6 (latest: v0.8.5) [INFO] [stderr] Adding rand_core v0.3.1 (latest: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (latest: v0.6.4) [INFO] [stderr] Adding redox_syscall v0.2.16 (latest: v0.5.1) [INFO] [stderr] Adding stderrlog v0.4.3 (latest: v0.6.0) [INFO] [stderr] Adding termion v1.5.6 (latest: v3.0.0) [INFO] [stderr] Adding thread_local v0.3.4 (latest: v1.1.8) [INFO] [stderr] Adding windows-core v0.52.0 (latest: v0.55.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "fetch" "--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 stderrlog v0.4.3 [INFO] [stderr] Downloaded redox_termios v0.1.3 [INFO] [stderr] Downloaded thread_local v0.3.4 [INFO] [stderr] Downloaded chacha20-poly1305-aead v0.1.2 [INFO] [stderr] Downloaded termion v1.5.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ba27dee26eb3a9b96e545ac58ae5bb2abdf9ff8de89c4665a8be831dc0219004 [INFO] running `Command { std: "docker" "start" "-a" "ba27dee26eb3a9b96e545ac58ae5bb2abdf9ff8de89c4665a8be831dc0219004", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ba27dee26eb3a9b96e545ac58ae5bb2abdf9ff8de89c4665a8be831dc0219004", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba27dee26eb3a9b96e545ac58ae5bb2abdf9ff8de89c4665a8be831dc0219004", kill_on_drop: false }` [INFO] [stdout] ba27dee26eb3a9b96e545ac58ae5bb2abdf9ff8de89c4665a8be831dc0219004 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a24dcf702453a9cc12419b16a4614eeef09518a63c3ed39cf01872f3c825334d [INFO] running `Command { std: "docker" "start" "-a" "a24dcf702453a9cc12419b16a4614eeef09518a63c3ed39cf01872f3c825334d", kill_on_drop: false }` [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking futures v0.1.31 [INFO] [stderr] Checking chacha20-poly1305-aead v0.1.2 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking bytes v0.4.12 [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] 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: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 141 | let _ = mem::replace(&mut self.state, EncryptingState::Reading{ [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/lib.rs:150:29 [INFO] [stdout] | [INFO] [stdout] 150 | / ... mem::replace(&mut self.state, EncryptingState::Reading{ [INFO] [stdout] 151 | | ... nonce, [INFO] [stdout] 152 | | ... buf, [INFO] [stdout] 153 | | ... aad [INFO] [stdout] 154 | | ... }); [INFO] [stdout] | |________________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 150 | let _ = mem::replace(&mut self.state, EncryptingState::Reading{ [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/lib.rs:159:29 [INFO] [stdout] | [INFO] [stdout] 159 | ... mem::replace(&mut self.state, EncryptingState::EOF); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 159 | let _ = mem::replace(&mut self.state, EncryptingState::EOF); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/lib.rs:212:29 [INFO] [stdout] | [INFO] [stdout] 212 | / ... mem::replace(&mut self.state, EncryptingState::Reading{ [INFO] [stdout] 213 | | ... nonce, [INFO] [stdout] 214 | | ... buf: BytesMut::new(), [INFO] [stdout] 215 | | ... aad: res, [INFO] [stdout] 216 | | ... }); [INFO] [stdout] | |________________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 212 | let _ = mem::replace(&mut self.state, EncryptingState::Reading{ [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/lib.rs:227:21 [INFO] [stdout] | [INFO] [stdout] 227 | mem::replace(&mut self.state, EncryptingState::EOF); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 227 | let _ = mem::replace(&mut self.state, EncryptingState::EOF); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/lib.rs:264:29 [INFO] [stdout] | [INFO] [stdout] 264 | / ... mem::replace(&mut self.state, DecryptingState::Start{ [INFO] [stdout] 265 | | ... buf [INFO] [stdout] 266 | | ... }); [INFO] [stdout] | |________________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 264 | let _ = mem::replace(&mut self.state, DecryptingState::Start{ [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/lib.rs:281:37 [INFO] [stdout] | [INFO] [stdout] 281 | / ... mem::replace(&mut self.state, DecryptingState::Start{ [INFO] [stdout] 282 | | ... buf [INFO] [stdout] 283 | | ... }); [INFO] [stdout] | |________________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 281 | let _ = mem::replace(&mut self.state, DecryptingState::Start{ [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/lib.rs:295:29 [INFO] [stdout] | [INFO] [stdout] 295 | / ... mem::replace(&mut self.state, DecryptingState::GotMagic{ [INFO] [stdout] 296 | | ... buf [INFO] [stdout] 297 | | ... }); [INFO] [stdout] | |________________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 295 | let _ = mem::replace(&mut self.state, DecryptingState::GotMagic{ [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/lib.rs:310:29 [INFO] [stdout] | [INFO] [stdout] 310 | / ... mem::replace(&mut self.state, DecryptingState::ReadingV1 { [INFO] [stdout] 311 | | ... buf, [INFO] [stdout] 312 | | ... state: Version1::new(self.key) [INFO] [stdout] 313 | | ... }); [INFO] [stdout] | |________________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 310 | let _ = mem::replace(&mut self.state, DecryptingState::ReadingV1 { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/lib.rs:323:37 [INFO] [stdout] | [INFO] [stdout] 323 | / ... mem::replace(&mut self.state, DecryptingState::GotMagic { [INFO] [stdout] 324 | | ... buf [INFO] [stdout] 325 | | ... }); [INFO] [stdout] | |________________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 323 | let _ = mem::replace(&mut self.state, DecryptingState::GotMagic { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/lib.rs:334:37 [INFO] [stdout] | [INFO] [stdout] 334 | / ... mem::replace(&mut self.state, DecryptingState::GotMagic { [INFO] [stdout] 335 | | ... buf [INFO] [stdout] 336 | | ... }); [INFO] [stdout] | |________________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 334 | let _ = mem::replace(&mut self.state, DecryptingState::GotMagic { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/lib.rs:347:29 [INFO] [stdout] | [INFO] [stdout] 347 | / ... mem::replace(&mut self.state, DecryptingState::ReadingV1 { [INFO] [stdout] 348 | | ... buf, [INFO] [stdout] 349 | | ... state [INFO] [stdout] 350 | | ... }); [INFO] [stdout] | |________________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 347 | let _ = mem::replace(&mut self.state, DecryptingState::ReadingV1 { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/lib.rs:359:37 [INFO] [stdout] | [INFO] [stdout] 359 | / ... mem::replace(&mut self.state, DecryptingState::ReadingV1 { [INFO] [stdout] 360 | | ... buf, [INFO] [stdout] 361 | | ... state [INFO] [stdout] 362 | | ... }); [INFO] [stdout] | |________________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 359 | let _ = mem::replace(&mut self.state, DecryptingState::ReadingV1 { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/lib.rs:366:37 [INFO] [stdout] | [INFO] [stdout] 366 | ... mem::replace(&mut self.state, DecryptingState::EOF); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 366 | let _ = mem::replace(&mut self.state, DecryptingState::EOF); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/lib.rs:372:37 [INFO] [stdout] | [INFO] [stdout] 372 | / ... mem::replace(&mut self.state, DecryptingState::ReadingV1 { [INFO] [stdout] 373 | | ... buf, [INFO] [stdout] 374 | | ... state [INFO] [stdout] 375 | | ... }); [INFO] [stdout] | |________________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 372 | let _ = mem::replace(&mut self.state, DecryptingState::ReadingV1 { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/lib.rs:391:37 [INFO] [stdout] | [INFO] [stdout] 391 | / ... mem::replace(&mut self.state, DecryptingState::ReadingV1 { [INFO] [stdout] 392 | | ... buf, [INFO] [stdout] 393 | | ... state [INFO] [stdout] 394 | | ... }); [INFO] [stdout] | |________________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 391 | let _ = mem::replace(&mut self.state, DecryptingState::ReadingV1 { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/lib.rs:408:21 [INFO] [stdout] | [INFO] [stdout] 408 | mem::replace(&mut self.state, DecryptingState::EOF); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 408 | let _ = mem::replace(&mut self.state, DecryptingState::EOF); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/lib.rs:479:21 [INFO] [stdout] | [INFO] [stdout] 479 | / mem::replace(&mut self.state, V1State::ReadingNextBlock { [INFO] [stdout] 480 | | aad: MAGIC, [INFO] [stdout] 481 | | }); [INFO] [stdout] | |______________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 479 | let _ = mem::replace(&mut self.state, V1State::ReadingNextBlock { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/lib.rs:486:25 [INFO] [stdout] | [INFO] [stdout] 486 | / mem::replace(&mut self.state, V1State::ReadingNextBlock { [INFO] [stdout] 487 | | aad, [INFO] [stdout] 488 | | }); [INFO] [stdout] | |__________________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 486 | let _ = mem::replace(&mut self.state, V1State::ReadingNextBlock { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/lib.rs:494:29 [INFO] [stdout] | [INFO] [stdout] 494 | / ... mem::replace(&mut self.state, V1State::ReadingNextBlock { [INFO] [stdout] 495 | | ... aad, [INFO] [stdout] 496 | | ... }); [INFO] [stdout] | |________________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 494 | let _ = mem::replace(&mut self.state, V1State::ReadingNextBlock { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/lib.rs:502:29 [INFO] [stdout] | [INFO] [stdout] 502 | / ... mem::replace(&mut self.state, V1State::ReadingNonce { [INFO] [stdout] 503 | | ... aad, [INFO] [stdout] 504 | | ... length, [INFO] [stdout] 505 | | ... }); [INFO] [stdout] | |________________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 502 | let _ = mem::replace(&mut self.state, V1State::ReadingNonce { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/lib.rs:523:25 [INFO] [stdout] | [INFO] [stdout] 523 | / mem::replace(&mut self.state, V1State::ReadingData { [INFO] [stdout] 524 | | aad, [INFO] [stdout] 525 | | nonce, [INFO] [stdout] 526 | | ciphertext_buffer, [INFO] [stdout] 527 | | length, [INFO] [stdout] 528 | | }); [INFO] [stdout] | |__________________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 523 | let _ = mem::replace(&mut self.state, V1State::ReadingData { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/lib.rs:538:25 [INFO] [stdout] | [INFO] [stdout] 538 | / mem::replace(&mut self.state, V1State::ReadingTag { [INFO] [stdout] 539 | | aad, [INFO] [stdout] 540 | | nonce, [INFO] [stdout] 541 | | ciphertext_buffer, [INFO] [stdout] 542 | | length, [INFO] [stdout] 543 | | }); [INFO] [stdout] | |__________________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 538 | let _ = mem::replace(&mut self.state, V1State::ReadingTag { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/lib.rs:568:29 [INFO] [stdout] | [INFO] [stdout] 568 | / ... mem::replace(&mut self.state, V1State::ReadingNextBlock { [INFO] [stdout] 569 | | ... aad: tag, [INFO] [stdout] 570 | | ... }); [INFO] [stdout] | |________________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 568 | let _ = mem::replace(&mut self.state, V1State::ReadingNextBlock { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/lib.rs:573:29 [INFO] [stdout] | [INFO] [stdout] 573 | ... mem::replace(&mut self.state, V1State::Errored); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 573 | let _ = mem::replace(&mut self.state, V1State::Errored); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking chrono v0.4.37 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 17 | fn producer(blocksize: usize, length: usize) -> Box> { [INFO] [stdout] | +++ [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: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 141 | let _ = mem::replace(&mut self.state, EncryptingState::Reading{ [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/lib.rs:150:29 [INFO] [stdout] | [INFO] [stdout] 150 | / ... mem::replace(&mut self.state, EncryptingState::Reading{ [INFO] [stdout] 151 | | ... nonce, [INFO] [stdout] 152 | | ... buf, [INFO] [stdout] 153 | | ... aad [INFO] [stdout] 154 | | ... }); [INFO] [stdout] | |________________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 150 | let _ = mem::replace(&mut self.state, EncryptingState::Reading{ [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/lib.rs:159:29 [INFO] [stdout] | [INFO] [stdout] 159 | ... mem::replace(&mut self.state, EncryptingState::EOF); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 159 | let _ = mem::replace(&mut self.state, EncryptingState::EOF); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/lib.rs:212:29 [INFO] [stdout] | [INFO] [stdout] 212 | / ... mem::replace(&mut self.state, EncryptingState::Reading{ [INFO] [stdout] 213 | | ... nonce, [INFO] [stdout] 214 | | ... buf: BytesMut::new(), [INFO] [stdout] 215 | | ... aad: res, [INFO] [stdout] 216 | | ... }); [INFO] [stdout] | |________________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 212 | let _ = mem::replace(&mut self.state, EncryptingState::Reading{ [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/lib.rs:227:21 [INFO] [stdout] | [INFO] [stdout] 227 | mem::replace(&mut self.state, EncryptingState::EOF); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 227 | let _ = mem::replace(&mut self.state, EncryptingState::EOF); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/lib.rs:264:29 [INFO] [stdout] | [INFO] [stdout] 264 | / ... mem::replace(&mut self.state, DecryptingState::Start{ [INFO] [stdout] 265 | | ... buf [INFO] [stdout] 266 | | ... }); [INFO] [stdout] | |________________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 264 | let _ = mem::replace(&mut self.state, DecryptingState::Start{ [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/lib.rs:281:37 [INFO] [stdout] | [INFO] [stdout] 281 | / ... mem::replace(&mut self.state, DecryptingState::Start{ [INFO] [stdout] 282 | | ... buf [INFO] [stdout] 283 | | ... }); [INFO] [stdout] | |________________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 281 | let _ = mem::replace(&mut self.state, DecryptingState::Start{ [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/lib.rs:295:29 [INFO] [stdout] | [INFO] [stdout] 295 | / ... mem::replace(&mut self.state, DecryptingState::GotMagic{ [INFO] [stdout] 296 | | ... buf [INFO] [stdout] 297 | | ... }); [INFO] [stdout] | |________________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 295 | let _ = mem::replace(&mut self.state, DecryptingState::GotMagic{ [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/lib.rs:310:29 [INFO] [stdout] | [INFO] [stdout] 310 | / ... mem::replace(&mut self.state, DecryptingState::ReadingV1 { [INFO] [stdout] 311 | | ... buf, [INFO] [stdout] 312 | | ... state: Version1::new(self.key) [INFO] [stdout] 313 | | ... }); [INFO] [stdout] | |________________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 310 | let _ = mem::replace(&mut self.state, DecryptingState::ReadingV1 { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/lib.rs:323:37 [INFO] [stdout] | [INFO] [stdout] 323 | / ... mem::replace(&mut self.state, DecryptingState::GotMagic { [INFO] [stdout] 324 | | ... buf [INFO] [stdout] 325 | | ... }); [INFO] [stdout] | |________________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 323 | let _ = mem::replace(&mut self.state, DecryptingState::GotMagic { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/lib.rs:334:37 [INFO] [stdout] | [INFO] [stdout] 334 | / ... mem::replace(&mut self.state, DecryptingState::GotMagic { [INFO] [stdout] 335 | | ... buf [INFO] [stdout] 336 | | ... }); [INFO] [stdout] | |________________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 334 | let _ = mem::replace(&mut self.state, DecryptingState::GotMagic { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/lib.rs:347:29 [INFO] [stdout] | [INFO] [stdout] 347 | / ... mem::replace(&mut self.state, DecryptingState::ReadingV1 { [INFO] [stdout] 348 | | ... buf, [INFO] [stdout] 349 | | ... state [INFO] [stdout] 350 | | ... }); [INFO] [stdout] | |________________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 347 | let _ = mem::replace(&mut self.state, DecryptingState::ReadingV1 { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/lib.rs:359:37 [INFO] [stdout] | [INFO] [stdout] 359 | / ... mem::replace(&mut self.state, DecryptingState::ReadingV1 { [INFO] [stdout] 360 | | ... buf, [INFO] [stdout] 361 | | ... state [INFO] [stdout] 362 | | ... }); [INFO] [stdout] | |________________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 359 | let _ = mem::replace(&mut self.state, DecryptingState::ReadingV1 { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/lib.rs:366:37 [INFO] [stdout] | [INFO] [stdout] 366 | ... mem::replace(&mut self.state, DecryptingState::EOF); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 366 | let _ = mem::replace(&mut self.state, DecryptingState::EOF); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/lib.rs:372:37 [INFO] [stdout] | [INFO] [stdout] 372 | / ... mem::replace(&mut self.state, DecryptingState::ReadingV1 { [INFO] [stdout] 373 | | ... buf, [INFO] [stdout] 374 | | ... state [INFO] [stdout] 375 | | ... }); [INFO] [stdout] | |________________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 372 | let _ = mem::replace(&mut self.state, DecryptingState::ReadingV1 { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/lib.rs:391:37 [INFO] [stdout] | [INFO] [stdout] 391 | / ... mem::replace(&mut self.state, DecryptingState::ReadingV1 { [INFO] [stdout] 392 | | ... buf, [INFO] [stdout] 393 | | ... state [INFO] [stdout] 394 | | ... }); [INFO] [stdout] | |________________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 391 | let _ = mem::replace(&mut self.state, DecryptingState::ReadingV1 { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/lib.rs:408:21 [INFO] [stdout] | [INFO] [stdout] 408 | mem::replace(&mut self.state, DecryptingState::EOF); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 408 | let _ = mem::replace(&mut self.state, DecryptingState::EOF); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/lib.rs:479:21 [INFO] [stdout] | [INFO] [stdout] 479 | / mem::replace(&mut self.state, V1State::ReadingNextBlock { [INFO] [stdout] 480 | | aad: MAGIC, [INFO] [stdout] 481 | | }); [INFO] [stdout] | |______________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 479 | let _ = mem::replace(&mut self.state, V1State::ReadingNextBlock { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/lib.rs:486:25 [INFO] [stdout] | [INFO] [stdout] 486 | / mem::replace(&mut self.state, V1State::ReadingNextBlock { [INFO] [stdout] 487 | | aad, [INFO] [stdout] 488 | | }); [INFO] [stdout] | |__________________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 486 | let _ = mem::replace(&mut self.state, V1State::ReadingNextBlock { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/lib.rs:494:29 [INFO] [stdout] | [INFO] [stdout] 494 | / ... mem::replace(&mut self.state, V1State::ReadingNextBlock { [INFO] [stdout] 495 | | ... aad, [INFO] [stdout] 496 | | ... }); [INFO] [stdout] | |________________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 494 | let _ = mem::replace(&mut self.state, V1State::ReadingNextBlock { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/lib.rs:502:29 [INFO] [stdout] | [INFO] [stdout] 502 | / ... mem::replace(&mut self.state, V1State::ReadingNonce { [INFO] [stdout] 503 | | ... aad, [INFO] [stdout] 504 | | ... length, [INFO] [stdout] 505 | | ... }); [INFO] [stdout] | |________________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 502 | let _ = mem::replace(&mut self.state, V1State::ReadingNonce { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/lib.rs:523:25 [INFO] [stdout] | [INFO] [stdout] 523 | / mem::replace(&mut self.state, V1State::ReadingData { [INFO] [stdout] 524 | | aad, [INFO] [stdout] 525 | | nonce, [INFO] [stdout] 526 | | ciphertext_buffer, [INFO] [stdout] 527 | | length, [INFO] [stdout] 528 | | }); [INFO] [stdout] | |__________________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 523 | let _ = mem::replace(&mut self.state, V1State::ReadingData { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/lib.rs:538:25 [INFO] [stdout] | [INFO] [stdout] 538 | / mem::replace(&mut self.state, V1State::ReadingTag { [INFO] [stdout] 539 | | aad, [INFO] [stdout] 540 | | nonce, [INFO] [stdout] 541 | | ciphertext_buffer, [INFO] [stdout] 542 | | length, [INFO] [stdout] 543 | | }); [INFO] [stdout] | |__________________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 538 | let _ = mem::replace(&mut self.state, V1State::ReadingTag { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/lib.rs:568:29 [INFO] [stdout] | [INFO] [stdout] 568 | / ... mem::replace(&mut self.state, V1State::ReadingNextBlock { [INFO] [stdout] 569 | | ... aad: tag, [INFO] [stdout] 570 | | ... }); [INFO] [stdout] | |________________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 568 | let _ = mem::replace(&mut self.state, V1State::ReadingNextBlock { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/lib.rs:573:29 [INFO] [stdout] | [INFO] [stdout] 573 | ... mem::replace(&mut self.state, V1State::Errored); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 573 | let _ = mem::replace(&mut self.state, V1State::Errored); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.90s [INFO] running `Command { std: "docker" "inspect" "a24dcf702453a9cc12419b16a4614eeef09518a63c3ed39cf01872f3c825334d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a24dcf702453a9cc12419b16a4614eeef09518a63c3ed39cf01872f3c825334d", kill_on_drop: false }` [INFO] [stdout] a24dcf702453a9cc12419b16a4614eeef09518a63c3ed39cf01872f3c825334d [INFO] checking tokio-aead-0.0.0 against try#3a4bc97f6385a3aa300a4fd689b44350e54fd676 for no-never-type-fallback [INFO] extracting crate tokio-aead 0.0.0 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate tokio-aead 0.0.0 on toolchain 3a4bc97f6385a3aa300a4fd689b44350e54fd676 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "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-5-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9dddf95cb01b02744ddaf56a0115415846bdaa8f0c3213daeb588feb0c204951 [INFO] running `Command { std: "docker" "start" "-a" "9dddf95cb01b02744ddaf56a0115415846bdaa8f0c3213daeb588feb0c204951", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9dddf95cb01b02744ddaf56a0115415846bdaa8f0c3213daeb588feb0c204951", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9dddf95cb01b02744ddaf56a0115415846bdaa8f0c3213daeb588feb0c204951", kill_on_drop: false }` [INFO] [stdout] 9dddf95cb01b02744ddaf56a0115415846bdaa8f0c3213daeb588feb0c204951 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0e954e640ba3aa2a3aba7f34f89987f1d28c40b8f5328282e48bf791901243a5 [INFO] running `Command { std: "docker" "start" "-a" "0e954e640ba3aa2a3aba7f34f89987f1d28c40b8f5328282e48bf791901243a5", kill_on_drop: false }` [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking futures v0.1.31 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking chacha20-poly1305-aead v0.1.2 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking thread_local v0.3.4 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-0.4.12/src/buf/buf.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | / if let Some(ret) = ret { [INFO] [stdout] 20 | | // if the direct convertion was possible, advance and return [INFO] [stdout] 21 | | $this.advance($size); [INFO] [stdout] 22 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 27 | | return $conv(&buf); [INFO] [stdout] 28 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 335 | buf_get_impl!(self, 2, BigEndian::read_u16); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-0.4.12/src/buf/buf.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | / if let Some(ret) = ret { [INFO] [stdout] 20 | | // if the direct convertion was possible, advance and return [INFO] [stdout] 21 | | $this.advance($size); [INFO] [stdout] 22 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 27 | | return $conv(&buf); [INFO] [stdout] 28 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 356 | buf_get_impl!(self, 2, LittleEndian::read_u16); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-0.4.12/src/buf/buf.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | / if let Some(ret) = ret { [INFO] [stdout] 20 | | // if the direct convertion was possible, advance and return [INFO] [stdout] 21 | | $this.advance($size); [INFO] [stdout] 22 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 27 | | return $conv(&buf); [INFO] [stdout] 28 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 385 | buf_get_impl!(self, 2, BigEndian::read_i16); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-0.4.12/src/buf/buf.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | / if let Some(ret) = ret { [INFO] [stdout] 20 | | // if the direct convertion was possible, advance and return [INFO] [stdout] 21 | | $this.advance($size); [INFO] [stdout] 22 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 27 | | return $conv(&buf); [INFO] [stdout] 28 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 406 | buf_get_impl!(self, 2, LittleEndian::read_i16); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-0.4.12/src/buf/buf.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | / if let Some(ret) = ret { [INFO] [stdout] 20 | | // if the direct convertion was possible, advance and return [INFO] [stdout] 21 | | $this.advance($size); [INFO] [stdout] 22 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 27 | | return $conv(&buf); [INFO] [stdout] 28 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 435 | buf_get_impl!(self, 4, BigEndian::read_u32); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-0.4.12/src/buf/buf.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | / if let Some(ret) = ret { [INFO] [stdout] 20 | | // if the direct convertion was possible, advance and return [INFO] [stdout] 21 | | $this.advance($size); [INFO] [stdout] 22 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 27 | | return $conv(&buf); [INFO] [stdout] 28 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 456 | buf_get_impl!(self, 4, LittleEndian::read_u32); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-0.4.12/src/buf/buf.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | / if let Some(ret) = ret { [INFO] [stdout] 20 | | // if the direct convertion was possible, advance and return [INFO] [stdout] 21 | | $this.advance($size); [INFO] [stdout] 22 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 27 | | return $conv(&buf); [INFO] [stdout] 28 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 485 | buf_get_impl!(self, 4, BigEndian::read_i32); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-0.4.12/src/buf/buf.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | / if let Some(ret) = ret { [INFO] [stdout] 20 | | // if the direct convertion was possible, advance and return [INFO] [stdout] 21 | | $this.advance($size); [INFO] [stdout] 22 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 27 | | return $conv(&buf); [INFO] [stdout] 28 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 506 | buf_get_impl!(self, 4, LittleEndian::read_i32); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-0.4.12/src/buf/buf.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | / if let Some(ret) = ret { [INFO] [stdout] 20 | | // if the direct convertion was possible, advance and return [INFO] [stdout] 21 | | $this.advance($size); [INFO] [stdout] 22 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 27 | | return $conv(&buf); [INFO] [stdout] 28 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 535 | buf_get_impl!(self, 8, BigEndian::read_u64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-0.4.12/src/buf/buf.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | / if let Some(ret) = ret { [INFO] [stdout] 20 | | // if the direct convertion was possible, advance and return [INFO] [stdout] 21 | | $this.advance($size); [INFO] [stdout] 22 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 27 | | return $conv(&buf); [INFO] [stdout] 28 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 556 | buf_get_impl!(self, 8, LittleEndian::read_u64); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-0.4.12/src/buf/buf.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | / if let Some(ret) = ret { [INFO] [stdout] 20 | | // if the direct convertion was possible, advance and return [INFO] [stdout] 21 | | $this.advance($size); [INFO] [stdout] 22 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 27 | | return $conv(&buf); [INFO] [stdout] 28 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 585 | buf_get_impl!(self, 8, BigEndian::read_i64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-0.4.12/src/buf/buf.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | / if let Some(ret) = ret { [INFO] [stdout] 20 | | // if the direct convertion was possible, advance and return [INFO] [stdout] 21 | | $this.advance($size); [INFO] [stdout] 22 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 27 | | return $conv(&buf); [INFO] [stdout] 28 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 606 | buf_get_impl!(self, 8, LittleEndian::read_i64); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-0.4.12/src/buf/buf.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | / if let Some(ret) = ret { [INFO] [stdout] 20 | | // if the direct convertion was possible, advance and return [INFO] [stdout] 21 | | $this.advance($size); [INFO] [stdout] 22 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 27 | | return $conv(&buf); [INFO] [stdout] 28 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 828 | buf_get_impl!(self, 4, BigEndian::read_f32); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-0.4.12/src/buf/buf.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | / if let Some(ret) = ret { [INFO] [stdout] 20 | | // if the direct convertion was possible, advance and return [INFO] [stdout] 21 | | $this.advance($size); [INFO] [stdout] 22 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 27 | | return $conv(&buf); [INFO] [stdout] 28 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 850 | buf_get_impl!(self, 4, LittleEndian::read_f32); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-0.4.12/src/buf/buf.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | / if let Some(ret) = ret { [INFO] [stdout] 20 | | // if the direct convertion was possible, advance and return [INFO] [stdout] 21 | | $this.advance($size); [INFO] [stdout] 22 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 27 | | return $conv(&buf); [INFO] [stdout] 28 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 880 | buf_get_impl!(self, 8, BigEndian::read_f64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-0.4.12/src/buf/buf.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | / if let Some(ret) = ret { [INFO] [stdout] 20 | | // if the direct convertion was possible, advance and return [INFO] [stdout] 21 | | $this.advance($size); [INFO] [stdout] 22 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 27 | | return $conv(&buf); [INFO] [stdout] 28 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 902 | buf_get_impl!(self, 8, LittleEndian::read_f64); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0284`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bytes` (lib) due to 17 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "0e954e640ba3aa2a3aba7f34f89987f1d28c40b8f5328282e48bf791901243a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e954e640ba3aa2a3aba7f34f89987f1d28c40b8f5328282e48bf791901243a5", kill_on_drop: false }` [INFO] [stdout] 0e954e640ba3aa2a3aba7f34f89987f1d28c40b8f5328282e48bf791901243a5