[INFO] fetching crate coapum 0.2.0... [INFO] checking coapum-0.2.0 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate coapum 0.2.0 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate coapum 0.2.0 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate coapum 0.2.0 [INFO] tweaked toml for crates.io crate coapum 0.2.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate coapum 0.2.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 coapum 0.2.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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] f7a216a57abb7b3f4336f2f9c2b41b9321ac95bbc8c264afc449b56b30493476 [INFO] running `Command { std: "docker" "start" "-a" "f7a216a57abb7b3f4336f2f9c2b41b9321ac95bbc8c264afc449b56b30493476", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f7a216a57abb7b3f4336f2f9c2b41b9321ac95bbc8c264afc449b56b30493476", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7a216a57abb7b3f4336f2f9c2b41b9321ac95bbc8c264afc449b56b30493476", kill_on_drop: false }` [INFO] [stdout] f7a216a57abb7b3f4336f2f9c2b41b9321ac95bbc8c264afc449b56b30493476 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 261f54de05e018b81a96a23e96e6e5bf30699be1d8690038690b9ad3e773bd2d [INFO] running `Command { std: "docker" "start" "-a" "261f54de05e018b81a96a23e96e6e5bf30699be1d8690038690b9ad3e773bd2d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Checking pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling cc v1.2.33 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking anstyle v1.0.11 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking half v2.6.0 [INFO] [stderr] Compiling oid-registry v0.7.1 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Compiling rustls v0.23.31 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking anstyle-query v1.1.4 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking pem v3.0.5 [INFO] [stderr] Checking clap_lex v0.7.5 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking colorchoice v1.0.4 [INFO] [stderr] Checking anstyle-parse v0.2.7 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking rayon-core v1.13.0 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking crc32fast v1.5.0 [INFO] [stderr] Checking anstream v0.6.20 [INFO] [stderr] Checking clap_builder v4.5.44 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking coap-message v0.3.6 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking coap-message v0.2.3 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking jiff v0.2.15 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking lru_time_cache v0.11.11 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking coap-lite v0.13.3 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking oorandom v11.1.5 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking route-recognizer v0.3.1 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking ff v0.13.1 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking sled v0.34.7 [INFO] [stderr] Checking criterion-plot v0.6.0 [INFO] [stderr] Checking rusticata-macros v4.1.0 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking clap v4.5.45 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking env_filter v0.1.3 [INFO] [stderr] Checking env_logger v0.11.8 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling asn1-rs-derive v0.5.1 [INFO] [stderr] Compiling asn1-rs-impl v0.2.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking der v0.7.10 [INFO] [stderr] Checking rustls-pki-types v1.12.0 [INFO] [stderr] Checking rustls-webpki v0.103.4 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking block-padding v0.3.3 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking polyval v0.6.2 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking ghash v0.5.1 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking cbc v0.1.2 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking ccm v0.5.0 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Checking aes-gcm v0.10.3 [INFO] [stderr] Checking x25519-dalek v2.0.1 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking primeorder v0.13.6 [INFO] [stderr] Checking ecdsa v0.16.9 [INFO] [stderr] Checking p384 v0.13.1 [INFO] [stderr] Checking p256 v0.13.2 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking webrtc-util v0.11.0 [INFO] [stderr] Checking deranged v0.4.0 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Checking criterion v0.7.0 [INFO] [stderr] Checking asn1-rs v0.6.2 [INFO] [stderr] Checking yasna v0.5.2 [INFO] [stderr] Checking coapum-senml v0.1.0 [INFO] [stderr] Checking rcgen v0.13.2 [INFO] [stderr] Checking der-parser v9.0.0 [INFO] [stderr] Checking x509-parser v0.16.0 [INFO] [stderr] Checking webrtc-dtls v0.12.0 [INFO] [stderr] Checking coapum v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/router/mod.rs:28:28 [INFO] [stdout] | [INFO] [stdout] 28 | pub type RouterError = Box<(dyn std::error::Error + Send + Sync + 'static)>; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 28 - pub type RouterError = Box<(dyn std::error::Error + Send + Sync + 'static)>; [INFO] [stdout] 28 + pub type RouterError = Box; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/router/mod.rs:28:28 [INFO] [stdout] | [INFO] [stdout] 28 | pub type RouterError = Box<(dyn std::error::Error + Send + Sync + 'static)>; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 28 - pub type RouterError = Box<(dyn std::error::Error + Send + Sync + 'static)>; [INFO] [stdout] 28 + pub type RouterError = Box; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/extract/payload.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | async fn from_request( [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/extract/payload.rs:72:1 [INFO] [stdout] | [INFO] [stdout] 72 | #[async_trait] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `async_trait` (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/extract/payload.rs:79:40 [INFO] [stdout] | [INFO] [stdout] 79 | ) -> Result { [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 80 | | Ok(Bytes(req.message.payload.clone())) [INFO] [stdout] 81 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/extract/payload.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | Ok(Bytes(req.message.payload.clone())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/extract/payload.rs:473:5 [INFO] [stdout] | [INFO] [stdout] 473 | async fn from_request( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/extract/payload.rs:469:1 [INFO] [stdout] | [INFO] [stdout] 469 | #[async_trait] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `async_trait` (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/extract/payload.rs:476:40 [INFO] [stdout] | [INFO] [stdout] 476 | ) -> Result { [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 477 | | Ok(Raw { [INFO] [stdout] 478 | | payload: req.message.payload.clone(), [INFO] [stdout] 479 | | content_format: req.message.get_content_format(), [INFO] [stdout] 480 | | }) [INFO] [stdout] 481 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/extract/payload.rs:477:9 [INFO] [stdout] | [INFO] [stdout] 477 | / Ok(Raw { [INFO] [stdout] 478 | | payload: req.message.payload.clone(), [INFO] [stdout] 479 | | content_format: req.message.get_content_format(), [INFO] [stdout] 480 | | }) [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/extract/state.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | async fn from_request( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/extract/state.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | #[async_trait] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `async_trait` (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/extract/state.rs:62:40 [INFO] [stdout] | [INFO] [stdout] 62 | ) -> Result { [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 63 | | Ok(Identity(req.identity.clone())) [INFO] [stdout] 64 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/extract/state.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | Ok(Identity(req.identity.clone())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/extract/state.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | async fn from_request( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/extract/state.rs:106:1 [INFO] [stdout] | [INFO] [stdout] 106 | #[async_trait] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `async_trait` (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/extract/state.rs:113:40 [INFO] [stdout] | [INFO] [stdout] 113 | ) -> Result { [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 114 | | let addr = req.source.unwrap_or_else(|| "0.0.0.0:0".parse().unwrap()); [INFO] [stdout] 115 | | Ok(Source(addr)) [INFO] [stdout] 116 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/extract/state.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | Ok(Source(addr)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/extract/state.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 166 | async fn from_request( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/extract/state.rs:162:1 [INFO] [stdout] | [INFO] [stdout] 162 | #[async_trait] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `async_trait` (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/extract/state.rs:169:40 [INFO] [stdout] | [INFO] [stdout] 169 | ) -> Result { [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 170 | | Ok(ObserveFlag(*req.get_observe_flag())) [INFO] [stdout] 171 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/extract/state.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 170 | Ok(ObserveFlag(*req.get_observe_flag())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/extract/state.rs:437:5 [INFO] [stdout] | [INFO] [stdout] 437 | async fn from_request( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/extract/state.rs:433:1 [INFO] [stdout] | [INFO] [stdout] 433 | #[async_trait] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `async_trait` (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/extract/state.rs:440:40 [INFO] [stdout] | [INFO] [stdout] 440 | ) -> Result { [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 441 | | Ok(FullRequest(req.clone())) [INFO] [stdout] 442 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/extract/state.rs:441:9 [INFO] [stdout] | [INFO] [stdout] 441 | Ok(FullRequest(req.clone())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/mod.rs:68:29 [INFO] [stdout] | [INFO] [stdout] 68 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 69 | | let result = (self.f)().await; [INFO] [stdout] 70 | | Ok(result.into_response().unwrap_or_else(|e| { [INFO] [stdout] 71 | | log::error!("Response conversion failed: {}", e); [INFO] [stdout] ... | [INFO] [stdout] 75 | | })) [INFO] [stdout] 76 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/mod.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | / Ok(result.into_response().unwrap_or_else(|e| { [INFO] [stdout] 71 | | log::error!("Response conversion failed: {}", e); [INFO] [stdout] 72 | | crate::extract::StatusCode::InternalServerError [INFO] [stdout] 73 | | .into_response() [INFO] [stdout] 74 | | .unwrap() [INFO] [stdout] 75 | | })) [INFO] [stdout] | |_______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/mod.rs:94:29 [INFO] [stdout] | [INFO] [stdout] 94 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 95 | | let state_guard = state.lock().await; [INFO] [stdout] 96 | | let t1 = match T1::from_request(&req, &*state_guard).await { [INFO] [stdout] 97 | | Ok(val) => val, [INFO] [stdout] ... | [INFO] [stdout] 115 | | })) [INFO] [stdout] 116 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/mod.rs:99:28 [INFO] [stdout] | [INFO] [stdout] 99 | return Ok(rejection.into_response().unwrap_or_else(|e| { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 100 | | log::error!("Rejection response conversion failed: {}", e); [INFO] [stdout] 101 | | crate::extract::StatusCode::BadRequest [INFO] [stdout] 102 | | .into_response() [INFO] [stdout] 103 | | .unwrap() [INFO] [stdout] 104 | | })); [INFO] [stdout] | |_______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/mod.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | / Ok(result.into_response().unwrap_or_else(|e| { [INFO] [stdout] 111 | | log::error!("Response conversion failed: {}", e); [INFO] [stdout] 112 | | crate::extract::StatusCode::InternalServerError [INFO] [stdout] 113 | | .into_response() [INFO] [stdout] 114 | | .unwrap() [INFO] [stdout] 115 | | })) [INFO] [stdout] | |_______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/mod.rs:136:29 [INFO] [stdout] | [INFO] [stdout] 136 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 137 | | let state_guard = state.lock().await; [INFO] [stdout] 138 | | [INFO] [stdout] 139 | | let t1 = match T1::from_request(&req, &*state_guard).await { [INFO] [stdout] ... | [INFO] [stdout] 171 | | })) [INFO] [stdout] 172 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/mod.rs:142:28 [INFO] [stdout] | [INFO] [stdout] 142 | return Ok(rejection.into_response().unwrap_or_else(|e| { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 143 | | log::error!("Rejection response conversion failed: {}", e); [INFO] [stdout] 144 | | crate::extract::StatusCode::BadRequest [INFO] [stdout] 145 | | .into_response() [INFO] [stdout] 146 | | .unwrap() [INFO] [stdout] 147 | | })); [INFO] [stdout] | |_______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/mod.rs:154:28 [INFO] [stdout] | [INFO] [stdout] 154 | return Ok(rejection.into_response().unwrap_or_else(|e| { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 155 | | log::error!("Rejection response conversion failed: {}", e); [INFO] [stdout] 156 | | crate::extract::StatusCode::BadRequest [INFO] [stdout] 157 | | .into_response() [INFO] [stdout] 158 | | .unwrap() [INFO] [stdout] 159 | | })); [INFO] [stdout] | |_______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/mod.rs:166:13 [INFO] [stdout] | [INFO] [stdout] 166 | / Ok(result.into_response().unwrap_or_else(|e| { [INFO] [stdout] 167 | | log::error!("Response conversion failed: {}", e); [INFO] [stdout] 168 | | crate::extract::StatusCode::InternalServerError [INFO] [stdout] 169 | | .into_response() [INFO] [stdout] 170 | | .unwrap() [INFO] [stdout] 171 | | })) [INFO] [stdout] | |_______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/mod.rs:194:29 [INFO] [stdout] | [INFO] [stdout] 194 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 195 | | let state_guard = state.lock().await; [INFO] [stdout] 196 | | [INFO] [stdout] 197 | | let t1 = match T1::from_request(&req, &*state_guard).await { [INFO] [stdout] ... | [INFO] [stdout] 241 | | })) [INFO] [stdout] 242 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/mod.rs:200:28 [INFO] [stdout] | [INFO] [stdout] 200 | return Ok(rejection.into_response().unwrap_or_else(|e| { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 201 | | log::error!("Rejection response conversion failed: {}", e); [INFO] [stdout] 202 | | crate::extract::StatusCode::BadRequest [INFO] [stdout] 203 | | .into_response() [INFO] [stdout] 204 | | .unwrap() [INFO] [stdout] 205 | | })); [INFO] [stdout] | |_______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/mod.rs:212:28 [INFO] [stdout] | [INFO] [stdout] 212 | return Ok(rejection.into_response().unwrap_or_else(|e| { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 213 | | log::error!("Rejection response conversion failed: {}", e); [INFO] [stdout] 214 | | crate::extract::StatusCode::BadRequest [INFO] [stdout] 215 | | .into_response() [INFO] [stdout] 216 | | .unwrap() [INFO] [stdout] 217 | | })); [INFO] [stdout] | |_______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/mod.rs:224:28 [INFO] [stdout] | [INFO] [stdout] 224 | return Ok(rejection.into_response().unwrap_or_else(|e| { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 225 | | log::error!("Rejection response conversion failed: {}", e); [INFO] [stdout] 226 | | crate::extract::StatusCode::BadRequest [INFO] [stdout] 227 | | .into_response() [INFO] [stdout] 228 | | .unwrap() [INFO] [stdout] 229 | | })); [INFO] [stdout] | |_______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/mod.rs:236:13 [INFO] [stdout] | [INFO] [stdout] 236 | / Ok(result.into_response().unwrap_or_else(|e| { [INFO] [stdout] 237 | | log::error!("Response conversion failed: {}", e); [INFO] [stdout] 238 | | crate::extract::StatusCode::InternalServerError [INFO] [stdout] 239 | | .into_response() [INFO] [stdout] 240 | | .unwrap() [INFO] [stdout] 241 | | })) [INFO] [stdout] | |_______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/mod.rs:266:29 [INFO] [stdout] | [INFO] [stdout] 266 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 267 | | let state_guard = state.lock().await; [INFO] [stdout] 268 | | [INFO] [stdout] 269 | | let t1 = match T1::from_request(&req, &*state_guard).await { [INFO] [stdout] ... | [INFO] [stdout] 325 | | })) [INFO] [stdout] 326 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/mod.rs:272:28 [INFO] [stdout] | [INFO] [stdout] 272 | return Ok(rejection.into_response().unwrap_or_else(|e| { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 273 | | log::error!("Rejection response conversion failed: {}", e); [INFO] [stdout] 274 | | crate::extract::StatusCode::BadRequest [INFO] [stdout] 275 | | .into_response() [INFO] [stdout] 276 | | .unwrap() [INFO] [stdout] 277 | | })); [INFO] [stdout] | |_______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/mod.rs:284:28 [INFO] [stdout] | [INFO] [stdout] 284 | return Ok(rejection.into_response().unwrap_or_else(|e| { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 285 | | log::error!("Rejection response conversion failed: {}", e); [INFO] [stdout] 286 | | crate::extract::StatusCode::BadRequest [INFO] [stdout] 287 | | .into_response() [INFO] [stdout] 288 | | .unwrap() [INFO] [stdout] 289 | | })); [INFO] [stdout] | |_______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/mod.rs:296:28 [INFO] [stdout] | [INFO] [stdout] 296 | return Ok(rejection.into_response().unwrap_or_else(|e| { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 297 | | log::error!("Rejection response conversion failed: {}", e); [INFO] [stdout] 298 | | crate::extract::StatusCode::BadRequest [INFO] [stdout] 299 | | .into_response() [INFO] [stdout] 300 | | .unwrap() [INFO] [stdout] 301 | | })); [INFO] [stdout] | |_______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/mod.rs:308:28 [INFO] [stdout] | [INFO] [stdout] 308 | return Ok(rejection.into_response().unwrap_or_else(|e| { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 309 | | log::error!("Rejection response conversion failed: {}", e); [INFO] [stdout] 310 | | crate::extract::StatusCode::BadRequest [INFO] [stdout] 311 | | .into_response() [INFO] [stdout] 312 | | .unwrap() [INFO] [stdout] 313 | | })); [INFO] [stdout] | |_______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/mod.rs:320:13 [INFO] [stdout] | [INFO] [stdout] 320 | / Ok(result.into_response().unwrap_or_else(|e| { [INFO] [stdout] 321 | | log::error!("Response conversion failed: {}", e); [INFO] [stdout] 322 | | crate::extract::StatusCode::InternalServerError [INFO] [stdout] 323 | | .into_response() [INFO] [stdout] 324 | | .unwrap() [INFO] [stdout] 325 | | })) [INFO] [stdout] | |_______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/mod.rs:373:5 [INFO] [stdout] | [INFO] [stdout] 373 | async fn call_erased( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/mod.rs:367:1 [INFO] [stdout] | [INFO] [stdout] 367 | #[async_trait] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `async_trait` (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/handler/mod.rs:377:43 [INFO] [stdout] | [INFO] [stdout] 377 | ) -> Result { [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 378 | | // This is a fallback implementation that returns a default response [INFO] [stdout] 379 | | // The actual handler calling will be done by the specific implementations [INFO] [stdout] 380 | | let pkt = coap_lite::Packet::new(); [INFO] [stdout] ... | [INFO] [stdout] 383 | | Ok(response) [INFO] [stdout] 384 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/mod.rs:383:9 [INFO] [stdout] | [INFO] [stdout] 383 | Ok(response) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/mod.rs:407:5 [INFO] [stdout] | [INFO] [stdout] 407 | async fn call_erased( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/mod.rs:399:1 [INFO] [stdout] | [INFO] [stdout] 399 | #[async_trait] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `async_trait` (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/handler/mod.rs:411:43 [INFO] [stdout] | [INFO] [stdout] 411 | ) -> Result { [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 412 | | self.handler_fn.clone().call(req, state).await [INFO] [stdout] 413 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/mod.rs:412:9 [INFO] [stdout] | [INFO] [stdout] 412 | self.handler_fn.clone().call(req, state).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/mod.rs:412:50 [INFO] [stdout] | [INFO] [stdout] 412 | self.handler_fn.clone().call(req, state).await [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/mod.rs:412:9 [INFO] [stdout] | [INFO] [stdout] 412 | self.handler_fn.clone().call(req, state).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/router/mod.rs:899:37 [INFO] [stdout] | [INFO] [stdout] 899 | Box::pin(async move { handler.call_erased(request, state).await }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/router/mod.rs:899:39 [INFO] [stdout] | [INFO] [stdout] 899 | Box::pin(async move { handler.call_erased(request, state).await }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/router/mod.rs:899:75 [INFO] [stdout] | [INFO] [stdout] 899 | Box::pin(async move { handler.call_erased(request, state).await }) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/router/mod.rs:899:39 [INFO] [stdout] | [INFO] [stdout] 899 | Box::pin(async move { handler.call_erased(request, state).await }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/router/mod.rs:909:37 [INFO] [stdout] | [INFO] [stdout] 909 | Box::pin(async move { (ResponseType::BadRequest, &request).into_response() }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/router/mod.rs:909:39 [INFO] [stdout] | [INFO] [stdout] 909 | Box::pin(async move { (ResponseType::BadRequest, &request).into_response() }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/router/mod.rs:956:37 [INFO] [stdout] | [INFO] [stdout] 956 | Box::pin(async move { handler.call_erased(coap_request, state).await }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/router/mod.rs:956:39 [INFO] [stdout] | [INFO] [stdout] 956 | Box::pin(async move { handler.call_erased(coap_request, state).await }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/router/mod.rs:956:80 [INFO] [stdout] | [INFO] [stdout] 956 | Box::pin(async move { handler.call_erased(coap_request, state).await }) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/router/mod.rs:956:39 [INFO] [stdout] | [INFO] [stdout] 956 | Box::pin(async move { handler.call_erased(coap_request, state).await }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/router/mod.rs:962:37 [INFO] [stdout] | [INFO] [stdout] 962 | Box::pin(async move { (ResponseType::BadRequest).into_response() }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/router/mod.rs:962:39 [INFO] [stdout] | [INFO] [stdout] 962 | Box::pin(async move { (ResponseType::BadRequest).into_response() }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/router/wrapper/mod.rs:97:50 [INFO] [stdout] | [INFO] [stdout] 97 | fn into_response(self) -> CoapResponseResult { [INFO] [stdout] | __________________________________________________^ [INFO] [stdout] 98 | | let pkt = Packet::new(); [INFO] [stdout] 99 | | let mut response = CoapResponse::new(&pkt).unwrap(); [INFO] [stdout] 100 | | response.set_status(self); [INFO] [stdout] 101 | | Ok(response) [INFO] [stdout] 102 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/router/wrapper/mod.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | Ok(response) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/router/wrapper/mod.rs:109:50 [INFO] [stdout] | [INFO] [stdout] 109 | fn into_response(self) -> CoapResponseResult { [INFO] [stdout] | __________________________________________________^ [INFO] [stdout] 110 | | let mut response = self.1.into_response().unwrap(); [INFO] [stdout] 111 | | response.set_status(self.0); [INFO] [stdout] 112 | | Ok(response) [INFO] [stdout] 113 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/router/wrapper/mod.rs:110:28 [INFO] [stdout] | [INFO] [stdout] 110 | let mut response = self.1.into_response().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/router/wrapper/mod.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | Ok(response) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/router/wrapper/mod.rs:117:50 [INFO] [stdout] | [INFO] [stdout] 117 | fn into_response(self) -> CoapResponseResult { [INFO] [stdout] | __________________________________________________^ [INFO] [stdout] 118 | | let pkt = Packet::new(); [INFO] [stdout] 119 | | let mut response = CoapResponse::new(&pkt).unwrap(); [INFO] [stdout] 120 | | response.message.header.message_id = self.message.header.message_id; [INFO] [stdout] ... | [INFO] [stdout] 124 | | Ok(response) [INFO] [stdout] 125 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/router/wrapper/mod.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | Ok(response) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/router/wrapper/mod.rs:129:50 [INFO] [stdout] | [INFO] [stdout] 129 | fn into_response(self) -> CoapResponseResult { [INFO] [stdout] | __________________________________________________^ [INFO] [stdout] 130 | | let pkt = Packet::new(); [INFO] [stdout] 131 | | let mut response = CoapResponse::new(&pkt).unwrap(); [INFO] [stdout] 132 | | response.message.header.message_id = self.message.header.message_id; [INFO] [stdout] ... | [INFO] [stdout] 136 | | Ok(response) [INFO] [stdout] 137 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/router/wrapper/mod.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | Ok(response) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/router/wrapper/mod.rs:141:50 [INFO] [stdout] | [INFO] [stdout] 141 | fn into_response(self) -> CoapResponseResult { [INFO] [stdout] | __________________________________________________^ [INFO] [stdout] 142 | | let pkt = Packet::new(); [INFO] [stdout] 143 | | let mut response = CoapResponse::new(&pkt).unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 149 | | Ok(response) [INFO] [stdout] 150 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/router/wrapper/mod.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | Ok(response) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/router/wrapper/mod.rs:154:50 [INFO] [stdout] | [INFO] [stdout] 154 | fn into_response(self) -> CoapResponseResult { [INFO] [stdout] | __________________________________________________^ [INFO] [stdout] 155 | | let pkt = Packet::new(); [INFO] [stdout] 156 | | let mut response = CoapResponse::new(&pkt).unwrap(); [INFO] [stdout] 157 | | response.message.payload = serde_json::to_vec(&self).unwrap(); [INFO] [stdout] 158 | | Ok(response) [INFO] [stdout] 159 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/router/wrapper/mod.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 158 | Ok(response) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/router/wrapper/mod.rs:163:50 [INFO] [stdout] | [INFO] [stdout] 163 | fn into_response(self) -> CoapResponseResult { [INFO] [stdout] | __________________________________________________^ [INFO] [stdout] 164 | | let pkt = Packet::new(); [INFO] [stdout] 165 | | let mut response = CoapResponse::new(&pkt).unwrap(); [INFO] [stdout] 166 | | response.message.payload = self; [INFO] [stdout] 167 | | Ok(response) [INFO] [stdout] 168 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/router/wrapper/mod.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | Ok(response) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/serve.rs:250:39 [INFO] [stdout] | [INFO] [stdout] 250 | ... match router.call(req).await{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/serve.rs:250:56 [INFO] [stdout] | [INFO] [stdout] 250 | ... match router.call(req).await{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/serve.rs:250:39 [INFO] [stdout] | [INFO] [stdout] 250 | ... match router.call(req).await{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/serve.rs:344:39 [INFO] [stdout] | [INFO] [stdout] 344 | ... match router.call(request).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/serve.rs:344:60 [INFO] [stdout] | [INFO] [stdout] 344 | ... match router.call(request).await [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/serve.rs:344:39 [INFO] [stdout] | [INFO] [stdout] 344 | ... match router.call(request).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `coapum` (lib) due to 87 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/extract/payload.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | async fn from_request( [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/extract/payload.rs:72:1 [INFO] [stdout] | [INFO] [stdout] 72 | #[async_trait] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `async_trait` (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/extract/payload.rs:79:40 [INFO] [stdout] | [INFO] [stdout] 79 | ) -> Result { [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 80 | | Ok(Bytes(req.message.payload.clone())) [INFO] [stdout] 81 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/extract/payload.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | Ok(Bytes(req.message.payload.clone())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/extract/payload.rs:473:5 [INFO] [stdout] | [INFO] [stdout] 473 | async fn from_request( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/extract/payload.rs:469:1 [INFO] [stdout] | [INFO] [stdout] 469 | #[async_trait] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `async_trait` (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/extract/payload.rs:476:40 [INFO] [stdout] | [INFO] [stdout] 476 | ) -> Result { [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 477 | | Ok(Raw { [INFO] [stdout] 478 | | payload: req.message.payload.clone(), [INFO] [stdout] 479 | | content_format: req.message.get_content_format(), [INFO] [stdout] 480 | | }) [INFO] [stdout] 481 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/extract/payload.rs:477:9 [INFO] [stdout] | [INFO] [stdout] 477 | / Ok(Raw { [INFO] [stdout] 478 | | payload: req.message.payload.clone(), [INFO] [stdout] 479 | | content_format: req.message.get_content_format(), [INFO] [stdout] 480 | | }) [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/extract/payload.rs:746:22 [INFO] [stdout] | [INFO] [stdout] 746 | let result = Bytes::from_request(&req, &()).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/extract/payload.rs:746:53 [INFO] [stdout] | [INFO] [stdout] 746 | let result = Bytes::from_request(&req, &()).await; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/extract/payload.rs:746:22 [INFO] [stdout] | [INFO] [stdout] 746 | let result = Bytes::from_request(&req, &()).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/extract/payload.rs:747:17 [INFO] [stdout] | [INFO] [stdout] 747 | assert!(result.is_ok()); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/extract/payload.rs:748:20 [INFO] [stdout] | [INFO] [stdout] 748 | assert_eq!(result.unwrap().0, payload); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/extract/payload.rs:814:22 [INFO] [stdout] | [INFO] [stdout] 814 | let result = Raw::from_request(&req, &()).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/extract/payload.rs:814:51 [INFO] [stdout] | [INFO] [stdout] 814 | let result = Raw::from_request(&req, &()).await; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/extract/payload.rs:814:22 [INFO] [stdout] | [INFO] [stdout] 814 | let result = Raw::from_request(&req, &()).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/extract/payload.rs:815:17 [INFO] [stdout] | [INFO] [stdout] 815 | assert!(result.is_ok()); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/extract/payload.rs:816:19 [INFO] [stdout] | [INFO] [stdout] 816 | let raw = result.unwrap(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/extract/state.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | async fn from_request( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/extract/state.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | #[async_trait] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `async_trait` (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/extract/state.rs:62:40 [INFO] [stdout] | [INFO] [stdout] 62 | ) -> Result { [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 63 | | Ok(Identity(req.identity.clone())) [INFO] [stdout] 64 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/extract/state.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | Ok(Identity(req.identity.clone())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/extract/state.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | async fn from_request( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/extract/state.rs:106:1 [INFO] [stdout] | [INFO] [stdout] 106 | #[async_trait] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `async_trait` (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/extract/state.rs:113:40 [INFO] [stdout] | [INFO] [stdout] 113 | ) -> Result { [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 114 | | let addr = req.source.unwrap_or_else(|| "0.0.0.0:0".parse().unwrap()); [INFO] [stdout] 115 | | Ok(Source(addr)) [INFO] [stdout] 116 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/extract/state.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | Ok(Source(addr)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/extract/state.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 166 | async fn from_request( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/extract/state.rs:162:1 [INFO] [stdout] | [INFO] [stdout] 162 | #[async_trait] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `async_trait` (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/extract/state.rs:169:40 [INFO] [stdout] | [INFO] [stdout] 169 | ) -> Result { [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 170 | | Ok(ObserveFlag(*req.get_observe_flag())) [INFO] [stdout] 171 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/extract/state.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 170 | Ok(ObserveFlag(*req.get_observe_flag())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/extract/state.rs:437:5 [INFO] [stdout] | [INFO] [stdout] 437 | async fn from_request( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/extract/state.rs:433:1 [INFO] [stdout] | [INFO] [stdout] 433 | #[async_trait] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `async_trait` (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/extract/state.rs:440:40 [INFO] [stdout] | [INFO] [stdout] 440 | ) -> Result { [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 441 | | Ok(FullRequest(req.clone())) [INFO] [stdout] 442 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/extract/state.rs:441:9 [INFO] [stdout] | [INFO] [stdout] 441 | Ok(FullRequest(req.clone())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/extract/state.rs:468:22 [INFO] [stdout] | [INFO] [stdout] 468 | let result = Identity::from_request(&req, &()).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/extract/state.rs:468:56 [INFO] [stdout] | [INFO] [stdout] 468 | let result = Identity::from_request(&req, &()).await; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/extract/state.rs:468:22 [INFO] [stdout] | [INFO] [stdout] 468 | let result = Identity::from_request(&req, &()).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/extract/state.rs:470:17 [INFO] [stdout] | [INFO] [stdout] 470 | assert!(result.is_ok()); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/extract/state.rs:471:20 [INFO] [stdout] | [INFO] [stdout] 471 | assert_eq!(result.unwrap().0, "test_client"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/extract/state.rs:477:22 [INFO] [stdout] | [INFO] [stdout] 477 | let result = Source::from_request(&req, &()).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/extract/state.rs:477:54 [INFO] [stdout] | [INFO] [stdout] 477 | let result = Source::from_request(&req, &()).await; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/extract/state.rs:477:22 [INFO] [stdout] | [INFO] [stdout] 477 | let result = Source::from_request(&req, &()).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/extract/state.rs:479:17 [INFO] [stdout] | [INFO] [stdout] 479 | assert!(result.is_ok()); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/extract/state.rs:480:22 [INFO] [stdout] | [INFO] [stdout] 480 | let source = result.unwrap(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/extract/state.rs:487:22 [INFO] [stdout] | [INFO] [stdout] 487 | let result = ObserveFlag::from_request(&req, &()).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/extract/state.rs:487:59 [INFO] [stdout] | [INFO] [stdout] 487 | let result = ObserveFlag::from_request(&req, &()).await; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/extract/state.rs:487:22 [INFO] [stdout] | [INFO] [stdout] 487 | let result = ObserveFlag::from_request(&req, &()).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/extract/state.rs:489:17 [INFO] [stdout] | [INFO] [stdout] 489 | assert!(result.is_ok()); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/extract/state.rs:490:28 [INFO] [stdout] | [INFO] [stdout] 490 | let observe_flag = result.unwrap(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/extract/state.rs:519:22 [INFO] [stdout] | [INFO] [stdout] 519 | let result = FullRequest::from_request(&req, &()).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/extract/state.rs:519:59 [INFO] [stdout] | [INFO] [stdout] 519 | let result = FullRequest::from_request(&req, &()).await; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/extract/state.rs:519:22 [INFO] [stdout] | [INFO] [stdout] 519 | let result = FullRequest::from_request(&req, &()).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/extract/state.rs:521:17 [INFO] [stdout] | [INFO] [stdout] 521 | assert!(result.is_ok()); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/extract/state.rs:522:28 [INFO] [stdout] | [INFO] [stdout] 522 | let full_request = result.unwrap(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/mod.rs:68:29 [INFO] [stdout] | [INFO] [stdout] 68 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 69 | | let result = (self.f)().await; [INFO] [stdout] 70 | | Ok(result.into_response().unwrap_or_else(|e| { [INFO] [stdout] 71 | | log::error!("Response conversion failed: {}", e); [INFO] [stdout] ... | [INFO] [stdout] 75 | | })) [INFO] [stdout] 76 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/mod.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | / Ok(result.into_response().unwrap_or_else(|e| { [INFO] [stdout] 71 | | log::error!("Response conversion failed: {}", e); [INFO] [stdout] 72 | | crate::extract::StatusCode::InternalServerError [INFO] [stdout] 73 | | .into_response() [INFO] [stdout] 74 | | .unwrap() [INFO] [stdout] 75 | | })) [INFO] [stdout] | |_______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/mod.rs:94:29 [INFO] [stdout] | [INFO] [stdout] 94 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 95 | | let state_guard = state.lock().await; [INFO] [stdout] 96 | | let t1 = match T1::from_request(&req, &*state_guard).await { [INFO] [stdout] 97 | | Ok(val) => val, [INFO] [stdout] ... | [INFO] [stdout] 115 | | })) [INFO] [stdout] 116 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/mod.rs:99:28 [INFO] [stdout] | [INFO] [stdout] 99 | return Ok(rejection.into_response().unwrap_or_else(|e| { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 100 | | log::error!("Rejection response conversion failed: {}", e); [INFO] [stdout] 101 | | crate::extract::StatusCode::BadRequest [INFO] [stdout] 102 | | .into_response() [INFO] [stdout] 103 | | .unwrap() [INFO] [stdout] 104 | | })); [INFO] [stdout] | |_______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/mod.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | / Ok(result.into_response().unwrap_or_else(|e| { [INFO] [stdout] 111 | | log::error!("Response conversion failed: {}", e); [INFO] [stdout] 112 | | crate::extract::StatusCode::InternalServerError [INFO] [stdout] 113 | | .into_response() [INFO] [stdout] 114 | | .unwrap() [INFO] [stdout] 115 | | })) [INFO] [stdout] | |_______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/mod.rs:136:29 [INFO] [stdout] | [INFO] [stdout] 136 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 137 | | let state_guard = state.lock().await; [INFO] [stdout] 138 | | [INFO] [stdout] 139 | | let t1 = match T1::from_request(&req, &*state_guard).await { [INFO] [stdout] ... | [INFO] [stdout] 171 | | })) [INFO] [stdout] 172 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/mod.rs:142:28 [INFO] [stdout] | [INFO] [stdout] 142 | return Ok(rejection.into_response().unwrap_or_else(|e| { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 143 | | log::error!("Rejection response conversion failed: {}", e); [INFO] [stdout] 144 | | crate::extract::StatusCode::BadRequest [INFO] [stdout] 145 | | .into_response() [INFO] [stdout] 146 | | .unwrap() [INFO] [stdout] 147 | | })); [INFO] [stdout] | |_______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/mod.rs:154:28 [INFO] [stdout] | [INFO] [stdout] 154 | return Ok(rejection.into_response().unwrap_or_else(|e| { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 155 | | log::error!("Rejection response conversion failed: {}", e); [INFO] [stdout] 156 | | crate::extract::StatusCode::BadRequest [INFO] [stdout] 157 | | .into_response() [INFO] [stdout] 158 | | .unwrap() [INFO] [stdout] 159 | | })); [INFO] [stdout] | |_______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/mod.rs:166:13 [INFO] [stdout] | [INFO] [stdout] 166 | / Ok(result.into_response().unwrap_or_else(|e| { [INFO] [stdout] 167 | | log::error!("Response conversion failed: {}", e); [INFO] [stdout] 168 | | crate::extract::StatusCode::InternalServerError [INFO] [stdout] 169 | | .into_response() [INFO] [stdout] 170 | | .unwrap() [INFO] [stdout] 171 | | })) [INFO] [stdout] | |_______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/mod.rs:194:29 [INFO] [stdout] | [INFO] [stdout] 194 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 195 | | let state_guard = state.lock().await; [INFO] [stdout] 196 | | [INFO] [stdout] 197 | | let t1 = match T1::from_request(&req, &*state_guard).await { [INFO] [stdout] ... | [INFO] [stdout] 241 | | })) [INFO] [stdout] 242 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/mod.rs:200:28 [INFO] [stdout] | [INFO] [stdout] 200 | return Ok(rejection.into_response().unwrap_or_else(|e| { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 201 | | log::error!("Rejection response conversion failed: {}", e); [INFO] [stdout] 202 | | crate::extract::StatusCode::BadRequest [INFO] [stdout] 203 | | .into_response() [INFO] [stdout] 204 | | .unwrap() [INFO] [stdout] 205 | | })); [INFO] [stdout] | |_______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/mod.rs:212:28 [INFO] [stdout] | [INFO] [stdout] 212 | return Ok(rejection.into_response().unwrap_or_else(|e| { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 213 | | log::error!("Rejection response conversion failed: {}", e); [INFO] [stdout] 214 | | crate::extract::StatusCode::BadRequest [INFO] [stdout] 215 | | .into_response() [INFO] [stdout] 216 | | .unwrap() [INFO] [stdout] 217 | | })); [INFO] [stdout] | |_______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/mod.rs:224:28 [INFO] [stdout] | [INFO] [stdout] 224 | return Ok(rejection.into_response().unwrap_or_else(|e| { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 225 | | log::error!("Rejection response conversion failed: {}", e); [INFO] [stdout] 226 | | crate::extract::StatusCode::BadRequest [INFO] [stdout] 227 | | .into_response() [INFO] [stdout] 228 | | .unwrap() [INFO] [stdout] 229 | | })); [INFO] [stdout] | |_______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/mod.rs:236:13 [INFO] [stdout] | [INFO] [stdout] 236 | / Ok(result.into_response().unwrap_or_else(|e| { [INFO] [stdout] 237 | | log::error!("Response conversion failed: {}", e); [INFO] [stdout] 238 | | crate::extract::StatusCode::InternalServerError [INFO] [stdout] 239 | | .into_response() [INFO] [stdout] 240 | | .unwrap() [INFO] [stdout] 241 | | })) [INFO] [stdout] | |_______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/mod.rs:266:29 [INFO] [stdout] | [INFO] [stdout] 266 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 267 | | let state_guard = state.lock().await; [INFO] [stdout] 268 | | [INFO] [stdout] 269 | | let t1 = match T1::from_request(&req, &*state_guard).await { [INFO] [stdout] ... | [INFO] [stdout] 325 | | })) [INFO] [stdout] 326 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/mod.rs:272:28 [INFO] [stdout] | [INFO] [stdout] 272 | return Ok(rejection.into_response().unwrap_or_else(|e| { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 273 | | log::error!("Rejection response conversion failed: {}", e); [INFO] [stdout] 274 | | crate::extract::StatusCode::BadRequest [INFO] [stdout] 275 | | .into_response() [INFO] [stdout] 276 | | .unwrap() [INFO] [stdout] 277 | | })); [INFO] [stdout] | |_______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/mod.rs:284:28 [INFO] [stdout] | [INFO] [stdout] 284 | return Ok(rejection.into_response().unwrap_or_else(|e| { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 285 | | log::error!("Rejection response conversion failed: {}", e); [INFO] [stdout] 286 | | crate::extract::StatusCode::BadRequest [INFO] [stdout] 287 | | .into_response() [INFO] [stdout] 288 | | .unwrap() [INFO] [stdout] 289 | | })); [INFO] [stdout] | |_______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/mod.rs:296:28 [INFO] [stdout] | [INFO] [stdout] 296 | return Ok(rejection.into_response().unwrap_or_else(|e| { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 297 | | log::error!("Rejection response conversion failed: {}", e); [INFO] [stdout] 298 | | crate::extract::StatusCode::BadRequest [INFO] [stdout] 299 | | .into_response() [INFO] [stdout] 300 | | .unwrap() [INFO] [stdout] 301 | | })); [INFO] [stdout] | |_______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/mod.rs:308:28 [INFO] [stdout] | [INFO] [stdout] 308 | return Ok(rejection.into_response().unwrap_or_else(|e| { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 309 | | log::error!("Rejection response conversion failed: {}", e); [INFO] [stdout] 310 | | crate::extract::StatusCode::BadRequest [INFO] [stdout] 311 | | .into_response() [INFO] [stdout] 312 | | .unwrap() [INFO] [stdout] 313 | | })); [INFO] [stdout] | |_______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/mod.rs:320:13 [INFO] [stdout] | [INFO] [stdout] 320 | / Ok(result.into_response().unwrap_or_else(|e| { [INFO] [stdout] 321 | | log::error!("Response conversion failed: {}", e); [INFO] [stdout] 322 | | crate::extract::StatusCode::InternalServerError [INFO] [stdout] 323 | | .into_response() [INFO] [stdout] 324 | | .unwrap() [INFO] [stdout] 325 | | })) [INFO] [stdout] | |_______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/mod.rs:373:5 [INFO] [stdout] | [INFO] [stdout] 373 | async fn call_erased( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/mod.rs:367:1 [INFO] [stdout] | [INFO] [stdout] 367 | #[async_trait] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `async_trait` (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/handler/mod.rs:377:43 [INFO] [stdout] | [INFO] [stdout] 377 | ) -> Result { [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 378 | | // This is a fallback implementation that returns a default response [INFO] [stdout] 379 | | // The actual handler calling will be done by the specific implementations [INFO] [stdout] 380 | | let pkt = coap_lite::Packet::new(); [INFO] [stdout] ... | [INFO] [stdout] 383 | | Ok(response) [INFO] [stdout] 384 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/mod.rs:383:9 [INFO] [stdout] | [INFO] [stdout] 383 | Ok(response) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/mod.rs:407:5 [INFO] [stdout] | [INFO] [stdout] 407 | async fn call_erased( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/mod.rs:399:1 [INFO] [stdout] | [INFO] [stdout] 399 | #[async_trait] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `async_trait` (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/handler/mod.rs:411:43 [INFO] [stdout] | [INFO] [stdout] 411 | ) -> Result { [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 412 | | self.handler_fn.clone().call(req, state).await [INFO] [stdout] 413 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/mod.rs:412:9 [INFO] [stdout] | [INFO] [stdout] 412 | self.handler_fn.clone().call(req, state).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/mod.rs:412:50 [INFO] [stdout] | [INFO] [stdout] 412 | self.handler_fn.clone().call(req, state).await [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/mod.rs:412:9 [INFO] [stdout] | [INFO] [stdout] 412 | self.handler_fn.clone().call(req, state).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/mod.rs:475:24 [INFO] [stdout] | [INFO] [stdout] 475 | let response = handler.call(req, state).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/mod.rs:475:49 [INFO] [stdout] | [INFO] [stdout] 475 | let response = handler.call(req, state).await.unwrap(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/mod.rs:475:24 [INFO] [stdout] | [INFO] [stdout] 475 | let response = handler.call(req, state).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/mod.rs:490:24 [INFO] [stdout] | [INFO] [stdout] 490 | let response = handler.call(req, state).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/mod.rs:490:49 [INFO] [stdout] | [INFO] [stdout] 490 | let response = handler.call(req, state).await.unwrap(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/mod.rs:490:24 [INFO] [stdout] | [INFO] [stdout] 490 | let response = handler.call(req, state).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/mod.rs:512:24 [INFO] [stdout] | [INFO] [stdout] 512 | let response = handler.call(req, state).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/mod.rs:512:49 [INFO] [stdout] | [INFO] [stdout] 512 | let response = handler.call(req, state).await.unwrap(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/mod.rs:512:24 [INFO] [stdout] | [INFO] [stdout] 512 | let response = handler.call(req, state).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/mod.rs:527:24 [INFO] [stdout] | [INFO] [stdout] 527 | let response = erased.call_erased(req, state).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/mod.rs:527:55 [INFO] [stdout] | [INFO] [stdout] 527 | let response = erased.call_erased(req, state).await.unwrap(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/mod.rs:527:24 [INFO] [stdout] | [INFO] [stdout] 527 | let response = erased.call_erased(req, state).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/router/mod.rs:899:37 [INFO] [stdout] | [INFO] [stdout] 899 | Box::pin(async move { handler.call_erased(request, state).await }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/router/mod.rs:899:39 [INFO] [stdout] | [INFO] [stdout] 899 | Box::pin(async move { handler.call_erased(request, state).await }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/router/mod.rs:899:75 [INFO] [stdout] | [INFO] [stdout] 899 | Box::pin(async move { handler.call_erased(request, state).await }) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/router/mod.rs:899:39 [INFO] [stdout] | [INFO] [stdout] 899 | Box::pin(async move { handler.call_erased(request, state).await }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/router/mod.rs:909:37 [INFO] [stdout] | [INFO] [stdout] 909 | Box::pin(async move { (ResponseType::BadRequest, &request).into_response() }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/router/mod.rs:909:39 [INFO] [stdout] | [INFO] [stdout] 909 | Box::pin(async move { (ResponseType::BadRequest, &request).into_response() }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/router/mod.rs:956:37 [INFO] [stdout] | [INFO] [stdout] 956 | Box::pin(async move { handler.call_erased(coap_request, state).await }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/router/mod.rs:956:39 [INFO] [stdout] | [INFO] [stdout] 956 | Box::pin(async move { handler.call_erased(coap_request, state).await }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/router/mod.rs:956:80 [INFO] [stdout] | [INFO] [stdout] 956 | Box::pin(async move { handler.call_erased(coap_request, state).await }) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/router/mod.rs:956:39 [INFO] [stdout] | [INFO] [stdout] 956 | Box::pin(async move { handler.call_erased(coap_request, state).await }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/router/mod.rs:962:37 [INFO] [stdout] | [INFO] [stdout] 962 | Box::pin(async move { (ResponseType::BadRequest).into_response() }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/router/mod.rs:962:39 [INFO] [stdout] | [INFO] [stdout] 962 | Box::pin(async move { (ResponseType::BadRequest).into_response() }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/router/wrapper/mod.rs:97:50 [INFO] [stdout] | [INFO] [stdout] 97 | fn into_response(self) -> CoapResponseResult { [INFO] [stdout] | __________________________________________________^ [INFO] [stdout] 98 | | let pkt = Packet::new(); [INFO] [stdout] 99 | | let mut response = CoapResponse::new(&pkt).unwrap(); [INFO] [stdout] 100 | | response.set_status(self); [INFO] [stdout] 101 | | Ok(response) [INFO] [stdout] 102 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/router/wrapper/mod.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | Ok(response) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/router/wrapper/mod.rs:109:50 [INFO] [stdout] | [INFO] [stdout] 109 | fn into_response(self) -> CoapResponseResult { [INFO] [stdout] | __________________________________________________^ [INFO] [stdout] 110 | | let mut response = self.1.into_response().unwrap(); [INFO] [stdout] 111 | | response.set_status(self.0); [INFO] [stdout] 112 | | Ok(response) [INFO] [stdout] 113 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/router/wrapper/mod.rs:110:28 [INFO] [stdout] | [INFO] [stdout] 110 | let mut response = self.1.into_response().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/router/wrapper/mod.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | Ok(response) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/router/wrapper/mod.rs:117:50 [INFO] [stdout] | [INFO] [stdout] 117 | fn into_response(self) -> CoapResponseResult { [INFO] [stdout] | __________________________________________________^ [INFO] [stdout] 118 | | let pkt = Packet::new(); [INFO] [stdout] 119 | | let mut response = CoapResponse::new(&pkt).unwrap(); [INFO] [stdout] 120 | | response.message.header.message_id = self.message.header.message_id; [INFO] [stdout] ... | [INFO] [stdout] 124 | | Ok(response) [INFO] [stdout] 125 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/router/wrapper/mod.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | Ok(response) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/router/wrapper/mod.rs:129:50 [INFO] [stdout] | [INFO] [stdout] 129 | fn into_response(self) -> CoapResponseResult { [INFO] [stdout] | __________________________________________________^ [INFO] [stdout] 130 | | let pkt = Packet::new(); [INFO] [stdout] 131 | | let mut response = CoapResponse::new(&pkt).unwrap(); [INFO] [stdout] 132 | | response.message.header.message_id = self.message.header.message_id; [INFO] [stdout] ... | [INFO] [stdout] 136 | | Ok(response) [INFO] [stdout] 137 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/router/wrapper/mod.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | Ok(response) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/router/wrapper/mod.rs:141:50 [INFO] [stdout] | [INFO] [stdout] 141 | fn into_response(self) -> CoapResponseResult { [INFO] [stdout] | __________________________________________________^ [INFO] [stdout] 142 | | let pkt = Packet::new(); [INFO] [stdout] 143 | | let mut response = CoapResponse::new(&pkt).unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 149 | | Ok(response) [INFO] [stdout] 150 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/router/wrapper/mod.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | Ok(response) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/router/wrapper/mod.rs:154:50 [INFO] [stdout] | [INFO] [stdout] 154 | fn into_response(self) -> CoapResponseResult { [INFO] [stdout] | __________________________________________________^ [INFO] [stdout] 155 | | let pkt = Packet::new(); [INFO] [stdout] 156 | | let mut response = CoapResponse::new(&pkt).unwrap(); [INFO] [stdout] 157 | | response.message.payload = serde_json::to_vec(&self).unwrap(); [INFO] [stdout] 158 | | Ok(response) [INFO] [stdout] 159 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/router/wrapper/mod.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 158 | Ok(response) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/router/wrapper/mod.rs:163:50 [INFO] [stdout] | [INFO] [stdout] 163 | fn into_response(self) -> CoapResponseResult { [INFO] [stdout] | __________________________________________________^ [INFO] [stdout] 164 | | let pkt = Packet::new(); [INFO] [stdout] 165 | | let mut response = CoapResponse::new(&pkt).unwrap(); [INFO] [stdout] 166 | | response.message.payload = self; [INFO] [stdout] 167 | | Ok(response) [INFO] [stdout] 168 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/router/wrapper/mod.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | Ok(response) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/serve.rs:250:39 [INFO] [stdout] | [INFO] [stdout] 250 | ... match router.call(req).await{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/serve.rs:250:56 [INFO] [stdout] | [INFO] [stdout] 250 | ... match router.call(req).await{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/serve.rs:250:39 [INFO] [stdout] | [INFO] [stdout] 250 | ... match router.call(req).await{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/serve.rs:344:39 [INFO] [stdout] | [INFO] [stdout] 344 | ... match router.call(request).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/serve.rs:344:60 [INFO] [stdout] | [INFO] [stdout] 344 | ... match router.call(request).await [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/serve.rs:344:39 [INFO] [stdout] | [INFO] [stdout] 344 | ... match router.call(request).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `coapum` (lib test) due to 129 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "261f54de05e018b81a96a23e96e6e5bf30699be1d8690038690b9ad3e773bd2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "261f54de05e018b81a96a23e96e6e5bf30699be1d8690038690b9ad3e773bd2d", kill_on_drop: false }` [INFO] [stdout] 261f54de05e018b81a96a23e96e6e5bf30699be1d8690038690b9ad3e773bd2d