[INFO] cloning repository https://github.com/Raworc/raworc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Raworc/raworc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRaworc%2Fraworc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRaworc%2Fraworc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ac3f868ea819d93231196b23960f7ef5ccb518ec [INFO] checking Raworc/raworc against master#518b428304e0008859cb1fd81d1ac20efb2a064a for pr-138961-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRaworc%2Fraworc" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Raworc/raworc [INFO] finished tweaking git repo https://github.com/Raworc/raworc [INFO] tweaked toml for git repo https://github.com/Raworc/raworc written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Raworc/raworc on toolchain 518b428304e0008859cb1fd81d1ac20efb2a064a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+518b428304e0008859cb1fd81d1ac20efb2a064a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Raworc/raworc 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" "+518b428304e0008859cb1fd81d1ac20efb2a064a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clap v4.5.46 [INFO] [stderr] Downloaded bollard-stubs v1.45.0-rc.26.0.1 [INFO] [stderr] Downloaded clap_derive v4.5.45 [INFO] [stderr] Downloaded serde_with v3.14.0 [INFO] [stderr] Downloaded clap_builder v4.5.46 [INFO] [stderr] Downloaded bollard v0.17.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+518b428304e0008859cb1fd81d1ac20efb2a064a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eb1afa9db6c17dfe583c3d8d1f50e3282cc0b5eb47b70fe1cd7c1bdaf459f393 [INFO] running `Command { std: "docker" "start" "-a" "eb1afa9db6c17dfe583c3d8d1f50e3282cc0b5eb47b70fe1cd7c1bdaf459f393", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eb1afa9db6c17dfe583c3d8d1f50e3282cc0b5eb47b70fe1cd7c1bdaf459f393", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb1afa9db6c17dfe583c3d8d1f50e3282cc0b5eb47b70fe1cd7c1bdaf459f393", kill_on_drop: false }` [INFO] [stdout] eb1afa9db6c17dfe583c3d8d1f50e3282cc0b5eb47b70fe1cd7c1bdaf459f393 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+518b428304e0008859cb1fd81d1ac20efb2a064a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a40125cf86665e248087ce676897e3ba7e45c5aef8efd57a69304cfdac8cdb18 [INFO] running `Command { std: "docker" "start" "-a" "a40125cf86665e248087ce676897e3ba7e45c5aef8efd57a69304cfdac8cdb18", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Checking indexmap v2.11.0 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling base64ct v1.8.0 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling webpki-roots v1.0.2 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling crc v3.3.0 [INFO] [stderr] Compiling pkcs1 v0.7.5 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling rustls v0.23.31 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Checking thiserror v2.0.16 [INFO] [stderr] Checking bitflags v2.9.3 [INFO] [stderr] Checking serde_json v1.0.143 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling uuid v1.18.0 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling rustls-webpki v0.103.4 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling rsa v0.9.8 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking h2 v0.4.12 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking serde_with v3.14.0 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking http-range-header v0.4.2 [INFO] [stderr] Checking clap_builder v4.5.46 [INFO] [stderr] Checking xattr v1.5.1 [INFO] [stderr] Checking axum-core v0.5.2 [INFO] [stderr] Checking blowfish v0.9.1 [INFO] [stderr] Checking tower-http v0.6.6 [INFO] [stderr] Checking regex v1.11.2 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Compiling clap_derive v4.5.45 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking serde_path_to_error v0.1.17 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking simple_asn1 v0.6.3 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking pem v3.0.5 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking filetime v0.2.26 [INFO] [stderr] Checking bstr v1.12.0 [INFO] [stderr] Checking tempfile v3.21.0 [INFO] [stderr] Checking jsonwebtoken v9.3.1 [INFO] [stderr] Checking ctrlc v3.4.7 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking globset v0.4.16 [INFO] [stderr] Checking tar v0.4.44 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking bcrypt v0.15.1 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking quick-xml v0.31.0 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking sqlx-core v0.8.6 [INFO] [stderr] Checking bollard-stubs v1.45.0-rc.26.0.1 [INFO] [stderr] Checking tracing-appender v0.2.3 [INFO] [stderr] Checking clap v4.5.46 [INFO] [stderr] Checking hyper v1.7.0 [INFO] [stderr] Checking hyper-util v0.1.16 [INFO] [stderr] Checking sqlx-mysql v0.8.6 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking hyperlocal v0.9.1 [INFO] [stderr] Checking axum v0.8.4 [INFO] [stderr] Checking reqwest v0.12.23 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Checking sqlx v0.8.6 [INFO] [stderr] Checking bollard v0.17.1 [INFO] [stderr] Checking tsbx v0.11.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/sandbox/../sandbox/task_handler.rs:441:38 [INFO] [stdout] | [INFO] [stdout] 441 | Ok(ExecutionResult { args, output }) => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `args: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/sandbox/../sandbox/api.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Sandbox { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 13 | pub id: String, // UUID primary key [INFO] [stdout] 14 | pub created_by: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 15 | pub state: String, [INFO] [stdout] 16 | pub snapshot_id: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 17 | pub created_at: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 18 | pub last_activity_at: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | pub metadata: serde_json::Value, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 20 | #[serde(default)] [INFO] [stdout] 21 | pub inference_model: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | pub idle_timeout_seconds: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 23 | pub idle_from: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 24 | pub busy_from: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 25 | #[serde(default)] [INFO] [stdout] 26 | pub tokens_prompt: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 27 | #[serde(default)] [INFO] [stdout] 28 | pub tokens_completion: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 29 | #[serde(default)] [INFO] [stdout] 30 | pub tool_count: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 31 | #[serde(default)] [INFO] [stdout] 32 | pub runtime_seconds: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 33 | #[serde(default)] [INFO] [stdout] 34 | pub tasks_completed: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Sandbox` has derived impls for the traits `Clone` and `Debug`, but these are 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: method `create_task` is never used [INFO] [stdout] --> src/sandbox/../sandbox/api.rs:212:18 [INFO] [stdout] | [INFO] [stdout] 43 | impl TSBXClient { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 212 | pub async fn create_task(&self, input_text: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CreateTaskRequest` is never constructed [INFO] [stdout] --> src/sandbox/../sandbox/api.rs:465:12 [INFO] [stdout] | [INFO] [stdout] 465 | pub struct CreateTaskRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/sandbox/../sandbox/api.rs:499:9 [INFO] [stdout] | [INFO] [stdout] 498 | pub struct SandboxStats { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 499 | pub sandbox_id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 500 | pub container_state: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 501 | pub tasks_completed: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 502 | pub total_tasks: i64, [INFO] [stdout] 503 | pub cpu_usage_percent: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 504 | pub cpu_limit_cores: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 505 | pub memory_usage_bytes: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 506 | pub memory_limit_bytes: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 507 | pub inference_url: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 508 | pub inference_model: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 509 | pub tokens_prompt: i64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 510 | pub tokens_completion: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 511 | pub tokens_total: i64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 512 | pub tool_count: serde_json::Value, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 513 | pub runtime_seconds: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 514 | pub captured_at: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SandboxStats` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `truncate` is never used [INFO] [stdout] --> src/sandbox/../sandbox/builtin_tools.rs:561:4 [INFO] [stdout] | [INFO] [stdout] 561 | fn truncate(s: &str, max: usize) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `language` is never read [INFO] [stdout] --> src/sandbox/../sandbox/executors/mod.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 60 | struct CommandSpec<'a> { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 61 | label: &'a str, [INFO] [stdout] 62 | language: &'a str, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `total_tokens` is never read [INFO] [stdout] --> src/sandbox/../sandbox/inference.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct ModelResponse { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 36 | pub total_tokens: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ModelResponse` 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: associated function `from_db_value` is never used [INFO] [stdout] --> src/sandbox/../sandbox/../shared/models/task.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl TaskType { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn from_db_value(value: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SandboxTask` is never constructed [INFO] [stdout] --> src/sandbox/../sandbox/../shared/models/task.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct SandboxTask { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CreateTaskRequest` is never constructed [INFO] [stdout] --> src/sandbox/../sandbox/../shared/models/task.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct CreateTaskRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TaskSummary` is never constructed [INFO] [stdout] --> src/sandbox/../sandbox/../shared/models/task.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 95 | pub struct TaskSummary { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UpdateTaskRequest` is never constructed [INFO] [stdout] --> src/sandbox/../sandbox/../shared/models/task.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 114 | pub struct UpdateTaskRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TaskView` is never constructed [INFO] [stdout] --> src/sandbox/../sandbox/../shared/models/task.rs:136:12 [INFO] [stdout] | [INFO] [stdout] 136 | pub struct TaskView { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `create`, `find_by_sandbox`, `count_by_sandbox`, `latest_context_length`, `find_by_id`, and `update_by_id` are never used [INFO] [stdout] --> src/sandbox/../sandbox/../shared/models/task.rs:155:18 [INFO] [stdout] | [INFO] [stdout] 154 | impl SandboxTask { [INFO] [stdout] | ---------------- associated functions in this implementation [INFO] [stdout] 155 | pub async fn create( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 210 | pub async fn find_by_sandbox( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 234 | pub async fn count_by_sandbox( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 246 | pub async fn latest_context_length( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 266 | pub async fn find_by_id( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 278 | pub async fn update_by_id( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_steps` is never used [INFO] [stdout] --> src/sandbox/../sandbox/../shared/models/task.rs:348:8 [INFO] [stdout] | [INFO] [stdout] 348 | pub fn extract_steps(value: &serde_json::Value) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_output_items` is never used [INFO] [stdout] --> src/sandbox/../sandbox/../shared/models/task.rs:352:8 [INFO] [stdout] | [INFO] [stdout] 352 | pub fn extract_output_items(value: &serde_json::Value) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `serialize_task_output` is never used [INFO] [stdout] --> src/sandbox/../sandbox/../shared/models/task.rs:468:4 [INFO] [stdout] | [INFO] [stdout] 468 | fn serialize_task_output(output: &TaskOutput) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `name`, `description`, and `parameters` are never used [INFO] [stdout] --> src/sandbox/../sandbox/toolkit.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait Tool: Send + Sync { [INFO] [stdout] | ---- methods in this trait [INFO] [stdout] 11 | fn name(&self) -> &str; [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | fn description(&self) -> &str; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 13 | fn parameters(&self) -> Value; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `args` is never read [INFO] [stdout] --> src/sandbox/../sandbox/toolkit.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct ExecutionError { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 23 | pub args: Value, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `available_models` is never read [INFO] [stdout] --> src/controller/../controller/docker_manager.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct DockerManager { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 26 | available_models: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_env_content` is never used [INFO] [stdout] --> src/controller/../controller/docker_manager.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | fn parse_env_content(content: &str) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/controller/../controller/docker_manager.rs:96:14 [INFO] [stdout] | [INFO] [stdout] 56 | impl DockerManager { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 96 | async fn create_sandbox_volume(&self, sandbox_id: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | fn get_sandbox_volume_name(&self, sandbox_id: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | fn get_sandbox_container_name(&self, sandbox_id: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | async fn sandbox_volume_exists(&self, sandbox_id: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 228 | async fn sandbox_initialized(&self, _volume_name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 234 | pub async fn cleanup_sandbox_volume(&self, sandbox_id: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 250 | pub async fn create_container_with_volume_copy( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 374 | pub async fn create_container_with_full_copy( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 533 | pub async fn create_container_with_full_copy_and_tokens( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 710 | async fn read_env_from_volume( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 719 | async fn read_file_from_volume(&self, volume_name: &str, file_path: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 812 | pub async fn create_container_with_params( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 853 | pub async fn create_container(&self, sandbox_id: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 860 | async fn create_container_internal( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1278 | pub async fn delete_container(&self, sandbox_id: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `ensure_sandbox_running` and `exec_collect` are never used [INFO] [stdout] --> src/controller/../controller/sandbox_manager.rs:150:18 [INFO] [stdout] | [INFO] [stdout] 60 | impl SandboxManager { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 150 | pub async fn ensure_sandbox_running(&self, sandbox_id: &str, timeout_secs: u64) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 199 | pub async fn exec_collect( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Subject` is never constructed [INFO] [stdout] --> src/controller/../controller/../shared/rbac.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Subject { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Operator` is never constructed [INFO] [stdout] --> src/controller/../controller/../shared/rbac.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Operator { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Rule` is never constructed [INFO] [stdout] --> src/controller/../controller/../shared/rbac.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct Rule { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Role` is never constructed [INFO] [stdout] --> src/controller/../controller/../shared/rbac.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct Role { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RoleBindingSubject` is never constructed [INFO] [stdout] --> src/controller/../controller/../shared/rbac.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct RoleBindingSubject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RoleBinding` is never constructed [INFO] [stdout] --> src/controller/../controller/../shared/rbac.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct RoleBinding { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RoleRef` is never constructed [INFO] [stdout] --> src/controller/../controller/../shared/rbac.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct RoleRef { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AuthPrincipal` is never used [INFO] [stdout] --> src/controller/../controller/../shared/rbac.rs:79:10 [INFO] [stdout] | [INFO] [stdout] 79 | pub enum AuthPrincipal { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `name` and `subject_type` are never used [INFO] [stdout] --> src/controller/../controller/../shared/rbac.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 84 | impl AuthPrincipal { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] 85 | pub fn name(&self) -> &str { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn subject_type(&self) -> SubjectType { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TokenResponse` is never constructed [INFO] [stdout] --> src/controller/../controller/../shared/rbac.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 114 | pub struct TokenResponse { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PermissionContext` is never constructed [INFO] [stdout] --> src/controller/../controller/../shared/rbac.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 121 | pub struct PermissionContext { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RbacAuthz` is never constructed [INFO] [stdout] --> src/controller/../controller/../shared/rbac.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 128 | pub struct RbacAuthz; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `has_permission` is never used [INFO] [stdout] --> src/controller/../controller/../shared/rbac.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 130 | impl RbacAuthz { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 131 | pub fn has_permission( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BlockedPrincipal` is never constructed [INFO] [stdout] --> src/controller/../controller/../shared/rbac.rs:172:12 [INFO] [stdout] | [INFO] [stdout] 172 | pub struct BlockedPrincipal { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CreateSandboxRequest` is never constructed [INFO] [stdout] --> src/controller/../controller/../shared/models/sandbox.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct CreateSandboxRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UpdateSandboxRequest` is never constructed [INFO] [stdout] --> src/controller/../controller/../shared/models/sandbox.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct UpdateSandboxRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `default_metadata` is never used [INFO] [stdout] --> src/controller/../controller/../shared/models/sandbox.rs:71:4 [INFO] [stdout] | [INFO] [stdout] 71 | fn default_metadata() -> serde_json::Value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `default_idle_timeout` is never used [INFO] [stdout] --> src/controller/../controller/../shared/models/sandbox.rs:75:4 [INFO] [stdout] | [INFO] [stdout] 75 | fn default_idle_timeout() -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `deserialize_strict_option_i32` is never used [INFO] [stdout] --> src/controller/../controller/../shared/models/sandbox.rs:80:4 [INFO] [stdout] | [INFO] [stdout] 80 | fn deserialize_strict_option_i32<'de, D>(deserializer: D) -> Result, D::Error> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `validate_tag_str` is never used [INFO] [stdout] --> src/controller/../controller/../shared/models/sandbox.rs:167:4 [INFO] [stdout] | [INFO] [stdout] 167 | fn validate_tag_str(s: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `deserialize_tags_vec` is never used [INFO] [stdout] --> src/controller/../controller/../shared/models/sandbox.rs:173:4 [INFO] [stdout] | [INFO] [stdout] 173 | fn deserialize_tags_vec<'de, D>(deserializer: D) -> Result, D::Error> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `deserialize_optional_tags_vec` is never used [INFO] [stdout] --> src/controller/../controller/../shared/models/sandbox.rs:209:4 [INFO] [stdout] | [INFO] [stdout] 209 | fn deserialize_optional_tags_vec<'de, D>(deserializer: D) -> Result>, D::Error> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `find_all`, `create`, `update`, `delete`, `update_sandbox_to_idle`, and `update_sandbox_to_busy` are never used [INFO] [stdout] --> src/controller/../controller/../shared/models/sandbox.rs:262:18 [INFO] [stdout] | [INFO] [stdout] 261 | impl Sandbox { [INFO] [stdout] | ------------ associated functions in this implementation [INFO] [stdout] 262 | pub async fn find_all(pool: &sqlx::MySqlPool) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 300 | pub async fn create( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 367 | pub async fn update( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 424 | pub async fn delete(pool: &sqlx::MySqlPool, id: &str) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 432 | pub async fn update_sandbox_to_idle( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 453 | pub async fn update_sandbox_to_busy( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `find_all`, `find_by_sandbox`, `create`, and `delete` are never used [INFO] [stdout] --> src/controller/../controller/../shared/models/snapshot.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 24 | impl Snapshot { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] 25 | pub async fn find_all(pool: &sqlx::MySqlPool) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub async fn find_by_sandbox( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub async fn create( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub async fn delete(pool: &sqlx::MySqlPool, id: &str) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TaskOutput` is never constructed [INFO] [stdout] --> src/controller/../controller/../shared/models/task.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct TaskOutput { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SandboxTask` is never constructed [INFO] [stdout] --> src/controller/../controller/../shared/models/task.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct SandboxTask { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CreateTaskRequest` is never constructed [INFO] [stdout] --> src/controller/../controller/../shared/models/task.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct CreateTaskRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TaskSummary` is never constructed [INFO] [stdout] --> src/controller/../controller/../shared/models/task.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 95 | pub struct TaskSummary { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UpdateTaskRequest` is never constructed [INFO] [stdout] --> src/controller/../controller/../shared/models/task.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 114 | pub struct UpdateTaskRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TaskView` is never constructed [INFO] [stdout] --> src/controller/../controller/../shared/models/task.rs:136:12 [INFO] [stdout] | [INFO] [stdout] 136 | pub struct TaskView { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `create`, `find_by_sandbox`, `count_by_sandbox`, `latest_context_length`, `find_by_id`, and `update_by_id` are never used [INFO] [stdout] --> src/controller/../controller/../shared/models/task.rs:155:18 [INFO] [stdout] | [INFO] [stdout] 154 | impl SandboxTask { [INFO] [stdout] | ---------------- associated functions in this implementation [INFO] [stdout] 155 | pub async fn create( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 210 | pub async fn find_by_sandbox( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 234 | pub async fn count_by_sandbox( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 246 | pub async fn latest_context_length( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 266 | pub async fn find_by_id( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 278 | pub async fn update_by_id( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_steps` is never used [INFO] [stdout] --> src/controller/../controller/../shared/models/task.rs:348:8 [INFO] [stdout] | [INFO] [stdout] 348 | pub fn extract_steps(value: &serde_json::Value) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `serialize_task_output` is never used [INFO] [stdout] --> src/controller/../controller/../shared/models/task.rs:468:4 [INFO] [stdout] | [INFO] [stdout] 468 | fn serialize_task_output(output: &TaskOutput) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `available_models` is never read [INFO] [stdout] --> src/controller/../controller/docker_manager.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct DockerManager { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 26 | available_models: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_env_content` is never used [INFO] [stdout] --> src/controller/../controller/docker_manager.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | fn parse_env_content(content: &str) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/controller/../controller/docker_manager.rs:96:14 [INFO] [stdout] | [INFO] [stdout] 56 | impl DockerManager { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 96 | async fn create_sandbox_volume(&self, sandbox_id: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | fn get_sandbox_volume_name(&self, sandbox_id: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | fn get_sandbox_container_name(&self, sandbox_id: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | async fn sandbox_volume_exists(&self, sandbox_id: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 228 | async fn sandbox_initialized(&self, _volume_name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 234 | pub async fn cleanup_sandbox_volume(&self, sandbox_id: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 250 | pub async fn create_container_with_volume_copy( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 374 | pub async fn create_container_with_full_copy( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 533 | pub async fn create_container_with_full_copy_and_tokens( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 710 | async fn read_env_from_volume( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 719 | async fn read_file_from_volume(&self, volume_name: &str, file_path: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 812 | pub async fn create_container_with_params( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 853 | pub async fn create_container(&self, sandbox_id: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 860 | async fn create_container_internal( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1278 | pub async fn delete_container(&self, sandbox_id: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `ensure_sandbox_running` and `exec_collect` are never used [INFO] [stdout] --> src/controller/../controller/sandbox_manager.rs:150:18 [INFO] [stdout] | [INFO] [stdout] 60 | impl SandboxManager { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 150 | pub async fn ensure_sandbox_running(&self, sandbox_id: &str, timeout_secs: u64) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 199 | pub async fn exec_collect( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Subject` is never constructed [INFO] [stdout] --> src/controller/../controller/../shared/rbac.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Subject { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Operator` is never constructed [INFO] [stdout] --> src/controller/../controller/../shared/rbac.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Operator { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Rule` is never constructed [INFO] [stdout] --> src/controller/../controller/../shared/rbac.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct Rule { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Role` is never constructed [INFO] [stdout] --> src/controller/../controller/../shared/rbac.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct Role { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RoleBindingSubject` is never constructed [INFO] [stdout] --> src/controller/../controller/../shared/rbac.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct RoleBindingSubject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RoleBinding` is never constructed [INFO] [stdout] --> src/controller/../controller/../shared/rbac.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct RoleBinding { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RoleRef` is never constructed [INFO] [stdout] --> src/controller/../controller/../shared/rbac.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct RoleRef { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AuthPrincipal` is never used [INFO] [stdout] --> src/controller/../controller/../shared/rbac.rs:79:10 [INFO] [stdout] | [INFO] [stdout] 79 | pub enum AuthPrincipal { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `name` and `subject_type` are never used [INFO] [stdout] --> src/controller/../controller/../shared/rbac.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 84 | impl AuthPrincipal { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] 85 | pub fn name(&self) -> &str { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn subject_type(&self) -> SubjectType { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TokenResponse` is never constructed [INFO] [stdout] --> src/controller/../controller/../shared/rbac.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 114 | pub struct TokenResponse { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PermissionContext` is never constructed [INFO] [stdout] --> src/controller/../controller/../shared/rbac.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 121 | pub struct PermissionContext { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RbacAuthz` is never constructed [INFO] [stdout] --> src/controller/../controller/../shared/rbac.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 128 | pub struct RbacAuthz; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `has_permission` is never used [INFO] [stdout] --> src/controller/../controller/../shared/rbac.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 130 | impl RbacAuthz { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 131 | pub fn has_permission( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BlockedPrincipal` is never constructed [INFO] [stdout] --> src/controller/../controller/../shared/rbac.rs:172:12 [INFO] [stdout] | [INFO] [stdout] 172 | pub struct BlockedPrincipal { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CreateSandboxRequest` is never constructed [INFO] [stdout] --> src/controller/../controller/../shared/models/sandbox.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct CreateSandboxRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UpdateSandboxRequest` is never constructed [INFO] [stdout] --> src/controller/../controller/../shared/models/sandbox.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct UpdateSandboxRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `default_metadata` is never used [INFO] [stdout] --> src/controller/../controller/../shared/models/sandbox.rs:71:4 [INFO] [stdout] | [INFO] [stdout] 71 | fn default_metadata() -> serde_json::Value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `default_idle_timeout` is never used [INFO] [stdout] --> src/controller/../controller/../shared/models/sandbox.rs:75:4 [INFO] [stdout] | [INFO] [stdout] 75 | fn default_idle_timeout() -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `deserialize_strict_option_i32` is never used [INFO] [stdout] --> src/controller/../controller/../shared/models/sandbox.rs:80:4 [INFO] [stdout] | [INFO] [stdout] 80 | fn deserialize_strict_option_i32<'de, D>(deserializer: D) -> Result, D::Error> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `validate_tag_str` is never used [INFO] [stdout] --> src/controller/../controller/../shared/models/sandbox.rs:167:4 [INFO] [stdout] | [INFO] [stdout] 167 | fn validate_tag_str(s: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `deserialize_tags_vec` is never used [INFO] [stdout] --> src/controller/../controller/../shared/models/sandbox.rs:173:4 [INFO] [stdout] | [INFO] [stdout] 173 | fn deserialize_tags_vec<'de, D>(deserializer: D) -> Result, D::Error> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `deserialize_optional_tags_vec` is never used [INFO] [stdout] --> src/controller/../controller/../shared/models/sandbox.rs:209:4 [INFO] [stdout] | [INFO] [stdout] 209 | fn deserialize_optional_tags_vec<'de, D>(deserializer: D) -> Result>, D::Error> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `find_all`, `create`, `update`, `delete`, `update_sandbox_to_idle`, and `update_sandbox_to_busy` are never used [INFO] [stdout] --> src/controller/../controller/../shared/models/sandbox.rs:262:18 [INFO] [stdout] | [INFO] [stdout] 261 | impl Sandbox { [INFO] [stdout] | ------------ associated functions in this implementation [INFO] [stdout] 262 | pub async fn find_all(pool: &sqlx::MySqlPool) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 300 | pub async fn create( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 367 | pub async fn update( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 424 | pub async fn delete(pool: &sqlx::MySqlPool, id: &str) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 432 | pub async fn update_sandbox_to_idle( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 453 | pub async fn update_sandbox_to_busy( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `find_all`, `find_by_sandbox`, `create`, and `delete` are never used [INFO] [stdout] --> src/controller/../controller/../shared/models/snapshot.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 24 | impl Snapshot { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] 25 | pub async fn find_all(pool: &sqlx::MySqlPool) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub async fn find_by_sandbox( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub async fn create( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub async fn delete(pool: &sqlx::MySqlPool, id: &str) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TaskOutput` is never constructed [INFO] [stdout] --> src/controller/../controller/../shared/models/task.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct TaskOutput { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SandboxTask` is never constructed [INFO] [stdout] --> src/controller/../controller/../shared/models/task.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct SandboxTask { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CreateTaskRequest` is never constructed [INFO] [stdout] --> src/controller/../controller/../shared/models/task.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct CreateTaskRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TaskSummary` is never constructed [INFO] [stdout] --> src/controller/../controller/../shared/models/task.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 95 | pub struct TaskSummary { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UpdateTaskRequest` is never constructed [INFO] [stdout] --> src/controller/../controller/../shared/models/task.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 114 | pub struct UpdateTaskRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TaskView` is never constructed [INFO] [stdout] --> src/controller/../controller/../shared/models/task.rs:136:12 [INFO] [stdout] | [INFO] [stdout] 136 | pub struct TaskView { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `create`, `find_by_sandbox`, `count_by_sandbox`, `latest_context_length`, `find_by_id`, and `update_by_id` are never used [INFO] [stdout] --> src/controller/../controller/../shared/models/task.rs:155:18 [INFO] [stdout] | [INFO] [stdout] 154 | impl SandboxTask { [INFO] [stdout] | ---------------- associated functions in this implementation [INFO] [stdout] 155 | pub async fn create( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 210 | pub async fn find_by_sandbox( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 234 | pub async fn count_by_sandbox( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 246 | pub async fn latest_context_length( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 266 | pub async fn find_by_id( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 278 | pub async fn update_by_id( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_steps` is never used [INFO] [stdout] --> src/controller/../controller/../shared/models/task.rs:348:8 [INFO] [stdout] | [INFO] [stdout] 348 | pub fn extract_steps(value: &serde_json::Value) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `serialize_task_output` is never used [INFO] [stdout] --> src/controller/../controller/../shared/models/task.rs:468:4 [INFO] [stdout] | [INFO] [stdout] 468 | fn serialize_task_output(output: &TaskOutput) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/api/../shared/database.rs:220:18 [INFO] [stdout] | [INFO] [stdout] 8 | impl AppState { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 220 | pub async fn create_role(&self, role: &Role) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 241 | pub async fn get_role(&self, name: &str) -> Result, DatabaseError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 289 | pub async fn delete_role(&self, name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 304 | pub async fn create_role_binding( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 332 | pub async fn get_role_binding( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 369 | pub async fn get_all_role_bindings(&self) -> Result, DatabaseError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 448 | pub async fn delete_role_binding( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Internal` is never constructed [INFO] [stdout] --> src/api/../shared/models/mod.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub enum DatabaseError { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 29 | Internal(String), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DatabaseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `find_all` and `delete` are never used [INFO] [stdout] --> src/api/../shared/models/sandbox.rs:262:18 [INFO] [stdout] | [INFO] [stdout] 261 | impl Sandbox { [INFO] [stdout] | ------------ associated functions in this implementation [INFO] [stdout] 262 | pub async fn find_all(pool: &sqlx::MySqlPool) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 424 | pub async fn delete(pool: &sqlx::MySqlPool, id: &str) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `create` and `create_with_id` are never used [INFO] [stdout] --> src/api/../shared/models/snapshot.rs:70:18 [INFO] [stdout] | [INFO] [stdout] 24 | impl Snapshot { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 70 | pub async fn create( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub async fn create_with_id( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `create` and `count_by_sandbox` are never used [INFO] [stdout] --> src/api/../shared/models/task.rs:155:18 [INFO] [stdout] | [INFO] [stdout] 154 | impl SandboxTask { [INFO] [stdout] | ---------------- associated functions in this implementation [INFO] [stdout] 155 | pub async fn create( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 234 | pub async fn count_by_sandbox( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `serialize_task_output` is never used [INFO] [stdout] --> src/api/../shared/models/task.rs:468:4 [INFO] [stdout] | [INFO] [stdout] 468 | fn serialize_task_output(output: &TaskOutput) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RoleBindingSubject` is never constructed [INFO] [stdout] --> src/api/../shared/rbac.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct RoleBindingSubject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RoleRef` is never constructed [INFO] [stdout] --> src/api/../shared/rbac.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct RoleRef { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/sandbox/../sandbox/task_handler.rs:441:38 [INFO] [stdout] | [INFO] [stdout] 441 | Ok(ExecutionResult { args, output }) => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `args: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/api/../shared/database.rs:220:18 [INFO] [stdout] | [INFO] [stdout] 8 | impl AppState { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 220 | pub async fn create_role(&self, role: &Role) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 241 | pub async fn get_role(&self, name: &str) -> Result, DatabaseError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 289 | pub async fn delete_role(&self, name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 304 | pub async fn create_role_binding( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 332 | pub async fn get_role_binding( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 369 | pub async fn get_all_role_bindings(&self) -> Result, DatabaseError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 448 | pub async fn delete_role_binding( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Internal` is never constructed [INFO] [stdout] --> src/api/../shared/models/mod.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub enum DatabaseError { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 29 | Internal(String), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DatabaseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `find_all` and `delete` are never used [INFO] [stdout] --> src/api/../shared/models/sandbox.rs:262:18 [INFO] [stdout] | [INFO] [stdout] 261 | impl Sandbox { [INFO] [stdout] | ------------ associated functions in this implementation [INFO] [stdout] 262 | pub async fn find_all(pool: &sqlx::MySqlPool) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 424 | pub async fn delete(pool: &sqlx::MySqlPool, id: &str) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `create` and `create_with_id` are never used [INFO] [stdout] --> src/api/../shared/models/snapshot.rs:70:18 [INFO] [stdout] | [INFO] [stdout] 24 | impl Snapshot { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 70 | pub async fn create( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub async fn create_with_id( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `create` and `count_by_sandbox` are never used [INFO] [stdout] --> src/api/../shared/models/task.rs:155:18 [INFO] [stdout] | [INFO] [stdout] 154 | impl SandboxTask { [INFO] [stdout] | ---------------- associated functions in this implementation [INFO] [stdout] 155 | pub async fn create( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 234 | pub async fn count_by_sandbox( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `serialize_task_output` is never used [INFO] [stdout] --> src/api/../shared/models/task.rs:468:4 [INFO] [stdout] | [INFO] [stdout] 468 | fn serialize_task_output(output: &TaskOutput) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RoleBindingSubject` is never constructed [INFO] [stdout] --> src/api/../shared/rbac.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct RoleBindingSubject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RoleRef` is never constructed [INFO] [stdout] --> src/api/../shared/rbac.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct RoleRef { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/sandbox/../sandbox/api.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Sandbox { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 13 | pub id: String, // UUID primary key [INFO] [stdout] 14 | pub created_by: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 15 | pub state: String, [INFO] [stdout] 16 | pub snapshot_id: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 17 | pub created_at: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 18 | pub last_activity_at: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | pub metadata: serde_json::Value, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 20 | #[serde(default)] [INFO] [stdout] 21 | pub inference_model: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | pub idle_timeout_seconds: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 23 | pub idle_from: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 24 | pub busy_from: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 25 | #[serde(default)] [INFO] [stdout] 26 | pub tokens_prompt: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 27 | #[serde(default)] [INFO] [stdout] 28 | pub tokens_completion: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 29 | #[serde(default)] [INFO] [stdout] 30 | pub tool_count: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 31 | #[serde(default)] [INFO] [stdout] 32 | pub runtime_seconds: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 33 | #[serde(default)] [INFO] [stdout] 34 | pub tasks_completed: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Sandbox` has derived impls for the traits `Clone` and `Debug`, but these are 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: method `create_task` is never used [INFO] [stdout] --> src/sandbox/../sandbox/api.rs:212:18 [INFO] [stdout] | [INFO] [stdout] 43 | impl TSBXClient { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 212 | pub async fn create_task(&self, input_text: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CreateTaskRequest` is never constructed [INFO] [stdout] --> src/sandbox/../sandbox/api.rs:465:12 [INFO] [stdout] | [INFO] [stdout] 465 | pub struct CreateTaskRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/sandbox/../sandbox/api.rs:499:9 [INFO] [stdout] | [INFO] [stdout] 498 | pub struct SandboxStats { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 499 | pub sandbox_id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 500 | pub container_state: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 501 | pub tasks_completed: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 502 | pub total_tasks: i64, [INFO] [stdout] 503 | pub cpu_usage_percent: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 504 | pub cpu_limit_cores: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 505 | pub memory_usage_bytes: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 506 | pub memory_limit_bytes: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 507 | pub inference_url: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 508 | pub inference_model: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 509 | pub tokens_prompt: i64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 510 | pub tokens_completion: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 511 | pub tokens_total: i64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 512 | pub tool_count: serde_json::Value, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 513 | pub runtime_seconds: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 514 | pub captured_at: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SandboxStats` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `truncate` is never used [INFO] [stdout] --> src/sandbox/../sandbox/builtin_tools.rs:561:4 [INFO] [stdout] | [INFO] [stdout] 561 | fn truncate(s: &str, max: usize) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `language` is never read [INFO] [stdout] --> src/sandbox/../sandbox/executors/mod.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 60 | struct CommandSpec<'a> { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 61 | label: &'a str, [INFO] [stdout] 62 | language: &'a str, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `total_tokens` is never read [INFO] [stdout] --> src/sandbox/../sandbox/inference.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct ModelResponse { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 36 | pub total_tokens: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ModelResponse` 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: associated function `from_db_value` is never used [INFO] [stdout] --> src/sandbox/../sandbox/../shared/models/task.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl TaskType { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn from_db_value(value: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SandboxTask` is never constructed [INFO] [stdout] --> src/sandbox/../sandbox/../shared/models/task.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct SandboxTask { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CreateTaskRequest` is never constructed [INFO] [stdout] --> src/sandbox/../sandbox/../shared/models/task.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct CreateTaskRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TaskSummary` is never constructed [INFO] [stdout] --> src/sandbox/../sandbox/../shared/models/task.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 95 | pub struct TaskSummary { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UpdateTaskRequest` is never constructed [INFO] [stdout] --> src/sandbox/../sandbox/../shared/models/task.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 114 | pub struct UpdateTaskRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TaskView` is never constructed [INFO] [stdout] --> src/sandbox/../sandbox/../shared/models/task.rs:136:12 [INFO] [stdout] | [INFO] [stdout] 136 | pub struct TaskView { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `create`, `find_by_sandbox`, `count_by_sandbox`, `latest_context_length`, `find_by_id`, and `update_by_id` are never used [INFO] [stdout] --> src/sandbox/../sandbox/../shared/models/task.rs:155:18 [INFO] [stdout] | [INFO] [stdout] 154 | impl SandboxTask { [INFO] [stdout] | ---------------- associated functions in this implementation [INFO] [stdout] 155 | pub async fn create( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 210 | pub async fn find_by_sandbox( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 234 | pub async fn count_by_sandbox( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 246 | pub async fn latest_context_length( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 266 | pub async fn find_by_id( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 278 | pub async fn update_by_id( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_steps` is never used [INFO] [stdout] --> src/sandbox/../sandbox/../shared/models/task.rs:348:8 [INFO] [stdout] | [INFO] [stdout] 348 | pub fn extract_steps(value: &serde_json::Value) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_output_items` is never used [INFO] [stdout] --> src/sandbox/../sandbox/../shared/models/task.rs:352:8 [INFO] [stdout] | [INFO] [stdout] 352 | pub fn extract_output_items(value: &serde_json::Value) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `serialize_task_output` is never used [INFO] [stdout] --> src/sandbox/../sandbox/../shared/models/task.rs:468:4 [INFO] [stdout] | [INFO] [stdout] 468 | fn serialize_task_output(output: &TaskOutput) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `name`, `description`, and `parameters` are never used [INFO] [stdout] --> src/sandbox/../sandbox/toolkit.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait Tool: Send + Sync { [INFO] [stdout] | ---- methods in this trait [INFO] [stdout] 11 | fn name(&self) -> &str; [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | fn description(&self) -> &str; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 13 | fn parameters(&self) -> Value; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `args` is never read [INFO] [stdout] --> src/sandbox/../sandbox/toolkit.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct ExecutionError { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 23 | pub args: Value, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 41s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "a40125cf86665e248087ce676897e3ba7e45c5aef8efd57a69304cfdac8cdb18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a40125cf86665e248087ce676897e3ba7e45c5aef8efd57a69304cfdac8cdb18", kill_on_drop: false }` [INFO] [stdout] a40125cf86665e248087ce676897e3ba7e45c5aef8efd57a69304cfdac8cdb18