[INFO] fetching crate w5500-hl 0.12.0... [INFO] checking w5500-hl-0.12.0 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate w5500-hl 0.12.0 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate w5500-hl 0.12.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate w5500-hl 0.12.0 [INFO] tweaked toml for crates.io crate w5500-hl 0.12.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate w5500-hl 0.12.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] 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] [stderr] Updating crates.io index [INFO] [stderr] Locking 30 packages to latest compatible versions [INFO] [stderr] Adding defmt v0.3.100 (available: v1.0.1) [INFO] [stderr] Adding embedded-hal-mock v0.10.0 (available: v0.11.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 04a110b75200292a06629ae4406fa476fb769ef421ccc22f40cb72397dd163e6 [INFO] running `Command { std: "docker" "start" "-a" "04a110b75200292a06629ae4406fa476fb769ef421ccc22f40cb72397dd163e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "04a110b75200292a06629ae4406fa476fb769ef421ccc22f40cb72397dd163e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04a110b75200292a06629ae4406fa476fb769ef421ccc22f40cb72397dd163e6", kill_on_drop: false }` [INFO] [stdout] 04a110b75200292a06629ae4406fa476fb769ef421ccc22f40cb72397dd163e6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dunmustuse_in_always_ok" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fa1e4a791a621f3b94029065822fbbfb5a81706bde8f97ab977153d98127bbfe [INFO] running `Command { std: "docker" "start" "-a" "fa1e4a791a621f3b94029065822fbbfb5a81706bde8f97ab977153d98127bbfe", kill_on_drop: false }` [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling defmt-macros v1.0.1 [INFO] [stderr] Compiling defmt v1.0.1 [INFO] [stderr] Checking embedded-hal v1.0.0 [INFO] [stderr] Checking nb v1.1.0 [INFO] [stderr] Compiling embedded-hal-async v1.0.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Checking embedded-hal v0.2.7 [INFO] [stderr] Checking embedded-hal-nb v1.0.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.3.1 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking num v0.3.1 [INFO] [stderr] Checking embedded-time v0.12.1 [INFO] [stderr] Checking embedded-hal-mock v0.10.0 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling defmt-parser v1.0.0 [INFO] [stderr] Checking defmt v0.3.100 [INFO] [stderr] Checking w5500-ll v0.13.0 [INFO] [stderr] Checking w5500-hl v0.12.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tcp.rs:583:19 [INFO] [stdout] | [INFO] [stdout] 583 | fn tcp_reader(&mut self, sn: Sn) -> Result, Error> [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 583 | fn tcp_reader(&mut self, sn: Sn) -> Result, Error> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tcp.rs:616:19 [INFO] [stdout] | [INFO] [stdout] 616 | fn tcp_writer(&mut self, sn: Sn) -> Result, Self::Error> [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 616 | fn tcp_writer(&mut self, sn: Sn) -> Result, Self::Error> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/udp.rs:769:19 [INFO] [stdout] | [INFO] [stdout] 769 | fn udp_reader(&mut self, sn: Sn) -> Result, Error> [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 769 | fn udp_reader(&mut self, sn: Sn) -> Result, Error> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/udp.rs:812:19 [INFO] [stdout] | [INFO] [stdout] 812 | fn udp_writer(&mut self, sn: Sn) -> Result, Self::Error> [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 812 | fn udp_writer(&mut self, sn: Sn) -> Result, Self::Error> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tcp.rs:583:19 [INFO] [stdout] | [INFO] [stdout] 583 | fn tcp_reader(&mut self, sn: Sn) -> Result, Error> [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 583 | fn tcp_reader(&mut self, sn: Sn) -> Result, Error> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tcp.rs:616:19 [INFO] [stdout] | [INFO] [stdout] 616 | fn tcp_writer(&mut self, sn: Sn) -> Result, Self::Error> [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 616 | fn tcp_writer(&mut self, sn: Sn) -> Result, Self::Error> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/udp.rs:769:19 [INFO] [stdout] | [INFO] [stdout] 769 | fn udp_reader(&mut self, sn: Sn) -> Result, Error> [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 769 | fn udp_reader(&mut self, sn: Sn) -> Result, Error> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/udp.rs:812:19 [INFO] [stdout] | [INFO] [stdout] 812 | fn udp_writer(&mut self, sn: Sn) -> Result, Self::Error> [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 812 | fn udp_writer(&mut self, sn: Sn) -> Result, Self::Error> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:368:71 [INFO] [stdout] | [INFO] [stdout] 368 | fn sn_port(&mut self, socket: Sn) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 369 | | Ok(self.socket_ports[usize::from(socket)]) [INFO] [stdout] 370 | | } [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] --> src/lib.rs:369:13 [INFO] [stdout] | [INFO] [stdout] 369 | Ok(self.socket_ports[usize::from(socket)]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this type continue be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:372:90 [INFO] [stdout] | [INFO] [stdout] 372 | fn sn_sr(&mut self, socket: Sn) -> Result, Self::Error> { [INFO] [stdout] | __________________________________________________________________________________________^ [INFO] [stdout] 373 | | Ok(Ok(self.socket_status[usize::from(socket)])) [INFO] [stdout] 374 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mustuse_in_always_ok)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this type continue be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:373:13 [INFO] [stdout] | [INFO] [stdout] 373 | Ok(Ok(self.socket_status[usize::from(socket)])) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:384:17 [INFO] [stdout] | [INFO] [stdout] 384 | assert!(port_is_unique(&mut mock, Sn::Sn0, 0).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:385:17 [INFO] [stdout] | [INFO] [stdout] 385 | assert!(port_is_unique(&mut mock, Sn::Sn0, 1).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:386:17 [INFO] [stdout] | [INFO] [stdout] 386 | assert!(port_is_unique(&mut mock, Sn::Sn0, u16::MAX).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:390:17 [INFO] [stdout] | [INFO] [stdout] 390 | assert!(port_is_unique(&mut mock, Sn::Sn0, 0).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:393:17 [INFO] [stdout] | [INFO] [stdout] 393 | assert!(port_is_unique(&mut mock, Sn::Sn0, 1).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:396:18 [INFO] [stdout] | [INFO] [stdout] 396 | assert!(!port_is_unique(&mut mock, Sn::Sn1, 0).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/udp.rs:17:74 [INFO] [stdout] | [INFO] [stdout] 17 | fn sn_rx_rsr(&mut self, _socket: Sn) -> Result { [INFO] [stdout] | __________________________________________________________________________^ [INFO] [stdout] 18 | | Ok(1024) [INFO] [stdout] 19 | | } [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/udp.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | Ok(1024) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this type continue be must used: Result, std::convert::Infallible> [INFO] [stdout] --> tests/udp.rs:21:91 [INFO] [stdout] | [INFO] [stdout] 21 | fn sn_sr(&mut self, _socket: Sn) -> Result, Self::Error> { [INFO] [stdout] | ___________________________________________________________________________________________^ [INFO] [stdout] 22 | | Ok(SocketStatus::try_from(u8::from(SocketStatus::Closed))) [INFO] [stdout] 23 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mustuse_in_always_ok)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this type continue be must used: Result, std::convert::Infallible> [INFO] [stdout] --> tests/udp.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | Ok(SocketStatus::try_from(u8::from(SocketStatus::Closed))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/udp.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | test.udp_send_to(Sn::Sn0, &buf, &SocketAddrV4::new(Ipv4Addr::UNSPECIFIED, 0)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/udp.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | test.udp_send(Sn::Sn0, &buf).ok(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/udp.rs:84:74 [INFO] [stdout] | [INFO] [stdout] 84 | fn sn_rx_rsr(&mut self, _socket: Sn) -> Result { [INFO] [stdout] | __________________________________________________________________________^ [INFO] [stdout] 85 | | Ok(5) [INFO] [stdout] 86 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `w5500-hl` (lib test) due to 8 previous errors; 6 warnings emitted [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/udp.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | Ok(5) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: this type continue be must used: Result, std::convert::Infallible> [INFO] [stdout] --> tests/udp.rs:157:90 [INFO] [stdout] | [INFO] [stdout] 157 | fn sn_sr(&mut self, socket: Sn) -> Result, Self::Error> { [INFO] [stdout] | __________________________________________________________________________________________^ [INFO] [stdout] 158 | | assert_eq!(socket, TEST_SOCKET); [INFO] [stdout] 159 | | Ok(SocketStatus::try_from( [INFO] [stdout] 160 | | self.sn_sr.pop().expect("Unexpected socket status read"), [INFO] [stdout] 161 | | )) [INFO] [stdout] 162 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `w5500-hl` (test "udp") due to 8 previous errors; 4 warnings emitted [INFO] [stdout] warning: this type continue be must used: Result, std::convert::Infallible> [INFO] [stdout] --> tests/udp.rs:159:13 [INFO] [stdout] | [INFO] [stdout] 159 | / Ok(SocketStatus::try_from( [INFO] [stdout] 160 | | self.sn_sr.pop().expect("Unexpected socket status read"), [INFO] [stdout] 161 | | )) [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/udp.rs:164:71 [INFO] [stdout] | [INFO] [stdout] 164 | fn sn_port(&mut self, socket: Sn) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 165 | | Ok(u16::from(u8::from(socket))) [INFO] [stdout] 166 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/udp.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | Ok(u16::from(u8::from(socket))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/common.rs:14:61 [INFO] [stdout] | [INFO] [stdout] 14 | fn sipr(&mut self) -> Result { [INFO] [stdout] | _____________________________________________________________^ [INFO] [stdout] 15 | | Ok(Ipv4Addr::LOCALHOST) [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] --> tests/common.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | Ok(Ipv4Addr::LOCALHOST) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/common.rs:18:71 [INFO] [stdout] | [INFO] [stdout] 18 | fn sn_port(&mut self, socket: Sn) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 19 | | Ok(u16::from(u8::from(socket))) [INFO] [stdout] 20 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/common.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | Ok(u16::from(u8::from(socket))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/common.rs:36:24 [INFO] [stdout] | [INFO] [stdout] 36 | assert_eq!(mock.local_addr(*socket), Ok(expected)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/common.rs:36:50 [INFO] [stdout] | [INFO] [stdout] 36 | assert_eq!(mock.local_addr(*socket), Ok(expected)); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/common.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | assert_eq!(mock.local_addr(*socket), Ok(expected)); [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] --> tests/common.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | assert_eq!(mock.local_addr(*socket), Ok(expected)); [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] --> tests/common.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | assert_eq!(mock.local_addr(*socket), Ok(expected)); [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] --> tests/common.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | assert_eq!(mock.local_addr(*socket), Ok(expected)); [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] warning: this type continue be must used: Result, std::convert::Infallible> [INFO] [stdout] --> tests/common.rs:85:90 [INFO] [stdout] | [INFO] [stdout] 85 | fn sn_sr(&mut self, socket: Sn) -> Result, Self::Error> { [INFO] [stdout] | __________________________________________________________________________________________^ [INFO] [stdout] 86 | | assert_eq!(socket, SOCKET); [INFO] [stdout] 87 | | Ok(self.states.pop().expect("Unexpected call to sn_sr")) [INFO] [stdout] 88 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mustuse_in_always_ok)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this type continue be must used: Result, std::convert::Infallible> [INFO] [stdout] --> tests/common.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | Ok(self.states.pop().expect("Unexpected call to sn_sr")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/common.rs:123:22 [INFO] [stdout] | [INFO] [stdout] 123 | assert!(!mock.is_state_closed(SOCKET).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/common.rs:125:17 [INFO] [stdout] | [INFO] [stdout] 125 | assert!(mock.is_state_closed(SOCKET).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this type continue be must used: Result, std::convert::Infallible> [INFO] [stdout] --> tests/common.rs:145:90 [INFO] [stdout] | [INFO] [stdout] 145 | fn sn_sr(&mut self, socket: Sn) -> Result, Self::Error> { [INFO] [stdout] | __________________________________________________________________________________________^ [INFO] [stdout] 146 | | assert_eq!(socket, SOCKET); [INFO] [stdout] 147 | | Ok(self.states.pop().expect("Unexpected call to sn_sr")) [INFO] [stdout] 148 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this type continue be must used: Result, std::convert::Infallible> [INFO] [stdout] --> tests/common.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 147 | Ok(self.states.pop().expect("Unexpected call to sn_sr")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/common.rs:183:22 [INFO] [stdout] | [INFO] [stdout] 183 | assert!(!mock.is_state_tcp(SOCKET).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/common.rs:186:21 [INFO] [stdout] | [INFO] [stdout] 186 | assert!(mock.is_state_tcp(SOCKET).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this type continue be must used: Result, std::convert::Infallible> [INFO] [stdout] --> tests/common.rs:207:90 [INFO] [stdout] | [INFO] [stdout] 207 | fn sn_sr(&mut self, socket: Sn) -> Result, Self::Error> { [INFO] [stdout] | __________________________________________________________________________________________^ [INFO] [stdout] 208 | | assert_eq!(socket, SOCKET); [INFO] [stdout] 209 | | Ok(self.states.pop().expect("Unexpected call to sn_sr")) [INFO] [stdout] 210 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this type continue be must used: Result, std::convert::Infallible> [INFO] [stdout] --> tests/common.rs:209:13 [INFO] [stdout] | [INFO] [stdout] 209 | Ok(self.states.pop().expect("Unexpected call to sn_sr")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/common.rs:245:22 [INFO] [stdout] | [INFO] [stdout] 245 | assert!(!mock.is_state_udp(SOCKET).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/common.rs:247:17 [INFO] [stdout] | [INFO] [stdout] 247 | assert!(mock.is_state_udp(SOCKET).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `w5500-hl` (test "common") due to 16 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "fa1e4a791a621f3b94029065822fbbfb5a81706bde8f97ab977153d98127bbfe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa1e4a791a621f3b94029065822fbbfb5a81706bde8f97ab977153d98127bbfe", kill_on_drop: false }` [INFO] [stdout] fa1e4a791a621f3b94029065822fbbfb5a81706bde8f97ab977153d98127bbfe