[INFO] cloning repository https://github.com/ech0r/blend [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ech0r/blend" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fech0r%2Fblend", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fech0r%2Fblend'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6644bd4fe8e64cdc127afc2c167281a6f99123f6 [INFO] building ech0r/blend against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fech0r%2Fblend" "/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/ech0r/blend [INFO] finished tweaking git repo https://github.com/ech0r/blend [INFO] tweaked toml for git repo https://github.com/ech0r/blend written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ech0r/blend on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ech0r/blend 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pinned v0.1.0 [INFO] [stderr] Downloaded boolinator v2.4.0 [INFO] [stderr] Downloaded gloo-worker v0.2.1 [INFO] [stderr] Downloaded gloo-utils v0.1.7 [INFO] [stderr] Downloaded actix_derive v0.6.2 [INFO] [stderr] Downloaded gloo-file v0.2.3 [INFO] [stderr] Downloaded prokio v0.1.0 [INFO] [stderr] Downloaded gloo-net v0.2.6 [INFO] [stderr] Downloaded actix-web-actors v4.3.1+deprecated [INFO] [stderr] Downloaded gloo-storage v0.2.2 [INFO] [stderr] Downloaded prettyplease v0.1.25 [INFO] [stderr] Downloaded yew-macro v0.20.0 [INFO] [stderr] Downloaded wasm-logger v0.2.0 [INFO] [stderr] Downloaded implicit-clone v0.3.10 [INFO] [stderr] Downloaded anymap2 v0.13.0 [INFO] [stderr] Downloaded yew v0.20.0 [INFO] [stderr] Downloaded gloo-dialogs v0.1.1 [INFO] [stderr] Downloaded actix v0.13.5 [INFO] [stderr] Downloaded sled v0.34.7 [INFO] [stderr] Downloaded gloo-events v0.1.2 [INFO] [stderr] Downloaded gloo-history v0.1.5 [INFO] [stderr] Downloaded gloo-net v0.3.1 [INFO] [stderr] Downloaded gloo-render v0.1.1 [INFO] [stderr] Downloaded gloo-console v0.2.3 [INFO] [stderr] Downloaded gloo v0.8.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8b66c6cd8826b789367fa84899d2aeb3dc18f6ab44954497f63fc548eba47113 [INFO] running `Command { std: "docker" "start" "-a" "8b66c6cd8826b789367fa84899d2aeb3dc18f6ab44954497f63fc548eba47113", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8b66c6cd8826b789367fa84899d2aeb3dc18f6ab44954497f63fc548eba47113", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b66c6cd8826b789367fa84899d2aeb3dc18f6ab44954497f63fc548eba47113", kill_on_drop: false }` [INFO] [stdout] 8b66c6cd8826b789367fa84899d2aeb3dc18f6ab44954497f63fc548eba47113 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a6edcedd664f23294db9cd428650f9785335c6163c43ce723e2241f80d7a9b43 [INFO] running `Command { std: "docker" "start" "-a" "a6edcedd664f23294db9cd428650f9785335c6163c43ce723e2241f80d7a9b43", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling indexmap v2.8.0 [INFO] [stderr] Compiling zstd-safe v7.2.3 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling time-core v0.1.3 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling miniz_oxide v0.8.5 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling brotli-decompressor v4.0.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling time-macros v0.2.20 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling cc v1.2.16 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling tokio v1.44.1 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling flate2 v1.1.0 [INFO] [stderr] Compiling rand v0.9.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.14 [INFO] [stderr] Compiling actix_derive v0.6.2 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling brotli v7.0.0 [INFO] [stderr] Compiling derive_more v0.99.19 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling chrono v0.4.40 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling time v0.3.39 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling sled v0.34.7 [INFO] [stderr] Compiling uuid v1.16.0 [INFO] [stderr] Compiling openssl-sys v0.9.106 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling zstd-sys v2.0.14+zstd.1.5.7 [INFO] [stderr] Compiling openssl v0.10.71 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling tokio-util v0.7.14 [INFO] [stderr] Compiling actix-rt v2.10.0 [INFO] [stderr] Compiling actix-server v2.5.1 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling actix v0.13.5 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling actix-http v3.10.0 [INFO] [stderr] Compiling actix-web v4.10.2 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling oauth2 v4.4.2 [INFO] [stderr] Compiling actix-files v0.6.6 [INFO] [stderr] Compiling actix-web-actors v4.3.1+deprecated [INFO] [stderr] Compiling blend v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> src/auth/github.rs:7:26 [INFO] [stdout] | [INFO] [stdout] 7 | use serde::{Deserialize, Serialize}; [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: `ReleaseStatus` [INFO] [stdout] --> src/storage/sled_storage.rs:6:44 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::models::{Release, User, Client, ReleaseStatus}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/storage/sled_storage.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use log::{info, error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DeploymentItem` [INFO] [stdout] --> src/scheduler/mod.rs:9:45 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::models::{Release, ReleaseStatus, DeploymentItem}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Utc` [INFO] [stdout] --> src/scheduler/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use chrono::Utc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `status_str` [INFO] [stdout] --> src/scheduler/mod.rs:488:9 [INFO] [stdout] | [INFO] [stdout] 488 | let status_str = match env_name { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_status_str` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item_name` [INFO] [stdout] --> src/scheduler/mod.rs:328:28 [INFO] [stdout] | [INFO] [stdout] 328 | fn calculate_item_progress(item_name: &str, current_progress: f32, total_items: usize) -> f32 { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_item_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `email` are never read [INFO] [stdout] --> src/auth/github.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 17 | struct GithubUser { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | name: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 23 | email: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GithubUser` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_allowed` is never used [INFO] [stdout] --> src/auth/users_file_embed.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl AllowedUsers { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn is_allowed(&self, username: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/models/release.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 61 | impl Release { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn calculate_progress(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn all_items_completed(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | pub fn has_errors(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | pub fn current_board_column(&self) -> Environment { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 180 | pub fn next_status_after_deployment(&self) -> ReleaseStatus { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 194 | pub fn error_status(&self) -> ReleaseStatus { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 199 | pub fn can_be_cleared(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `can_deploy_to_staging` and `can_deploy_to_production` are never used [INFO] [stdout] --> src/models/user.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl User { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 27 | // Check if user can move releases to staging [INFO] [stdout] 28 | pub fn can_deploy_to_staging(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn can_deploy_to_production(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_client`, `delete_session`, and `get_all_websockets` are never used [INFO] [stdout] --> src/storage/sled_storage.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl SledStorage { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn get_client(&self, id: &Uuid) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | pub fn delete_session(&self, session_id: &str) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | pub fn get_all_websockets(&self) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChatMessage` is never constructed [INFO] [stdout] --> src/websocket/server.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct ChatMessage { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_item_progress` is never used [INFO] [stdout] --> src/scheduler/mod.rs:328:4 [INFO] [stdout] | [INFO] [stdout] 328 | fn calculate_item_progress(item_name: &str, current_progress: f32, total_items: usize) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_release_progress` is never used [INFO] [stdout] --> src/scheduler/mod.rs:333:4 [INFO] [stdout] | [INFO] [stdout] 333 | fn update_release_progress(release: &mut Release) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 27s [INFO] running `Command { std: "docker" "inspect" "a6edcedd664f23294db9cd428650f9785335c6163c43ce723e2241f80d7a9b43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6edcedd664f23294db9cd428650f9785335c6163c43ce723e2241f80d7a9b43", kill_on_drop: false }` [INFO] [stdout] a6edcedd664f23294db9cd428650f9785335c6163c43ce723e2241f80d7a9b43 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 85535146d5adcde1cb767c67c6dccaabbd368e8c00c825ac7465bde9bcbf6c50 [INFO] running `Command { std: "docker" "start" "-a" "85535146d5adcde1cb767c67c6dccaabbd368e8c00c825ac7465bde9bcbf6c50", kill_on_drop: false }` [INFO] [stderr] Compiling blend v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> src/auth/github.rs:7:26 [INFO] [stdout] | [INFO] [stdout] 7 | use serde::{Deserialize, Serialize}; [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: `ReleaseStatus` [INFO] [stdout] --> src/storage/sled_storage.rs:6:44 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::models::{Release, User, Client, ReleaseStatus}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/storage/sled_storage.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use log::{info, error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DeploymentItem` [INFO] [stdout] --> src/scheduler/mod.rs:9:45 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::models::{Release, ReleaseStatus, DeploymentItem}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Utc` [INFO] [stdout] --> src/scheduler/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use chrono::Utc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `status_str` [INFO] [stdout] --> src/scheduler/mod.rs:488:9 [INFO] [stdout] | [INFO] [stdout] 488 | let status_str = match env_name { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_status_str` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item_name` [INFO] [stdout] --> src/scheduler/mod.rs:328:28 [INFO] [stdout] | [INFO] [stdout] 328 | fn calculate_item_progress(item_name: &str, current_progress: f32, total_items: usize) -> f32 { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_item_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `email` are never read [INFO] [stdout] --> src/auth/github.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 17 | struct GithubUser { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | name: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 23 | email: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GithubUser` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_allowed` is never used [INFO] [stdout] --> src/auth/users_file_embed.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl AllowedUsers { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn is_allowed(&self, username: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/models/release.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 61 | impl Release { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn calculate_progress(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn all_items_completed(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | pub fn has_errors(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | pub fn current_board_column(&self) -> Environment { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 180 | pub fn next_status_after_deployment(&self) -> ReleaseStatus { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 194 | pub fn error_status(&self) -> ReleaseStatus { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 199 | pub fn can_be_cleared(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `can_deploy_to_staging` and `can_deploy_to_production` are never used [INFO] [stdout] --> src/models/user.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl User { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 27 | // Check if user can move releases to staging [INFO] [stdout] 28 | pub fn can_deploy_to_staging(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn can_deploy_to_production(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_client`, `delete_session`, and `get_all_websockets` are never used [INFO] [stdout] --> src/storage/sled_storage.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl SledStorage { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn get_client(&self, id: &Uuid) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | pub fn delete_session(&self, session_id: &str) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | pub fn get_all_websockets(&self) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChatMessage` is never constructed [INFO] [stdout] --> src/websocket/server.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct ChatMessage { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_item_progress` is never used [INFO] [stdout] --> src/scheduler/mod.rs:328:4 [INFO] [stdout] | [INFO] [stdout] 328 | fn calculate_item_progress(item_name: &str, current_progress: f32, total_items: usize) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_release_progress` is never used [INFO] [stdout] --> src/scheduler/mod.rs:333:4 [INFO] [stdout] | [INFO] [stdout] 333 | fn update_release_progress(release: &mut Release) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.36s [INFO] running `Command { std: "docker" "inspect" "85535146d5adcde1cb767c67c6dccaabbd368e8c00c825ac7465bde9bcbf6c50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85535146d5adcde1cb767c67c6dccaabbd368e8c00c825ac7465bde9bcbf6c50", kill_on_drop: false }` [INFO] [stdout] 85535146d5adcde1cb767c67c6dccaabbd368e8c00c825ac7465bde9bcbf6c50