[INFO] cloning repository https://github.com/threeh11/web_server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/threeh11/web_server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthreeh11%2Fweb_server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthreeh11%2Fweb_server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1ea8b1ef23e6751fee689238c69c6815bed66c90 [INFO] checking threeh11/web_server against master#779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 for pr-147589-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthreeh11%2Fweb_server" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/threeh11/web_server [INFO] finished tweaking git repo https://github.com/threeh11/web_server [INFO] tweaked toml for git repo https://github.com/threeh11/web_server written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/threeh11/web_server on toolchain 779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/threeh11/web_server already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] 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] Downloading crates ... [INFO] [stderr] Downloaded serde_yaml v0.8.26 [INFO] [stderr] Downloaded syn v2.0.70 [INFO] [stderr] Downloaded cc v1.1.0 [INFO] [stderr] Downloaded flexi_logger v0.28.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 109c51f87afd525e305c1bed1fe2181661f37aaf86c4eef2f9c0ad37aa2dc77e [INFO] running `Command { std: "docker" "start" "-a" "109c51f87afd525e305c1bed1fe2181661f37aaf86c4eef2f9c0ad37aa2dc77e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "109c51f87afd525e305c1bed1fe2181661f37aaf86c4eef2f9c0ad37aa2dc77e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "109c51f87afd525e305c1bed1fe2181661f37aaf86c4eef2f9c0ad37aa2dc77e", kill_on_drop: false }` [INFO] [stdout] 109c51f87afd525e305c1bed1fe2181661f37aaf86c4eef2f9c0ad37aa2dc77e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 76aa4dfd2549e665c2f06e55d58f6537b9eef279bb26bbf1f405e6dfd01c2c69 [INFO] running `Command { std: "docker" "start" "-a" "76aa4dfd2549e665c2f06e55d58f6537b9eef279bb26bbf1f405e6dfd01c2c69", kill_on_drop: false }` [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling syn v2.0.70 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking uuid v1.10.0 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Checking tokio v1.38.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking flexi_logger v0.28.5 [INFO] [stderr] Checking serde v1.0.204 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking serde_yaml v0.8.26 [INFO] [stderr] Checking h2 v0.4.5 [INFO] [stderr] Checking hyper v1.4.1 [INFO] [stderr] Checking hyper-util v0.1.6 [INFO] [stderr] Checking web_server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::core::server::VirtualHost` [INFO] [stdout] --> src/core/jexus.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::core::server::VirtualHost; [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: `Response` [INFO] [stdout] --> src/core/location.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use hyper::{Response, Uri}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io` [INFO] [stdout] --> src/os/file_manager.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fs, io}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core::server::VirtualHost` [INFO] [stdout] --> src/core/jexus.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::core::server::VirtualHost; [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: `Response` [INFO] [stdout] --> src/core/location.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use hyper::{Response, Uri}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io` [INFO] [stdout] --> src/os/file_manager.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fs, io}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_agent` [INFO] [stdout] --> src/core/server.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | let user_agent = request.headers().get("User-Agent").map(|value| value.to_str().unwrap_or("Unknown")).unwrap_or("Unknown"); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_agent` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_agent` [INFO] [stdout] --> src/core/server.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | let user_agent = request.headers().get("User-Agent").map(|value| value.to_str().unwrap_or("Unknown")).unwrap_or("Unknown"); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_agent` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `jexus_config::User` is more private than the item `GlobalContext::user` [INFO] [stdout] --> src/config/jexus_config.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub user: User, [INFO] [stdout] | ^^^^^^^^^^^^^^ field `GlobalContext::user` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `jexus_config::User` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/config/jexus_config.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | struct User { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `jexus_config::User` is more private than the item `JxsMain::user` [INFO] [stdout] --> src/config/jexus_config.rs:281:5 [INFO] [stdout] | [INFO] [stdout] 281 | pub user: User, [INFO] [stdout] | ^^^^^^^^^^^^^^ field `JxsMain::user` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `jexus_config::User` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/config/jexus_config.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | struct User { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `main` is never read [INFO] [stdout] --> src/config/jexus_config.rs:276:9 [INFO] [stdout] | [INFO] [stdout] 275 | pub struct JxsValidConfig { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 276 | pub main: JxsMain, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `user` and `worker_processes` are never read [INFO] [stdout] --> src/config/jexus_config.rs:281:9 [INFO] [stdout] | [INFO] [stdout] 280 | pub struct JxsMain { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 281 | pub user: User, [INFO] [stdout] | ^^^^ [INFO] [stdout] 282 | pub worker_processes: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `root` is never read [INFO] [stdout] --> src/config/jexus_config.rs:292:9 [INFO] [stdout] | [INFO] [stdout] 290 | pub struct JxsServer { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 291 | pub listen: usize, [INFO] [stdout] 292 | pub root: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JxsServer` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `index`, `auto_index`, `random_index`, and `fastcgi_pass` are never read [INFO] [stdout] --> src/config/jexus_config.rs:299:9 [INFO] [stdout] | [INFO] [stdout] 297 | pub struct JxsLocation { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 298 | pub uri: Uri, [INFO] [stdout] 299 | pub index: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 300 | pub auto_index: AutoIndex, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 301 | pub random_index: RandomIndex, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 302 | pub proxy_pass: String, [INFO] [stdout] 303 | pub fastcgi_pass: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JxsLocation` 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 `get_tcp_listener` is never used [INFO] [stdout] --> src/core/server.rs:50:18 [INFO] [stdout] | [INFO] [stdout] 23 | impl VirtualHost<'_> { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 50 | pub async fn get_tcp_listener(&mut self) -> TcpListener { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `jxs_valid_config` and `resolver` are never read [INFO] [stdout] --> src/core/jexus.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Jexus { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 9 | pub jxs_valid_config: JxsValidConfig, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | pub resolver: JxsResolver, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `jxs_valid_config` is never read [INFO] [stdout] --> src/core/resolver.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct JxsResolver { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 8 | jxs_valid_config: Box [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `uri` and `module` are never read [INFO] [stdout] --> src/core/location.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct LocationInstance { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 6 | uri: Uri, [INFO] [stdout] | ^^^ [INFO] [stdout] 7 | module: ProxyModule [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LocationInstance` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_root` is never used [INFO] [stdout] --> src/os/capabilities.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn is_root() -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IndexModule` is never constructed [INFO] [stdout] --> src/jxs/http/index.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct IndexModule { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IndexListModule` is never constructed [INFO] [stdout] --> src/jxs/http/index.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct IndexListModule { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `proxy_pass` is never read [INFO] [stdout] --> src/jxs/http/proxy.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct ProxyModule { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 5 | proxy_pass: String, // todo на какой нибудь удобо читаемый тип [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProxyModule` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_proxy_pass` and `build` are never used [INFO] [stdout] --> src/jxs/http/proxy.rs:16:16 [INFO] [stdout] | [INFO] [stdout] 9 | impl ProxyModule { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn set_proxy_pass(&mut self, proxy_pass: String) -> &mut ProxyModule { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn build(&self) -> Box { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `jexus_config::User` is more private than the item `GlobalContext::user` [INFO] [stdout] --> src/config/jexus_config.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub user: User, [INFO] [stdout] | ^^^^^^^^^^^^^^ field `GlobalContext::user` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `jexus_config::User` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/config/jexus_config.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | struct User { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `jexus_config::User` is more private than the item `JxsMain::user` [INFO] [stdout] --> src/config/jexus_config.rs:281:5 [INFO] [stdout] | [INFO] [stdout] 281 | pub user: User, [INFO] [stdout] | ^^^^^^^^^^^^^^ field `JxsMain::user` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `jexus_config::User` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/config/jexus_config.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | struct User { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `main` is never read [INFO] [stdout] --> src/config/jexus_config.rs:276:9 [INFO] [stdout] | [INFO] [stdout] 275 | pub struct JxsValidConfig { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 276 | pub main: JxsMain, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `user` and `worker_processes` are never read [INFO] [stdout] --> src/config/jexus_config.rs:281:9 [INFO] [stdout] | [INFO] [stdout] 280 | pub struct JxsMain { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 281 | pub user: User, [INFO] [stdout] | ^^^^ [INFO] [stdout] 282 | pub worker_processes: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `root` is never read [INFO] [stdout] --> src/config/jexus_config.rs:292:9 [INFO] [stdout] | [INFO] [stdout] 290 | pub struct JxsServer { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 291 | pub listen: usize, [INFO] [stdout] 292 | pub root: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JxsServer` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `index`, `auto_index`, `random_index`, and `fastcgi_pass` are never read [INFO] [stdout] --> src/config/jexus_config.rs:299:9 [INFO] [stdout] | [INFO] [stdout] 297 | pub struct JxsLocation { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 298 | pub uri: Uri, [INFO] [stdout] 299 | pub index: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 300 | pub auto_index: AutoIndex, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 301 | pub random_index: RandomIndex, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 302 | pub proxy_pass: String, [INFO] [stdout] 303 | pub fastcgi_pass: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JxsLocation` 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 `get_tcp_listener` is never used [INFO] [stdout] --> src/core/server.rs:50:18 [INFO] [stdout] | [INFO] [stdout] 23 | impl VirtualHost<'_> { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 50 | pub async fn get_tcp_listener(&mut self) -> TcpListener { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `jxs_valid_config` and `resolver` are never read [INFO] [stdout] --> src/core/jexus.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Jexus { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 9 | pub jxs_valid_config: JxsValidConfig, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | pub resolver: JxsResolver, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `jxs_valid_config` is never read [INFO] [stdout] --> src/core/resolver.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct JxsResolver { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 8 | jxs_valid_config: Box [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `uri` and `module` are never read [INFO] [stdout] --> src/core/location.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct LocationInstance { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 6 | uri: Uri, [INFO] [stdout] | ^^^ [INFO] [stdout] 7 | module: ProxyModule [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LocationInstance` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_root` is never used [INFO] [stdout] --> src/os/capabilities.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn is_root() -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IndexModule` is never constructed [INFO] [stdout] --> src/jxs/http/index.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct IndexModule { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IndexListModule` is never constructed [INFO] [stdout] --> src/jxs/http/index.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct IndexListModule { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `proxy_pass` is never read [INFO] [stdout] --> src/jxs/http/proxy.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct ProxyModule { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 5 | proxy_pass: String, // todo на какой нибудь удобо читаемый тип [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProxyModule` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_proxy_pass` and `build` are never used [INFO] [stdout] --> src/jxs/http/proxy.rs:16:16 [INFO] [stdout] | [INFO] [stdout] 9 | impl ProxyModule { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn set_proxy_pass(&mut self, proxy_pass: String) -> &mut ProxyModule { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn build(&self) -> Box { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.47s [INFO] running `Command { std: "docker" "inspect" "76aa4dfd2549e665c2f06e55d58f6537b9eef279bb26bbf1f405e6dfd01c2c69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76aa4dfd2549e665c2f06e55d58f6537b9eef279bb26bbf1f405e6dfd01c2c69", kill_on_drop: false }` [INFO] [stdout] 76aa4dfd2549e665c2f06e55d58f6537b9eef279bb26bbf1f405e6dfd01c2c69