[INFO] cloning repository https://github.com/web3engineering/profswoqus [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/web3engineering/profswoqus" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fweb3engineering%2Fprofswoqus", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fweb3engineering%2Fprofswoqus'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 72cd88a657405f2f3c0e21a80c161f694b12378f [INFO] checking web3engineering/profswoqus against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fweb3engineering%2Fprofswoqus" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/web3engineering/profswoqus [INFO] finished tweaking git repo https://github.com/web3engineering/profswoqus [INFO] tweaked toml for git repo https://github.com/web3engineering/profswoqus written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/web3engineering/profswoqus 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 git repo https://github.com/web3engineering/profswoqus 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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1696b2aee8ee912efc2d4cd2ea2355977bbe59e938a6f6506d63598f5605fa94 [INFO] running `Command { std: "docker" "start" "-a" "1696b2aee8ee912efc2d4cd2ea2355977bbe59e938a6f6506d63598f5605fa94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1696b2aee8ee912efc2d4cd2ea2355977bbe59e938a6f6506d63598f5605fa94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1696b2aee8ee912efc2d4cd2ea2355977bbe59e938a6f6506d63598f5605fa94", kill_on_drop: false }` [INFO] [stdout] 1696b2aee8ee912efc2d4cd2ea2355977bbe59e938a6f6506d63598f5605fa94 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dunmustuse_in_always_ok" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1868c0f8f92735fd6956e1d77bc49e5d993a105791223aa99d674a8729f8cc39 [INFO] running `Command { std: "docker" "start" "-a" "1868c0f8f92735fd6956e1d77bc49e5d993a105791223aa99d674a8729f8cc39", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Compiling winnow v0.7.12 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.100 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling bumpalo v3.19.0 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.18.26 [INFO] [stderr] Checking bitmaps v2.1.0 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling cc v1.2.29 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling borsh v1.5.7 [INFO] [stderr] Checking tinyvec v1.9.0 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking ahash v0.7.8 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Checking rand_xoshiro v0.6.0 [INFO] [stderr] Checking sized-chunks v0.6.5 [INFO] [stderr] Compiling libsecp256k1-core v0.2.2 [INFO] [stderr] Compiling solana-frozen-abi v1.18.26 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Checking openssl-probe v0.1.6 [INFO] [stderr] Compiling wasm-bindgen v0.2.100 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking memmap2 v0.5.10 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking humantime v2.2.0 [INFO] [stderr] Checking anstyle-query v1.1.3 [INFO] [stderr] Checking anstream v0.6.19 [INFO] [stderr] Compiling solana-sdk v1.18.26 [INFO] [stderr] Checking clap_lex v0.7.5 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.2.1 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.2.1 [INFO] [stderr] Checking clap_builder v4.5.41 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking ahash v0.8.12 [INFO] [stderr] Compiling libsecp256k1 v0.6.0 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling blake3 v1.8.2 [INFO] [stderr] Compiling solana-program v1.18.26 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking env_logger v0.9.3 [INFO] [stderr] Checking solana-logger v1.18.26 [INFO] [stderr] Checking ark-std v0.4.0 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.100 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling borsh-derive-internal v0.9.3 [INFO] [stderr] Compiling borsh-derive-internal v0.10.4 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.10.4 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.9.3 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling ark-serialize-derive v0.4.2 [INFO] [stderr] Compiling ark-ff-macros v0.4.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling ark-ff-asm v0.4.2 [INFO] [stderr] Compiling borsh-derive v0.10.4 [INFO] [stderr] Compiling borsh-derive v0.9.3 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.100 [INFO] [stderr] Checking borsh v0.10.4 [INFO] [stderr] Checking borsh v0.9.3 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling borsh-derive v1.5.7 [INFO] [stderr] Compiling bytemuck_derive v1.9.3 [INFO] [stderr] Checking zeroize v1.3.0 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling num_enum_derive v0.7.4 [INFO] [stderr] Checking tokio v1.46.1 [INFO] [stderr] Compiling solana-sdk-macro v1.18.26 [INFO] [stderr] Compiling qualifier_attr v0.2.2 [INFO] [stderr] Compiling clap_derive v4.5.41 [INFO] [stderr] Checking num_enum v0.7.4 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.100 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking bytemuck v1.23.1 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Checking zerovec v0.11.2 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Compiling serde_with_macros v2.3.3 [INFO] [stderr] Checking clap v4.5.41 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Checking bv v0.11.1 [INFO] [stderr] Checking serde_bytes v0.11.17 [INFO] [stderr] Checking im v15.1.0 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking serde_with v2.3.3 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking pbkdf2 v0.4.0 [INFO] [stderr] Checking hmac v0.8.1 [INFO] [stderr] Checking curve25519-dalek v3.2.1 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking hmac-drbg v0.3.0 [INFO] [stderr] Checking ark-serialize v0.4.2 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking pbkdf2 v0.11.0 [INFO] [stderr] Checking tiny-bip39 v0.8.2 [INFO] [stderr] Checking ark-ff v0.4.2 [INFO] [stderr] Checking ed25519-dalek v1.0.1 [INFO] [stderr] Checking ed25519-dalek-bip32 v0.2.0 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking ark-poly v0.4.2 [INFO] [stderr] Checking ark-ec v0.4.2 [INFO] [stderr] Checking ark-bn254 v0.4.0 [INFO] [stderr] Checking light-poseidon v0.2.0 [INFO] [stderr] Checking swqos-router v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `TransactionError` [INFO] [stdout] --> src/main.rs:11:31 [INFO] [stdout] | [INFO] [stdout] 11 | use solana_sdk::transaction::{TransactionError, VersionedTransaction}; // Added TransactionError for deserialize result [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TransactionError` [INFO] [stdout] --> src/main.rs:11:31 [INFO] [stdout] | [INFO] [stdout] 11 | use solana_sdk::transaction::{TransactionError, VersionedTransaction}; // Added TransactionError for deserialize result [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/main.rs:80:20 [INFO] [stdout] | [INFO] [stdout] 80 | async move { [INFO] [stdout] | ____________________^ [INFO] [stdout] 81 | | // For each request, create a service_fn closure [INFO] [stdout] 82 | | Ok::<_, Infallible>(service_fn(move |req| { [INFO] [stdout] ... | [INFO] [stdout] 85 | | })) [INFO] [stdout] 86 | | } [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, std::convert::Infallible> [INFO] [stdout] --> src/main.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | / Ok::<_, Infallible>(service_fn(move |req| { [INFO] [stdout] 83 | | // Clone Arc for each request handler [INFO] [stdout] 84 | | handle_request(req, connections.clone()) [INFO] [stdout] 85 | | })) [INFO] [stdout] | |_______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/main.rs:106:41 [INFO] [stdout] | [INFO] [stdout] 106 | ) -> Result, Infallible> { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 107 | | // Only allow POST requests [INFO] [stdout] 108 | | if req.method() != Method::POST { [INFO] [stdout] 109 | | return Ok(Response::builder() [INFO] [stdout] ... | [INFO] [stdout] 233 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/main.rs:106:41 [INFO] [stdout] | [INFO] [stdout] 106 | ) -> Result, Infallible> { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 107 | | // Only allow POST requests [INFO] [stdout] 108 | | if req.method() != Method::POST { [INFO] [stdout] 109 | | return Ok(Response::builder() [INFO] [stdout] ... | [INFO] [stdout] 233 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/main.rs:109:16 [INFO] [stdout] | [INFO] [stdout] 109 | return Ok(Response::builder() [INFO] [stdout] | ________________^ [INFO] [stdout] 110 | | .status(StatusCode::METHOD_NOT_ALLOWED) [INFO] [stdout] 111 | | .body(Body::from("Method not allowed")) [INFO] [stdout] 112 | | .unwrap()); [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/main.rs:120:20 [INFO] [stdout] | [INFO] [stdout] 120 | return Ok(Response::builder() [INFO] [stdout] | ____________________^ [INFO] [stdout] 121 | | .status(StatusCode::BAD_REQUEST) [INFO] [stdout] 122 | | .body(Body::from("Failed to read request body")) [INFO] [stdout] 123 | | .unwrap()); [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/main.rs:132:20 [INFO] [stdout] | [INFO] [stdout] 132 | return Ok(Response::builder() [INFO] [stdout] | ____________________^ [INFO] [stdout] 133 | | .status(StatusCode::BAD_REQUEST) [INFO] [stdout] 134 | | .body(Body::from("Invalid JSON")) [INFO] [stdout] 135 | | .unwrap()); [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/main.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 140 | / if rpc_request.method == "sendTransaction" { [INFO] [stdout] 141 | | // Extract the transaction data (Base64 string) from the parameters [INFO] [stdout] 142 | | if let Some(tx_data) = rpc_request.params.get(0).and_then(|p| p.as_str()) { [INFO] [stdout] 143 | | match process_transaction(tx_data, &body_bytes, &connections).await { [INFO] [stdout] ... | [INFO] [stdout] 231 | | .unwrap()) [INFO] [stdout] 232 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/main.rs:140:48 [INFO] [stdout] | [INFO] [stdout] 140 | if rpc_request.method == "sendTransaction" { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 141 | | // Extract the transaction data (Base64 string) from the parameters [INFO] [stdout] 142 | | if let Some(tx_data) = rpc_request.params.get(0).and_then(|p| p.as_str()) { [INFO] [stdout] 143 | | match process_transaction(tx_data, &body_bytes, &connections).await { [INFO] [stdout] ... | [INFO] [stdout] 214 | | } else { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/main.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | / if let Some(tx_data) = rpc_request.params.get(0).and_then(|p| p.as_str()) { [INFO] [stdout] 143 | | match process_transaction(tx_data, &body_bytes, &connections).await { [INFO] [stdout] 144 | | Ok(signature_opt) => { [INFO] [stdout] 145 | | let response = if let Some(signature) = signature_opt { [INFO] [stdout] ... | [INFO] [stdout] 212 | | .unwrap()) [INFO] [stdout] 213 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/main.rs:142:83 [INFO] [stdout] | [INFO] [stdout] 142 | if let Some(tx_data) = rpc_request.params.get(0).and_then(|p| p.as_str()) { [INFO] [stdout] | ___________________________________________________________________________________^ [INFO] [stdout] 143 | | match process_transaction(tx_data, &body_bytes, &connections).await { [INFO] [stdout] 144 | | Ok(signature_opt) => { [INFO] [stdout] 145 | | let response = if let Some(signature) = signature_opt { [INFO] [stdout] ... | [INFO] [stdout] 196 | | } else { [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/main.rs:143:13 [INFO] [stdout] | [INFO] [stdout] 143 | / match process_transaction(tx_data, &body_bytes, &connections).await { [INFO] [stdout] 144 | | Ok(signature_opt) => { [INFO] [stdout] 145 | | let response = if let Some(signature) = signature_opt { [INFO] [stdout] ... | [INFO] [stdout] 195 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/main.rs:144:38 [INFO] [stdout] | [INFO] [stdout] 144 | Ok(signature_opt) => { [INFO] [stdout] | ______________________________________^ [INFO] [stdout] 145 | | let response = if let Some(signature) = signature_opt { [INFO] [stdout] 146 | | // If transaction contained target transfer and was forwarded [INFO] [stdout] 147 | | RpcResponse { [INFO] [stdout] ... | [INFO] [stdout] 174 | | .unwrap()) [INFO] [stdout] 175 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/main.rs:170:21 [INFO] [stdout] | [INFO] [stdout] 170 | / Ok(Response::builder() [INFO] [stdout] 171 | | .status(StatusCode::OK) [INFO] [stdout] 172 | | .header("Content-Type", "application/json") [INFO] [stdout] 173 | | .body(Body::from(serde_json::to_string(&response).unwrap())) // Unwrapping is okay here for simple struct [INFO] [stdout] 174 | | .unwrap()) [INFO] [stdout] | |__________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/main.rs:176:27 [INFO] [stdout] | [INFO] [stdout] 176 | Err(e) => { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 177 | | // Handle errors during transaction processing [INFO] [stdout] 178 | | error!("Error processing transaction: {}", e); [INFO] [stdout] 179 | | let response = RpcResponse { [INFO] [stdout] ... | [INFO] [stdout] 193 | | .unwrap()) [INFO] [stdout] 194 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/main.rs:189:21 [INFO] [stdout] | [INFO] [stdout] 189 | / Ok(Response::builder() [INFO] [stdout] 190 | | .status(StatusCode::INTERNAL_SERVER_ERROR) [INFO] [stdout] 191 | | .header("Content-Type", "application/json") [INFO] [stdout] 192 | | .body(Body::from(serde_json::to_string(&response).unwrap())) // Unwrapping is okay here for simple struct [INFO] [stdout] 193 | | .unwrap()) [INFO] [stdout] | |__________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/main.rs:196:16 [INFO] [stdout] | [INFO] [stdout] 196 | } else { [INFO] [stdout] | ________________^ [INFO] [stdout] 197 | | // Missing transaction data in parameters [INFO] [stdout] 198 | | warn!("sendTransaction request missing transaction data parameter."); [INFO] [stdout] 199 | | let response = RpcResponse { [INFO] [stdout] ... | [INFO] [stdout] 212 | | .unwrap()) [INFO] [stdout] 213 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/main.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | / Ok(Response::builder() [INFO] [stdout] 209 | | .status(StatusCode::BAD_REQUEST) [INFO] [stdout] 210 | | .header("Content-Type", "application/json") [INFO] [stdout] 211 | | .body(Body::from(serde_json::to_string(&response).unwrap())) [INFO] [stdout] 212 | | .unwrap()) [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/main.rs:214:12 [INFO] [stdout] | [INFO] [stdout] 214 | } else { [INFO] [stdout] | ____________^ [INFO] [stdout] 215 | | // Method not supported by this proxy [INFO] [stdout] 216 | | warn!("Unsupported RPC method received: {}", rpc_request.method); [INFO] [stdout] 217 | | let response = RpcResponse { [INFO] [stdout] ... | [INFO] [stdout] 231 | | .unwrap()) [INFO] [stdout] 232 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/main.rs:227:9 [INFO] [stdout] | [INFO] [stdout] 227 | / Ok(Response::builder() [INFO] [stdout] 228 | | .status(StatusCode::BAD_REQUEST) [INFO] [stdout] 229 | | .header("Content-Type", "application/json") [INFO] [stdout] 230 | | .body(Body::from(serde_json::to_string(&response).unwrap())) [INFO] [stdout] 231 | | .unwrap()) [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/main.rs:80:20 [INFO] [stdout] | [INFO] [stdout] 80 | async move { [INFO] [stdout] | ____________________^ [INFO] [stdout] 81 | | // For each request, create a service_fn closure [INFO] [stdout] 82 | | Ok::<_, Infallible>(service_fn(move |req| { [INFO] [stdout] ... | [INFO] [stdout] 85 | | })) [INFO] [stdout] 86 | | } [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, std::convert::Infallible> [INFO] [stdout] --> src/main.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | / Ok::<_, Infallible>(service_fn(move |req| { [INFO] [stdout] 83 | | // Clone Arc for each request handler [INFO] [stdout] 84 | | handle_request(req, connections.clone()) [INFO] [stdout] 85 | | })) [INFO] [stdout] | |_______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/main.rs:106:41 [INFO] [stdout] | [INFO] [stdout] 106 | ) -> Result, Infallible> { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 107 | | // Only allow POST requests [INFO] [stdout] 108 | | if req.method() != Method::POST { [INFO] [stdout] 109 | | return Ok(Response::builder() [INFO] [stdout] ... | [INFO] [stdout] 233 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/main.rs:106:41 [INFO] [stdout] | [INFO] [stdout] 106 | ) -> Result, Infallible> { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 107 | | // Only allow POST requests [INFO] [stdout] 108 | | if req.method() != Method::POST { [INFO] [stdout] 109 | | return Ok(Response::builder() [INFO] [stdout] ... | [INFO] [stdout] 233 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/main.rs:109:16 [INFO] [stdout] | [INFO] [stdout] 109 | return Ok(Response::builder() [INFO] [stdout] | ________________^ [INFO] [stdout] 110 | | .status(StatusCode::METHOD_NOT_ALLOWED) [INFO] [stdout] 111 | | .body(Body::from("Method not allowed")) [INFO] [stdout] 112 | | .unwrap()); [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/main.rs:120:20 [INFO] [stdout] | [INFO] [stdout] 120 | return Ok(Response::builder() [INFO] [stdout] | ____________________^ [INFO] [stdout] 121 | | .status(StatusCode::BAD_REQUEST) [INFO] [stdout] 122 | | .body(Body::from("Failed to read request body")) [INFO] [stdout] 123 | | .unwrap()); [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/main.rs:132:20 [INFO] [stdout] | [INFO] [stdout] 132 | return Ok(Response::builder() [INFO] [stdout] | ____________________^ [INFO] [stdout] 133 | | .status(StatusCode::BAD_REQUEST) [INFO] [stdout] 134 | | .body(Body::from("Invalid JSON")) [INFO] [stdout] 135 | | .unwrap()); [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/main.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 140 | / if rpc_request.method == "sendTransaction" { [INFO] [stdout] 141 | | // Extract the transaction data (Base64 string) from the parameters [INFO] [stdout] 142 | | if let Some(tx_data) = rpc_request.params.get(0).and_then(|p| p.as_str()) { [INFO] [stdout] 143 | | match process_transaction(tx_data, &body_bytes, &connections).await { [INFO] [stdout] ... | [INFO] [stdout] 231 | | .unwrap()) [INFO] [stdout] 232 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/main.rs:140:48 [INFO] [stdout] | [INFO] [stdout] 140 | if rpc_request.method == "sendTransaction" { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 141 | | // Extract the transaction data (Base64 string) from the parameters [INFO] [stdout] 142 | | if let Some(tx_data) = rpc_request.params.get(0).and_then(|p| p.as_str()) { [INFO] [stdout] 143 | | match process_transaction(tx_data, &body_bytes, &connections).await { [INFO] [stdout] ... | [INFO] [stdout] 214 | | } else { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/main.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | / if let Some(tx_data) = rpc_request.params.get(0).and_then(|p| p.as_str()) { [INFO] [stdout] 143 | | match process_transaction(tx_data, &body_bytes, &connections).await { [INFO] [stdout] 144 | | Ok(signature_opt) => { [INFO] [stdout] 145 | | let response = if let Some(signature) = signature_opt { [INFO] [stdout] ... | [INFO] [stdout] 212 | | .unwrap()) [INFO] [stdout] 213 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/main.rs:142:83 [INFO] [stdout] | [INFO] [stdout] 142 | if let Some(tx_data) = rpc_request.params.get(0).and_then(|p| p.as_str()) { [INFO] [stdout] | ___________________________________________________________________________________^ [INFO] [stdout] 143 | | match process_transaction(tx_data, &body_bytes, &connections).await { [INFO] [stdout] 144 | | Ok(signature_opt) => { [INFO] [stdout] 145 | | let response = if let Some(signature) = signature_opt { [INFO] [stdout] ... | [INFO] [stdout] 196 | | } else { [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/main.rs:143:13 [INFO] [stdout] | [INFO] [stdout] 143 | / match process_transaction(tx_data, &body_bytes, &connections).await { [INFO] [stdout] 144 | | Ok(signature_opt) => { [INFO] [stdout] 145 | | let response = if let Some(signature) = signature_opt { [INFO] [stdout] ... | [INFO] [stdout] 195 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/main.rs:144:38 [INFO] [stdout] | [INFO] [stdout] 144 | Ok(signature_opt) => { [INFO] [stdout] | ______________________________________^ [INFO] [stdout] 145 | | let response = if let Some(signature) = signature_opt { [INFO] [stdout] 146 | | // If transaction contained target transfer and was forwarded [INFO] [stdout] 147 | | RpcResponse { [INFO] [stdout] ... | [INFO] [stdout] 174 | | .unwrap()) [INFO] [stdout] 175 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/main.rs:170:21 [INFO] [stdout] | [INFO] [stdout] 170 | / Ok(Response::builder() [INFO] [stdout] 171 | | .status(StatusCode::OK) [INFO] [stdout] 172 | | .header("Content-Type", "application/json") [INFO] [stdout] 173 | | .body(Body::from(serde_json::to_string(&response).unwrap())) // Unwrapping is okay here for simple struct [INFO] [stdout] 174 | | .unwrap()) [INFO] [stdout] | |__________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/main.rs:176:27 [INFO] [stdout] | [INFO] [stdout] 176 | Err(e) => { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 177 | | // Handle errors during transaction processing [INFO] [stdout] 178 | | error!("Error processing transaction: {}", e); [INFO] [stdout] 179 | | let response = RpcResponse { [INFO] [stdout] ... | [INFO] [stdout] 193 | | .unwrap()) [INFO] [stdout] 194 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/main.rs:189:21 [INFO] [stdout] | [INFO] [stdout] 189 | / Ok(Response::builder() [INFO] [stdout] 190 | | .status(StatusCode::INTERNAL_SERVER_ERROR) [INFO] [stdout] 191 | | .header("Content-Type", "application/json") [INFO] [stdout] 192 | | .body(Body::from(serde_json::to_string(&response).unwrap())) // Unwrapping is okay here for simple struct [INFO] [stdout] 193 | | .unwrap()) [INFO] [stdout] | |__________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/main.rs:196:16 [INFO] [stdout] | [INFO] [stdout] 196 | } else { [INFO] [stdout] | ________________^ [INFO] [stdout] 197 | | // Missing transaction data in parameters [INFO] [stdout] 198 | | warn!("sendTransaction request missing transaction data parameter."); [INFO] [stdout] 199 | | let response = RpcResponse { [INFO] [stdout] ... | [INFO] [stdout] 212 | | .unwrap()) [INFO] [stdout] 213 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/main.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | / Ok(Response::builder() [INFO] [stdout] 209 | | .status(StatusCode::BAD_REQUEST) [INFO] [stdout] 210 | | .header("Content-Type", "application/json") [INFO] [stdout] 211 | | .body(Body::from(serde_json::to_string(&response).unwrap())) [INFO] [stdout] 212 | | .unwrap()) [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/main.rs:214:12 [INFO] [stdout] | [INFO] [stdout] 214 | } else { [INFO] [stdout] | ____________^ [INFO] [stdout] 215 | | // Method not supported by this proxy [INFO] [stdout] 216 | | warn!("Unsupported RPC method received: {}", rpc_request.method); [INFO] [stdout] 217 | | let response = RpcResponse { [INFO] [stdout] ... | [INFO] [stdout] 231 | | .unwrap()) [INFO] [stdout] 232 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, std::convert::Infallible> [INFO] [stdout] --> src/main.rs:227:9 [INFO] [stdout] | [INFO] [stdout] 227 | / Ok(Response::builder() [INFO] [stdout] 228 | | .status(StatusCode::BAD_REQUEST) [INFO] [stdout] 229 | | .header("Content-Type", "application/json") [INFO] [stdout] 230 | | .body(Body::from(serde_json::to_string(&response).unwrap())) [INFO] [stdout] 231 | | .unwrap()) [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `swqos-router` (bin "swqos-router") due to 20 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `swqos-router` (bin "swqos-router" test) due to 20 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "1868c0f8f92735fd6956e1d77bc49e5d993a105791223aa99d674a8729f8cc39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1868c0f8f92735fd6956e1d77bc49e5d993a105791223aa99d674a8729f8cc39", kill_on_drop: false }` [INFO] [stdout] 1868c0f8f92735fd6956e1d77bc49e5d993a105791223aa99d674a8729f8cc39