[INFO] fetching crate cached-pair 0.14.0... [INFO] checking cached-pair-0.14.0 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate cached-pair 0.14.0 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate cached-pair 0.14.0 [INFO] finished tweaking crates.io crate cached-pair 0.14.0 [INFO] tweaked toml for crates.io crate cached-pair 0.14.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate cached-pair 0.14.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 cached-pair 0.14.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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] e21e6fe44dd5bb1163bfdbcdd45f8e9b2f440fcb714bfe642da142a1c0d5bc7b [INFO] running `Command { std: "docker" "start" "-a" "e21e6fe44dd5bb1163bfdbcdd45f8e9b2f440fcb714bfe642da142a1c0d5bc7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e21e6fe44dd5bb1163bfdbcdd45f8e9b2f440fcb714bfe642da142a1c0d5bc7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e21e6fe44dd5bb1163bfdbcdd45f8e9b2f440fcb714bfe642da142a1c0d5bc7b", kill_on_drop: false }` [INFO] [stdout] e21e6fe44dd5bb1163bfdbcdd45f8e9b2f440fcb714bfe642da142a1c0d5bc7b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 5705465b40a6b305f3ce034d1cf978ded072daf0317cd0d66347132ba6c199aa [INFO] running `Command { std: "docker" "start" "-a" "5705465b40a6b305f3ce034d1cf978ded072daf0317cd0d66347132ba6c199aa", kill_on_drop: false }` [INFO] [stderr] Checking cached-pair v0.14.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result<&L, Infallible> [INFO] [stdout] --> src/pair.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 183 | self.try_left_with(|r| Ok::(f(r))).into_ok2() [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<&R, Infallible> [INFO] [stdout] --> src/pair.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 194 | self.try_right_with(|l| Ok::(f(l))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&mut L, Infallible> [INFO] [stdout] --> src/pair.rs:227:9 [INFO] [stdout] | [INFO] [stdout] 227 | self.try_left_mut_with(|r| Ok::(f(r))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&mut R, Infallible> [INFO] [stdout] --> src/pair.rs:240:9 [INFO] [stdout] | [INFO] [stdout] 240 | self.try_right_mut_with(|l| Ok::(f(l))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/pair.rs:345:9 [INFO] [stdout] | [INFO] [stdout] 345 | self.try_extract_left_with(|l| Ok::(f(l))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/pair.rs:358:9 [INFO] [stdout] | [INFO] [stdout] 358 | self.try_extract_right_with(|r| Ok::(f(r))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&L, Infallible> [INFO] [stdout] --> src/pair.rs:489:9 [INFO] [stdout] | [INFO] [stdout] 489 | self.try_left().into_ok2() [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&mut L, Infallible> [INFO] [stdout] --> src/pair.rs:498:9 [INFO] [stdout] | [INFO] [stdout] 498 | self.try_left_mut().into_ok2() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/pair.rs:515:9 [INFO] [stdout] | [INFO] [stdout] 515 | self.try_extract_right().into_ok2() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&R, Infallible> [INFO] [stdout] --> src/pair.rs:528:9 [INFO] [stdout] | [INFO] [stdout] 528 | self.try_right().into_ok2() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&mut R, Infallible> [INFO] [stdout] --> src/pair.rs:537:9 [INFO] [stdout] | [INFO] [stdout] 537 | self.try_right_mut().into_ok2() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/pair.rs:554:9 [INFO] [stdout] | [INFO] [stdout] 554 | self.try_extract_left().into_ok2() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cached-pair` (lib) due to 12 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: Result<&L, Infallible> [INFO] [stdout] --> src/pair.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 183 | self.try_left_with(|r| Ok::(f(r))).into_ok2() [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<&R, Infallible> [INFO] [stdout] --> src/pair.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 194 | self.try_right_with(|l| Ok::(f(l))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&mut L, Infallible> [INFO] [stdout] --> src/pair.rs:227:9 [INFO] [stdout] | [INFO] [stdout] 227 | self.try_left_mut_with(|r| Ok::(f(r))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&mut R, Infallible> [INFO] [stdout] --> src/pair.rs:240:9 [INFO] [stdout] | [INFO] [stdout] 240 | self.try_right_mut_with(|l| Ok::(f(l))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/pair.rs:345:9 [INFO] [stdout] | [INFO] [stdout] 345 | self.try_extract_left_with(|l| Ok::(f(l))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/pair.rs:358:9 [INFO] [stdout] | [INFO] [stdout] 358 | self.try_extract_right_with(|r| Ok::(f(r))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&L, Infallible> [INFO] [stdout] --> src/pair.rs:489:9 [INFO] [stdout] | [INFO] [stdout] 489 | self.try_left().into_ok2() [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&mut L, Infallible> [INFO] [stdout] --> src/pair.rs:498:9 [INFO] [stdout] | [INFO] [stdout] 498 | self.try_left_mut().into_ok2() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/pair.rs:515:9 [INFO] [stdout] | [INFO] [stdout] 515 | self.try_extract_right().into_ok2() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&R, Infallible> [INFO] [stdout] --> src/pair.rs:528:9 [INFO] [stdout] | [INFO] [stdout] 528 | self.try_right().into_ok2() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&mut R, Infallible> [INFO] [stdout] --> src/pair.rs:537:9 [INFO] [stdout] | [INFO] [stdout] 537 | self.try_right_mut().into_ok2() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/pair.rs:554:9 [INFO] [stdout] | [INFO] [stdout] 554 | self.try_extract_left().into_ok2() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/pair/tests.rs:36:61 [INFO] [stdout] | [INFO] [stdout] 36 | fn try_from(value: &Small) -> Result { [INFO] [stdout] | _____________________________________________________________^ [INFO] [stdout] 37 | | Ok(Large(value.0 as u32)) [INFO] [stdout] 38 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/pair/tests.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | Ok(Large(value.0 as u32)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/pair/tests.rs:46:16 [INFO] [stdout] | [INFO] [stdout] 46 | assert_eq!(converter.convert_to_right(&Small(42)), Ok(Large(42))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/pair/tests.rs:46:56 [INFO] [stdout] | [INFO] [stdout] 46 | assert_eq!(converter.convert_to_right(&Small(42)), Ok(Large(42))); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/pair/tests.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | assert_eq!(converter.convert_to_right(&Small(42)), Ok(Large(42))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/pair/tests.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | assert_eq!(converter.convert_to_right(&Small(42)), Ok(Large(42))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/pair/tests.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | assert_eq!(converter.convert_to_right(&Small(42)), Ok(Large(42))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/pair/tests.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | assert_eq!(converter.convert_to_right(&Small(42)), Ok(Large(42))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/pair/tests.rs:59:45 [INFO] [stdout] | [INFO] [stdout] 59 | |u: &u8| -> Result { Ok((*u as i32).wrapping_add(10)) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/pair/tests.rs:59:47 [INFO] [stdout] | [INFO] [stdout] 59 | |u: &u8| -> Result { Ok((*u as i32).wrapping_add(10)) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/pair/tests.rs:67:16 [INFO] [stdout] | [INFO] [stdout] 67 | assert_eq!(converter.convert_to_left(&32), Ok(42)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/pair/tests.rs:67:48 [INFO] [stdout] | [INFO] [stdout] 67 | assert_eq!(converter.convert_to_left(&32), Ok(42)); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/pair/tests.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | assert_eq!(converter.convert_to_left(&32), Ok(42)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/pair/tests.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | assert_eq!(converter.convert_to_left(&32), Ok(42)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/pair/tests.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | assert_eq!(converter.convert_to_left(&32), Ok(42)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/pair/tests.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | assert_eq!(converter.convert_to_left(&32), Ok(42)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/pair/tests.rs:77:45 [INFO] [stdout] | [INFO] [stdout] 77 | |u: &u8| -> Result { Ok((*u as i32).wrapping_add(100)) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/pair/tests.rs:77:47 [INFO] [stdout] | [INFO] [stdout] 77 | |u: &u8| -> Result { Ok((*u as i32).wrapping_add(100)) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/pair/tests.rs:85:16 [INFO] [stdout] | [INFO] [stdout] 85 | assert_eq!(converter.convert_to_left(&50), Ok(150)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/pair/tests.rs:85:48 [INFO] [stdout] | [INFO] [stdout] 85 | assert_eq!(converter.convert_to_left(&50), Ok(150)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/pair/tests.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | assert_eq!(converter.convert_to_left(&50), Ok(150)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/pair/tests.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | assert_eq!(converter.convert_to_left(&50), Ok(150)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/pair/tests.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | assert_eq!(converter.convert_to_left(&50), Ok(150)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/pair/tests.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | assert_eq!(converter.convert_to_left(&50), Ok(150)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&Large, Infallible> [INFO] [stdout] --> src/pair/tests.rs:108:16 [INFO] [stdout] | [INFO] [stdout] 108 | assert_eq!(pair.try_right(), Ok(&Large(42))); // Conversion succeeds [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&Large, Infallible> [INFO] [stdout] --> src/pair/tests.rs:108:34 [INFO] [stdout] | [INFO] [stdout] 108 | assert_eq!(pair.try_right(), Ok(&Large(42))); // Conversion succeeds [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&Large, Infallible> [INFO] [stdout] --> src/pair/tests.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | assert_eq!(pair.try_right(), Ok(&Large(42))); // Conversion succeeds [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&Large, Infallible> [INFO] [stdout] --> src/pair/tests.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | assert_eq!(pair.try_right(), Ok(&Large(42))); // Conversion succeeds [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&Large, Infallible> [INFO] [stdout] --> src/pair/tests.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | assert_eq!(pair.try_right(), Ok(&Large(42))); // Conversion succeeds [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&Large, Infallible> [INFO] [stdout] --> src/pair/tests.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | assert_eq!(pair.try_right(), Ok(&Large(42))); // Conversion succeeds [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&Large, Infallible> [INFO] [stdout] --> src/pair/tests.rs:115:16 [INFO] [stdout] | [INFO] [stdout] 115 | assert_eq!(pair.try_right(), Ok(&Large(200))); // Already exists [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&Large, Infallible> [INFO] [stdout] --> src/pair/tests.rs:115:34 [INFO] [stdout] | [INFO] [stdout] 115 | assert_eq!(pair.try_right(), Ok(&Large(200))); // Already exists [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&Large, Infallible> [INFO] [stdout] --> src/pair/tests.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 115 | assert_eq!(pair.try_right(), Ok(&Large(200))); // Already exists [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&Large, Infallible> [INFO] [stdout] --> src/pair/tests.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 115 | assert_eq!(pair.try_right(), Ok(&Large(200))); // Already exists [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&Large, Infallible> [INFO] [stdout] --> src/pair/tests.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 115 | assert_eq!(pair.try_right(), Ok(&Large(200))); // Already exists [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&Large, Infallible> [INFO] [stdout] --> src/pair/tests.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 115 | assert_eq!(pair.try_right(), Ok(&Large(200))); // Already exists [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&Large, Infallible> [INFO] [stdout] --> src/pair/tests.rs:121:16 [INFO] [stdout] | [INFO] [stdout] 121 | assert_eq!(pair.try_right(), Ok(&Large(300))); // Already exists [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&Large, Infallible> [INFO] [stdout] --> src/pair/tests.rs:121:34 [INFO] [stdout] | [INFO] [stdout] 121 | assert_eq!(pair.try_right(), Ok(&Large(300))); // Already exists [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&Large, Infallible> [INFO] [stdout] --> src/pair/tests.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | assert_eq!(pair.try_right(), Ok(&Large(300))); // Already exists [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&Large, Infallible> [INFO] [stdout] --> src/pair/tests.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | assert_eq!(pair.try_right(), Ok(&Large(300))); // Already exists [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&Large, Infallible> [INFO] [stdout] --> src/pair/tests.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | assert_eq!(pair.try_right(), Ok(&Large(300))); // Already exists [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&Large, Infallible> [INFO] [stdout] --> src/pair/tests.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | assert_eq!(pair.try_right(), Ok(&Large(300))); // Already exists [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&Large, Infallible> [INFO] [stdout] --> src/pair/tests.rs:127:16 [INFO] [stdout] | [INFO] [stdout] 127 | assert_eq!(pair.try_right(), Ok(&Large(42))); // Convert and cache right value [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&Large, Infallible> [INFO] [stdout] --> src/pair/tests.rs:127:34 [INFO] [stdout] | [INFO] [stdout] 127 | assert_eq!(pair.try_right(), Ok(&Large(42))); // Convert and cache right value [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&Large, Infallible> [INFO] [stdout] --> src/pair/tests.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 127 | assert_eq!(pair.try_right(), Ok(&Large(42))); // Convert and cache right value [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&Large, Infallible> [INFO] [stdout] --> src/pair/tests.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 127 | assert_eq!(pair.try_right(), Ok(&Large(42))); // Convert and cache right value [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&Large, Infallible> [INFO] [stdout] --> src/pair/tests.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 127 | assert_eq!(pair.try_right(), Ok(&Large(42))); // Convert and cache right value [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&Large, Infallible> [INFO] [stdout] --> src/pair/tests.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 127 | assert_eq!(pair.try_right(), Ok(&Large(42))); // Convert and cache right value [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&Large, Infallible> [INFO] [stdout] --> src/pair/tests.rs:129:16 [INFO] [stdout] | [INFO] [stdout] 129 | assert_eq!(pair.try_right(), Ok(&Large(42))); // Right value is cached [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&Large, Infallible> [INFO] [stdout] --> src/pair/tests.rs:129:34 [INFO] [stdout] | [INFO] [stdout] 129 | assert_eq!(pair.try_right(), Ok(&Large(42))); // Right value is cached [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&Large, Infallible> [INFO] [stdout] --> src/pair/tests.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 129 | assert_eq!(pair.try_right(), Ok(&Large(42))); // Right value is cached [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&Large, Infallible> [INFO] [stdout] --> src/pair/tests.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 129 | assert_eq!(pair.try_right(), Ok(&Large(42))); // Right value is cached [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&Large, Infallible> [INFO] [stdout] --> src/pair/tests.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 129 | assert_eq!(pair.try_right(), Ok(&Large(42))); // Right value is cached [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&Large, Infallible> [INFO] [stdout] --> src/pair/tests.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 129 | assert_eq!(pair.try_right(), Ok(&Large(42))); // Right value is cached [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/pair/tests.rs:136:16 [INFO] [stdout] | [INFO] [stdout] 136 | assert_eq!(pair.try_into_right(), Ok(Large(42))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/pair/tests.rs:136:39 [INFO] [stdout] | [INFO] [stdout] 136 | assert_eq!(pair.try_into_right(), Ok(Large(42))); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/pair/tests.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 136 | assert_eq!(pair.try_into_right(), Ok(Large(42))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/pair/tests.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 136 | assert_eq!(pair.try_into_right(), Ok(Large(42))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/pair/tests.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 136 | assert_eq!(pair.try_into_right(), Ok(Large(42))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/pair/tests.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 136 | assert_eq!(pair.try_into_right(), Ok(Large(42))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&Large, Infallible> [INFO] [stdout] --> src/pair/tests.rs:148:13 [INFO] [stdout] | [INFO] [stdout] 148 | let _ = pair.try_right(); // Cache the right value [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/pair/tests.rs:149:16 [INFO] [stdout] | [INFO] [stdout] 149 | assert_eq!(pair.try_into_right(), Ok(Large(42))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/pair/tests.rs:149:39 [INFO] [stdout] | [INFO] [stdout] 149 | assert_eq!(pair.try_into_right(), Ok(Large(42))); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/pair/tests.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 149 | assert_eq!(pair.try_into_right(), Ok(Large(42))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/pair/tests.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 149 | assert_eq!(pair.try_into_right(), Ok(Large(42))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/pair/tests.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 149 | assert_eq!(pair.try_into_right(), Ok(Large(42))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/pair/tests.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 149 | assert_eq!(pair.try_into_right(), Ok(Large(42))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&mut Large, Infallible> [INFO] [stdout] --> src/pair/tests.rs:168:17 [INFO] [stdout] | [INFO] [stdout] 168 | let right = pair.try_right_mut().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&Large, Infallible> [INFO] [stdout] --> src/pair/tests.rs:187:13 [INFO] [stdout] | [INFO] [stdout] 187 | let _ = pair.try_right(); // Cache the right value [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&mut Large, Infallible> [INFO] [stdout] --> src/pair/tests.rs:189:17 [INFO] [stdout] | [INFO] [stdout] 189 | let right = pair.try_right_mut().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&Large, Infallible> [INFO] [stdout] --> src/pair/tests.rs:232:13 [INFO] [stdout] | [INFO] [stdout] 232 | let _ = pair.try_right(); // Cache the right value [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/pair/tests.rs:254:16 [INFO] [stdout] | [INFO] [stdout] 254 | assert_eq!(pair.try_extract_left(), Ok(Some(Small(42)))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/pair/tests.rs:254:41 [INFO] [stdout] | [INFO] [stdout] 254 | assert_eq!(pair.try_extract_left(), Ok(Some(Small(42)))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/pair/tests.rs:254:5 [INFO] [stdout] | [INFO] [stdout] 254 | assert_eq!(pair.try_extract_left(), Ok(Some(Small(42)))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/pair/tests.rs:254:5 [INFO] [stdout] | [INFO] [stdout] 254 | assert_eq!(pair.try_extract_left(), Ok(Some(Small(42)))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/pair/tests.rs:254:5 [INFO] [stdout] | [INFO] [stdout] 254 | assert_eq!(pair.try_extract_left(), Ok(Some(Small(42)))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/pair/tests.rs:254:5 [INFO] [stdout] | [INFO] [stdout] 254 | assert_eq!(pair.try_extract_left(), Ok(Some(Small(42)))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&Large, Infallible> [INFO] [stdout] --> src/pair/tests.rs:260:16 [INFO] [stdout] | [INFO] [stdout] 260 | assert_eq!(pair.try_right(), Ok(&Large(42))); // Cache right value [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&Large, Infallible> [INFO] [stdout] --> src/pair/tests.rs:260:34 [INFO] [stdout] | [INFO] [stdout] 260 | assert_eq!(pair.try_right(), Ok(&Large(42))); // Cache right value [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&Large, Infallible> [INFO] [stdout] --> src/pair/tests.rs:260:5 [INFO] [stdout] | [INFO] [stdout] 260 | assert_eq!(pair.try_right(), Ok(&Large(42))); // Cache right value [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&Large, Infallible> [INFO] [stdout] --> src/pair/tests.rs:260:5 [INFO] [stdout] | [INFO] [stdout] 260 | assert_eq!(pair.try_right(), Ok(&Large(42))); // Cache right value [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&Large, Infallible> [INFO] [stdout] --> src/pair/tests.rs:260:5 [INFO] [stdout] | [INFO] [stdout] 260 | assert_eq!(pair.try_right(), Ok(&Large(42))); // Cache right value [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&Large, Infallible> [INFO] [stdout] --> src/pair/tests.rs:260:5 [INFO] [stdout] | [INFO] [stdout] 260 | assert_eq!(pair.try_right(), Ok(&Large(42))); // Cache right value [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/pair/tests.rs:261:16 [INFO] [stdout] | [INFO] [stdout] 261 | assert_eq!(pair.try_extract_left(), Ok(Some(Small(42)))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/pair/tests.rs:261:41 [INFO] [stdout] | [INFO] [stdout] 261 | assert_eq!(pair.try_extract_left(), Ok(Some(Small(42)))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/pair/tests.rs:261:5 [INFO] [stdout] | [INFO] [stdout] 261 | assert_eq!(pair.try_extract_left(), Ok(Some(Small(42)))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/pair/tests.rs:261:5 [INFO] [stdout] | [INFO] [stdout] 261 | assert_eq!(pair.try_extract_left(), Ok(Some(Small(42)))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/pair/tests.rs:261:5 [INFO] [stdout] | [INFO] [stdout] 261 | assert_eq!(pair.try_extract_left(), Ok(Some(Small(42)))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/pair/tests.rs:261:5 [INFO] [stdout] | [INFO] [stdout] 261 | assert_eq!(pair.try_extract_left(), Ok(Some(Small(42)))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/pair/tests.rs:267:16 [INFO] [stdout] | [INFO] [stdout] 267 | assert_eq!(pair.try_extract_left(), Ok(None)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/pair/tests.rs:267:41 [INFO] [stdout] | [INFO] [stdout] 267 | assert_eq!(pair.try_extract_left(), Ok(None)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/pair/tests.rs:267:5 [INFO] [stdout] | [INFO] [stdout] 267 | assert_eq!(pair.try_extract_left(), Ok(None)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/pair/tests.rs:267:5 [INFO] [stdout] | [INFO] [stdout] 267 | assert_eq!(pair.try_extract_left(), Ok(None)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/pair/tests.rs:267:5 [INFO] [stdout] | [INFO] [stdout] 267 | assert_eq!(pair.try_extract_left(), Ok(None)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/pair/tests.rs:267:5 [INFO] [stdout] | [INFO] [stdout] 267 | assert_eq!(pair.try_extract_left(), Ok(None)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/pair/tests.rs:311:61 [INFO] [stdout] | [INFO] [stdout] 311 | fn try_from(value: &A) -> Result { [INFO] [stdout] | _____________________________________________________________^ [INFO] [stdout] 312 | | Ok(B(value.0)) [INFO] [stdout] 313 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/pair/tests.rs:312:13 [INFO] [stdout] | [INFO] [stdout] 312 | Ok(B(value.0)) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/pair/tests.rs:319:61 [INFO] [stdout] | [INFO] [stdout] 319 | fn try_from(value: &B) -> Result { [INFO] [stdout] | _____________________________________________________________^ [INFO] [stdout] 320 | | Ok(A(value.0)) [INFO] [stdout] 321 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/pair/tests.rs:320:13 [INFO] [stdout] | [INFO] [stdout] 320 | Ok(A(value.0)) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&A, Infallible> [INFO] [stdout] --> src/pair/tests.rs:336:37 [INFO] [stdout] | [INFO] [stdout] 336 | let _: Result<&A, Infallible> = pair.try_left(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&B, Infallible> [INFO] [stdout] --> src/pair/tests.rs:337:37 [INFO] [stdout] | [INFO] [stdout] 337 | let _: Result<&B, Infallible> = pair.try_right(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&mut A, Infallible> [INFO] [stdout] --> src/pair/tests.rs:348:41 [INFO] [stdout] | [INFO] [stdout] 348 | let _: Result<&mut A, Infallible> = pair_mut.try_left_mut(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&mut B, Infallible> [INFO] [stdout] --> src/pair/tests.rs:349:41 [INFO] [stdout] | [INFO] [stdout] 349 | let _: Result<&mut B, Infallible> = pair_mut.try_right_mut(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/pair/tests.rs:357:36 [INFO] [stdout] | [INFO] [stdout] 357 | let _: Result = pair.try_into_left(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/pair/tests.rs:359:36 [INFO] [stdout] | [INFO] [stdout] 359 | let _: Result = pair.try_into_right(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/pair/tests.rs:363:42 [INFO] [stdout] | [INFO] [stdout] 363 | |_: &B| -> Result { Ok(A(42)) }, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/pair/tests.rs:363:44 [INFO] [stdout] | [INFO] [stdout] 363 | |_: &B| -> Result { Ok(A(42)) }, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/pair/tests.rs:364:42 [INFO] [stdout] | [INFO] [stdout] 364 | |_: &A| -> Result { Ok(B(42)) }, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/pair/tests.rs:364:44 [INFO] [stdout] | [INFO] [stdout] 364 | |_: &A| -> Result { Ok(B(42)) }, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/pair/tests.rs:381:44 [INFO] [stdout] | [INFO] [stdout] 381 | let _: Result, Infallible> = pair_mut.try_extract_left(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/pair/tests.rs:382:44 [INFO] [stdout] | [INFO] [stdout] 382 | let _: Result, Infallible> = pair_mut.try_extract_right(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cached-pair` (lib test) due to 123 previous errors [INFO] running `Command { std: "docker" "inspect" "5705465b40a6b305f3ce034d1cf978ded072daf0317cd0d66347132ba6c199aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5705465b40a6b305f3ce034d1cf978ded072daf0317cd0d66347132ba6c199aa", kill_on_drop: false }` [INFO] [stdout] 5705465b40a6b305f3ce034d1cf978ded072daf0317cd0d66347132ba6c199aa