[INFO] cloning repository https://github.com/Basillica/youtube-rust-cdn
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Basillica/youtube-rust-cdn" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBasillica%2Fyoutube-rust-cdn", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBasillica%2Fyoutube-rust-cdn'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 0ebc5d05afe467090831bd6dcad6e786f65fde81
[INFO] building Basillica/youtube-rust-cdn against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBasillica%2Fyoutube-rust-cdn" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Basillica/youtube-rust-cdn
[INFO] finished tweaking git repo https://github.com/Basillica/youtube-rust-cdn
[INFO] tweaked toml for git repo https://github.com/Basillica/youtube-rust-cdn written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Basillica/youtube-rust-cdn on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Basillica/youtube-rust-cdn 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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5104aab0f4db46dc1ec6faa8cba669f54a08131e2488f1f8d2bf3cd451bf4ea1
[INFO] running `Command { std: "docker" "start" "-a" "5104aab0f4db46dc1ec6faa8cba669f54a08131e2488f1f8d2bf3cd451bf4ea1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5104aab0f4db46dc1ec6faa8cba669f54a08131e2488f1f8d2bf3cd451bf4ea1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5104aab0f4db46dc1ec6faa8cba669f54a08131e2488f1f8d2bf3cd451bf4ea1", kill_on_drop: false }`
[INFO] [stdout] 5104aab0f4db46dc1ec6faa8cba669f54a08131e2488f1f8d2bf3cd451bf4ea1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9b6fc36c7f5cd86621876273a361e60186e3bd0fd27ed546371de8cdb2ea8b04
[INFO] running `Command { std: "docker" "start" "-a" "9b6fc36c7f5cd86621876273a361e60186e3bd0fd27ed546371de8cdb2ea8b04", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.93
[INFO] [stderr]    Compiling unicode-ident v1.0.17
[INFO] [stderr]    Compiling libc v0.2.170
[INFO] [stderr]    Compiling log v0.4.26
[INFO] [stderr]    Compiling bytes v1.10.0
[INFO] [stderr]    Compiling pkg-config v0.3.31
[INFO] [stderr]    Compiling tracing-core v0.1.33
[INFO] [stderr]    Compiling writeable v0.5.5
[INFO] [stderr]    Compiling litemap v0.7.5
[INFO] [stderr]    Compiling hashbrown v0.15.2
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling httparse v1.10.0
[INFO] [stderr]    Compiling bitflags v2.8.0
[INFO] [stderr]    Compiling http v1.2.0
[INFO] [stderr]    Compiling icu_locid_transform_data v1.5.0
[INFO] [stderr]    Compiling serde v1.0.218
[INFO] [stderr]    Compiling icu_properties_data v1.5.0
[INFO] [stderr]    Compiling quote v1.0.38
[INFO] [stderr]    Compiling indexmap v2.7.1
[INFO] [stderr]    Compiling getrandom v0.3.1
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling zstd-safe v7.2.3
[INFO] [stderr]    Compiling write16 v1.0.0
[INFO] [stderr]    Compiling icu_normalizer_data v1.5.0
[INFO] [stderr]    Compiling utf16_iter v1.0.5
[INFO] [stderr]    Compiling syn v2.0.98
[INFO] [stderr]    Compiling openssl v0.10.71
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling jobserver v0.1.32
[INFO] [stderr]    Compiling socket2 v0.5.8
[INFO] [stderr]    Compiling signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling cc v1.2.15
[INFO] [stderr]    Compiling mio v1.0.3
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling actix-service v2.0.2
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling zerocopy v0.8.20
[INFO] [stderr]    Compiling atomic-waker v1.1.2
[INFO] [stderr]    Compiling try-lock v0.2.5
[INFO] [stderr]    Compiling want v0.3.1
[INFO] [stderr]    Compiling miniz_oxide v0.8.5
[INFO] [stderr]    Compiling time-macros v0.2.19
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling brotli-decompressor v4.0.2
[INFO] [stderr]    Compiling concurrent-queue v2.5.0
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling bytestring v1.4.0
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling convert_case v0.4.0
[INFO] [stderr]    Compiling serde_json v1.0.139
[INFO] [stderr]    Compiling openssl-sys v0.9.106
[INFO] [stderr]    Compiling zstd-sys v2.0.14+zstd.1.5.7
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling time v0.3.37
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling brotli v6.0.0
[INFO] [stderr]    Compiling event-listener v5.4.0
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling flate2 v1.1.0
[INFO] [stderr]    Compiling synstructure v0.13.1
[INFO] [stderr]    Compiling local-channel v0.1.5
[INFO] [stderr]    Compiling impl-more v0.1.9
[INFO] [stderr]    Compiling portable-atomic v1.11.0
[INFO] [stderr]    Compiling language-tags v0.3.2
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling tokio v1.43.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.28
[INFO] [stderr]    Compiling yoke-derive v0.7.5
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling zerovec-derive v0.10.3
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling yoke v0.7.5
[INFO] [stderr]    Compiling icu_provider_macros v1.5.0
[INFO] [stderr]    Compiling zerovec v0.10.4
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling serde_derive v1.0.218
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling zerocopy v0.7.35
[INFO] [stderr]    Compiling derive_more v0.99.19
[INFO] [stderr]    Compiling tinystr v0.7.6
[INFO] [stderr]    Compiling ppv-lite86 v0.2.20
[INFO] [stderr]    Compiling icu_locid v1.5.0
[INFO] [stderr]    Compiling icu_collections v1.5.0
[INFO] [stderr]    Compiling icu_provider v1.5.0
[INFO] [stderr]    Compiling icu_locid_transform v1.5.0
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling icu_properties v1.5.1
[INFO] [stderr]    Compiling http-body-util v0.1.2
[INFO] [stderr]    Compiling tokio-util v0.7.13
[INFO] [stderr]    Compiling actix-rt v2.10.0
[INFO] [stderr]    Compiling h2 v0.4.8
[INFO] [stderr]    Compiling h2 v0.3.26
[INFO] [stderr]    Compiling actix-codec v0.5.2
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling actix-router v0.5.3
[INFO] [stderr]    Compiling rand_core v0.9.2
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling cookie v0.16.2
[INFO] [stderr]    Compiling icu_normalizer v1.5.0
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling zstd v0.13.3
[INFO] [stderr]    Compiling event-listener-strategy v0.5.3
[INFO] [stderr]    Compiling sync_wrapper v1.0.2
[INFO] [stderr]    Compiling idna_adapter v1.2.0
[INFO] [stderr]    Compiling rustls-pki-types v1.11.0
[INFO] [stderr]    Compiling thiserror v2.0.11
[INFO] [stderr]    Compiling moka v0.12.10
[INFO] [stderr]    Compiling idna v1.0.3
[INFO] [stderr]    Compiling tower v0.5.2
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling async-lock v3.4.0
[INFO] [stderr]    Compiling url v2.5.4
[INFO] [stderr]    Compiling rustls-pemfile v2.2.0
[INFO] [stderr]    Compiling actix-web-codegen v4.3.0
[INFO] [stderr]    Compiling rand_chacha v0.9.0
[INFO] [stderr]    Compiling actix-server v2.5.0
[INFO] [stderr]    Compiling actix-tls v3.4.0
[INFO] [stderr]    Compiling thiserror-impl v2.0.11
[INFO] [stderr]    Compiling actix-macros v0.2.4
[INFO] [stderr]    Compiling uuid v1.15.0
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling crossbeam-channel v0.5.14
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling thread_local v1.1.8
[INFO] [stderr]    Compiling tagptr v0.2.0
[INFO] [stderr]    Compiling hyper v1.6.0
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling ipnet v2.11.0
[INFO] [stderr]    Compiling tracing-subscriber v0.3.19
[INFO] [stderr]    Compiling actix-http v3.9.0
[INFO] [stderr]    Compiling dashmap v5.5.3
[INFO] [stderr]    Compiling rand v0.9.0
[INFO] [stderr]    Compiling hyper-util v0.1.10
[INFO] [stderr]    Compiling hyper-tls v0.6.0
[INFO] [stderr]    Compiling awc v3.5.1
[INFO] [stderr]    Compiling actix-web v4.9.0
[INFO] [stderr]    Compiling reqwest v0.12.12
[INFO] [stderr]    Compiling rust-cdn v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `tracing::info`
[INFO] [stdout]  --> src/pkg/cache.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use tracing::info;
[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: `url::Url`
[INFO] [stdout]   --> src/pkg/handler.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use url::Url;
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tracing::info`
[INFO] [stdout]  --> src/pkg/loadbalancer.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use tracing::info;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `add_node_to_app` is never used
[INFO] [stdout]   --> src/pkg/cache.rs:94:18
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl CacheManager {
[INFO] [stdout]    | ----------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 94 |     pub async fn add_node_to_app(&self, app_id: String, node: Arc<Node>) {
[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 `receiver` and `is_healthy` are never read
[INFO] [stdout]   --> src/pkg/cdn.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub struct Node {
[INFO] [stdout]    |            ---- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 11 |     pub receiver: broadcast::Receiver<(String, String, String)>, // Receiver to listen for invalidation events
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 14 |     pub is_healthy: Arc<AtomicBool>,                             // Health status of the node
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `check_health` and `process_request` are never used
[INFO] [stdout]   --> src/pkg/cdn.rs:46:18
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl Node {
[INFO] [stdout]    | --------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 46 |     pub async fn check_health(&self) -> bool {
[INFO] [stdout]    |                  ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 50 |     pub async fn process_request(&self, request_body: String) -> Result<String, String> {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `CacheError`, `LoadBalancerError`, `ConfigError`, and `InvalidHeader` are never constructed
[INFO] [stdout]   --> src/pkg/error.rs:7:5
[INFO] [stdout]    |
[INFO] [stdout]  5 | pub enum CdnError {
[INFO] [stdout]    |          -------- variants in this enum
[INFO] [stdout]  6 |     #[error("Cache error: {0}")]
[INFO] [stdout]  7 |     CacheError(String),
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 10 |     LoadBalancerError(String),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 13 |     ConfigError(String),
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |     InvalidHeader { expected: String, found: String },
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CdnError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `BasicRoundRobin` is never constructed
[INFO] [stdout]   --> src/pkg/loadbalancer.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub enum LoadBalancingStrategy {
[INFO] [stdout]    |          --------------------- variant in this enum
[INFO] [stdout] 12 |     BasicRoundRobin,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `LoadBalancingStrategy` 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: fields `nodes` and `current_index` are never read
[INFO] [stdout]   --> src/pkg/loadbalancer.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct LoadBalancer {
[INFO] [stdout]    |            ------------ fields in this struct
[INFO] [stdout] 18 |     strategy: LoadBalancingStrategy,
[INFO] [stdout] 19 |     nodes: Arc<DashMap<String, Vec<Arc<Node>>>>, // Map of app_id to nodes
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 20 |     current_index: Mutex<DashMap<String, usize>>, // To track the last used node for each app
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `LoadBalancer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `select_node`, `select_weighted_node`, and `run_health_checks` are never used
[INFO] [stdout]    --> src/pkg/loadbalancer.rs:39:18
[INFO] [stdout]     |
[INFO] [stdout]  38 | impl LoadBalancer {
[INFO] [stdout]     | ----------------- methods in this implementation
[INFO] [stdout]  39 |     pub async fn select_node(&self, app_id: &str) -> Option<Arc<Node>> {
[INFO] [stdout]     |                  ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  57 |     pub async fn select_weighted_node(&self, app_id: &str) -> Option<Arc<Node>> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 101 |     pub async fn run_health_checks(&self) {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 33s
[INFO] running `Command { std: "docker" "inspect" "9b6fc36c7f5cd86621876273a361e60186e3bd0fd27ed546371de8cdb2ea8b04", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9b6fc36c7f5cd86621876273a361e60186e3bd0fd27ed546371de8cdb2ea8b04", kill_on_drop: false }`
[INFO] [stdout] 9b6fc36c7f5cd86621876273a361e60186e3bd0fd27ed546371de8cdb2ea8b04
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4197ff16d456c8fb503a67898696cbcb66511d7f605f5ef3bedc2bb7e89e31b3
[INFO] running `Command { std: "docker" "start" "-a" "4197ff16d456c8fb503a67898696cbcb66511d7f605f5ef3bedc2bb7e89e31b3", kill_on_drop: false }`
[INFO] [stderr]    Compiling rust-cdn v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `tracing::info`
[INFO] [stdout]  --> src/pkg/cache.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use tracing::info;
[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: `url::Url`
[INFO] [stdout]   --> src/pkg/handler.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use url::Url;
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tracing::info`
[INFO] [stdout]  --> src/pkg/loadbalancer.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use tracing::info;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `node_id`
[INFO] [stdout]    --> src/pkg/handler.rs:411:9
[INFO] [stdout]     |
[INFO] [stdout] 411 |         node_id: String,
[INFO] [stdout]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_node_id`
[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/pkg/handler.rs:356:13
[INFO] [stdout]     |
[INFO] [stdout] 356 |         let mut listener2_rx = tx.subscribe();
[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: variable does not need to be mutable
[INFO] [stdout]    --> src/pkg/handler.rs:357:13
[INFO] [stdout]     |
[INFO] [stdout] 357 |         let mut listener3_rx = tx.subscribe();
[INFO] [stdout]     |             ----^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `receiver` and `is_healthy` are never read
[INFO] [stdout]   --> src/pkg/cdn.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub struct Node {
[INFO] [stdout]    |            ---- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 11 |     pub receiver: broadcast::Receiver<(String, String, String)>, // Receiver to listen for invalidation events
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 14 |     pub is_healthy: Arc<AtomicBool>,                             // Health status of the node
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Node` has a derived impl for the trait `Debug`, 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: methods `check_health` and `process_request` are never used
[INFO] [stdout]   --> src/pkg/cdn.rs:46:18
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl Node {
[INFO] [stdout]    | --------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 46 |     pub async fn check_health(&self) -> bool {
[INFO] [stdout]    |                  ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 50 |     pub async fn process_request(&self, request_body: String) -> Result<String, String> {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `CacheError`, `LoadBalancerError`, `ConfigError`, and `InvalidHeader` are never constructed
[INFO] [stdout]   --> src/pkg/error.rs:7:5
[INFO] [stdout]    |
[INFO] [stdout]  5 | pub enum CdnError {
[INFO] [stdout]    |          -------- variants in this enum
[INFO] [stdout]  6 |     #[error("Cache error: {0}")]
[INFO] [stdout]  7 |     CacheError(String),
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 10 |     LoadBalancerError(String),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 13 |     ConfigError(String),
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |     InvalidHeader { expected: String, found: String },
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CdnError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `BasicRoundRobin` is never constructed
[INFO] [stdout]   --> src/pkg/loadbalancer.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub enum LoadBalancingStrategy {
[INFO] [stdout]    |          --------------------- variant in this enum
[INFO] [stdout] 12 |     BasicRoundRobin,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `LoadBalancingStrategy` 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: fields `nodes` and `current_index` are never read
[INFO] [stdout]   --> src/pkg/loadbalancer.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct LoadBalancer {
[INFO] [stdout]    |            ------------ fields in this struct
[INFO] [stdout] 18 |     strategy: LoadBalancingStrategy,
[INFO] [stdout] 19 |     nodes: Arc<DashMap<String, Vec<Arc<Node>>>>, // Map of app_id to nodes
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 20 |     current_index: Mutex<DashMap<String, usize>>, // To track the last used node for each app
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `LoadBalancer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `select_node`, `select_weighted_node`, and `run_health_checks` are never used
[INFO] [stdout]    --> src/pkg/loadbalancer.rs:39:18
[INFO] [stdout]     |
[INFO] [stdout]  38 | impl LoadBalancer {
[INFO] [stdout]     | ----------------- methods in this implementation
[INFO] [stdout]  39 |     pub async fn select_node(&self, app_id: &str) -> Option<Arc<Node>> {
[INFO] [stdout]     |                  ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  57 |     pub async fn select_weighted_node(&self, app_id: &str) -> Option<Arc<Node>> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 101 |     pub async fn run_health_checks(&self) {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 7.19s
[INFO] running `Command { std: "docker" "inspect" "4197ff16d456c8fb503a67898696cbcb66511d7f605f5ef3bedc2bb7e89e31b3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4197ff16d456c8fb503a67898696cbcb66511d7f605f5ef3bedc2bb7e89e31b3", kill_on_drop: false }`
[INFO] [stdout] 4197ff16d456c8fb503a67898696cbcb66511d7f605f5ef3bedc2bb7e89e31b3
