[INFO] cloning repository https://github.com/Bliod-Cook/ultiproxy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Bliod-Cook/ultiproxy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBliod-Cook%2Fultiproxy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBliod-Cook%2Fultiproxy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 55971476e58c5029ba6412e1544ea84eaaaf9c49 [INFO] testing Bliod-Cook/ultiproxy against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBliod-Cook%2Fultiproxy" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Bliod-Cook/ultiproxy [INFO] finished tweaking git repo https://github.com/Bliod-Cook/ultiproxy [INFO] tweaked toml for git repo https://github.com/Bliod-Cook/ultiproxy written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Bliod-Cook/ultiproxy on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Bliod-Cook/ultiproxy 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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 axum-extra v0.9.6 [INFO] [stderr] Downloaded headers v0.4.1 [INFO] [stderr] Downloaded metrics v0.22.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fe72f578b2f57d28d9286153f8310150e79a3163e4c74e81cf07166bf2279f00 [INFO] running `Command { std: "docker" "start" "-a" "fe72f578b2f57d28d9286153f8310150e79a3163e4c74e81cf07166bf2279f00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fe72f578b2f57d28d9286153f8310150e79a3163e4c74e81cf07166bf2279f00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe72f578b2f57d28d9286153f8310150e79a3163e4c74e81cf07166bf2279f00", kill_on_drop: false }` [INFO] [stdout] fe72f578b2f57d28d9286153f8310150e79a3163e4c74e81cf07166bf2279f00 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 911ad4a5e8515ad2587ecc29bc9c284e944ad0dc5956db5be3a7d1a2f1358145 [INFO] running `Command { std: "docker" "start" "-a" "911ad4a5e8515ad2587ecc29bc9c284e944ad0dc5956db5be3a7d1a2f1358145", kill_on_drop: false }` [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling headers-core v0.3.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling clap_derive v4.5.40 [INFO] [stderr] Compiling inotify v0.9.6 [INFO] [stderr] Compiling headers v0.4.1 [INFO] [stderr] Compiling clap_builder v4.5.40 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling metrics v0.22.4 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling notify v6.1.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling tungstenite v0.24.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling clap v4.5.40 [INFO] [stderr] Compiling tungstenite v0.21.0 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-tungstenite v0.24.0 [INFO] [stderr] Compiling tokio-tungstenite v0.21.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling tower-http v0.5.2 [INFO] [stderr] Compiling hyper-util v0.1.14 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling axum-extra v0.9.6 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling ultiproxy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `create_middleware_stack` is never used [INFO] [stdout] --> src/api/middleware.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn create_middleware_stack() -> impl tower::Layer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `receiver` is never read [INFO] [stdout] --> src/config/watcher.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct ConfigWatcher { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 9 | _watcher: RecommendedWatcher, [INFO] [stdout] 10 | pub receiver: broadcast::Receiver<()>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `remove_from_cache` is never used [INFO] [stdout] --> src/content/sources.rs:135:18 [INFO] [stdout] | [INFO] [stdout] 13 | impl ContentManager { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 135 | pub async fn remove_from_cache(&self, source: &ContentSource) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `remove`, `cleanup_expired`, and `size` are never used [INFO] [stdout] --> src/content/cache.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl ContentCache { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn remove(&mut self, key: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn cleanup_expired(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn size(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `remove_content_from_cache` is never used [INFO] [stdout] --> src/proxy/engine.rs:185:18 [INFO] [stdout] | [INFO] [stdout] 20 | impl ProxyEngine { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 185 | pub async fn remove_content_from_cache(&self, source: &ContentSource) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pattern` is never read [INFO] [stdout] --> src/proxy/router.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct RoutePattern { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 7 | pub pattern: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RoutePattern` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RouteMatch` is never constructed [INFO] [stdout] --> src/proxy/router.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct RouteMatch { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `reset` is never used [INFO] [stdout] --> src/proxy/round_robin.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl RoundRobinSelector { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn reset(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `reset_url_selector` and `reset_content_selector` are never used [INFO] [stdout] --> src/proxy/round_robin.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 46 | impl RoundRobinManager { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn reset_url_selector(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn reset_content_selector(&self, key: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 58.94s [INFO] running `Command { std: "docker" "inspect" "911ad4a5e8515ad2587ecc29bc9c284e944ad0dc5956db5be3a7d1a2f1358145", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "911ad4a5e8515ad2587ecc29bc9c284e944ad0dc5956db5be3a7d1a2f1358145", kill_on_drop: false }` [INFO] [stdout] 911ad4a5e8515ad2587ecc29bc9c284e944ad0dc5956db5be3a7d1a2f1358145 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 44ec6c30fbaf4066f1c6b662f1dafffd3d4a69a45af7599f9846ca766648b5c8 [INFO] running `Command { std: "docker" "start" "-a" "44ec6c30fbaf4066f1c6b662f1dafffd3d4a69a45af7599f9846ca766648b5c8", kill_on_drop: false }` [INFO] [stderr] Compiling ultiproxy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `create_middleware_stack` is never used [INFO] [stdout] --> src/api/middleware.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn create_middleware_stack() -> impl tower::Layer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `receiver` is never read [INFO] [stdout] --> src/config/watcher.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct ConfigWatcher { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 9 | _watcher: RecommendedWatcher, [INFO] [stdout] 10 | pub receiver: broadcast::Receiver<()>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `remove_from_cache` is never used [INFO] [stdout] --> src/content/sources.rs:135:18 [INFO] [stdout] | [INFO] [stdout] 13 | impl ContentManager { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 135 | pub async fn remove_from_cache(&self, source: &ContentSource) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `remove`, `cleanup_expired`, and `size` are never used [INFO] [stdout] --> src/content/cache.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl ContentCache { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn remove(&mut self, key: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn cleanup_expired(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn size(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `remove_content_from_cache` is never used [INFO] [stdout] --> src/proxy/engine.rs:185:18 [INFO] [stdout] | [INFO] [stdout] 20 | impl ProxyEngine { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 185 | pub async fn remove_content_from_cache(&self, source: &ContentSource) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pattern` is never read [INFO] [stdout] --> src/proxy/router.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct RoutePattern { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 7 | pub pattern: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RoutePattern` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RouteMatch` is never constructed [INFO] [stdout] --> src/proxy/router.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct RouteMatch { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `reset` is never used [INFO] [stdout] --> src/proxy/round_robin.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl RoundRobinSelector { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn reset(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `reset_url_selector` and `reset_content_selector` are never used [INFO] [stdout] --> src/proxy/round_robin.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 46 | impl RoundRobinManager { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn reset_url_selector(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn reset_content_selector(&self, key: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.90s [INFO] running `Command { std: "docker" "inspect" "44ec6c30fbaf4066f1c6b662f1dafffd3d4a69a45af7599f9846ca766648b5c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44ec6c30fbaf4066f1c6b662f1dafffd3d4a69a45af7599f9846ca766648b5c8", kill_on_drop: false }` [INFO] [stdout] 44ec6c30fbaf4066f1c6b662f1dafffd3d4a69a45af7599f9846ca766648b5c8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 099723ad122b0be23590cebd77ad462ea8e4e04208bb4a7589ff5c1f90f69e15 [INFO] running `Command { std: "docker" "start" "-a" "099723ad122b0be23590cebd77ad462ea8e4e04208bb4a7589ff5c1f90f69e15", kill_on_drop: false }` [INFO] [stderr] warning: function `create_middleware_stack` is never used [INFO] [stderr] --> src/api/middleware.rs:8:8 [INFO] [stderr] | [INFO] [stderr] 8 | pub fn create_middleware_stack() -> impl tower::Layer { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `receiver` is never read [INFO] [stderr] --> src/config/watcher.rs:10:9 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct ConfigWatcher { [INFO] [stderr] | ------------- field in this struct [INFO] [stderr] 9 | _watcher: RecommendedWatcher, [INFO] [stderr] 10 | pub receiver: broadcast::Receiver<()>, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `remove_from_cache` is never used [INFO] [stderr] --> src/content/sources.rs:135:18 [INFO] [stderr] | [INFO] [stderr] 13 | impl ContentManager { [INFO] [stderr] | ------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 135 | pub async fn remove_from_cache(&self, source: &ContentSource) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `remove`, `cleanup_expired`, and `size` are never used [INFO] [stderr] --> src/content/cache.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 15 | impl ContentCache { [INFO] [stderr] | ----------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 43 | pub fn remove(&mut self, key: &str) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 51 | pub fn cleanup_expired(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 56 | pub fn size(&self) -> usize { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `remove_content_from_cache` is never used [INFO] [stderr] --> src/proxy/engine.rs:185:18 [INFO] [stderr] | [INFO] [stderr] 20 | impl ProxyEngine { [INFO] [stderr] | ---------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 185 | pub async fn remove_content_from_cache(&self, source: &ContentSource) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `pattern` is never read [INFO] [stderr] --> src/proxy/router.rs:7:9 [INFO] [stderr] | [INFO] [stderr] 6 | pub struct RoutePattern { [INFO] [stderr] | ------------ field in this struct [INFO] [stderr] 7 | pub pattern: String, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `RoutePattern` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `RouteMatch` is never constructed [INFO] [stderr] --> src/proxy/router.rs:94:12 [INFO] [stderr] | [INFO] [stderr] 94 | pub struct RouteMatch { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `reset` is never used [INFO] [stderr] --> src/proxy/round_robin.rs:29:12 [INFO] [stderr] | [INFO] [stderr] 9 | impl RoundRobinSelector { [INFO] [stderr] | ----------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 29 | pub fn reset(&self) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `reset_url_selector` and `reset_content_selector` are never used [INFO] [stderr] --> src/proxy/round_robin.rs:70:12 [INFO] [stderr] | [INFO] [stderr] 46 | impl RoundRobinManager { [INFO] [stderr] | ---------------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 70 | pub fn reset_url_selector(&self) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 74 | pub fn reset_content_selector(&self, key: &str) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `ultiproxy` (bin "ultiproxy" test) generated 9 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.24s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/ultiproxy-0184658a65af8815) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test proxy::router::tests::test_path_to_regex ... ok [INFO] [stdout] test proxy::round_robin::tests::test_round_robin_manager ... ok [INFO] [stdout] test proxy::round_robin::tests::test_empty_items ... ok [INFO] [stdout] test proxy::round_robin::tests::test_round_robin_selector ... ok [INFO] [stdout] test proxy::router::tests::test_exact_path_matching ... ok [INFO] [stdout] test proxy::router::tests::test_double_wildcard_matching ... ok [INFO] [stdout] test proxy::router::tests::test_wildcard_matching ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "099723ad122b0be23590cebd77ad462ea8e4e04208bb4a7589ff5c1f90f69e15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "099723ad122b0be23590cebd77ad462ea8e4e04208bb4a7589ff5c1f90f69e15", kill_on_drop: false }` [INFO] [stdout] 099723ad122b0be23590cebd77ad462ea8e4e04208bb4a7589ff5c1f90f69e15