[INFO] cloning repository https://github.com/PPerson314/rust-query-api [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/PPerson314/rust-query-api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPPerson314%2Frust-query-api", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPPerson314%2Frust-query-api'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 70d17356086f08d566a879ddfac199fff2df1bf9 [INFO] checking PPerson314/rust-query-api against try#b1f2594eac607c1f051534800237eeedb5590a49 for pr-139493-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPPerson314%2Frust-query-api" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/PPerson314/rust-query-api [INFO] finished tweaking git repo https://github.com/PPerson314/rust-query-api [INFO] tweaked toml for git repo https://github.com/PPerson314/rust-query-api written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/PPerson314/rust-query-api on toolchain b1f2594eac607c1f051534800237eeedb5590a49 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/PPerson314/rust-query-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" "+b1f2594eac607c1f051534800237eeedb5590a49" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b98703293101fac58fd4d7e503f9934874904d6e5542628533d434c883c3190d [INFO] running `Command { std: "docker" "start" "-a" "b98703293101fac58fd4d7e503f9934874904d6e5542628533d434c883c3190d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b98703293101fac58fd4d7e503f9934874904d6e5542628533d434c883c3190d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b98703293101fac58fd4d7e503f9934874904d6e5542628533d434c883c3190d", kill_on_drop: false }` [INFO] [stdout] b98703293101fac58fd4d7e503f9934874904d6e5542628533d434c883c3190d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 33292c397104745d031f2482523730d9facc6e07db19712e49c49ebba6c56337 [INFO] running `Command { std: "docker" "start" "-a" "33292c397104745d031f2482523730d9facc6e07db19712e49c49ebba6c56337", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling tokio v1.14.0 [INFO] [stderr] Compiling pkg-config v0.3.22 [INFO] [stderr] Compiling futures-util v0.3.19 [INFO] [stderr] Compiling serde v1.0.131 [INFO] [stderr] Checking tracing-core v0.1.21 [INFO] [stderr] Checking alloc-no-stdlib v2.0.3 [INFO] [stderr] Compiling serde_json v1.0.72 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Checking crypto-mac v0.11.1 [INFO] [stderr] Checking openssl-probe v0.1.4 [INFO] [stderr] Checking md-5 v0.9.1 [INFO] [stderr] Checking http-body v0.4.4 [INFO] [stderr] Checking hmac v0.11.0 [INFO] [stderr] Checking alloc-stdlib v0.2.1 [INFO] [stderr] Checking stringprep v0.1.2 [INFO] [stderr] Compiling encoding_rs v0.8.29 [INFO] [stderr] Checking siphasher v0.3.7 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Checking brotli-decompressor v2.3.2 [INFO] [stderr] Compiling substring v1.4.5 [INFO] [stderr] Checking array-init v2.0.0 [INFO] [stderr] Checking cesu8 v1.1.0 [INFO] [stderr] Checking tracing v0.1.29 [INFO] [stderr] Checking phf_shared v0.10.0 [INFO] [stderr] Compiling openssl-sys v0.9.71 [INFO] [stderr] Checking phf v0.10.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking socket2 v0.4.2 [INFO] [stderr] Checking flate2 v1.0.22 [INFO] [stderr] Checking parking_lot_core v0.8.5 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking brotli v3.3.2 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking simplelog v0.11.1 [INFO] [stderr] Checking postgres-protocol v0.6.2 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling serde_derive v1.0.131 [INFO] [stderr] Compiling futures-macro v0.3.19 [INFO] [stderr] Compiling postgres-derive v0.4.0 [INFO] [stderr] Checking futures-executor v0.3.19 [INFO] [stderr] Checking futures v0.3.17 [INFO] [stderr] Checking tokio-util v0.6.9 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking async-compression v0.3.8 [INFO] [stderr] Checking h2 v0.3.9 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking dashmap v5.0.0 [INFO] [stderr] Checking hematite-nbt v0.5.2 [INFO] [stderr] Checking postgres-types v0.2.2 [INFO] [stderr] Checking hyper v0.14.16 [INFO] [stderr] Checking tokio-postgres v0.7.5 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.7 [INFO] [stderr] Checking query_api v1.3.9 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/server.rs:124:28 [INFO] [stdout] | [INFO] [stdout] 124 | let database_ref = DATABASE.as_ref(); [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 shared reference to mutable static [INFO] [stdout] --> src/server.rs:196:28 [INFO] [stdout] | [INFO] [stdout] 196 | let database_ref = DATABASE.as_ref(); [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/server.rs:315:12 [INFO] [stdout] | [INFO] [stdout] 315 | if DATABASE.as_ref().is_none() { [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/server.rs:319:28 [INFO] [stdout] | [INFO] [stdout] 319 | let database_ref = DATABASE.as_ref().unwrap(); [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/server.rs:124:28 [INFO] [stdout] | [INFO] [stdout] 124 | let database_ref = DATABASE.as_ref(); [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 shared reference to mutable static [INFO] [stdout] --> src/server.rs:196:28 [INFO] [stdout] | [INFO] [stdout] 196 | let database_ref = DATABASE.as_ref(); [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/server.rs:315:12 [INFO] [stdout] | [INFO] [stdout] 315 | if DATABASE.as_ref().is_none() { [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/server.rs:319:28 [INFO] [stdout] | [INFO] [stdout] 319 | let database_ref = DATABASE.as_ref().unwrap(); [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/utils.rs:91:17 [INFO] [stdout] | [INFO] [stdout] 91 | let _ = WEBHOOK [INFO] [stdout] | _________________^ [INFO] [stdout] 92 | | .as_ref() [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/utils.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | let _ = WEBHOOK [INFO] [stdout] | _________________^ [INFO] [stdout] 113 | | .as_ref() [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/utils.rs:133:17 [INFO] [stdout] | [INFO] [stdout] 133 | let _ = WEBHOOK [INFO] [stdout] | _________________^ [INFO] [stdout] 134 | | .as_ref() [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/utils.rs:196:24 [INFO] [stdout] | [INFO] [stdout] 196 | let database = DATABASE.as_ref().unwrap(); [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/utils.rs:217:17 [INFO] [stdout] | [INFO] [stdout] 217 | BID_ARRAY.to_owned().unwrap(), [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/utils.rs:246:24 [INFO] [stdout] | [INFO] [stdout] 246 | let database = DATABASE.as_ref().unwrap(); [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/utils.rs:292:24 [INFO] [stdout] | [INFO] [stdout] 292 | let database = DATABASE.as_ref().unwrap(); [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/utils.rs:91:17 [INFO] [stdout] | [INFO] [stdout] 91 | let _ = WEBHOOK [INFO] [stdout] | _________________^ [INFO] [stdout] 92 | | .as_ref() [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/utils.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | let _ = WEBHOOK [INFO] [stdout] | _________________^ [INFO] [stdout] 113 | | .as_ref() [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/utils.rs:133:17 [INFO] [stdout] | [INFO] [stdout] 133 | let _ = WEBHOOK [INFO] [stdout] | _________________^ [INFO] [stdout] 134 | | .as_ref() [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/utils.rs:196:24 [INFO] [stdout] | [INFO] [stdout] 196 | let database = DATABASE.as_ref().unwrap(); [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/utils.rs:217:17 [INFO] [stdout] | [INFO] [stdout] 217 | BID_ARRAY.to_owned().unwrap(), [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/utils.rs:246:24 [INFO] [stdout] | [INFO] [stdout] 246 | let database = DATABASE.as_ref().unwrap(); [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/utils.rs:292:24 [INFO] [stdout] | [INFO] [stdout] 292 | let database = DATABASE.as_ref().unwrap(); [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 mutable reference to mutable static [INFO] [stdout] --> src/main.rs:102:17 [INFO] [stdout] | [INFO] [stdout] 102 | let _ = WEBHOOK.insert(Webhook::from_url( [INFO] [stdout] | _________________^ [INFO] [stdout] 103 | | &env::var("WEBHOOK_URL").expect("Unable to find WEBHOOK_URL environment variable"), [INFO] [stdout] 104 | | )); [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] = 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:102:17 [INFO] [stdout] | [INFO] [stdout] 102 | let _ = WEBHOOK.insert(Webhook::from_url( [INFO] [stdout] | _________________^ [INFO] [stdout] 103 | | &env::var("WEBHOOK_URL").expect("Unable to find WEBHOOK_URL environment variable"), [INFO] [stdout] 104 | | )); [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] = 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:124:22 [INFO] [stdout] | [INFO] [stdout] 124 | let client = DATABASE.insert(client); [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:138:13 [INFO] [stdout] | [INFO] [stdout] 138 | BID_ARRAY.insert(client.prepare("SELECT $1::_bid").await.unwrap().params()[0].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 mutable reference to mutable static [INFO] [stdout] --> src/main.rs:124:22 [INFO] [stdout] | [INFO] [stdout] 124 | let client = DATABASE.insert(client); [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:138:13 [INFO] [stdout] | [INFO] [stdout] 138 | BID_ARRAY.insert(client.prepare("SELECT $1::_bid").await.unwrap().params()[0].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 mutable reference to mutable static [INFO] [stdout] --> src/main.rs:153:13 [INFO] [stdout] | [INFO] [stdout] 153 | AVG_AH.insert(client.prepare("SELECT $1::_avg_ah").await.unwrap().params()[0].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 mutable reference to mutable static [INFO] [stdout] --> src/main.rs:153:13 [INFO] [stdout] | [INFO] [stdout] 153 | AVG_AH.insert(client.prepare("SELECT $1::_avg_ah").await.unwrap().params()[0].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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.22s [INFO] running `Command { std: "docker" "inspect" "33292c397104745d031f2482523730d9facc6e07db19712e49c49ebba6c56337", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33292c397104745d031f2482523730d9facc6e07db19712e49c49ebba6c56337", kill_on_drop: false }` [INFO] [stdout] 33292c397104745d031f2482523730d9facc6e07db19712e49c49ebba6c56337