[INFO] fetching crate try-next 0.4.0... [INFO] checking try-next-0.4.0 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate try-next 0.4.0 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate try-next 0.4.0 [INFO] finished tweaking crates.io crate try-next 0.4.0 [INFO] tweaked toml for crates.io crate try-next 0.4.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate try-next 0.4.0 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate try-next 0.4.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6767b12a0d3eccbfbe5a31009957178acf94a9773d3cfbbe240ec8c2891fa04b [INFO] running `Command { std: "docker" "start" "-a" "6767b12a0d3eccbfbe5a31009957178acf94a9773d3cfbbe240ec8c2891fa04b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6767b12a0d3eccbfbe5a31009957178acf94a9773d3cfbbe240ec8c2891fa04b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6767b12a0d3eccbfbe5a31009957178acf94a9773d3cfbbe240ec8c2891fa04b", kill_on_drop: false }` [INFO] [stdout] 6767b12a0d3eccbfbe5a31009957178acf94a9773d3cfbbe240ec8c2891fa04b [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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 71b75841dfc8926f42d1cde4ae2dd8471cc32cdec8c75b388658f44fa461e50f [INFO] running `Command { std: "docker" "start" "-a" "71b75841dfc8926f42d1cde4ae2dd8471cc32cdec8c75b388658f44fa461e50f", kill_on_drop: false }` [INFO] [stderr] Checking try-next v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/lib.rs:220:18 [INFO] [stdout] | [INFO] [stdout] 220 | use alloc::vec::{self, Vec}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/lib.rs:220:18 [INFO] [stdout] | [INFO] [stdout] 220 | use alloc::vec::{self, Vec}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result::Item>, Infallible> [INFO] [stdout] --> src/lib.rs:378:71 [INFO] [stdout] | [INFO] [stdout] 378 | fn try_next(&mut self) -> Result, Self::Error> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 379 | | Ok(self.iter.next()) [INFO] [stdout] 380 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result::Item>, Infallible> [INFO] [stdout] --> src/lib.rs:379:9 [INFO] [stdout] | [INFO] [stdout] 379 | Ok(self.iter.next()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result::Item>, Infallible> [INFO] [stdout] --> src/lib.rs:394:50 [INFO] [stdout] | [INFO] [stdout] 394 | ) -> Result, Self::Error> { [INFO] [stdout] | __________________________________________________^ [INFO] [stdout] 395 | | Ok(self.iter.next()) [INFO] [stdout] 396 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result::Item>, Infallible> [INFO] [stdout] --> src/lib.rs:395:9 [INFO] [stdout] | [INFO] [stdout] 395 | Ok(self.iter.next()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `try-next` (lib) due to 4 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: Result::Item>, Infallible> [INFO] [stdout] --> src/lib.rs:378:71 [INFO] [stdout] | [INFO] [stdout] 378 | fn try_next(&mut self) -> Result, Self::Error> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 379 | | Ok(self.iter.next()) [INFO] [stdout] 380 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result::Item>, Infallible> [INFO] [stdout] --> src/lib.rs:379:9 [INFO] [stdout] | [INFO] [stdout] 379 | Ok(self.iter.next()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result::Item>, Infallible> [INFO] [stdout] --> src/lib.rs:394:50 [INFO] [stdout] | [INFO] [stdout] 394 | ) -> Result, Self::Error> { [INFO] [stdout] | __________________________________________________^ [INFO] [stdout] 395 | | Ok(self.iter.next()) [INFO] [stdout] 396 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result::Item>, Infallible> [INFO] [stdout] --> src/lib.rs:395:9 [INFO] [stdout] | [INFO] [stdout] 395 | Ok(self.iter.next()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:417:75 [INFO] [stdout] | [INFO] [stdout] 417 | fn try_next(&mut self) -> Result, Self::Error> { [INFO] [stdout] | ___________________________________________________________________________^ [INFO] [stdout] 418 | | if self.current < self.limit { [INFO] [stdout] 419 | | let v = self.current; [INFO] [stdout] 420 | | self.current += 1; [INFO] [stdout] ... | [INFO] [stdout] 425 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:418:13 [INFO] [stdout] | [INFO] [stdout] 418 | / if self.current < self.limit { [INFO] [stdout] 419 | | let v = self.current; [INFO] [stdout] 420 | | self.current += 1; [INFO] [stdout] 421 | | Ok(Some(v)) [INFO] [stdout] 422 | | } else { [INFO] [stdout] 423 | | Ok(None) [INFO] [stdout] 424 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:418:42 [INFO] [stdout] | [INFO] [stdout] 418 | if self.current < self.limit { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 419 | | let v = self.current; [INFO] [stdout] 420 | | self.current += 1; [INFO] [stdout] 421 | | Ok(Some(v)) [INFO] [stdout] 422 | | } else { [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:421:17 [INFO] [stdout] | [INFO] [stdout] 421 | Ok(Some(v)) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:422:20 [INFO] [stdout] | [INFO] [stdout] 422 | } else { [INFO] [stdout] | ____________________^ [INFO] [stdout] 423 | | Ok(None) [INFO] [stdout] 424 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:423:17 [INFO] [stdout] | [INFO] [stdout] 423 | Ok(None) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:469:20 [INFO] [stdout] | [INFO] [stdout] 469 | assert_eq!(c.try_next().unwrap(), Some(0)); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:470:20 [INFO] [stdout] | [INFO] [stdout] 470 | assert_eq!(c.try_next().unwrap(), Some(1)); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:471:20 [INFO] [stdout] | [INFO] [stdout] 471 | assert_eq!(c.try_next().unwrap(), Some(2)); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:472:20 [INFO] [stdout] | [INFO] [stdout] 472 | assert_eq!(c.try_next().unwrap(), None); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:475:20 [INFO] [stdout] | [INFO] [stdout] 475 | assert_eq!(c.try_next().unwrap(), None); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:485:21 [INFO] [stdout] | [INFO] [stdout] 485 | let items = drain(c).unwrap(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:520:54 [INFO] [stdout] | [INFO] [stdout] 520 | ) -> Result, Self::Error> { [INFO] [stdout] | ______________________________________________________^ [INFO] [stdout] 521 | | ctx.calls += 1; [INFO] [stdout] 522 | | if self.current < self.limit { [INFO] [stdout] 523 | | let v = self.current; [INFO] [stdout] ... | [INFO] [stdout] 529 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:522:13 [INFO] [stdout] | [INFO] [stdout] 522 | / if self.current < self.limit { [INFO] [stdout] 523 | | let v = self.current; [INFO] [stdout] 524 | | self.current += 1; [INFO] [stdout] 525 | | Ok(Some(v)) [INFO] [stdout] 526 | | } else { [INFO] [stdout] 527 | | Ok(None) [INFO] [stdout] 528 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:522:42 [INFO] [stdout] | [INFO] [stdout] 522 | if self.current < self.limit { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 523 | | let v = self.current; [INFO] [stdout] 524 | | self.current += 1; [INFO] [stdout] 525 | | Ok(Some(v)) [INFO] [stdout] 526 | | } else { [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:525:17 [INFO] [stdout] | [INFO] [stdout] 525 | Ok(Some(v)) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:526:20 [INFO] [stdout] | [INFO] [stdout] 526 | } else { [INFO] [stdout] | ____________________^ [INFO] [stdout] 527 | | Ok(None) [INFO] [stdout] 528 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:527:17 [INFO] [stdout] | [INFO] [stdout] 527 | Ok(None) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<(Vec, Ctx), Infallible> [INFO] [stdout] --> src/lib.rs:553:28 [INFO] [stdout] | [INFO] [stdout] 553 | let (items, ctx) = drain_with_ctx(src, Ctx::default()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:570:20 [INFO] [stdout] | [INFO] [stdout] 570 | assert_eq!(input.try_next_with_context(&mut ctx).unwrap(), Some(1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:571:20 [INFO] [stdout] | [INFO] [stdout] 571 | assert_eq!(input.try_next_with_context(&mut ctx).unwrap(), Some(2)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:572:20 [INFO] [stdout] | [INFO] [stdout] 572 | assert_eq!(input.try_next_with_context(&mut ctx).unwrap(), Some(3)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:573:20 [INFO] [stdout] | [INFO] [stdout] 573 | assert_eq!(input.try_next_with_context(&mut ctx).unwrap(), None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:581:20 [INFO] [stdout] | [INFO] [stdout] 581 | assert_eq!(input.try_next_with_context(&mut ctx).unwrap(), Some(0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:582:20 [INFO] [stdout] | [INFO] [stdout] 582 | assert_eq!(input.try_next_with_context(&mut ctx).unwrap(), None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:583:20 [INFO] [stdout] | [INFO] [stdout] 583 | assert_eq!(input.try_next_with_context(&mut ctx).unwrap(), None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:584:20 [INFO] [stdout] | [INFO] [stdout] 584 | assert_eq!(input.try_next_with_context(&mut ctx).unwrap(), None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:592:20 [INFO] [stdout] | [INFO] [stdout] 592 | assert_eq!(input.try_next_with_context(&mut ctx).unwrap(), None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:593:20 [INFO] [stdout] | [INFO] [stdout] 593 | assert_eq!(input.try_next_with_context(&mut ctx).unwrap(), None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:605:32 [INFO] [stdout] | [INFO] [stdout] 605 | while let Some(byte) = input.try_next_with_context(&mut ctx).unwrap() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:611:20 [INFO] [stdout] | [INFO] [stdout] 611 | assert_eq!(input.try_next_with_context(&mut ctx).unwrap(), None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:612:20 [INFO] [stdout] | [INFO] [stdout] 612 | assert_eq!(input.try_next_with_context(&mut ctx).unwrap(), None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:642:75 [INFO] [stdout] | [INFO] [stdout] 642 | fn try_next(&mut self) -> Result, Self::Error> { [INFO] [stdout] | ___________________________________________________________________________^ [INFO] [stdout] 643 | | self.call_count += 1; [INFO] [stdout] 644 | | if self.remaining == 0 { [INFO] [stdout] 645 | | return Ok(None); [INFO] [stdout] ... | [INFO] [stdout] 650 | | Ok(Some(v)) [INFO] [stdout] 651 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:645:24 [INFO] [stdout] | [INFO] [stdout] 645 | return Ok(None); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:650:13 [INFO] [stdout] | [INFO] [stdout] 650 | Ok(Some(v)) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:670:20 [INFO] [stdout] | [INFO] [stdout] 670 | assert_eq!(s.try_next().unwrap(), Some(0)); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:671:20 [INFO] [stdout] | [INFO] [stdout] 671 | assert_eq!(s.try_next().unwrap(), Some(1)); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:672:20 [INFO] [stdout] | [INFO] [stdout] 672 | assert_eq!(s.try_next().unwrap(), Some(2)); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:673:20 [INFO] [stdout] | [INFO] [stdout] 673 | assert_eq!(s.try_next().unwrap(), None); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:682:20 [INFO] [stdout] | [INFO] [stdout] 682 | assert_eq!(TryNext::try_next(&mut input).unwrap(), Some(10)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:683:20 [INFO] [stdout] | [INFO] [stdout] 683 | assert_eq!(TryNext::try_next(&mut input).unwrap(), Some(20)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:684:20 [INFO] [stdout] | [INFO] [stdout] 684 | assert_eq!(TryNext::try_next(&mut input).unwrap(), Some(30)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:685:20 [INFO] [stdout] | [INFO] [stdout] 685 | assert_eq!(TryNext::try_next(&mut input).unwrap(), None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:686:20 [INFO] [stdout] | [INFO] [stdout] 686 | assert_eq!(TryNext::try_next(&mut input).unwrap(), None); // fused [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:693:21 [INFO] [stdout] | [INFO] [stdout] 693 | let items = input.try_collect().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:696:20 [INFO] [stdout] | [INFO] [stdout] 696 | assert_eq!(TryNext::try_next(&mut input).unwrap(), None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `try-next` (lib test) due to 50 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "71b75841dfc8926f42d1cde4ae2dd8471cc32cdec8c75b388658f44fa461e50f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71b75841dfc8926f42d1cde4ae2dd8471cc32cdec8c75b388658f44fa461e50f", kill_on_drop: false }` [INFO] [stdout] 71b75841dfc8926f42d1cde4ae2dd8471cc32cdec8c75b388658f44fa461e50f