[INFO] cloning repository https://github.com/harishsg993010/open-sandbox-infra [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/harishsg993010/open-sandbox-infra" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fharishsg993010%2Fopen-sandbox-infra", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fharishsg993010%2Fopen-sandbox-infra'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 802061674a74fbcce74bb5c1fff49c474005c041 [INFO] checking harishsg993010/open-sandbox-infra against master#49b6ac01d6f4c3da812039ae846407a20961aa4c for pr-154887 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fharishsg993010%2Fopen-sandbox-infra" "/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/harishsg993010/open-sandbox-infra [INFO] finished tweaking git repo https://github.com/harishsg993010/open-sandbox-infra [INFO] tweaked toml for git repo https://github.com/harishsg993010/open-sandbox-infra written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/harishsg993010/open-sandbox-infra on toolchain 49b6ac01d6f4c3da812039ae846407a20961aa4c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+49b6ac01d6f4c3da812039ae846407a20961aa4c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/harishsg993010/open-sandbox-infra 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" "+49b6ac01d6f4c3da812039ae846407a20961aa4c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-vsock v0.5.0 [INFO] [stderr] Downloaded axum-extra v0.9.6 [INFO] [stderr] Downloaded rsa v0.9.9 [INFO] [stderr] Downloaded vsock v0.4.0 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+49b6ac01d6f4c3da812039ae846407a20961aa4c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6af654c10e97e657525d615b43786d204251957964436aced5d1442a7af863a0 [INFO] running `Command { std: "docker" "start" "-a" "6af654c10e97e657525d615b43786d204251957964436aced5d1442a7af863a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6af654c10e97e657525d615b43786d204251957964436aced5d1442a7af863a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6af654c10e97e657525d615b43786d204251957964436aced5d1442a7af863a0", kill_on_drop: false }` [INFO] [stdout] 6af654c10e97e657525d615b43786d204251957964436aced5d1442a7af863a0 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+49b6ac01d6f4c3da812039ae846407a20961aa4c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 451505a8931b0ee55a206e300c59b1642bdb3ef9fbe5547cdd80568e57ab2b2b [INFO] running `Command { std: "docker" "start" "-a" "451505a8931b0ee55a206e300c59b1642bdb3ef9fbe5547cdd80568e57ab2b2b", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling libc v0.2.178 [INFO] [stderr] Compiling zerocopy v0.8.31 [INFO] [stderr] Checking tracing-core v0.1.35 [INFO] [stderr] Compiling icu_properties_data v2.1.1 [INFO] [stderr] Compiling find-msvc-tools v0.1.5 [INFO] [stderr] Checking indexmap v2.12.1 [INFO] [stderr] Checking http v1.4.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling cc v1.2.49 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Checking flume v0.11.1 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Checking inlinable_string v0.1.15 [INFO] [stderr] Checking clap_builder v4.5.53 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking headers-core v0.3.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking headers v0.4.1 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling libsqlite3-sys v0.27.0 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Checking signal-hook-registry v1.4.7 [INFO] [stderr] Checking uuid v1.19.0 [INFO] [stderr] Checking ahash v0.8.12 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Checking nix v0.27.1 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Checking hashlink v0.8.4 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking vsock v0.4.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling axum-macros v0.4.2 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling clap_derive v4.5.49 [INFO] [stderr] Checking pear v0.2.9 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking tungstenite v0.24.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Checking tracing v0.1.43 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Checking tower-http v0.5.2 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Checking tinystr v0.8.2 [INFO] [stderr] Checking potential_utf v0.1.4 [INFO] [stderr] Checking icu_collections v2.1.1 [INFO] [stderr] Checking icu_locale_core v2.1.1 [INFO] [stderr] Checking clap v4.5.53 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Checking icu_properties v2.1.1 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking tracing-serde v0.2.0 [INFO] [stderr] Checking tracing-subscriber v0.3.22 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking axum-core v0.4.5 [INFO] [stderr] Checking multer v3.1.0 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking sandbox-types v0.1.0 (/opt/rustwide/workdir/crates/sandbox-types) [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Checking tokio-util v0.7.17 [INFO] [stderr] Checking tokio-vsock v0.5.0 [INFO] [stderr] Checking tokio-tungstenite v0.24.0 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Checking h2 v0.4.12 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking sqlx-sqlite v0.7.4 [INFO] [stderr] Checking sqlx-postgres v0.7.4 [INFO] [stderr] Checking hyper v1.8.1 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking hyper-util v0.1.19 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Checking axum v0.7.9 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking vm-backend-firecracker v0.1.0 (/opt/rustwide/workdir/crates/vm-backend-firecracker) [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> crates/vm-backend-firecracker/src/firecracker_backend.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | use tracing::{debug, error, info, warn}; [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: `error` [INFO] [stdout] --> crates/vm-backend-firecracker/src/firecracker_backend.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | use tracing::{debug, error, info, warn}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/vm-backend-firecracker/src/firecracker_backend.rs:489:26 [INFO] [stdout] | [INFO] [stdout] 489 | for (sandbox_id, mut process) in processes.drain() { [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: field `agent_ready_timeout` is never read [INFO] [stdout] --> crates/vm-backend-firecracker/src/firecracker_backend.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct FirecrackerBackend { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 38 | agent_ready_timeout: Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `patch`, `get`, `stop_instance`, `get_instance_info`, and `health_check` are never used [INFO] [stdout] --> crates/vm-backend-firecracker/src/firecracker_client.rs:136:18 [INFO] [stdout] | [INFO] [stdout] 30 | impl FirecrackerClient { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 136 | pub async fn patch(&self, path: &str, body: &T) -> VmResult<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | pub async fn get(&self, path: &str) -> VmResult { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 200 | pub async fn stop_instance(&self) -> VmResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | pub async fn get_instance_info(&self) -> VmResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 216 | pub async fn health_check(&self) -> VmResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InstanceInfo` is never constructed [INFO] [stdout] --> crates/vm-backend-firecracker/src/firecracker_client.rs:290:12 [INFO] [stdout] | [INFO] [stdout] 290 | pub struct InstanceInfo { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `vsock_cid` is never read [INFO] [stdout] --> crates/vm-backend-firecracker/src/vsock.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct VsockClient { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 88 | vsock_cid: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VsockClient` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LogStreamer` is never constructed [INFO] [stdout] --> crates/vm-backend-firecracker/src/vsock.rs:419:12 [INFO] [stdout] | [INFO] [stdout] 419 | pub struct LogStreamer { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `connect` and `next_line` are never used [INFO] [stdout] --> crates/vm-backend-firecracker/src/vsock.rs:426:18 [INFO] [stdout] | [INFO] [stdout] 424 | impl LogStreamer { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 425 | /// Create a new log streamer connected to the guest. [INFO] [stdout] 426 | pub async fn connect(uds_path: &str, port: u32) -> VmResult { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 445 | pub async fn next_line(&mut self) -> VmResult> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/vm-backend-firecracker/src/firecracker_backend.rs:489:26 [INFO] [stdout] | [INFO] [stdout] 489 | for (sandbox_id, mut process) in processes.drain() { [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: field `agent_ready_timeout` is never read [INFO] [stdout] --> crates/vm-backend-firecracker/src/firecracker_backend.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct FirecrackerBackend { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 38 | agent_ready_timeout: Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `patch`, `get`, `stop_instance`, `get_instance_info`, and `health_check` are never used [INFO] [stdout] --> crates/vm-backend-firecracker/src/firecracker_client.rs:136:18 [INFO] [stdout] | [INFO] [stdout] 30 | impl FirecrackerClient { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 136 | pub async fn patch(&self, path: &str, body: &T) -> VmResult<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | pub async fn get(&self, path: &str) -> VmResult { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 200 | pub async fn stop_instance(&self) -> VmResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | pub async fn get_instance_info(&self) -> VmResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 216 | pub async fn health_check(&self) -> VmResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InstanceInfo` is never constructed [INFO] [stdout] --> crates/vm-backend-firecracker/src/firecracker_client.rs:290:12 [INFO] [stdout] | [INFO] [stdout] 290 | pub struct InstanceInfo { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `vsock_cid` is never read [INFO] [stdout] --> crates/vm-backend-firecracker/src/vsock.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct VsockClient { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 88 | vsock_cid: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VsockClient` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LogStreamer` is never constructed [INFO] [stdout] --> crates/vm-backend-firecracker/src/vsock.rs:419:12 [INFO] [stdout] | [INFO] [stdout] 419 | pub struct LogStreamer { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `connect` and `next_line` are never used [INFO] [stdout] --> crates/vm-backend-firecracker/src/vsock.rs:426:18 [INFO] [stdout] | [INFO] [stdout] 424 | impl LogStreamer { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 425 | /// Create a new log streamer connected to the guest. [INFO] [stdout] 426 | pub async fn connect(uds_path: &str, port: u32) -> VmResult { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 445 | pub async fn next_line(&mut self) -> VmResult> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking sqlx v0.7.4 [INFO] [stderr] Checking axum-extra v0.9.6 [INFO] [stderr] Checking orchestrator v0.1.0 (/opt/rustwide/workdir/crates/orchestrator) [INFO] [stdout] warning: unused import: `response::IntoResponse` [INFO] [stdout] --> crates/orchestrator/src/http_api.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | response::IntoResponse, [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 imports: `Language` and `ResourceLimits` [INFO] [stdout] --> crates/orchestrator/src/http_api.rs:16:80 [INFO] [stdout] | [INFO] [stdout] 16 | CreateSandboxRequest, ExecutionRequest, ExecutionResult, JobId, JobStatus, Language, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 17 | ResourceLimits, SandboxId, SandboxMetadata, SubmitJobRequest, SubmitJobResponse, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deserialize` [INFO] [stdout] --> crates/orchestrator/src/http_api.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::UpdateJob` [INFO] [stdout] --> crates/orchestrator/src/job_runner.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::models::UpdateJob; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SandboxState` [INFO] [stdout] --> crates/orchestrator/src/job_runner.rs:8:38 [INFO] [stdout] | [INFO] [stdout] 8 | use sandbox_types::{ExecutionResult, SandboxState}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Utc` [INFO] [stdout] --> crates/orchestrator/src/scheduler.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use chrono::Utc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `response::IntoResponse` [INFO] [stdout] --> crates/orchestrator/src/http_api.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | response::IntoResponse, [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 imports: `Language` and `ResourceLimits` [INFO] [stdout] --> crates/orchestrator/src/http_api.rs:16:80 [INFO] [stdout] | [INFO] [stdout] 16 | CreateSandboxRequest, ExecutionRequest, ExecutionResult, JobId, JobStatus, Language, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 17 | ResourceLimits, SandboxId, SandboxMetadata, SubmitJobRequest, SubmitJobResponse, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parking_lot::RwLock` [INFO] [stdout] --> crates/orchestrator/src/scheduler.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use parking_lot::RwLock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `JobStatus` and `SandboxMetadata` [INFO] [stdout] --> crates/orchestrator/src/scheduler.rs:12:47 [INFO] [stdout] | [INFO] [stdout] 12 | ExecutionRequest, ExecutionResult, JobId, JobStatus, Language, ResourceLimits, SandboxId, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 13 | SandboxMetadata, SandboxState, TenantId, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error` and `warn` [INFO] [stdout] --> crates/orchestrator/src/scheduler.rs:18:22 [INFO] [stdout] | [INFO] [stdout] 18 | use tracing::{debug, error, info, warn}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FirecrackerBackend` [INFO] [stdout] --> crates/orchestrator/src/vm_manager.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | FirecrackerBackend, FirecrackerBackendBuilder, VmBackend, VmConfig, VmInstance, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deserialize` [INFO] [stdout] --> crates/orchestrator/src/http_api.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::UpdateJob` [INFO] [stdout] --> crates/orchestrator/src/job_runner.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::models::UpdateJob; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SandboxState` [INFO] [stdout] --> crates/orchestrator/src/job_runner.rs:8:38 [INFO] [stdout] | [INFO] [stdout] 8 | use sandbox_types::{ExecutionResult, SandboxState}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AppResult` [INFO] [stdout] --> crates/orchestrator/src/ws_api.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::error::{AppError, AppResult}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `VmLogMessage` [INFO] [stdout] --> crates/orchestrator/src/ws_api.rs:16:67 [INFO] [stdout] | [INFO] [stdout] 16 | use sandbox_types::{ExecutionResult, JobId, JobStatus, LogStream, VmLogMessage}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::broadcast` [INFO] [stdout] --> crates/orchestrator/src/ws_api.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use tokio::sync::broadcast; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error` and `warn` [INFO] [stdout] --> crates/orchestrator/src/ws_api.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | use tracing::{debug, error, info, warn}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TenantRepo` [INFO] [stdout] --> crates/orchestrator/src/job_runner.rs:229:48 [INFO] [stdout] | [INFO] [stdout] 229 | use crate::db::{init_pool, run_migrations, TenantRepo}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::CreateTenant` [INFO] [stdout] --> crates/orchestrator/src/job_runner.rs:230:9 [INFO] [stdout] | [INFO] [stdout] 230 | use crate::models::CreateTenant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Language` and `TenantId` [INFO] [stdout] --> crates/orchestrator/src/job_runner.rs:232:25 [INFO] [stdout] | [INFO] [stdout] 232 | use sandbox_types::{Language, ResourceLimits, TenantId}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::oneshot` [INFO] [stdout] --> crates/orchestrator/src/job_runner.rs:234:9 [INFO] [stdout] | [INFO] [stdout] 234 | use tokio::sync::oneshot; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Utc` [INFO] [stdout] --> crates/orchestrator/src/scheduler.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use chrono::Utc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parking_lot::RwLock` [INFO] [stdout] --> crates/orchestrator/src/scheduler.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use parking_lot::RwLock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `JobStatus` and `SandboxMetadata` [INFO] [stdout] --> crates/orchestrator/src/scheduler.rs:12:47 [INFO] [stdout] | [INFO] [stdout] 12 | ExecutionRequest, ExecutionResult, JobId, JobStatus, Language, ResourceLimits, SandboxId, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 13 | SandboxMetadata, SandboxState, TenantId, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error` and `warn` [INFO] [stdout] --> crates/orchestrator/src/scheduler.rs:18:22 [INFO] [stdout] | [INFO] [stdout] 18 | use tracing::{debug, error, info, warn}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FirecrackerBackend` [INFO] [stdout] --> crates/orchestrator/src/vm_manager.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | FirecrackerBackend, FirecrackerBackendBuilder, VmBackend, VmConfig, VmInstance, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AppResult` [INFO] [stdout] --> crates/orchestrator/src/ws_api.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::error::{AppError, AppResult}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `VmLogMessage` [INFO] [stdout] --> crates/orchestrator/src/ws_api.rs:16:67 [INFO] [stdout] | [INFO] [stdout] 16 | use sandbox_types::{ExecutionResult, JobId, JobStatus, LogStream, VmLogMessage}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::broadcast` [INFO] [stdout] --> crates/orchestrator/src/ws_api.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use tokio::sync::broadcast; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `generate_api_key` [INFO] [stdout] --> crates/orchestrator/src/main.rs:247:23 [INFO] [stdout] | [INFO] [stdout] 247 | use crate::auth::{generate_api_key, hash_api_key}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error` and `warn` [INFO] [stdout] --> crates/orchestrator/src/ws_api.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | use tracing::{debug, error, info, warn}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `generate_api_key` [INFO] [stdout] --> crates/orchestrator/src/main.rs:247:23 [INFO] [stdout] | [INFO] [stdout] 247 | use crate::auth::{generate_api_key, hash_api_key}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sandbox_id` [INFO] [stdout] --> crates/orchestrator/src/vm_manager.rs:146:30 [INFO] [stdout] | [INFO] [stdout] 146 | async fn spawn_vm(&self, sandbox_id: &SandboxId, config: VmConfig) -> AppResult { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sandbox_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `job_row` [INFO] [stdout] --> crates/orchestrator/src/scheduler.rs:160:13 [INFO] [stdout] | [INFO] [stdout] 160 | let job_row = job_repo [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_job_row` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result_rx` [INFO] [stdout] --> crates/orchestrator/src/scheduler.rs:173:25 [INFO] [stdout] | [INFO] [stdout] 173 | let (result_tx, result_rx) = oneshot::channel(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_result_rx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sandbox_id` [INFO] [stdout] --> crates/orchestrator/src/http_api.rs:261:18 [INFO] [stdout] | [INFO] [stdout] 261 | let (job_id, sandbox_id) = state.scheduler.submit_job(&tenant, exec_request.clone()).await?; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sandbox_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sandbox_id` [INFO] [stdout] --> crates/orchestrator/src/vm_manager.rs:146:30 [INFO] [stdout] | [INFO] [stdout] 146 | async fn spawn_vm(&self, sandbox_id: &SandboxId, config: VmConfig) -> AppResult { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sandbox_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `job_row` [INFO] [stdout] --> crates/orchestrator/src/scheduler.rs:160:13 [INFO] [stdout] | [INFO] [stdout] 160 | let job_row = job_repo [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_job_row` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result_rx` [INFO] [stdout] --> crates/orchestrator/src/scheduler.rs:173:25 [INFO] [stdout] | [INFO] [stdout] 173 | let (result_tx, result_rx) = oneshot::channel(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_result_rx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sandbox_repo` [INFO] [stdout] --> crates/orchestrator/src/job_runner.rs:212:13 [INFO] [stdout] | [INFO] [stdout] 212 | let sandbox_repo = SandboxRepo::new(&db); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sandbox_repo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sandbox_id` [INFO] [stdout] --> crates/orchestrator/src/http_api.rs:261:18 [INFO] [stdout] | [INFO] [stdout] 261 | let (job_id, sandbox_id) = state.scheduler.submit_job(&tenant, exec_request.clone()).await?; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sandbox_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sandbox_repo` [INFO] [stdout] --> crates/orchestrator/src/job_runner.rs:212:13 [INFO] [stdout] | [INFO] [stdout] 212 | let sandbox_repo = SandboxRepo::new(&db); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sandbox_repo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `level` [INFO] [stdout] --> crates/orchestrator/src/telemetry.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let level = match config.level.to_lowercase().as_str() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_level` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> crates/orchestrator/src/ws_api.rs:155:31 [INFO] [stdout] | [INFO] [stdout] 155 | Message::Ping(data) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/orchestrator/src/scheduler.rs:403:25 [INFO] [stdout] | [INFO] [stdout] 403 | let (scheduler, mut job_rx, tenant) = setup_test_scheduler().await; [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: `job_rx` [INFO] [stdout] --> crates/orchestrator/src/scheduler.rs:403:25 [INFO] [stdout] | [INFO] [stdout] 403 | let (scheduler, mut job_rx, tenant) = setup_test_scheduler().await; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_job_rx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/orchestrator/src/scheduler.rs:427:25 [INFO] [stdout] | [INFO] [stdout] 427 | let (scheduler, mut job_rx, tenant) = setup_test_scheduler().await; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `job_rx` [INFO] [stdout] --> crates/orchestrator/src/scheduler.rs:427:25 [INFO] [stdout] | [INFO] [stdout] 427 | let (scheduler, mut job_rx, tenant) = setup_test_scheduler().await; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_job_rx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `level` [INFO] [stdout] --> crates/orchestrator/src/telemetry.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let level = match config.level.to_lowercase().as_str() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_level` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> crates/orchestrator/src/ws_api.rs:155:31 [INFO] [stdout] | [INFO] [stdout] 155 | Message::Ping(data) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `RequestTenantExt` is never used [INFO] [stdout] --> crates/orchestrator/src/auth.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | pub trait RequestTenantExt { [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 `name` and `rate_limit` are never read [INFO] [stdout] --> crates/orchestrator/src/auth.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct AuthenticatedTenant { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 33 | pub id: TenantId, [INFO] [stdout] 34 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub rate_limit: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AuthenticatedTenant` 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: function `optional_auth_middleware` is never used [INFO] [stdout] --> crates/orchestrator/src/auth.rs:138:14 [INFO] [stdout] | [INFO] [stdout] 138 | pub async fn optional_auth_middleware( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_tenant` is never used [INFO] [stdout] --> crates/orchestrator/src/auth.rs:165:8 [INFO] [stdout] | [INFO] [stdout] 165 | pub fn extract_tenant(request: &Request) -> Result<&AuthenticatedTenant, AppError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `load` is never used [INFO] [stdout] --> crates/orchestrator/src/config.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 56 | impl Config { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 57 | /// Load configuration from all sources. [INFO] [stdout] 58 | pub fn load() -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_active` is never used [INFO] [stdout] --> crates/orchestrator/src/db.rs:204:18 [INFO] [stdout] | [INFO] [stdout] 137 | impl<'a> TenantRepo<'a> { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 204 | pub async fn set_active(&self, id: &TenantId, active: bool) -> AppResult<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `delete` is never used [INFO] [stdout] --> crates/orchestrator/src/db.rs:360:18 [INFO] [stdout] | [INFO] [stdout] 220 | impl<'a> SandboxRepo<'a> { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 360 | pub async fn delete(&self, id: &SandboxId) -> AppResult<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `list_for_sandbox` is never used [INFO] [stdout] --> crates/orchestrator/src/db.rs:458:18 [INFO] [stdout] | [INFO] [stdout] 398 | impl<'a> JobRepo<'a> { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 458 | pub async fn list_for_sandbox(&self, sandbox_id: &SandboxId) -> AppResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `with_context` is never used [INFO] [stdout] --> crates/orchestrator/src/error.rs:174:8 [INFO] [stdout] | [INFO] [stdout] 172 | pub trait ResultExt { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] 173 | /// Convert an error with context message. [INFO] [stdout] 174 | fn with_context(self, msg: impl Into) -> AppResult; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `max_retries` is never read [INFO] [stdout] --> crates/orchestrator/src/job_runner.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct JobRunnerConfig { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | pub max_retries: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JobRunnerConfig` 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: function `setup_test_runner` is never used [INFO] [stdout] --> crates/orchestrator/src/job_runner.rs:237:14 [INFO] [stdout] | [INFO] [stdout] 237 | async fn setup_test_runner() -> (JobRunner, mpsc::Sender) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `parse_deps` and `parse_resource_limits` are never used [INFO] [stdout] --> crates/orchestrator/src/models.rs:201:12 [INFO] [stdout] | [INFO] [stdout] 169 | impl JobRow { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 201 | pub fn parse_deps(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 206 | pub fn parse_resource_limits(&self) -> ResourceLimits { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tenant_id` is never read [INFO] [stdout] --> crates/orchestrator/src/scheduler.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct QueuedJob { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 23 | pub job_id: JobId, [INFO] [stdout] 24 | pub tenant_id: TenantId, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `QueuedJob` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `max_sandboxes_per_tenant` and `max_concurrency_per_tenant` are never read [INFO] [stdout] --> crates/orchestrator/src/scheduler.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct SchedulerConfig { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 57 | /// Maximum sandboxes per tenant. [INFO] [stdout] 58 | pub max_sandboxes_per_tenant: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub max_concurrency_per_tenant: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SchedulerConfig` 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: method `is_sandbox_alive` is never used [INFO] [stdout] --> crates/orchestrator/src/vm_manager.rs:298:18 [INFO] [stdout] | [INFO] [stdout] 37 | impl VmManager { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 298 | pub async fn is_sandbox_alive(&self, sandbox_id: &SandboxId) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Log` and `Error` are never constructed [INFO] [stdout] --> crates/orchestrator/src/ws_api.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub enum WsServerMessage { [INFO] [stdout] | --------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 39 | Log { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | Error { message: String }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WsServerMessage` 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: trait `RequestTenantExt` is never used [INFO] [stdout] --> crates/orchestrator/src/auth.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | pub trait RequestTenantExt { [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 `name` and `rate_limit` are never read [INFO] [stdout] --> crates/orchestrator/src/auth.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct AuthenticatedTenant { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 33 | pub id: TenantId, [INFO] [stdout] 34 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub rate_limit: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AuthenticatedTenant` 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: function `generate_api_key` is never used [INFO] [stdout] --> crates/orchestrator/src/auth.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn generate_api_key() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rand_bytes` is never used [INFO] [stdout] --> crates/orchestrator/src/auth.rs:67:4 [INFO] [stdout] | [INFO] [stdout] 67 | fn rand_bytes() -> [u8; N] { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `optional_auth_middleware` is never used [INFO] [stdout] --> crates/orchestrator/src/auth.rs:138:14 [INFO] [stdout] | [INFO] [stdout] 138 | pub async fn optional_auth_middleware( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_tenant` is never used [INFO] [stdout] --> crates/orchestrator/src/auth.rs:165:8 [INFO] [stdout] | [INFO] [stdout] 165 | pub fn extract_tenant(request: &Request) -> Result<&AuthenticatedTenant, AppError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_sandbox_limit` is never used [INFO] [stdout] --> crates/orchestrator/src/auth.rs:173:8 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn check_sandbox_limit(tenant: &AuthenticatedTenant, current_count: i64) -> Result<(), AppError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_concurrency_limit` is never used [INFO] [stdout] --> crates/orchestrator/src/auth.rs:184:8 [INFO] [stdout] | [INFO] [stdout] 184 | pub fn check_concurrency_limit(tenant: &AuthenticatedTenant, running_count: i64) -> Result<(), AppError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `load` is never used [INFO] [stdout] --> crates/orchestrator/src/config.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 56 | impl Config { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 57 | /// Load configuration from all sources. [INFO] [stdout] 58 | pub fn load() -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `list` and `set_active` are never used [INFO] [stdout] --> crates/orchestrator/src/db.rs:193:18 [INFO] [stdout] | [INFO] [stdout] 137 | impl<'a> TenantRepo<'a> { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 193 | pub async fn list(&self) -> AppResult> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 204 | pub async fn set_active(&self, id: &TenantId, active: bool) -> AppResult<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `delete` is never used [INFO] [stdout] --> crates/orchestrator/src/db.rs:360:18 [INFO] [stdout] | [INFO] [stdout] 220 | impl<'a> SandboxRepo<'a> { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 360 | pub async fn delete(&self, id: &SandboxId) -> AppResult<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `list_for_sandbox` is never used [INFO] [stdout] --> crates/orchestrator/src/db.rs:458:18 [INFO] [stdout] | [INFO] [stdout] 398 | impl<'a> JobRepo<'a> { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 458 | pub async fn list_for_sandbox(&self, sandbox_id: &SandboxId) -> AppResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `with_context` is never used [INFO] [stdout] --> crates/orchestrator/src/error.rs:174:8 [INFO] [stdout] | [INFO] [stdout] 172 | pub trait ResultExt { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] 173 | /// Convert an error with context message. [INFO] [stdout] 174 | fn with_context(self, msg: impl Into) -> AppResult; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `retry_on_failure` and `max_retries` are never read [INFO] [stdout] --> crates/orchestrator/src/job_runner.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct JobRunnerConfig { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | pub retry_on_failure: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub max_retries: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JobRunnerConfig` 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: methods `parse_deps` and `parse_resource_limits` are never used [INFO] [stdout] --> crates/orchestrator/src/models.rs:201:12 [INFO] [stdout] | [INFO] [stdout] 169 | impl JobRow { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 201 | pub fn parse_deps(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 206 | pub fn parse_resource_limits(&self) -> ResourceLimits { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tenant_id` is never read [INFO] [stdout] --> crates/orchestrator/src/scheduler.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct QueuedJob { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 23 | pub job_id: JobId, [INFO] [stdout] 24 | pub tenant_id: TenantId, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `QueuedJob` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `max_sandboxes_per_tenant` and `max_concurrency_per_tenant` are never read [INFO] [stdout] --> crates/orchestrator/src/scheduler.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct SchedulerConfig { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 57 | /// Maximum sandboxes per tenant. [INFO] [stdout] 58 | pub max_sandboxes_per_tenant: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub max_concurrency_per_tenant: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SchedulerConfig` 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 `RequestId` is never constructed [INFO] [stdout] --> crates/orchestrator/src/telemetry.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct RequestId(pub String); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> crates/orchestrator/src/telemetry.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 70 | impl RequestId { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 71 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `with_backend` and `is_sandbox_alive` are never used [INFO] [stdout] --> crates/orchestrator/src/vm_manager.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl VmManager { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn with_backend( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 298 | pub async fn is_sandbox_alive(&self, sandbox_id: &SandboxId) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Log` and `Error` are never constructed [INFO] [stdout] --> crates/orchestrator/src/ws_api.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub enum WsServerMessage { [INFO] [stdout] | --------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 39 | Log { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | Error { message: String }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WsServerMessage` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 38s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: sqlx-postgres v0.7.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 5` [INFO] running `Command { std: "docker" "inspect" "451505a8931b0ee55a206e300c59b1642bdb3ef9fbe5547cdd80568e57ab2b2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "451505a8931b0ee55a206e300c59b1642bdb3ef9fbe5547cdd80568e57ab2b2b", kill_on_drop: false }` [INFO] [stdout] 451505a8931b0ee55a206e300c59b1642bdb3ef9fbe5547cdd80568e57ab2b2b