[INFO] fetching crate core-ext 0.1.1... [INFO] checking core-ext-0.1.1 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate core-ext 0.1.1 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate core-ext 0.1.1 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate core-ext 0.1.1 [INFO] tweaked toml for crates.io crate core-ext 0.1.1 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate core-ext 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] crate crates.io crate core-ext 0.1.1 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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 41b1ad585063a5d94b786fd63328fbb8fb62974b0d37d70239960158fd85bf78 [INFO] running `Command { std: "docker" "start" "-a" "41b1ad585063a5d94b786fd63328fbb8fb62974b0d37d70239960158fd85bf78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "41b1ad585063a5d94b786fd63328fbb8fb62974b0d37d70239960158fd85bf78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41b1ad585063a5d94b786fd63328fbb8fb62974b0d37d70239960158fd85bf78", kill_on_drop: false }` [INFO] [stdout] 41b1ad585063a5d94b786fd63328fbb8fb62974b0d37d70239960158fd85bf78 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] f49dae23e85d4453a9263211ee5484c4efd256b8c8ed6a9411e2e8f69e54c444 [INFO] running `Command { std: "docker" "start" "-a" "f49dae23e85d4453a9263211ee5484c4efd256b8c8ed6a9411e2e8f69e54c444", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Checking similar v2.6.0 [INFO] [stderr] Checking core-ext v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking insta v1.39.0 [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/from.rs:14:50 [INFO] [stdout] | [INFO] [stdout] 14 | fn try_from(value: A) -> Result { [INFO] [stdout] | __________________________________________________^ [INFO] [stdout] 15 | | Ok(Self(value.0 + 1)) [INFO] [stdout] 16 | | } [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 [INFO] [stdout] --> examples/from.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | Ok(Self(value.0 + 1)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/from.rs:23:50 [INFO] [stdout] | [INFO] [stdout] 23 | fn try_from(value: B) -> Result { [INFO] [stdout] | __________________________________________________^ [INFO] [stdout] 24 | | Ok(Self(value.0 + 2)) [INFO] [stdout] 25 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/from.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | Ok(Self(value.0 + 2)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, C> [INFO] [stdout] --> examples/from.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | assert_eq!(5_u8, A(2).try_to::()?.try_to::()?.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/from.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | assert_eq!(5_u8, A(2).try_to::()?.try_to::()?.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, B> [INFO] [stdout] --> examples/from.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | assert_eq!(5_u8, A(2).try_to::()?.try_to::()?.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/from.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | assert_eq!(5_u8, A(2).try_to::()?.try_to::()?.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `core-ext` (example "from") due to 8 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 [INFO] [stdout] --> tests/snapshot-test-try_to.rs:12:60 [INFO] [stdout] | [INFO] [stdout] 12 | fn try_from(value: W) -> Result { [INFO] [stdout] | ____________________________________________________________^ [INFO] [stdout] 13 | | Ok(Self(value.0)) [INFO] [stdout] 14 | | } [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 [INFO] [stdout] --> tests/snapshot-test-try_to.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | Ok(Self(value.0)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/snapshot-test-try_to.rs:21:56 [INFO] [stdout] | [INFO] [stdout] 21 | fn try_from(value: A) -> Result { [INFO] [stdout] | ________________________________________________________^ [INFO] [stdout] 22 | | Ok(B(value.0 + 1)) [INFO] [stdout] 23 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/snapshot-test-try_to.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | Ok(B(value.0 + 1)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/snapshot-test-try_to.rs:30:56 [INFO] [stdout] | [INFO] [stdout] 30 | fn try_from(value: B) -> Result { [INFO] [stdout] | ________________________________________________________^ [INFO] [stdout] 31 | | Ok(Self(value.0 + 1)) [INFO] [stdout] 32 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/snapshot-test-try_to.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | Ok(Self(value.0 + 1)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/snapshot-test-try_to.rs:46:68 [INFO] [stdout] | [INFO] [stdout] 46 | fn try_from(value: W) -> Result { [INFO] [stdout] | ____________________________________________________________________^ [INFO] [stdout] 47 | | Ok(Type(value.0)) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/snapshot-test-try_to.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 47 | Ok(Type(value.0)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, Type> [INFO] [stdout] --> tests/snapshot-test-try_to.rs:50:38 [INFO] [stdout] | [INFO] [stdout] 50 | insta::assert_yaml_snapshot!(W(2_u8).try_to::()?.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/snapshot-test-try_to.rs:50:38 [INFO] [stdout] | [INFO] [stdout] 50 | insta::assert_yaml_snapshot!(W(2_u8).try_to::()?.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/snapshot-test-try_to.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 55 | fn test_try_to_chain() -> Result<(), Infallible> { [INFO] [stdout] | ------------------------------------------------ move the `impl` block outside of this function `test_try_to_chain` [INFO] [stdout] 56 | impl TryTo for A {} [INFO] [stdout] | ^^^^^-----^----------^^^^^^- [INFO] [stdout] | | | | [INFO] [stdout] | | | `A` is not local [INFO] [stdout] | | `Infallible` is not local [INFO] [stdout] | `TryTo` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/snapshot-test-try_to.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 55 | fn test_try_to_chain() -> Result<(), Infallible> { [INFO] [stdout] | ------------------------------------------------ move the `impl` block outside of this function `test_try_to_chain` [INFO] [stdout] 56 | impl TryTo for A {} [INFO] [stdout] 57 | impl TryTo for B {} [INFO] [stdout] | ^^^^^-----^----------^^^^^^- [INFO] [stdout] | | | | [INFO] [stdout] | | | `B` is not local [INFO] [stdout] | | `Infallible` is not local [INFO] [stdout] | `TryTo` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, A> [INFO] [stdout] --> tests/snapshot-test-try_to.rs:58:38 [INFO] [stdout] | [INFO] [stdout] 58 | insta::assert_yaml_snapshot!(W(0_u8).try_to::()?.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `core-ext` (test "snapshot-test-try_to") due to 18 previous errors; 2 warnings emitted [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/snapshot-test-try_to.rs:58:38 [INFO] [stdout] | [INFO] [stdout] 58 | insta::assert_yaml_snapshot!(W(0_u8).try_to::()?.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, C> [INFO] [stdout] --> tests/snapshot-test-try_to.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | / W(1_u8) [INFO] [stdout] 61 | | .try_to::()? [INFO] [stdout] 62 | | .try_to::()? [INFO] [stdout] 63 | | .try_to::()? [INFO] [stdout] | |_______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/snapshot-test-try_to.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | / W(1_u8) [INFO] [stdout] 61 | | .try_to::()? [INFO] [stdout] 62 | | .try_to::()? [INFO] [stdout] 63 | | .try_to::()? [INFO] [stdout] | |______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, B> [INFO] [stdout] --> tests/snapshot-test-try_to.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | / W(1_u8) [INFO] [stdout] 61 | | .try_to::()? [INFO] [stdout] 62 | | .try_to::()? [INFO] [stdout] | |_______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/snapshot-test-try_to.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | / W(1_u8) [INFO] [stdout] 61 | | .try_to::()? [INFO] [stdout] 62 | | .try_to::()? [INFO] [stdout] | |______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, A> [INFO] [stdout] --> tests/snapshot-test-try_to.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | / W(1_u8) [INFO] [stdout] 61 | | .try_to::()? [INFO] [stdout] | |_______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/snapshot-test-try_to.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | / W(1_u8) [INFO] [stdout] 61 | | .try_to::()? [INFO] [stdout] | |______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/convert/mod.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 96 | fn test_to() { [INFO] [stdout] | ------------ move the `impl` block outside of this function `test_to` [INFO] [stdout] ... [INFO] [stdout] 104 | impl To for u8 {} [INFO] [stdout] | ^^^^^--^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `To` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: core::result::Result [INFO] [stdout] --> src/convert/mod.rs:151:65 [INFO] [stdout] | [INFO] [stdout] 151 | fn try_from(value: u8) -> Result { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 152 | | Ok(Type(value)) [INFO] [stdout] 153 | | } [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: core::result::Result [INFO] [stdout] --> src/convert/mod.rs:152:17 [INFO] [stdout] | [INFO] [stdout] 152 | Ok(Type(value)) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/convert/mod.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 145 | fn test_try_to() -> Result<(), Infallible> { [INFO] [stdout] | ------------------------------------------ move the `impl` block outside of this function `test_try_to` [INFO] [stdout] ... [INFO] [stdout] 155 | impl TryTo for u8 {} [INFO] [stdout] | ^^^^^-----^----------^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Infallible` is not local [INFO] [stdout] | `TryTo` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, convert::tests::test_try_to::Type> [INFO] [stdout] --> src/convert/mod.rs:156:29 [INFO] [stdout] | [INFO] [stdout] 156 | assert_eq!(Type(2), 2_u8.try_to()?); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: core::result::Result [INFO] [stdout] --> src/convert/mod.rs:156:29 [INFO] [stdout] | [INFO] [stdout] 156 | assert_eq!(Type(2), 2_u8.try_to()?); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: core::result::Result [INFO] [stdout] --> src/convert/mod.rs:171:65 [INFO] [stdout] | [INFO] [stdout] 171 | fn try_from(value: u8) -> Result { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 172 | | Ok(A(value + 1)) [INFO] [stdout] 173 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: core::result::Result [INFO] [stdout] --> src/convert/mod.rs:172:17 [INFO] [stdout] | [INFO] [stdout] 172 | Ok(A(value + 1)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: core::result::Result [INFO] [stdout] --> src/convert/mod.rs:178:64 [INFO] [stdout] | [INFO] [stdout] 178 | fn try_from(value: A) -> Result { [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 179 | | Ok(B(value.0 + 1)) [INFO] [stdout] 180 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: core::result::Result [INFO] [stdout] --> src/convert/mod.rs:179:17 [INFO] [stdout] | [INFO] [stdout] 179 | Ok(B(value.0 + 1)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: core::result::Result [INFO] [stdout] --> src/convert/mod.rs:185:64 [INFO] [stdout] | [INFO] [stdout] 185 | fn try_from(value: B) -> Result { [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 186 | | Ok(Self(value.0 + 1)) [INFO] [stdout] 187 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: core::result::Result [INFO] [stdout] --> src/convert/mod.rs:186:17 [INFO] [stdout] | [INFO] [stdout] 186 | Ok(Self(value.0 + 1)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, convert::tests::test_try_to_chain::A> [INFO] [stdout] --> src/convert/mod.rs:192:26 [INFO] [stdout] | [INFO] [stdout] 192 | assert_eq!(A(1), 0_u8.try_to()?); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: core::result::Result [INFO] [stdout] --> src/convert/mod.rs:192:26 [INFO] [stdout] | [INFO] [stdout] 192 | assert_eq!(A(1), 0_u8.try_to()?); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, convert::tests::test_try_to_chain::C> [INFO] [stdout] --> src/convert/mod.rs:195:13 [INFO] [stdout] | [INFO] [stdout] 195 | / 1_u8.try_to::()? // [INFO] [stdout] 196 | | .try_to::()? // [INFO] [stdout] 197 | | .try_to::()? [INFO] [stdout] | |_______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: core::result::Result [INFO] [stdout] --> src/convert/mod.rs:195:13 [INFO] [stdout] | [INFO] [stdout] 195 | / 1_u8.try_to::()? // [INFO] [stdout] 196 | | .try_to::()? // [INFO] [stdout] 197 | | .try_to::()? [INFO] [stdout] | |______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, convert::tests::test_try_to_chain::B> [INFO] [stdout] --> src/convert/mod.rs:195:13 [INFO] [stdout] | [INFO] [stdout] 195 | / 1_u8.try_to::()? // [INFO] [stdout] 196 | | .try_to::()? // [INFO] [stdout] | |_______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: core::result::Result [INFO] [stdout] --> src/convert/mod.rs:195:13 [INFO] [stdout] | [INFO] [stdout] 195 | / 1_u8.try_to::()? // [INFO] [stdout] 196 | | .try_to::()? // [INFO] [stdout] | |______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, convert::tests::test_try_to_chain::A> [INFO] [stdout] --> src/convert/mod.rs:195:13 [INFO] [stdout] | [INFO] [stdout] 195 | 1_u8.try_to::()? // [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: core::result::Result [INFO] [stdout] --> src/convert/mod.rs:195:13 [INFO] [stdout] | [INFO] [stdout] 195 | 1_u8.try_to::()? // [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `core-ext` (lib test) due to 18 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f49dae23e85d4453a9263211ee5484c4efd256b8c8ed6a9411e2e8f69e54c444", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f49dae23e85d4453a9263211ee5484c4efd256b8c8ed6a9411e2e8f69e54c444", kill_on_drop: false }` [INFO] [stdout] f49dae23e85d4453a9263211ee5484c4efd256b8c8ed6a9411e2e8f69e54c444