[INFO] cloning repository https://github.com/jesko7/auction_scraper [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jesko7/auction_scraper" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjesko7%2Fauction_scraper", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjesko7%2Fauction_scraper'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6bba71808c1f09a2b72214b09ce108b257c5431e [INFO] checking jesko7/auction_scraper against master#779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 for pr-147589-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjesko7%2Fauction_scraper" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jesko7/auction_scraper [INFO] finished tweaking git repo https://github.com/jesko7/auction_scraper [INFO] tweaked toml for git repo https://github.com/jesko7/auction_scraper written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jesko7/auction_scraper 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/jesko7/auction_scraper 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] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded quartz_nbt_macros v0.1.1 [INFO] [stderr] Downloaded quartz_nbt v0.2.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] a05eb55f5e585568eea0808bcf8b47ba1e8c5f2d7ef60f64fbaaf7b654c51c3a [INFO] running `Command { std: "docker" "start" "-a" "a05eb55f5e585568eea0808bcf8b47ba1e8c5f2d7ef60f64fbaaf7b654c51c3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a05eb55f5e585568eea0808bcf8b47ba1e8c5f2d7ef60f64fbaaf7b654c51c3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a05eb55f5e585568eea0808bcf8b47ba1e8c5f2d7ef60f64fbaaf7b654c51c3a", kill_on_drop: false }` [INFO] [stdout] a05eb55f5e585568eea0808bcf8b47ba1e8c5f2d7ef60f64fbaaf7b654c51c3a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 732ccd20f6eb7eb26f447767bf779bfb192bfa166490c520d25f01dddd3ab3ec [INFO] running `Command { std: "docker" "start" "-a" "732ccd20f6eb7eb26f447767bf779bfb192bfa166490c520d25f01dddd3ab3ec", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.104 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking tinyvec v1.6.1 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking cesu8 v1.1.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Compiling quartz_nbt_macros v0.1.1 [INFO] [stderr] Checking quartz_nbt v0.2.9 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking tokio v1.38.0 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_json v1.0.120 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking hyper v0.14.29 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking auction_scraper v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::thread::panicking` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::thread::panicking; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> src/main.rs:88:42 [INFO] [stdout] | [INFO] [stdout] 88 | let itambytes: Vec = base64::decode(&item_bytes).expect("could not decode item bytes"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread::panicking` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::thread::panicking; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> src/main.rs:88:42 [INFO] [stdout] | [INFO] [stdout] 88 | let itambytes: Vec = base64::decode(&item_bytes).expect("could not decode item bytes"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | let mut nbt_data: &[u8] = &itambytes; [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: `other` [INFO] [stdout] --> src/main.rs:232:21 [INFO] [stdout] | [INFO] [stdout] 232 | other => panic!() [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | let mut nbt_data: &[u8] = &itambytes; [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: `total_auctions` [INFO] [stdout] --> src/main.rs:423:9 [INFO] [stdout] | [INFO] [stdout] 423 | let total_auctions = data["totalAuctions"].as_i64().unwrap_or(0); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_auctions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/main.rs:232:21 [INFO] [stdout] | [INFO] [stdout] 232 | other => panic!() [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `item_bytes` is never read [INFO] [stdout] --> src/main.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 42 | struct Auction { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 49 | item_bytes: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Auction` has a derived impl for the trait `Clone`, 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: function `type_of` is never used [INFO] [stdout] --> src/main.rs:81:4 [INFO] [stdout] | [INFO] [stdout] 81 | fn type_of(_: &T) -> &'static str { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `insta_buy`, `buy_volume`, `sell_volume`, `name_id`, and `name` are never read [INFO] [stdout] --> src/main.rs:354:5 [INFO] [stdout] | [INFO] [stdout] 353 | struct BazaarItem { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 354 | insta_buy: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 355 | insta_sell: f64, [INFO] [stdout] 356 | buy_volume: i64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 357 | sell_volume: i64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 358 | name_id: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 359 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BazaarItem` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `reforge_name` is never read [INFO] [stdout] --> src/main.rs:407:5 [INFO] [stdout] | [INFO] [stdout] 404 | struct ReforgeStone { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 407 | reforge_name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReforgeStone` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `lowest_bin_keys` should have an upper case name [INFO] [stdout] --> src/main.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | static mut lowest_bin_keys: Vec = vec![]; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 77 - static mut lowest_bin_keys: Vec = vec![]; [INFO] [stdout] 77 + static mut LOWEST_BIN_KEYS: Vec = vec![]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `lowest_bin_values` should have an upper case name [INFO] [stdout] --> src/main.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | static mut lowest_bin_values: Vec> = vec![]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 78 - static mut lowest_bin_values: Vec> = vec![]; [INFO] [stdout] 78 + static mut LOWEST_BIN_VALUES: Vec> = vec![]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/main.rs:172:34 [INFO] [stdout] | [INFO] [stdout] 172 | if let Some(index) = lowest_bin_keys.iter().position(|x| *x == filter) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/main.rs:177:17 [INFO] [stdout] | [INFO] [stdout] 177 | lowest_bin_keys.push(filter); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/main.rs:178:17 [INFO] [stdout] | [INFO] [stdout] 178 | lowest_bin_values.push(vec![auction.clone()]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/main.rs:431:43 [INFO] [stdout] | [INFO] [stdout] 431 | for (filter, lowest_price) in zip(lowest_bin_keys.clone(), lowest_bin_values.clone()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/main.rs:431:68 [INFO] [stdout] | [INFO] [stdout] 431 | for (filter, lowest_price) in zip(lowest_bin_keys.clone(), lowest_bin_values.clone()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `total_auctions` [INFO] [stdout] --> src/main.rs:423:9 [INFO] [stdout] | [INFO] [stdout] 423 | let total_auctions = data["totalAuctions"].as_i64().unwrap_or(0); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_auctions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `item_bytes` is never read [INFO] [stdout] --> src/main.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 42 | struct Auction { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 49 | item_bytes: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Auction` has a derived impl for the trait `Clone`, 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: function `type_of` is never used [INFO] [stdout] --> src/main.rs:81:4 [INFO] [stdout] | [INFO] [stdout] 81 | fn type_of(_: &T) -> &'static str { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `insta_buy`, `buy_volume`, `sell_volume`, `name_id`, and `name` are never read [INFO] [stdout] --> src/main.rs:354:5 [INFO] [stdout] | [INFO] [stdout] 353 | struct BazaarItem { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 354 | insta_buy: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 355 | insta_sell: f64, [INFO] [stdout] 356 | buy_volume: i64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 357 | sell_volume: i64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 358 | name_id: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 359 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BazaarItem` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `reforge_name` is never read [INFO] [stdout] --> src/main.rs:407:5 [INFO] [stdout] | [INFO] [stdout] 404 | struct ReforgeStone { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 407 | reforge_name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReforgeStone` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `lowest_bin_keys` should have an upper case name [INFO] [stdout] --> src/main.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | static mut lowest_bin_keys: Vec = vec![]; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 77 - static mut lowest_bin_keys: Vec = vec![]; [INFO] [stdout] 77 + static mut LOWEST_BIN_KEYS: Vec = vec![]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `lowest_bin_values` should have an upper case name [INFO] [stdout] --> src/main.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | static mut lowest_bin_values: Vec> = vec![]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 78 - static mut lowest_bin_values: Vec> = vec![]; [INFO] [stdout] 78 + static mut LOWEST_BIN_VALUES: Vec> = vec![]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/main.rs:172:34 [INFO] [stdout] | [INFO] [stdout] 172 | if let Some(index) = lowest_bin_keys.iter().position(|x| *x == filter) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/main.rs:177:17 [INFO] [stdout] | [INFO] [stdout] 177 | lowest_bin_keys.push(filter); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/main.rs:178:17 [INFO] [stdout] | [INFO] [stdout] 178 | lowest_bin_values.push(vec![auction.clone()]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/main.rs:431:43 [INFO] [stdout] | [INFO] [stdout] 431 | for (filter, lowest_price) in zip(lowest_bin_keys.clone(), lowest_bin_values.clone()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/main.rs:431:68 [INFO] [stdout] | [INFO] [stdout] 431 | for (filter, lowest_price) in zip(lowest_bin_keys.clone(), lowest_bin_values.clone()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.10s [INFO] running `Command { std: "docker" "inspect" "732ccd20f6eb7eb26f447767bf779bfb192bfa166490c520d25f01dddd3ab3ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "732ccd20f6eb7eb26f447767bf779bfb192bfa166490c520d25f01dddd3ab3ec", kill_on_drop: false }` [INFO] [stdout] 732ccd20f6eb7eb26f447767bf779bfb192bfa166490c520d25f01dddd3ab3ec