[INFO] cloning repository https://github.com/malandrakisgeo/RustWebServer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/malandrakisgeo/RustWebServer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmalandrakisgeo%2FRustWebServer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmalandrakisgeo%2FRustWebServer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ec710fad152c22e62616230fee6cfeb81c5a2ce7 [INFO] checking malandrakisgeo/RustWebServer against master#642c19bfc3a5c1de985bf5d0cc8207ac9d22708a for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmalandrakisgeo%2FRustWebServer" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/malandrakisgeo/RustWebServer [INFO] finished tweaking git repo https://github.com/malandrakisgeo/RustWebServer [INFO] tweaked toml for git repo https://github.com/malandrakisgeo/RustWebServer written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/malandrakisgeo/RustWebServer on toolchain 642c19bfc3a5c1de985bf5d0cc8207ac9d22708a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/malandrakisgeo/RustWebServer 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" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 19 packages to latest compatible versions [INFO] [stderr] Adding futures v0.3.31 [INFO] [stderr] Adding futures-channel v0.3.31 [INFO] [stderr] Adding futures-core v0.3.31 [INFO] [stderr] Adding futures-executor v0.3.31 [INFO] [stderr] Adding futures-io v0.3.31 [INFO] [stderr] Adding futures-macro v0.3.31 [INFO] [stderr] Adding futures-sink v0.3.31 [INFO] [stderr] Adding futures-task v0.3.31 [INFO] [stderr] Adding futures-util v0.3.31 [INFO] [stderr] Adding hermit-abi v0.5.2 [INFO] [stderr] Adding memchr v2.7.6 [INFO] [stderr] Adding num_cpus v1.17.0 [INFO] [stderr] Adding pin-project-lite v0.2.16 [INFO] [stderr] Adding pin-utils v0.1.0 [INFO] [stderr] Updating proc-macro2 v1.0.69 -> v1.0.103 [INFO] [stderr] Updating quote v1.0.33 -> v1.0.42 [INFO] [stderr] Adding slab v0.4.11 [INFO] [stderr] Updating syn v2.0.38 -> v2.0.110 [INFO] [stderr] Adding threadpool v1.8.1 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ctrlc v3.4.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 334821e4368841512c13158dd3c92a554cd22e60c712d773ce1d789279329c27 [INFO] running `Command { std: "docker" "start" "-a" "334821e4368841512c13158dd3c92a554cd22e60c712d773ce1d789279329c27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "334821e4368841512c13158dd3c92a554cd22e60c712d773ce1d789279329c27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "334821e4368841512c13158dd3c92a554cd22e60c712d773ce1d789279329c27", kill_on_drop: false }` [INFO] [stdout] 334821e4368841512c13158dd3c92a554cd22e60c712d773ce1d789279329c27 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f5446705a4879efa9dd307a2704e110f55de2b71bce8e805396589b16064122e [INFO] running `Command { std: "docker" "start" "-a" "f5446705a4879efa9dd307a2704e110f55de2b71bce8e805396589b16064122e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Checking nix v0.27.1 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking ctrlc v3.4.2 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking RustWebServer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/response/refera_error.rs:29:45 [INFO] [stdout] | [INFO] [stdout] 29 | ReferaError::Io(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/content_manager/content_parser.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | Err(err) => Vec::new() [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [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/content_manager/content_parser.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | let mut file: Vec; [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: `request_headers` [INFO] [stdout] --> src/main.rs:83:25 [INFO] [stdout] | [INFO] [stdout] 83 | fn get_reply(url: &str, request_headers: HashMap) -> ReferaResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request_headers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `auth`, `file_dir`, and `tls` are never read [INFO] [stdout] --> src/config.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 7 | pub auth: HashMap, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | pub file_dir: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 9 | pub tls: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` 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: fields `cert_path` and `key_path` are never read [INFO] [stdout] --> src/config.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct TlsConfig { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 19 | pub cert_path: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 20 | pub key_path: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TlsConfig` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_str` is never used [INFO] [stdout] --> src/response/refera_response.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl ReferaResponse { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn as_str(&self) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `StatusClass` is never used [INFO] [stdout] --> src/http/http_status.rs:205:10 [INFO] [stdout] | [INFO] [stdout] 205 | pub enum StatusClass { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `class` is never used [INFO] [stdout] --> src/http/http_status.rs:368:12 [INFO] [stdout] | [INFO] [stdout] 225 | impl StatusCode { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 368 | pub fn class(&self) -> StatusClass { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/core/server_cache.rs:30:21 [INFO] [stdout] | [INFO] [stdout] 30 | let cache = FILE_CACHE.acquire(); [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 shared reference to mutable static [INFO] [stdout] --> src/core/server_cache.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | FILE_CACHE.free(); [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/core/server_cache.rs:43:25 [INFO] [stdout] | [INFO] [stdout] 43 | let cache = FILE_CACHE.acquire_mut(); [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/core/server_cache.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | FILE_CACHE.free(); [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/logger/refera_logger.rs:36:20 [INFO] [stdout] | [INFO] [stdout] 36 | let buf = COMMON_BUFFER.acquire_mut(); [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/logger/refera_logger.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | COMMON_BUFFER.free(); [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/logger/refera_logger.rs:47:23 [INFO] [stdout] | [INFO] [stdout] 47 | let buffer = COMMON_BUFFER.acquire_mut(); [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/logger/refera_logger.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | COMMON_BUFFER.free(); [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: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/response/refera_error.rs:29:45 [INFO] [stdout] | [INFO] [stdout] 29 | ReferaError::Io(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/content_manager/content_parser.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | Err(err) => Vec::new() [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [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/content_manager/content_parser.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | let mut file: Vec; [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: `request_headers` [INFO] [stdout] --> src/main.rs:83:25 [INFO] [stdout] | [INFO] [stdout] 83 | fn get_reply(url: &str, request_headers: HashMap) -> ReferaResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request_headers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `auth`, `file_dir`, and `tls` are never read [INFO] [stdout] --> src/config.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 7 | pub auth: HashMap, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | pub file_dir: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 9 | pub tls: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` 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: fields `cert_path` and `key_path` are never read [INFO] [stdout] --> src/config.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct TlsConfig { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 19 | pub cert_path: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 20 | pub key_path: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TlsConfig` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_str` is never used [INFO] [stdout] --> src/response/refera_response.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl ReferaResponse { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn as_str(&self) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `StatusClass` is never used [INFO] [stdout] --> src/http/http_status.rs:205:10 [INFO] [stdout] | [INFO] [stdout] 205 | pub enum StatusClass { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `class` is never used [INFO] [stdout] --> src/http/http_status.rs:368:12 [INFO] [stdout] | [INFO] [stdout] 225 | impl StatusCode { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 368 | pub fn class(&self) -> StatusClass { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/core/server_cache.rs:30:21 [INFO] [stdout] | [INFO] [stdout] 30 | let cache = FILE_CACHE.acquire(); [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 shared reference to mutable static [INFO] [stdout] --> src/core/server_cache.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | FILE_CACHE.free(); [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/core/server_cache.rs:43:25 [INFO] [stdout] | [INFO] [stdout] 43 | let cache = FILE_CACHE.acquire_mut(); [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/core/server_cache.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | FILE_CACHE.free(); [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/logger/refera_logger.rs:36:20 [INFO] [stdout] | [INFO] [stdout] 36 | let buf = COMMON_BUFFER.acquire_mut(); [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/logger/refera_logger.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | COMMON_BUFFER.free(); [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/logger/refera_logger.rs:47:23 [INFO] [stdout] | [INFO] [stdout] 47 | let buffer = COMMON_BUFFER.acquire_mut(); [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/logger/refera_logger.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | COMMON_BUFFER.free(); [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 10.29s [INFO] running `Command { std: "docker" "inspect" "f5446705a4879efa9dd307a2704e110f55de2b71bce8e805396589b16064122e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5446705a4879efa9dd307a2704e110f55de2b71bce8e805396589b16064122e", kill_on_drop: false }` [INFO] [stdout] f5446705a4879efa9dd307a2704e110f55de2b71bce8e805396589b16064122e