[INFO] fetching crate chimes-utils 0.1.0... [INFO] checking chimes-utils-0.1.0 against try#b1f2594eac607c1f051534800237eeedb5590a49 for pr-139493-3 [INFO] extracting crate chimes-utils 0.1.0 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate chimes-utils 0.1.0 [INFO] finished tweaking crates.io crate chimes-utils 0.1.0 [INFO] tweaked toml for crates.io crate chimes-utils 0.1.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate chimes-utils 0.1.0 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 470 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.21.7 (available: v0.22.1) [INFO] [stderr] Adding generic-array v0.14.7 (available: v0.14.9) [INFO] [stderr] Adding lettre v0.10.4 (available: v0.11.19) [INFO] [stderr] Adding nix v0.28.0 (available: v0.30.1) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] [stderr] Adding rbatis v3.1.16 (available: v4.6.15) [INFO] [stderr] Adding redis v0.22.3 (available: v1.0.2) [INFO] [stderr] Adding rsa v0.6.1 (available: v0.9.10) [INFO] [stderr] Adding rustls v0.20.9 (available: v0.23.36) [INFO] [stderr] Adding windows v0.48.0 (available: v0.62.2) [INFO] [stderr] Adding windows-service v0.6.0 (available: v0.8.0) [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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 81fee111c5634ee7f8377065ed83209a5b6fb08bd7d70bd0d32dbecf784485a9 [INFO] running `Command { std: "docker" "start" "-a" "81fee111c5634ee7f8377065ed83209a5b6fb08bd7d70bd0d32dbecf784485a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "81fee111c5634ee7f8377065ed83209a5b6fb08bd7d70bd0d32dbecf784485a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81fee111c5634ee7f8377065ed83209a5b6fb08bd7d70bd0d32dbecf784485a9", kill_on_drop: false }` [INFO] [stdout] 81fee111c5634ee7f8377065ed83209a5b6fb08bd7d70bd0d32dbecf784485a9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 2d590f38a74ffdaeae3028ef4c30047b3cf4cf364509878573f417e7fcf238ad [INFO] running `Command { std: "docker" "start" "-a" "2d590f38a74ffdaeae3028ef4c30047b3cf4cf364509878573f417e7fcf238ad", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.105 [INFO] [stderr] Compiling quote v1.0.43 [INFO] [stderr] Compiling libc v0.2.180 [INFO] [stderr] Compiling find-msvc-tools v0.1.7 [INFO] [stderr] Compiling portable-atomic v1.13.0 [INFO] [stderr] Checking value-bag v1.12.0 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling zerocopy v0.8.33 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking bitflags v2.10.0 [INFO] [stderr] Compiling zmij v1.0.12 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking log v0.4.29 [INFO] [stderr] Checking indexmap v2.13.0 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Checking parking v2.2.1 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling pest v2.8.5 [INFO] [stderr] Checking base64ct v1.8.2 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking crypto-bigint v0.3.2 [INFO] [stderr] Checking const-oid v0.7.1 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Checking event-listener v5.4.1 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Checking local-waker v0.1.4 [INFO] [stderr] Compiling rustls v0.20.9 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling rustix v1.1.3 [INFO] [stderr] Checking pem-rfc7468 v0.3.1 [INFO] [stderr] Checking event-listener-strategy v0.5.4 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking tracing-core v0.1.36 [INFO] [stderr] Checking futures-lite v2.6.1 [INFO] [stderr] Checking unicode-normalization v0.1.25 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Checking regex-automata v0.4.13 [INFO] [stderr] Checking der v0.5.1 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Checking linux-raw-sys v0.11.0 [INFO] [stderr] Compiling tokio-openssl v0.6.5 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Checking event-listener v2.5.3 [INFO] [stderr] Checking alloc-no-stdlib v2.0.4 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling cc v1.2.52 [INFO] [stderr] Compiling num-bigint-dig v0.8.6 [INFO] [stderr] Compiling pest_meta v2.8.5 [INFO] [stderr] Checking alloc-stdlib v0.2.2 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking spki v0.5.4 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking errno v0.3.14 [INFO] [stderr] Checking signal-hook-registry v1.4.8 [INFO] [stderr] Checking mio v1.1.1 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking socket2 v0.6.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking pkcs8 v0.8.0 [INFO] [stderr] Checking parking_lot_core v0.8.6 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking actix-utils v3.0.1 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling async-io v2.6.0 [INFO] [stderr] Checking actix-service v2.0.3 [INFO] [stderr] Compiling openssl-src v300.5.4+3.5.4 [INFO] [stderr] Compiling rust_decimal v1.39.0 [INFO] [stderr] Compiling const_fn v0.4.11 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Checking async-task v4.7.1 [INFO] [stderr] Checking regex v1.12.2 [INFO] [stderr] Checking deranged v0.5.5 [INFO] [stderr] Checking piper v0.2.4 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking pkcs1 v0.3.3 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking serde_bytes v0.11.19 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling zstd-sys v2.0.16+zstd.1.5.7 [INFO] [stderr] Compiling libsqlite3-sys v0.24.2 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Checking brotli-decompressor v5.0.0 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Checking async-channel v2.5.0 [INFO] [stderr] Compiling chrono-tz-build v0.3.0 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking http v1.4.0 [INFO] [stderr] Checking bytestring v1.5.0 [INFO] [stderr] Checking bstr v1.12.1 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling bytes v1.11.0 [INFO] [stderr] Checking unicode-properties v0.1.4 [INFO] [stderr] Checking impl-more v0.1.9 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking crc-catalog v1.1.1 [INFO] [stderr] Checking unicode_categories v0.1.1 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Checking crc v2.1.0 [INFO] [stderr] Checking rsa v0.6.1 [INFO] [stderr] Checking stringprep v0.1.5 [INFO] [stderr] Compiling chrono-tz v0.9.0 [INFO] [stderr] Checking phf_shared v0.11.3 [INFO] [stderr] Checking globset v0.4.18 [INFO] [stderr] Checking time v0.3.44 [INFO] [stderr] Checking brotli v8.0.2 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Checking blocking v1.6.2 [INFO] [stderr] Checking hashlink v0.7.0 [INFO] [stderr] Checking dirs v4.0.0 [INFO] [stderr] Checking futures-intrusive v0.4.2 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking async-executor v1.13.3 [INFO] [stderr] Checking atoi v0.4.0 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Checking async-lock v3.4.2 [INFO] [stderr] Checking local-channel v0.1.5 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking sha-1 v0.10.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling pest_generator v2.8.5 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking crossbeam-queue v0.3.12 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling crc16 v0.4.0 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking language-tags v0.3.2 [INFO] [stderr] Compiling regex-lite v0.1.8 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking whoami v1.6.1 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Checking ignore v0.4.25 [INFO] [stderr] Checking const-random v0.1.18 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking async-channel v1.9.0 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Compiling substring v1.4.5 [INFO] [stderr] Checking polling v3.11.0 [INFO] [stderr] Checking deunicode v1.6.2 [INFO] [stderr] Checking globwalk v0.9.1 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Checking slug v0.1.6 [INFO] [stderr] Checking email-encoding v0.2.1 [INFO] [stderr] Checking scheduled-thread-pool v0.2.7 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pest_derive v2.8.5 [INFO] [stderr] Checking tokio v1.49.0 [INFO] [stderr] Checking rustls v0.19.1 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling derive_more-impl v2.1.1 [INFO] [stderr] Checking webpki-roots v0.21.1 [INFO] [stderr] Checking webpki v0.22.4 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking async-global-executor v2.4.1 [INFO] [stderr] Compiling rhai_codegen v3.1.0 [INFO] [stderr] Checking webpki-roots v0.22.6 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking async-std v1.13.2 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Checking zerotrie v0.2.3 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking flume v0.10.14 [INFO] [stderr] Checking tinystr v0.8.2 [INFO] [stderr] Checking potential_utf v0.1.4 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Checking icu_collections v2.1.1 [INFO] [stderr] Checking icu_locale_core v2.1.1 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking idna v0.3.0 [INFO] [stderr] Checking humansize v2.1.3 [INFO] [stderr] Checking fastrand v1.9.0 [INFO] [stderr] Checking sha1_smol v1.0.1 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Checking thin-vec v0.2.14 [INFO] [stderr] Checking quoted_printable v0.4.8 [INFO] [stderr] Checking email_address v0.2.9 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking rhai v1.23.6 [INFO] [stderr] Checking r2d2 v0.8.10 [INFO] [stderr] Checking urlencoding v2.1.3 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking icu_properties v2.1.2 [INFO] [stderr] Checking derive_more v2.1.1 [INFO] [stderr] Checking chrono v0.4.42 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Compiling html_parser v0.6.3 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking bigdecimal v0.2.2 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking ipnetwork v0.17.0 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Compiling rbatis-macro-driver v3.1.3 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Checking zstd v0.13.3 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Checking actix-rt v2.11.0 [INFO] [stderr] Checking tokio-rustls v0.22.0 [INFO] [stderr] Checking tokio-rustls v0.23.4 [INFO] [stderr] Checking tokio-stream v0.1.18 [INFO] [stderr] Checking sqlx-rt v0.5.13 [INFO] [stderr] Checking rbson v2.0.5 [INFO] [stderr] Checking actix-server v2.6.0 [INFO] [stderr] Checking sqlformat v0.1.8 [INFO] [stderr] Compiling rbatis_sql_macro v3.0.17 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking actix-codec v0.5.2 [INFO] [stderr] Checking combine v4.6.7 [INFO] [stderr] Checking rbatis_sql v3.0.26 [INFO] [stderr] Checking tera v1.20.1 [INFO] [stderr] Checking sqlx-core v0.5.13 [INFO] [stderr] Checking redis v0.22.3 [INFO] [stderr] Checking rbatis-core v3.1.11 [INFO] [stderr] Checking rbatis v3.1.16 [INFO] [stderr] Checking actix-tls v3.5.0 [INFO] [stderr] Checking lettre v0.10.4 [INFO] [stderr] Checking actix-http v3.11.2 [INFO] [stderr] Checking actix-web v4.12.1 [INFO] [stderr] Checking awc v3.8.1 [INFO] [stderr] Checking chimes-utils v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/utils/linux_performance.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/utils/linux_performance.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this function depends on never type fallback being `()` [INFO] [stdout] --> src/utils/redis_client.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | fn is_valid(&self, conn: &mut RedisConnection) -> Result<(), Self::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/utils/redis_client.rs:104:36 [INFO] [stdout] | [INFO] [stdout] 104 | redis::cmd("PING").query(sc)?; [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: `#[deny(dependency_on_unit_never_type_fallback)]` (part of `#[deny(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 104 ~ redis::cmd("PING").query::<()>(sc)?; [INFO] [stdout] 105 | } [INFO] [stdout] 106 | RedisConnection::Cluster(cc) => { [INFO] [stdout] 107 ~ redis::cmd("PING").query::<()>(cc)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this function depends on never type fallback being `()` [INFO] [stdout] --> src/utils/redis_client.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | fn is_valid(&self, conn: &mut RedisConnection) -> Result<(), Self::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/utils/redis_client.rs:104:36 [INFO] [stdout] | [INFO] [stdout] 104 | redis::cmd("PING").query(sc)?; [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: `#[deny(dependency_on_unit_never_type_fallback)]` (part of `#[deny(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 104 ~ redis::cmd("PING").query::<()>(sc)?; [INFO] [stdout] 105 | } [INFO] [stdout] 106 | RedisConnection::Cluster(cc) => { [INFO] [stdout] 107 ~ redis::cmd("PING").query::<()>(cc)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/utils/mod.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | STATIC_MULTI_RB.as_mut_ptr().write(HashMap::new()); [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/utils/mod.rs:73:14 [INFO] [stdout] | [INFO] [stdout] 73 | if (*STATIC_MULTI_RB.as_mut_ptr()).contains_key(url) { [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/utils/mod.rs:74:29 [INFO] [stdout] | [INFO] [stdout] 74 | let hashmap = &*STATIC_MULTI_RB.as_mut_ptr(); [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/utils/mod.rs:92:19 [INFO] [stdout] | [INFO] [stdout] 92 | (*STATIC_MULTI_RB.as_mut_ptr()).insert(url.to_string(), rb); [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/utils/mod.rs:94:29 [INFO] [stdout] | [INFO] [stdout] 94 | let hashmap = &*STATIC_MULTI_RB.as_mut_ptr(); [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/utils/mod.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | STATIC_MULTI_RB.as_mut_ptr().write(HashMap::new()); [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/utils/mod.rs:112:14 [INFO] [stdout] | [INFO] [stdout] 112 | if (*STATIC_MULTI_RB.as_mut_ptr()).contains_key(url) { [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/utils/mod.rs:113:29 [INFO] [stdout] | [INFO] [stdout] 113 | let hashmap = &*STATIC_MULTI_RB.as_mut_ptr(); [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/utils/mod.rs:130:15 [INFO] [stdout] | [INFO] [stdout] 130 | (*STATIC_MULTI_RB.as_mut_ptr()).insert(url.to_string(), rb); [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/utils/mod.rs:131:29 [INFO] [stdout] | [INFO] [stdout] 131 | let hashmap = &*STATIC_MULTI_RB.as_mut_ptr(); [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/utils/mod.rs:163:13 [INFO] [stdout] | [INFO] [stdout] 163 | STATIC_RB.as_mut_ptr().write(rb); [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/utils/mod.rs:166:16 [INFO] [stdout] | [INFO] [stdout] 166 | unsafe { &*STATIC_RB.as_ptr() } [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/utils/mod.rs:320:13 [INFO] [stdout] | [INFO] [stdout] 320 | CONF.as_mut_ptr().write(Mutex::new(AppConfig { [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/utils/mod.rs:344:20 [INFO] [stdout] | [INFO] [stdout] 344 | unsafe { &*CONF.as_ptr() } [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: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/utils/mod.rs:504:39 [INFO] [stdout] | [INFO] [stdout] 504 | match std::fs::set_permissions(fcp.clone(), permissions) { [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/utils/mail.rs:228:13 [INFO] [stdout] | [INFO] [stdout] 228 | STATIC_ESQ.as_mut_ptr().write(esq); [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/utils/mail.rs:231:20 [INFO] [stdout] | [INFO] [stdout] 231 | unsafe { &mut *STATIC_ESQ.as_mut_ptr() } [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/utils/queue.rs:226:13 [INFO] [stdout] | [INFO] [stdout] 226 | STATIC_ESQ.as_mut_ptr().write(esq); [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/utils/queue.rs:229:20 [INFO] [stdout] | [INFO] [stdout] 229 | unsafe { &mut *STATIC_ESQ.as_mut_ptr() } [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/utils/mod.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | STATIC_MULTI_RB.as_mut_ptr().write(HashMap::new()); [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/utils/mod.rs:73:14 [INFO] [stdout] | [INFO] [stdout] 73 | if (*STATIC_MULTI_RB.as_mut_ptr()).contains_key(url) { [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/utils/mod.rs:74:29 [INFO] [stdout] | [INFO] [stdout] 74 | let hashmap = &*STATIC_MULTI_RB.as_mut_ptr(); [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/utils/mod.rs:92:19 [INFO] [stdout] | [INFO] [stdout] 92 | (*STATIC_MULTI_RB.as_mut_ptr()).insert(url.to_string(), rb); [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/utils/mod.rs:94:29 [INFO] [stdout] | [INFO] [stdout] 94 | let hashmap = &*STATIC_MULTI_RB.as_mut_ptr(); [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/utils/mod.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | STATIC_MULTI_RB.as_mut_ptr().write(HashMap::new()); [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/utils/mod.rs:112:14 [INFO] [stdout] | [INFO] [stdout] 112 | if (*STATIC_MULTI_RB.as_mut_ptr()).contains_key(url) { [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/utils/mod.rs:113:29 [INFO] [stdout] | [INFO] [stdout] 113 | let hashmap = &*STATIC_MULTI_RB.as_mut_ptr(); [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/utils/mod.rs:130:15 [INFO] [stdout] | [INFO] [stdout] 130 | (*STATIC_MULTI_RB.as_mut_ptr()).insert(url.to_string(), rb); [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] error: could not compile `chimes-utils` (lib) due to 2 previous errors; 20 warnings emitted [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/utils/mod.rs:131:29 [INFO] [stdout] | [INFO] [stdout] 131 | let hashmap = &*STATIC_MULTI_RB.as_mut_ptr(); [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] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/utils/mod.rs:163:13 [INFO] [stdout] | [INFO] [stdout] 163 | STATIC_RB.as_mut_ptr().write(rb); [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/utils/mod.rs:166:16 [INFO] [stdout] | [INFO] [stdout] 166 | unsafe { &*STATIC_RB.as_ptr() } [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/utils/mod.rs:320:13 [INFO] [stdout] | [INFO] [stdout] 320 | CONF.as_mut_ptr().write(Mutex::new(AppConfig { [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/utils/mod.rs:344:20 [INFO] [stdout] | [INFO] [stdout] 344 | unsafe { &*CONF.as_ptr() } [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: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/utils/mod.rs:504:39 [INFO] [stdout] | [INFO] [stdout] 504 | match std::fs::set_permissions(fcp.clone(), permissions) { [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/utils/mail.rs:228:13 [INFO] [stdout] | [INFO] [stdout] 228 | STATIC_ESQ.as_mut_ptr().write(esq); [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/utils/mail.rs:231:20 [INFO] [stdout] | [INFO] [stdout] 231 | unsafe { &mut *STATIC_ESQ.as_mut_ptr() } [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/utils/queue.rs:226:13 [INFO] [stdout] | [INFO] [stdout] 226 | STATIC_ESQ.as_mut_ptr().write(esq); [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/utils/queue.rs:229:20 [INFO] [stdout] | [INFO] [stdout] 229 | unsafe { &mut *STATIC_ESQ.as_mut_ptr() } [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] error: could not compile `chimes-utils` (lib test) due to 2 previous errors; 20 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2d590f38a74ffdaeae3028ef4c30047b3cf4cf364509878573f417e7fcf238ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d590f38a74ffdaeae3028ef4c30047b3cf4cf364509878573f417e7fcf238ad", kill_on_drop: false }` [INFO] [stdout] 2d590f38a74ffdaeae3028ef4c30047b3cf4cf364509878573f417e7fcf238ad