[INFO] cloning repository https://github.com/Lol3rrr/ruff [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Lol3rrr/ruff" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLol3rrr%2Fruff", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLol3rrr%2Fruff'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f84c72f73e991ffc358eb0c0ac6b1b47b0ec58ff [INFO] checking Lol3rrr/ruff against master#779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 for pr-147589-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLol3rrr%2Fruff" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Lol3rrr/ruff [INFO] finished tweaking git repo https://github.com/Lol3rrr/ruff [INFO] tweaked toml for git repo https://github.com/Lol3rrr/ruff written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Lol3rrr/ruff on toolchain 779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Lol3rrr/ruff 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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `reqwest` dependency) [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8a1a077d1c90e581cc83020576652654cf3050ce35e8991d56a6cbeb8979243f [INFO] running `Command { std: "docker" "start" "-a" "8a1a077d1c90e581cc83020576652654cf3050ce35e8991d56a6cbeb8979243f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8a1a077d1c90e581cc83020576652654cf3050ce35e8991d56a6cbeb8979243f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a1a077d1c90e581cc83020576652654cf3050ce35e8991d56a6cbeb8979243f", kill_on_drop: false }` [INFO] [stdout] 8a1a077d1c90e581cc83020576652654cf3050ce35e8991d56a6cbeb8979243f [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 938508d693ca63ef463fd73ef661fbefe2d329ddefa65ce24f89d7334572071a [INFO] running `Command { std: "docker" "start" "-a" "938508d693ca63ef463fd73ef661fbefe2d329ddefa65ce24f89d7334572071a", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `reqwest` dependency) [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Checking log v0.4.26 [INFO] [stderr] Checking once_cell v1.21.1 [INFO] [stderr] Checking litemap v0.7.5 [INFO] [stderr] Compiling cc v1.2.16 [INFO] [stderr] Checking smallvec v1.14.0 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Checking indexmap v2.8.0 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling protobuf v2.28.0 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling prometheus v0.13.4 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking chrono v0.4.40 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking socket2 v0.5.8 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking tokio v1.44.1 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking tokio-util v0.7.14 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking serde_path_to_error v0.1.17 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking ruff v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/steam.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | let mut client = crate::buff::Client::new(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/steam.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | let mut client = crate::buff::Client::new(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `items` [INFO] [stdout] --> src/bitskins.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | items: std::sync::Arc>>>, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_items` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `items` [INFO] [stdout] --> src/bitskins.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | items: std::sync::Arc>>>, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_items` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/csfloat.rs:109:31 [INFO] [stdout] | [INFO] [stdout] 109 | .map_err(|e| LoadListingError::Other("Parsing RateLimit"))?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/csfloat.rs:101:23 [INFO] [stdout] | [INFO] [stdout] 101 | .map_err(|e| LoadListingError::Other("Send Request"))?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/csfloat.rs:166:31 [INFO] [stdout] | [INFO] [stdout] 166 | .map_err(|e| LoadListingError::Other("Parsing RateLimit"))?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/csfloat.rs:147:23 [INFO] [stdout] | [INFO] [stdout] 147 | .map_err(|e| LoadListingError::Other("Send Request"))?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `items` [INFO] [stdout] --> src/csfloat.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 190 | items: std::sync::Arc>>>, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_items` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/openexchange.rs:49:71 [INFO] [stdout] | [INFO] [stdout] 49 | let content: LatestResponse = requested.json().await.map_err(|e| ())?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/openexchange.rs:42:68 [INFO] [stdout] | [INFO] [stdout] 42 | let requested = http_client.get(url).send().await.map_err(|e| ())?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/skinport.rs:70:29 [INFO] [stdout] | [INFO] [stdout] 70 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/steam/inventory.rs:60:23 [INFO] [stdout] | [INFO] [stdout] 60 | .map_err(|e| ())?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tmp` [INFO] [stdout] --> src/steam.rs:71:21 [INFO] [stdout] | [INFO] [stdout] 71 | let tmp = crate::steam::load_item(&item.name, &client.req_client).await; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tmp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metrics` [INFO] [stdout] --> src/steam.rs:65:60 [INFO] [stdout] | [INFO] [stdout] 65 | pub async fn gather(items: Vec, metrics: crate::Metrics) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metrics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `RateLimit` is more private than the item `LoadListingError::RateLimited::0` [INFO] [stdout] --> src/csfloat.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | RateLimited(RateLimit), [INFO] [stdout] | ^^^^^^^^^ field `LoadListingError::RateLimited::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `RateLimit` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/csfloat.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | struct RateLimit { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `created_at` is never read [INFO] [stdout] --> src/bitskins.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | struct Response { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 5 | created_at: serde_json::Value, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Response` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `price_avg`, `price_max`, and `skin_id` are never read [INFO] [stdout] --> src/bitskins.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 10 | struct ListEntry { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 11 | name: String, [INFO] [stdout] 12 | price_avg: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 13 | price_max: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | skin_id: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ListEntry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `page_num`, `page_size`, `show_pay_method_icon`, `total_count`, `total_page`, and `user_infos` are never read [INFO] [stdout] --> src/buff.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 42 | struct BuyOrderData { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 43 | items: Vec, [INFO] [stdout] 44 | page_num: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 45 | page_size: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 46 | show_pay_method_icon: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 47 | total_count: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 48 | total_page: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 49 | user_infos: HashMap, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BuyOrderData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/buff.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 53 | struct BuyOrderItem { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 54 | allow_tradable_cooldown: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 55 | appid: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 56 | created_at: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 57 | expire_time: serde_json::Value, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 58 | fee: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 59 | frozen_amount: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 60 | frozen_num: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 61 | game: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 62 | goods_id: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 63 | icon_url: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 64 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 65 | num: usize, [INFO] [stdout] 66 | pay_expire_timeout: serde_json::Value, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 67 | pay_method: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 68 | pay_method_text: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | specific: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 72 | state: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 73 | state_text: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 74 | tradable_cooldown: serde_json::Value, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 75 | updated_at: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 76 | user_id: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BuyOrderItem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `color`, `simple_text`, `text`, and `ty` are never read [INFO] [stdout] --> src/buff.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 80 | struct BuyOrderSpecific { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 81 | color: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 82 | simple_text: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 83 | text: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 84 | #[serde(flatten)] [INFO] [stdout] 85 | ty: BuyOrderSpecificType, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `BuyOrderSpecific` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/buff.rs:92:15 [INFO] [stdout] | [INFO] [stdout] 92 | PaintWear(Vec), [INFO] [stdout] | --------- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `BuyOrderSpecificType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 92 - PaintWear(Vec), [INFO] [stdout] 92 + PaintWear(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/buff.rs:94:17 [INFO] [stdout] | [INFO] [stdout] 94 | UnlockStyle(serde_json::Value), [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `BuyOrderSpecificType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 94 - UnlockStyle(serde_json::Value), [INFO] [stdout] 94 + UnlockStyle(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/buff.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 98 | struct SellOrderData { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 99 | fop_str: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 100 | goods_infos: serde_json::Value, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 101 | has_market_stores: serde_json::Value, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 102 | items: Vec, [INFO] [stdout] 103 | page_num: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 104 | page_size: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 105 | preview_screenshots: serde_json::Value, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 106 | show_game_cms_icon: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 107 | show_pay_method_icon: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 108 | sort_by: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 109 | src_url_background: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 110 | total_count: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 111 | total_page: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 112 | user_infos: serde_json::Value, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SellOrderData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/buff.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 116 | struct SellOrderItem { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 117 | allow_bargain: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 118 | appid: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 119 | asset_info: serde_json::Value, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 120 | background_image_url: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 121 | bookmarked: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 122 | can_bargain: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 123 | can_use_inspect_trn_url: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 124 | cannot_bargain_reason: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 125 | created_at: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 126 | description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 127 | featured: serde_json::Value, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 128 | fee: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 129 | game: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 130 | goods_id: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 131 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 132 | img_src: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 133 | income: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 134 | lowest_bargain_price: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 135 | mode: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] 136 | price: String, [INFO] [stdout] 137 | recent_average_duration: serde_json::Value, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 138 | recent_deliver_rate: serde_json::Value, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 139 | state: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 140 | supported_pay_methods: serde_json::Value, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 141 | tradable_cooldown: serde_json::Value, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 142 | updated_at: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 143 | user_id: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SellOrderItem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `base`, `disclaimer`, `license`, and `timestamp` are never read [INFO] [stdout] --> src/openexchange.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | struct LatestResponse { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 15 | base: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 16 | disclaimer: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 17 | license: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 18 | rates: Rates, [INFO] [stdout] 19 | timestamp: u128, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LatestResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `others` is never read [INFO] [stdout] --> src/openexchange.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 23 | struct Rates { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 28 | others: HashMap, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Rates` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/skinport.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | SendRequest(reqwest::Error), [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `LoadError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 11 - SendRequest(reqwest::Error), [INFO] [stdout] 11 + SendRequest(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/skinport.rs:13:25 [INFO] [stdout] | [INFO] [stdout] 13 | DeserializeResponse(reqwest::Error), [INFO] [stdout] | ------------------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `LoadError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 13 - DeserializeResponse(reqwest::Error), [INFO] [stdout] 13 + DeserializeResponse(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/skinport.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | Other(&'static str), [INFO] [stdout] | ----- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `LoadError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 14 - Other(&'static str), [INFO] [stdout] 14 + Other(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/steam.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct ItemOrderHistogram { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 11 | success: serde_json::Value, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 12 | sell_order_table: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | sell_order_summary: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | buy_order_table: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | buy_order_summary: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | highest_buy_order: serde_json::Value, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | lowest_sell_order: serde_json::Value, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 18 | buy_order_graph: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | sell_order_graph: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 20 | graph_max_y: f64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 21 | graph_min_x: f64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 22 | graph_max_x: f64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 23 | price_prefix: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 24 | price_suffix: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ItemOrderHistogram` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `success` and `lowest_price` are never read [INFO] [stdout] --> src/steam.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct PriceOverview { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 29 | success: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 30 | lowest_price: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PriceOverview` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InventoryResponse` is never constructed [INFO] [stdout] --> src/steam/inventory.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct InventoryResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InventoryResponseAsset` is never constructed [INFO] [stdout] --> src/steam/inventory.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | struct InventoryResponseAsset { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InventoryResponseDescription` is never constructed [INFO] [stdout] --> src/steam/inventory.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | struct InventoryResponseDescription { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `EUR` should have a snake case name [INFO] [stdout] --> src/openexchange.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | EUR: f64, [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `eur` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `CNY` should have a snake case name [INFO] [stdout] --> src/openexchange.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | CNY: f64, [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `cny` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `USD` should have a snake case name [INFO] [stdout] --> src/openexchange.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | USD: f64, [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `usd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/steam/inventory.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | dbg!(resp.text().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 68 | let _ = dbg!(resp.text().await); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/csfloat.rs:109:31 [INFO] [stdout] | [INFO] [stdout] 109 | .map_err(|e| LoadListingError::Other("Parsing RateLimit"))?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/csfloat.rs:101:23 [INFO] [stdout] | [INFO] [stdout] 101 | .map_err(|e| LoadListingError::Other("Send Request"))?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/csfloat.rs:166:31 [INFO] [stdout] | [INFO] [stdout] 166 | .map_err(|e| LoadListingError::Other("Parsing RateLimit"))?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/csfloat.rs:147:23 [INFO] [stdout] | [INFO] [stdout] 147 | .map_err(|e| LoadListingError::Other("Send Request"))?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `items` [INFO] [stdout] --> src/csfloat.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 190 | items: std::sync::Arc>>>, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_items` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/openexchange.rs:49:71 [INFO] [stdout] | [INFO] [stdout] 49 | let content: LatestResponse = requested.json().await.map_err(|e| ())?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/openexchange.rs:42:68 [INFO] [stdout] | [INFO] [stdout] 42 | let requested = http_client.get(url).send().await.map_err(|e| ())?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/skinport.rs:70:29 [INFO] [stdout] | [INFO] [stdout] 70 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/steam/inventory.rs:60:23 [INFO] [stdout] | [INFO] [stdout] 60 | .map_err(|e| ())?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tmp` [INFO] [stdout] --> src/steam.rs:71:21 [INFO] [stdout] | [INFO] [stdout] 71 | let tmp = crate::steam::load_item(&item.name, &client.req_client).await; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tmp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metrics` [INFO] [stdout] --> src/steam.rs:65:60 [INFO] [stdout] | [INFO] [stdout] 65 | pub async fn gather(items: Vec, metrics: crate::Metrics) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metrics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `RateLimit` is more private than the item `LoadListingError::RateLimited::0` [INFO] [stdout] --> src/csfloat.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | RateLimited(RateLimit), [INFO] [stdout] | ^^^^^^^^^ field `LoadListingError::RateLimited::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `RateLimit` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/csfloat.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | struct RateLimit { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `created_at` is never read [INFO] [stdout] --> src/bitskins.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | struct Response { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 5 | created_at: serde_json::Value, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Response` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `price_avg`, `price_max`, and `skin_id` are never read [INFO] [stdout] --> src/bitskins.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 10 | struct ListEntry { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 11 | name: String, [INFO] [stdout] 12 | price_avg: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 13 | price_max: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | skin_id: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ListEntry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `page_num`, `page_size`, `show_pay_method_icon`, `total_count`, `total_page`, and `user_infos` are never read [INFO] [stdout] --> src/buff.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 42 | struct BuyOrderData { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 43 | items: Vec, [INFO] [stdout] 44 | page_num: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 45 | page_size: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 46 | show_pay_method_icon: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 47 | total_count: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 48 | total_page: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 49 | user_infos: HashMap, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BuyOrderData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/buff.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 53 | struct BuyOrderItem { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 54 | allow_tradable_cooldown: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 55 | appid: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 56 | created_at: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 57 | expire_time: serde_json::Value, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 58 | fee: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 59 | frozen_amount: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 60 | frozen_num: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 61 | game: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 62 | goods_id: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 63 | icon_url: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 64 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 65 | num: usize, [INFO] [stdout] 66 | pay_expire_timeout: serde_json::Value, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 67 | pay_method: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 68 | pay_method_text: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | specific: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 72 | state: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 73 | state_text: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 74 | tradable_cooldown: serde_json::Value, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 75 | updated_at: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 76 | user_id: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BuyOrderItem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `color`, `simple_text`, `text`, and `ty` are never read [INFO] [stdout] --> src/buff.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 80 | struct BuyOrderSpecific { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 81 | color: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 82 | simple_text: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 83 | text: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 84 | #[serde(flatten)] [INFO] [stdout] 85 | ty: BuyOrderSpecificType, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `BuyOrderSpecific` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/buff.rs:92:15 [INFO] [stdout] | [INFO] [stdout] 92 | PaintWear(Vec), [INFO] [stdout] | --------- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `BuyOrderSpecificType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 92 - PaintWear(Vec), [INFO] [stdout] 92 + PaintWear(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/buff.rs:94:17 [INFO] [stdout] | [INFO] [stdout] 94 | UnlockStyle(serde_json::Value), [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `BuyOrderSpecificType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 94 - UnlockStyle(serde_json::Value), [INFO] [stdout] 94 + UnlockStyle(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/buff.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 98 | struct SellOrderData { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 99 | fop_str: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 100 | goods_infos: serde_json::Value, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 101 | has_market_stores: serde_json::Value, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 102 | items: Vec, [INFO] [stdout] 103 | page_num: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 104 | page_size: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 105 | preview_screenshots: serde_json::Value, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 106 | show_game_cms_icon: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 107 | show_pay_method_icon: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 108 | sort_by: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 109 | src_url_background: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 110 | total_count: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 111 | total_page: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 112 | user_infos: serde_json::Value, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SellOrderData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/buff.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 116 | struct SellOrderItem { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 117 | allow_bargain: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 118 | appid: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 119 | asset_info: serde_json::Value, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 120 | background_image_url: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 121 | bookmarked: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 122 | can_bargain: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 123 | can_use_inspect_trn_url: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 124 | cannot_bargain_reason: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 125 | created_at: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 126 | description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 127 | featured: serde_json::Value, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 128 | fee: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 129 | game: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 130 | goods_id: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 131 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 132 | img_src: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 133 | income: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 134 | lowest_bargain_price: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 135 | mode: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] 136 | price: String, [INFO] [stdout] 137 | recent_average_duration: serde_json::Value, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 138 | recent_deliver_rate: serde_json::Value, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 139 | state: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 140 | supported_pay_methods: serde_json::Value, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 141 | tradable_cooldown: serde_json::Value, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 142 | updated_at: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 143 | user_id: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SellOrderItem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `base`, `disclaimer`, `license`, and `timestamp` are never read [INFO] [stdout] --> src/openexchange.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | struct LatestResponse { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 15 | base: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 16 | disclaimer: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 17 | license: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 18 | rates: Rates, [INFO] [stdout] 19 | timestamp: u128, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LatestResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `others` is never read [INFO] [stdout] --> src/openexchange.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 23 | struct Rates { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 28 | others: HashMap, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Rates` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/skinport.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | SendRequest(reqwest::Error), [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `LoadError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 11 - SendRequest(reqwest::Error), [INFO] [stdout] 11 + SendRequest(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/skinport.rs:13:25 [INFO] [stdout] | [INFO] [stdout] 13 | DeserializeResponse(reqwest::Error), [INFO] [stdout] | ------------------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `LoadError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 13 - DeserializeResponse(reqwest::Error), [INFO] [stdout] 13 + DeserializeResponse(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/skinport.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | Other(&'static str), [INFO] [stdout] | ----- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `LoadError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 14 - Other(&'static str), [INFO] [stdout] 14 + Other(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/steam.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct ItemOrderHistogram { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 11 | success: serde_json::Value, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 12 | sell_order_table: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | sell_order_summary: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | buy_order_table: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | buy_order_summary: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | highest_buy_order: serde_json::Value, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | lowest_sell_order: serde_json::Value, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 18 | buy_order_graph: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | sell_order_graph: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 20 | graph_max_y: f64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 21 | graph_min_x: f64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 22 | graph_max_x: f64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 23 | price_prefix: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 24 | price_suffix: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ItemOrderHistogram` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `success` and `lowest_price` are never read [INFO] [stdout] --> src/steam.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct PriceOverview { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 29 | success: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 30 | lowest_price: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PriceOverview` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InventoryResponse` is never constructed [INFO] [stdout] --> src/steam/inventory.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct InventoryResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InventoryResponseAsset` is never constructed [INFO] [stdout] --> src/steam/inventory.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | struct InventoryResponseAsset { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InventoryResponseDescription` is never constructed [INFO] [stdout] --> src/steam/inventory.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | struct InventoryResponseDescription { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `EUR` should have a snake case name [INFO] [stdout] --> src/openexchange.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | EUR: f64, [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `eur` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `CNY` should have a snake case name [INFO] [stdout] --> src/openexchange.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | CNY: f64, [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `cny` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `USD` should have a snake case name [INFO] [stdout] --> src/openexchange.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | USD: f64, [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `usd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/steam/inventory.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | dbg!(resp.text().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 68 | let _ = dbg!(resp.text().await); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 13s [INFO] running `Command { std: "docker" "inspect" "938508d693ca63ef463fd73ef661fbefe2d329ddefa65ce24f89d7334572071a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "938508d693ca63ef463fd73ef661fbefe2d329ddefa65ce24f89d7334572071a", kill_on_drop: false }` [INFO] [stdout] 938508d693ca63ef463fd73ef661fbefe2d329ddefa65ce24f89d7334572071a