[INFO] fetching crate try-traits 0.1.1... [INFO] checking try-traits-0.1.1 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate try-traits 0.1.1 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate try-traits 0.1.1 [INFO] finished tweaking crates.io crate try-traits 0.1.1 [INFO] tweaked toml for crates.io crate try-traits 0.1.1 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate try-traits 0.1.1 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 2dd7d743bae1d59f46b1f7ac95f2d1d4004aa335c2cd2a1ded7d3e08e9aaf521 [INFO] running `Command { std: "docker" "start" "-a" "2dd7d743bae1d59f46b1f7ac95f2d1d4004aa335c2cd2a1ded7d3e08e9aaf521", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2dd7d743bae1d59f46b1f7ac95f2d1d4004aa335c2cd2a1ded7d3e08e9aaf521", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2dd7d743bae1d59f46b1f7ac95f2d1d4004aa335c2cd2a1ded7d3e08e9aaf521", kill_on_drop: false }` [INFO] [stdout] 2dd7d743bae1d59f46b1f7ac95f2d1d4004aa335c2cd2a1ded7d3e08e9aaf521 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] af83387fca8546e4e54762fc212ae25932a4efd66c577e59f6c49fac807a12c6 [INFO] running `Command { std: "docker" "start" "-a" "af83387fca8546e4e54762fc212ae25932a4efd66c577e59f6c49fac807a12c6", kill_on_drop: false }` [INFO] [stderr] Checking try-traits v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result<&Borrowed, core::convert::Infallible> [INFO] [stdout] --> src/borrow.rs:24:57 [INFO] [stdout] | [INFO] [stdout] 24 | fn try_borrow(&self) -> Result<&Borrowed, Self::Error> { [INFO] [stdout] | ____________________________________________________________^ [INFO] [stdout] 25 | | Ok(self.borrow()) [INFO] [stdout] 26 | | } [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<&Borrowed, core::convert::Infallible> [INFO] [stdout] --> src/borrow.rs:25:3 [INFO] [stdout] | [INFO] [stdout] 25 | Ok(self.borrow()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&mut Borrowed, core::convert::Infallible> [INFO] [stdout] --> src/borrow.rs:31:69 [INFO] [stdout] | [INFO] [stdout] 31 | fn try_borrow_mut(&mut self) -> Result<&mut Borrowed, Self::Error> { [INFO] [stdout] | ________________________________________________________________________^ [INFO] [stdout] 32 | | Ok(self.borrow_mut()) [INFO] [stdout] 33 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&mut Borrowed, core::convert::Infallible> [INFO] [stdout] --> src/borrow.rs:32:3 [INFO] [stdout] | [INFO] [stdout] 32 | Ok(self.borrow_mut()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cmp.rs:101:61 [INFO] [stdout] | [INFO] [stdout] 101 | fn try_eq(&self, other: &Rhs) -> Result { [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 102 | | Ok(self == other) [INFO] [stdout] 103 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cmp.rs:102:3 [INFO] [stdout] | [INFO] [stdout] 102 | Ok(self == other) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cmp.rs:106:61 [INFO] [stdout] | [INFO] [stdout] 106 | fn try_ne(&self, other: &Rhs) -> Result { [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 107 | | Ok(self != other) [INFO] [stdout] 108 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cmp.rs:107:3 [INFO] [stdout] | [INFO] [stdout] 107 | Ok(self != other) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, core::convert::Infallible> [INFO] [stdout] --> src/cmp.rs:115:82 [INFO] [stdout] | [INFO] [stdout] 115 | fn try_partial_cmp(&self, other: &Rhs) -> Result, Self::Error> { [INFO] [stdout] | _____________________________________________________________________________________^ [INFO] [stdout] 116 | | Ok(self.partial_cmp(other)) [INFO] [stdout] 117 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, core::convert::Infallible> [INFO] [stdout] --> src/cmp.rs:116:3 [INFO] [stdout] | [INFO] [stdout] 116 | Ok(self.partial_cmp(other)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cmp.rs:120:61 [INFO] [stdout] | [INFO] [stdout] 120 | fn try_lt(&self, other: &Rhs) -> Result { [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 121 | | Ok(self < other) [INFO] [stdout] 122 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cmp.rs:121:3 [INFO] [stdout] | [INFO] [stdout] 121 | Ok(self < other) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cmp.rs:125:61 [INFO] [stdout] | [INFO] [stdout] 125 | fn try_le(&self, other: &Rhs) -> Result { [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 126 | | Ok(self <= other) [INFO] [stdout] 127 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cmp.rs:126:3 [INFO] [stdout] | [INFO] [stdout] 126 | Ok(self <= other) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cmp.rs:130:61 [INFO] [stdout] | [INFO] [stdout] 130 | fn try_gt(&self, other: &Rhs) -> Result { [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 131 | | Ok(self > other) [INFO] [stdout] 132 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cmp.rs:131:3 [INFO] [stdout] | [INFO] [stdout] 131 | Ok(self > other) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cmp.rs:135:61 [INFO] [stdout] | [INFO] [stdout] 135 | fn try_ge(&self, other: &Rhs) -> Result { [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 136 | | Ok(self >= other) [INFO] [stdout] 137 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cmp.rs:136:3 [INFO] [stdout] | [INFO] [stdout] 136 | Ok(self >= other) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cmp.rs:142:67 [INFO] [stdout] | [INFO] [stdout] 142 | fn try_cmp(&self, other: &Self) -> Result { [INFO] [stdout] | ______________________________________________________________________^ [INFO] [stdout] 143 | | Ok(self.cmp(other)) [INFO] [stdout] 144 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cmp.rs:143:3 [INFO] [stdout] | [INFO] [stdout] 143 | Ok(self.cmp(other)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<>::Output, core::convert::Infallible> [INFO] [stdout] --> src/ops/arith.rs:130:68 [INFO] [stdout] | [INFO] [stdout] 130 | fn try_add(self, other: Rhs) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 131 | | Ok(self + other) [INFO] [stdout] 132 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<>::Output, core::convert::Infallible> [INFO] [stdout] --> src/ops/arith.rs:131:3 [INFO] [stdout] | [INFO] [stdout] 131 | Ok(self + other) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<>::Output, core::convert::Infallible> [INFO] [stdout] --> src/ops/arith.rs:140:68 [INFO] [stdout] | [INFO] [stdout] 140 | fn try_sub(self, other: Rhs) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 141 | | Ok(self - other) [INFO] [stdout] 142 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<>::Output, core::convert::Infallible> [INFO] [stdout] --> src/ops/arith.rs:141:3 [INFO] [stdout] | [INFO] [stdout] 141 | Ok(self - other) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<>::Output, core::convert::Infallible> [INFO] [stdout] --> src/ops/arith.rs:150:68 [INFO] [stdout] | [INFO] [stdout] 150 | fn try_mul(self, other: Rhs) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 151 | | Ok(self * other) [INFO] [stdout] 152 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<>::Output, core::convert::Infallible> [INFO] [stdout] --> src/ops/arith.rs:151:3 [INFO] [stdout] | [INFO] [stdout] 151 | Ok(self * other) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<>::Output, core::convert::Infallible> [INFO] [stdout] --> src/ops/arith.rs:160:68 [INFO] [stdout] | [INFO] [stdout] 160 | fn try_div(self, other: Rhs) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 161 | | Ok(self / other) [INFO] [stdout] 162 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<>::Output, core::convert::Infallible> [INFO] [stdout] --> src/ops/arith.rs:161:3 [INFO] [stdout] | [INFO] [stdout] 161 | Ok(self / other) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<>::Output, core::convert::Infallible> [INFO] [stdout] --> src/ops/arith.rs:170:68 [INFO] [stdout] | [INFO] [stdout] 170 | fn try_rem(self, other: Rhs) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 171 | | Ok(self % other) [INFO] [stdout] 172 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<>::Output, core::convert::Infallible> [INFO] [stdout] --> src/ops/arith.rs:171:3 [INFO] [stdout] | [INFO] [stdout] 171 | Ok(self % other) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<::Output, core::convert::Infallible> [INFO] [stdout] --> src/ops/bit.rs:130:56 [INFO] [stdout] | [INFO] [stdout] 130 | fn try_not(self) -> Result { [INFO] [stdout] | ___________________________________________________________^ [INFO] [stdout] 131 | | Ok(!self) [INFO] [stdout] 132 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<::Output, core::convert::Infallible> [INFO] [stdout] --> src/ops/bit.rs:131:3 [INFO] [stdout] | [INFO] [stdout] 131 | Ok(!self) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<>::Output, core::convert::Infallible> [INFO] [stdout] --> src/ops/bit.rs:140:69 [INFO] [stdout] | [INFO] [stdout] 140 | fn try_bitand(self, rhs: Rhs) -> Result { [INFO] [stdout] | ________________________________________________________________________^ [INFO] [stdout] 141 | | Ok(self & rhs) [INFO] [stdout] 142 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<>::Output, core::convert::Infallible> [INFO] [stdout] --> src/ops/bit.rs:141:3 [INFO] [stdout] | [INFO] [stdout] 141 | Ok(self & rhs) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<>::Output, core::convert::Infallible> [INFO] [stdout] --> src/ops/bit.rs:150:68 [INFO] [stdout] | [INFO] [stdout] 150 | fn try_bitor(self, rhs: Rhs) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 151 | | Ok(self | rhs) [INFO] [stdout] 152 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<>::Output, core::convert::Infallible> [INFO] [stdout] --> src/ops/bit.rs:151:3 [INFO] [stdout] | [INFO] [stdout] 151 | Ok(self | rhs) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<>::Output, core::convert::Infallible> [INFO] [stdout] --> src/ops/bit.rs:160:69 [INFO] [stdout] | [INFO] [stdout] 160 | fn try_bitxor(self, rhs: Rhs) -> Result { [INFO] [stdout] | ________________________________________________________________________^ [INFO] [stdout] 161 | | Ok(self ^ rhs) [INFO] [stdout] 162 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<>::Output, core::convert::Infallible> [INFO] [stdout] --> src/ops/bit.rs:161:3 [INFO] [stdout] | [INFO] [stdout] 161 | Ok(self ^ rhs) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<>::Output, core::convert::Infallible> [INFO] [stdout] --> src/ops/bit.rs:170:66 [INFO] [stdout] | [INFO] [stdout] 170 | fn try_shl(self, rhs: Rhs) -> Result { [INFO] [stdout] | _____________________________________________________________________^ [INFO] [stdout] 171 | | Ok(self << rhs) [INFO] [stdout] 172 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<>::Output, core::convert::Infallible> [INFO] [stdout] --> src/ops/bit.rs:171:3 [INFO] [stdout] | [INFO] [stdout] 171 | Ok(self << rhs) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<>::Output, core::convert::Infallible> [INFO] [stdout] --> src/ops/bit.rs:180:66 [INFO] [stdout] | [INFO] [stdout] 180 | fn try_shr(self, rhs: Rhs) -> Result { [INFO] [stdout] | _____________________________________________________________________^ [INFO] [stdout] 181 | | Ok(self >> rhs) [INFO] [stdout] 182 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<>::Output, core::convert::Infallible> [INFO] [stdout] --> src/ops/bit.rs:181:3 [INFO] [stdout] | [INFO] [stdout] 181 | Ok(self >> rhs) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&>::Output, core::convert::Infallible> [INFO] [stdout] --> src/ops/index.rs:25:72 [INFO] [stdout] | [INFO] [stdout] 25 | fn try_index(&self, index: Idx) -> Result<&Self::Output, Self::Error> { [INFO] [stdout] | ___________________________________________________________________________^ [INFO] [stdout] 26 | | Ok(self.index(index)) [INFO] [stdout] 27 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&>::Output, core::convert::Infallible> [INFO] [stdout] --> src/ops/index.rs:26:3 [INFO] [stdout] | [INFO] [stdout] 26 | Ok(self.index(index)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&mut >::Output, core::convert::Infallible> [INFO] [stdout] --> src/ops/index.rs:31:84 [INFO] [stdout] | [INFO] [stdout] 31 | fn try_index_mut(&mut self, index: Idx) -> Result<&mut Self::Output, Self::Error> { [INFO] [stdout] | _______________________________________________________________________________________^ [INFO] [stdout] 32 | | Ok(self.index_mut(index)) [INFO] [stdout] 33 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&mut >::Output, core::convert::Infallible> [INFO] [stdout] --> src/ops/index.rs:32:3 [INFO] [stdout] | [INFO] [stdout] 32 | Ok(self.index_mut(index)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `try-traits` (lib test) due to 46 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<&Borrowed, core::convert::Infallible> [INFO] [stdout] --> src/borrow.rs:24:57 [INFO] [stdout] | [INFO] [stdout] 24 | fn try_borrow(&self) -> Result<&Borrowed, Self::Error> { [INFO] [stdout] | ____________________________________________________________^ [INFO] [stdout] 25 | | Ok(self.borrow()) [INFO] [stdout] 26 | | } [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<&Borrowed, core::convert::Infallible> [INFO] [stdout] --> src/borrow.rs:25:3 [INFO] [stdout] | [INFO] [stdout] 25 | Ok(self.borrow()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&mut Borrowed, core::convert::Infallible> [INFO] [stdout] --> src/borrow.rs:31:69 [INFO] [stdout] | [INFO] [stdout] 31 | fn try_borrow_mut(&mut self) -> Result<&mut Borrowed, Self::Error> { [INFO] [stdout] | ________________________________________________________________________^ [INFO] [stdout] 32 | | Ok(self.borrow_mut()) [INFO] [stdout] 33 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&mut Borrowed, core::convert::Infallible> [INFO] [stdout] --> src/borrow.rs:32:3 [INFO] [stdout] | [INFO] [stdout] 32 | Ok(self.borrow_mut()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cmp.rs:101:61 [INFO] [stdout] | [INFO] [stdout] 101 | fn try_eq(&self, other: &Rhs) -> Result { [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 102 | | Ok(self == other) [INFO] [stdout] 103 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cmp.rs:102:3 [INFO] [stdout] | [INFO] [stdout] 102 | Ok(self == other) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cmp.rs:106:61 [INFO] [stdout] | [INFO] [stdout] 106 | fn try_ne(&self, other: &Rhs) -> Result { [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 107 | | Ok(self != other) [INFO] [stdout] 108 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cmp.rs:107:3 [INFO] [stdout] | [INFO] [stdout] 107 | Ok(self != other) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, core::convert::Infallible> [INFO] [stdout] --> src/cmp.rs:115:82 [INFO] [stdout] | [INFO] [stdout] 115 | fn try_partial_cmp(&self, other: &Rhs) -> Result, Self::Error> { [INFO] [stdout] | _____________________________________________________________________________________^ [INFO] [stdout] 116 | | Ok(self.partial_cmp(other)) [INFO] [stdout] 117 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, core::convert::Infallible> [INFO] [stdout] --> src/cmp.rs:116:3 [INFO] [stdout] | [INFO] [stdout] 116 | Ok(self.partial_cmp(other)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cmp.rs:120:61 [INFO] [stdout] | [INFO] [stdout] 120 | fn try_lt(&self, other: &Rhs) -> Result { [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 121 | | Ok(self < other) [INFO] [stdout] 122 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cmp.rs:121:3 [INFO] [stdout] | [INFO] [stdout] 121 | Ok(self < other) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cmp.rs:125:61 [INFO] [stdout] | [INFO] [stdout] 125 | fn try_le(&self, other: &Rhs) -> Result { [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 126 | | Ok(self <= other) [INFO] [stdout] 127 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cmp.rs:126:3 [INFO] [stdout] | [INFO] [stdout] 126 | Ok(self <= other) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cmp.rs:130:61 [INFO] [stdout] | [INFO] [stdout] 130 | fn try_gt(&self, other: &Rhs) -> Result { [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 131 | | Ok(self > other) [INFO] [stdout] 132 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cmp.rs:131:3 [INFO] [stdout] | [INFO] [stdout] 131 | Ok(self > other) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cmp.rs:135:61 [INFO] [stdout] | [INFO] [stdout] 135 | fn try_ge(&self, other: &Rhs) -> Result { [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 136 | | Ok(self >= other) [INFO] [stdout] 137 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cmp.rs:136:3 [INFO] [stdout] | [INFO] [stdout] 136 | Ok(self >= other) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cmp.rs:142:67 [INFO] [stdout] | [INFO] [stdout] 142 | fn try_cmp(&self, other: &Self) -> Result { [INFO] [stdout] | ______________________________________________________________________^ [INFO] [stdout] 143 | | Ok(self.cmp(other)) [INFO] [stdout] 144 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cmp.rs:143:3 [INFO] [stdout] | [INFO] [stdout] 143 | Ok(self.cmp(other)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<>::Output, core::convert::Infallible> [INFO] [stdout] --> src/ops/arith.rs:130:68 [INFO] [stdout] | [INFO] [stdout] 130 | fn try_add(self, other: Rhs) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 131 | | Ok(self + other) [INFO] [stdout] 132 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<>::Output, core::convert::Infallible> [INFO] [stdout] --> src/ops/arith.rs:131:3 [INFO] [stdout] | [INFO] [stdout] 131 | Ok(self + other) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<>::Output, core::convert::Infallible> [INFO] [stdout] --> src/ops/arith.rs:140:68 [INFO] [stdout] | [INFO] [stdout] 140 | fn try_sub(self, other: Rhs) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 141 | | Ok(self - other) [INFO] [stdout] 142 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<>::Output, core::convert::Infallible> [INFO] [stdout] --> src/ops/arith.rs:141:3 [INFO] [stdout] | [INFO] [stdout] 141 | Ok(self - other) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<>::Output, core::convert::Infallible> [INFO] [stdout] --> src/ops/arith.rs:150:68 [INFO] [stdout] | [INFO] [stdout] 150 | fn try_mul(self, other: Rhs) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 151 | | Ok(self * other) [INFO] [stdout] 152 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<>::Output, core::convert::Infallible> [INFO] [stdout] --> src/ops/arith.rs:151:3 [INFO] [stdout] | [INFO] [stdout] 151 | Ok(self * other) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<>::Output, core::convert::Infallible> [INFO] [stdout] --> src/ops/arith.rs:160:68 [INFO] [stdout] | [INFO] [stdout] 160 | fn try_div(self, other: Rhs) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 161 | | Ok(self / other) [INFO] [stdout] 162 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<>::Output, core::convert::Infallible> [INFO] [stdout] --> src/ops/arith.rs:161:3 [INFO] [stdout] | [INFO] [stdout] 161 | Ok(self / other) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<>::Output, core::convert::Infallible> [INFO] [stdout] --> src/ops/arith.rs:170:68 [INFO] [stdout] | [INFO] [stdout] 170 | fn try_rem(self, other: Rhs) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 171 | | Ok(self % other) [INFO] [stdout] 172 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<>::Output, core::convert::Infallible> [INFO] [stdout] --> src/ops/arith.rs:171:3 [INFO] [stdout] | [INFO] [stdout] 171 | Ok(self % other) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<::Output, core::convert::Infallible> [INFO] [stdout] --> src/ops/bit.rs:130:56 [INFO] [stdout] | [INFO] [stdout] 130 | fn try_not(self) -> Result { [INFO] [stdout] | ___________________________________________________________^ [INFO] [stdout] 131 | | Ok(!self) [INFO] [stdout] 132 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<::Output, core::convert::Infallible> [INFO] [stdout] --> src/ops/bit.rs:131:3 [INFO] [stdout] | [INFO] [stdout] 131 | Ok(!self) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<>::Output, core::convert::Infallible> [INFO] [stdout] --> src/ops/bit.rs:140:69 [INFO] [stdout] | [INFO] [stdout] 140 | fn try_bitand(self, rhs: Rhs) -> Result { [INFO] [stdout] | ________________________________________________________________________^ [INFO] [stdout] 141 | | Ok(self & rhs) [INFO] [stdout] 142 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<>::Output, core::convert::Infallible> [INFO] [stdout] --> src/ops/bit.rs:141:3 [INFO] [stdout] | [INFO] [stdout] 141 | Ok(self & rhs) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<>::Output, core::convert::Infallible> [INFO] [stdout] --> src/ops/bit.rs:150:68 [INFO] [stdout] | [INFO] [stdout] 150 | fn try_bitor(self, rhs: Rhs) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 151 | | Ok(self | rhs) [INFO] [stdout] 152 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<>::Output, core::convert::Infallible> [INFO] [stdout] --> src/ops/bit.rs:151:3 [INFO] [stdout] | [INFO] [stdout] 151 | Ok(self | rhs) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<>::Output, core::convert::Infallible> [INFO] [stdout] --> src/ops/bit.rs:160:69 [INFO] [stdout] | [INFO] [stdout] 160 | fn try_bitxor(self, rhs: Rhs) -> Result { [INFO] [stdout] | ________________________________________________________________________^ [INFO] [stdout] 161 | | Ok(self ^ rhs) [INFO] [stdout] 162 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<>::Output, core::convert::Infallible> [INFO] [stdout] --> src/ops/bit.rs:161:3 [INFO] [stdout] | [INFO] [stdout] 161 | Ok(self ^ rhs) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<>::Output, core::convert::Infallible> [INFO] [stdout] --> src/ops/bit.rs:170:66 [INFO] [stdout] | [INFO] [stdout] 170 | fn try_shl(self, rhs: Rhs) -> Result { [INFO] [stdout] | _____________________________________________________________________^ [INFO] [stdout] 171 | | Ok(self << rhs) [INFO] [stdout] 172 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<>::Output, core::convert::Infallible> [INFO] [stdout] --> src/ops/bit.rs:171:3 [INFO] [stdout] | [INFO] [stdout] 171 | Ok(self << rhs) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<>::Output, core::convert::Infallible> [INFO] [stdout] --> src/ops/bit.rs:180:66 [INFO] [stdout] | [INFO] [stdout] 180 | fn try_shr(self, rhs: Rhs) -> Result { [INFO] [stdout] | _____________________________________________________________________^ [INFO] [stdout] 181 | | Ok(self >> rhs) [INFO] [stdout] 182 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<>::Output, core::convert::Infallible> [INFO] [stdout] --> src/ops/bit.rs:181:3 [INFO] [stdout] | [INFO] [stdout] 181 | Ok(self >> rhs) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&>::Output, core::convert::Infallible> [INFO] [stdout] --> src/ops/index.rs:25:72 [INFO] [stdout] | [INFO] [stdout] 25 | fn try_index(&self, index: Idx) -> Result<&Self::Output, Self::Error> { [INFO] [stdout] | ___________________________________________________________________________^ [INFO] [stdout] 26 | | Ok(self.index(index)) [INFO] [stdout] 27 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&>::Output, core::convert::Infallible> [INFO] [stdout] --> src/ops/index.rs:26:3 [INFO] [stdout] | [INFO] [stdout] 26 | Ok(self.index(index)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&mut >::Output, core::convert::Infallible> [INFO] [stdout] --> src/ops/index.rs:31:84 [INFO] [stdout] | [INFO] [stdout] 31 | fn try_index_mut(&mut self, index: Idx) -> Result<&mut Self::Output, Self::Error> { [INFO] [stdout] | _______________________________________________________________________________________^ [INFO] [stdout] 32 | | Ok(self.index_mut(index)) [INFO] [stdout] 33 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&mut >::Output, core::convert::Infallible> [INFO] [stdout] --> src/ops/index.rs:32:3 [INFO] [stdout] | [INFO] [stdout] 32 | Ok(self.index_mut(index)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `try-traits` (lib) due to 46 previous errors [INFO] running `Command { std: "docker" "inspect" "af83387fca8546e4e54762fc212ae25932a4efd66c577e59f6c49fac807a12c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af83387fca8546e4e54762fc212ae25932a4efd66c577e59f6c49fac807a12c6", kill_on_drop: false }` [INFO] [stdout] af83387fca8546e4e54762fc212ae25932a4efd66c577e59f6c49fac807a12c6