[INFO] cloning repository https://github.com/carstenjacobsen/cedo-api [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/carstenjacobsen/cedo-api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcarstenjacobsen%2Fcedo-api", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcarstenjacobsen%2Fcedo-api'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a5b30df5522e30040a7d557ba71ffea13c5f9909 [INFO] checking carstenjacobsen/cedo-api/a5b30df5522e30040a7d557ba71ffea13c5f9909 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcarstenjacobsen%2Fcedo-api" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/carstenjacobsen/cedo-api on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-3-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/carstenjacobsen/cedo-api [INFO] finished tweaking git repo https://github.com/carstenjacobsen/cedo-api [INFO] tweaked toml for git repo https://github.com/carstenjacobsen/cedo-api written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/carstenjacobsen/cedo-api 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Updating git repository `https://github.com/pu0238/pluto.git` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded secp256k1 v0.22.2 [INFO] [stderr] Downloaded ic-stable-structures v0.6.2 [INFO] [stderr] Downloaded winnow v0.5.37 [INFO] [stderr] Downloaded bitcoin v0.28.2 [INFO] [stderr] Downloaded secp256k1-sys v0.5.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8e59f453b5b0f42c61c50918ed2faf59d3cae7862625006cd9423916a26321cd [INFO] running `Command { std: "docker" "start" "-a" "8e59f453b5b0f42c61c50918ed2faf59d3cae7862625006cd9423916a26321cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8e59f453b5b0f42c61c50918ed2faf59d3cae7862625006cd9423916a26321cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e59f453b5b0f42c61c50918ed2faf59d3cae7862625006cd9423916a26321cd", kill_on_drop: false }` [INFO] [stdout] 8e59f453b5b0f42c61c50918ed2faf59d3cae7862625006cd9423916a26321cd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2dcf5f8a665e08c631113504cb91e388c0fead17365deee6dacc4cf40b4ba96b [INFO] running `Command { std: "docker" "start" "-a" "2dcf5f8a665e08c631113504cb91e388c0fead17365deee6dacc4cf40b4ba96b", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling winnow v0.5.37 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling candid v0.9.11 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking typed-arena v2.0.2 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking pretty v0.12.3 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling indexmap v2.2.2 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking leb128 v0.2.5 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling data-encoding v2.5.0 [INFO] [stderr] Compiling serde_json v1.0.113 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking ic0 v0.18.11 [INFO] [stderr] Checking dyn-clone v1.0.16 [INFO] [stderr] Checking bitcoin_hashes v0.10.0 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking ic_principal v0.1.1 [INFO] [stderr] Checking bech32 v0.8.1 [INFO] [stderr] Checking ic-stable-structures v0.6.2 [INFO] [stderr] Checking bs58 v0.4.0 [INFO] [stderr] Compiling psm v0.1.21 [INFO] [stderr] Compiling stacker v0.1.15 [INFO] [stderr] Compiling secp256k1-sys v0.5.2 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking ripemd v0.1.3 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling candid_derive v0.6.4 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling num_enum_derive v0.6.1 [INFO] [stderr] Checking num_enum v0.6.1 [INFO] [stderr] Checking secp256k1 v0.22.2 [INFO] [stderr] Checking bitcoin v0.28.2 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stderr] Checking serde_bytes v0.11.14 [INFO] [stderr] Compiling serde_tokenstream v0.1.7 [INFO] [stderr] Checking pluto v0.2.1 (https://github.com/pu0238/pluto.git#de36ada4) [INFO] [stderr] Compiling ic-cdk-macros v0.7.1 [INFO] [stderr] Checking ic-cdk v0.10.0 [INFO] [stderr] Checking api v0.1.0 (/opt/rustwide/workdir/src/api) [INFO] [stdout] warning: unused imports: `init`, `post_upgrade`, and `pre_upgrade` [INFO] [stdout] --> src/api/src/vendors.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use ic_cdk_macros::{init, post_upgrade, pre_upgrade, query, update}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> src/api/src/vendors.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Cell` [INFO] [stdout] --> src/api/src/vendors.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | use std::cell::{Cell, RefCell}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/api/src/vendors.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ic_cdk::println` [INFO] [stdout] --> src/api/src/lib.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use ic_cdk::println; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/api/src/lib.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `candid::Principal` [INFO] [stdout] --> src/api/src/lib.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use candid::Principal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ic_cdk::api::call::call_with_payment` [INFO] [stdout] --> src/api/src/lib.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use ic_cdk::api::call::call_with_payment; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GetBalanceRequest`, `GetCurrentFeePercentilesRequest`, `GetUtxosRequest`, `Satoshi`, and `SendTransactionRequest` [INFO] [stdout] --> src/api/src/lib.rs:32:21 [INFO] [stdout] | [INFO] [stdout] 32 | BitcoinNetwork, GetBalanceRequest, GetCurrentFeePercentilesRequest, GetUtxosRequest, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 33 | GetUtxosResponse, MillisatoshiPerByte, Satoshi, SendTransactionRequest, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `init`, `post_upgrade`, and `pre_upgrade` [INFO] [stdout] --> src/api/src/vendors.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use ic_cdk_macros::{init, post_upgrade, pre_upgrade, query, update}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> src/api/src/vendors.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Cell` [INFO] [stdout] --> src/api/src/vendors.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | use std::cell::{Cell, RefCell}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/api/src/vendors.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ic_cdk::println` [INFO] [stdout] --> src/api/src/lib.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use ic_cdk::println; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/api/src/lib.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `candid::Principal` [INFO] [stdout] --> src/api/src/lib.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use candid::Principal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ic_cdk::api::call::call_with_payment` [INFO] [stdout] --> src/api/src/lib.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use ic_cdk::api::call::call_with_payment; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GetBalanceRequest`, `GetCurrentFeePercentilesRequest`, `GetUtxosRequest`, `Satoshi`, and `SendTransactionRequest` [INFO] [stdout] --> src/api/src/lib.rs:32:21 [INFO] [stdout] | [INFO] [stdout] 32 | BitcoinNetwork, GetBalanceRequest, GetCurrentFeePercentilesRequest, GetUtxosRequest, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 33 | GetUtxosResponse, MillisatoshiPerByte, Satoshi, SendTransactionRequest, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `network` [INFO] [stdout] --> src/api/src/lib.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | let network = NETWORK.with(|n| n.get()); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_network` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `balance` [INFO] [stdout] --> src/api/src/lib.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | let balance = "sdfsdfsdf".to_string(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `network` [INFO] [stdout] --> src/api/src/lib.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | let network = NETWORK.with(|n| n.get()); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_network` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `balance` [INFO] [stdout] --> src/api/src/lib.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | let balance = "sdfsdfsdf".to_string(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tag_id` [INFO] [stdout] --> src/api/src/vendors.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 199 | let tag_id: String = "04864A9ABB2A81".to_string(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_tag_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tag_id` [INFO] [stdout] --> src/api/src/vendors.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 199 | let tag_id: String = "04864A9ABB2A81".to_string(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_tag_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/api/src/vendors.rs:200:9 [INFO] [stdout] | [INFO] [stdout] 200 | let res = ORDERS.with(|p| p.borrow_mut().insert(new_order.order_id.to_string(), new_order)); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/api/src/vendors.rs:200:9 [INFO] [stdout] | [INFO] [stdout] 200 | let res = ORDERS.with(|p| p.borrow_mut().insert(new_order.order_id.to_string(), new_order)); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/api/src/vendors.rs:240:9 [INFO] [stdout] | [INFO] [stdout] 240 | let res = VENDORS.with(|p| p.borrow_mut().insert(new_vendor.vendor_id.to_string(), new_vendor)); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/api/src/vendors.rs:240:9 [INFO] [stdout] | [INFO] [stdout] 240 | let res = VENDORS.with(|p| p.borrow_mut().insert(new_vendor.vendor_id.to_string(), new_vendor)); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/api/src/vendors.rs:278:9 [INFO] [stdout] | [INFO] [stdout] 278 | let res = DEALS.with(|p| p.borrow_mut().insert(new_deal.deal_id.to_string(), new_deal)); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/api/src/vendors.rs:278:9 [INFO] [stdout] | [INFO] [stdout] 278 | let res = DEALS.with(|p| p.borrow_mut().insert(new_deal.deal_id.to_string(), new_deal)); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/api/src/vendors.rs:318:9 [INFO] [stdout] | [INFO] [stdout] 318 | let res = USERS.with(|p| p.borrow_mut().insert(new_user.user_id.to_string(), new_user)); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/api/src/vendors.rs:318:9 [INFO] [stdout] | [INFO] [stdout] 318 | let res = USERS.with(|p| p.borrow_mut().insert(new_user.user_id.to_string(), new_user)); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/api/src/lib.rs:171:13 [INFO] [stdout] | [INFO] [stdout] 171 | let address: String = _req.params.get("address").unwrap().to_string(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/api/src/lib.rs:171:13 [INFO] [stdout] | [INFO] [stdout] 171 | let address: String = _req.params.get("address").unwrap().to_string(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused implementer of `std::future::Future` that must be used [INFO] [stdout] --> src/api/src/lib.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 200 | init(network); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: futures do nothing unless you `.await` or poll them [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused implementer of `std::future::Future` that must be used [INFO] [stdout] --> src/api/src/lib.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 200 | init(network); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: futures do nothing unless you `.await` or poll them [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.72s [INFO] running `Command { std: "docker" "inspect" "2dcf5f8a665e08c631113504cb91e388c0fead17365deee6dacc4cf40b4ba96b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2dcf5f8a665e08c631113504cb91e388c0fead17365deee6dacc4cf40b4ba96b", kill_on_drop: false }` [INFO] [stdout] 2dcf5f8a665e08c631113504cb91e388c0fead17365deee6dacc4cf40b4ba96b