[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 against master#eb10639928a2781cf0a12440007fbcc1e3a6888f for pr-127827-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcarstenjacobsen%2Fcedo-api" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/carstenjacobsen/cedo-api on toolchain eb10639928a2781cf0a12440007fbcc1e3a6888f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+eb10639928a2781cf0a12440007fbcc1e3a6888f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-5-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-5-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" "+eb10639928a2781cf0a12440007fbcc1e3a6888f" "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 crates.io index [INFO] [stderr] Updating git repository `https://github.com/pu0238/pluto.git` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_bytes v0.11.14 [INFO] [stderr] Downloaded candid_derive v0.6.4 [INFO] [stderr] Downloaded ic_principal v0.1.1 [INFO] [stderr] Downloaded ic0 v0.18.11 [INFO] [stderr] Downloaded ic-cdk-macros v0.7.1 [INFO] [stderr] Downloaded ic-cdk v0.10.0 [INFO] [stderr] Downloaded pretty v0.12.3 [INFO] [stderr] Downloaded ic-stable-structures v0.6.2 [INFO] [stderr] Downloaded winnow v0.5.37 [INFO] [stderr] Downloaded candid v0.9.11 [INFO] [stderr] Downloaded bitcoin v0.28.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+eb10639928a2781cf0a12440007fbcc1e3a6888f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4550e66a026fc1ddbf7e554144bb20803c5293915e0d0f2407b003a6bd595250 [INFO] running `Command { std: "docker" "start" "-a" "4550e66a026fc1ddbf7e554144bb20803c5293915e0d0f2407b003a6bd595250", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4550e66a026fc1ddbf7e554144bb20803c5293915e0d0f2407b003a6bd595250", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4550e66a026fc1ddbf7e554144bb20803c5293915e0d0f2407b003a6bd595250", kill_on_drop: false }` [INFO] [stdout] 4550e66a026fc1ddbf7e554144bb20803c5293915e0d0f2407b003a6bd595250 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+eb10639928a2781cf0a12440007fbcc1e3a6888f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 21bd0d377e6d48c3752ac56ab19afeee054ef853f6776c6fb5665c848da7e1a6 [INFO] running `Command { std: "docker" "start" "-a" "21bd0d377e6d48c3752ac56ab19afeee054ef853f6776c6fb5665c848da7e1a6", 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 libc v0.2.153 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling winnow v0.5.37 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling anyhow v1.0.79 [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] Compiling either v1.9.0 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling candid v0.9.11 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking typed-arena v2.0.2 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking leb128 v0.2.5 [INFO] [stderr] Checking pretty v0.12.3 [INFO] [stderr] Compiling data-encoding v2.5.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling serde_json v1.0.113 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking bitcoin_hashes v0.10.0 [INFO] [stderr] Checking ic_principal v0.1.1 [INFO] [stderr] Checking ic0 v0.18.11 [INFO] [stderr] Compiling indexmap v2.2.2 [INFO] [stderr] Checking bech32 v0.8.1 [INFO] [stderr] Checking ripemd v0.1.3 [INFO] [stderr] Checking bs58 v0.4.0 [INFO] [stderr] Checking ic-stable-structures v0.6.2 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling psm v0.1.21 [INFO] [stderr] Compiling stacker v0.1.15 [INFO] [stderr] Compiling secp256k1-sys v0.5.2 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling num_enum_derive v0.6.1 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling candid_derive v0.6.4 [INFO] [stderr] Checking num_enum v0.6.1 [INFO] [stderr] Checking secp256k1 v0.22.2 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Checking bitcoin v0.28.2 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Checking 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: `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: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: `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: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: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: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 39.95s [INFO] running `Command { std: "docker" "inspect" "21bd0d377e6d48c3752ac56ab19afeee054ef853f6776c6fb5665c848da7e1a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21bd0d377e6d48c3752ac56ab19afeee054ef853f6776c6fb5665c848da7e1a6", kill_on_drop: false }` [INFO] [stdout] 21bd0d377e6d48c3752ac56ab19afeee054ef853f6776c6fb5665c848da7e1a6 [INFO] checking carstenjacobsen/cedo-api against try#357cc345f0a672ac4bee347eb89b7552541416c1 for pr-127827-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcarstenjacobsen%2Fcedo-api" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/carstenjacobsen/cedo-api on toolchain 357cc345f0a672ac4bee347eb89b7552541416c1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+357cc345f0a672ac4bee347eb89b7552541416c1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-5-tc2/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-5-tc2/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" "+357cc345f0a672ac4bee347eb89b7552541416c1" "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] 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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+357cc345f0a672ac4bee347eb89b7552541416c1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0d850b4ff04888723e2940e547ca2def8cbed2197ac600521d936500791c685c [INFO] running `Command { std: "docker" "start" "-a" "0d850b4ff04888723e2940e547ca2def8cbed2197ac600521d936500791c685c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0d850b4ff04888723e2940e547ca2def8cbed2197ac600521d936500791c685c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d850b4ff04888723e2940e547ca2def8cbed2197ac600521d936500791c685c", kill_on_drop: false }` [INFO] [stdout] 0d850b4ff04888723e2940e547ca2def8cbed2197ac600521d936500791c685c [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" "-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+357cc345f0a672ac4bee347eb89b7552541416c1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d3b066a457ee8c27a8778539c2a53a111f3cb5cfe3a510753bf5c7e896462bc2 [INFO] running `Command { std: "docker" "start" "-a" "d3b066a457ee8c27a8778539c2a53a111f3cb5cfe3a510753bf5c7e896462bc2", 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 libc v0.2.153 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling syn v1.0.109 [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 either v1.9.0 [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] Compiling anyhow v1.0.79 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling candid v0.9.11 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking typed-arena v2.0.2 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking pretty v0.12.3 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Compiling serde_json v1.0.113 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling indexmap v2.2.2 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Checking data-encoding v2.5.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking ic_principal v0.1.1 [INFO] [stderr] Checking dyn-clone v1.0.16 [INFO] [stderr] Checking bech32 v0.8.1 [INFO] [stderr] Checking ic0 v0.18.11 [INFO] [stderr] Checking bitcoin_hashes v0.10.0 [INFO] [stderr] Checking ripemd v0.1.3 [INFO] [stderr] Checking bs58 v0.4.0 [INFO] [stderr] Checking ic-stable-structures v0.6.2 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling psm v0.1.21 [INFO] [stderr] Compiling stacker v0.1.15 [INFO] [stderr] Compiling secp256k1-sys v0.5.2 [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 thiserror v1.0.56 [INFO] [stderr] Compiling num_enum_derive v0.6.1 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Checking num_enum v0.6.1 [INFO] [stderr] Checking secp256k1 v0.22.2 [INFO] [stderr] Checking binread v2.2.0 [INFO] [stderr] Checking bitcoin v0.28.2 [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: `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: `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: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: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: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: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: `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 35.85s [INFO] running `Command { std: "docker" "inspect" "d3b066a457ee8c27a8778539c2a53a111f3cb5cfe3a510753bf5c7e896462bc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3b066a457ee8c27a8778539c2a53a111f3cb5cfe3a510753bf5c7e896462bc2", kill_on_drop: false }` [INFO] [stdout] d3b066a457ee8c27a8778539c2a53a111f3cb5cfe3a510753bf5c7e896462bc2