[INFO] cloning repository https://github.com/vickky06/Rexec [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vickky06/Rexec" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvickky06%2FRexec", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvickky06%2FRexec'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c5e10aea62e7314c1939718bc8380966df4997fa [INFO] checking vickky06/Rexec against try#1383df06117fd218068d1f39fd5326256dd4a348 for pr-145181 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvickky06%2FRexec" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/vickky06/Rexec [INFO] finished tweaking git repo https://github.com/vickky06/Rexec [INFO] tweaked toml for git repo https://github.com/vickky06/Rexec written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/vickky06/Rexec on toolchain 1383df06117fd218068d1f39fd5326256dd4a348 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1383df06117fd218068d1f39fd5326256dd4a348" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/vickky06/Rexec 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" "+1383df06117fd218068d1f39fd5326256dd4a348" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+1383df06117fd218068d1f39fd5326256dd4a348" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1d299157f34ffd4f8a066ed9bff5e21376f454aa63c30601548233c25a3a65bd [INFO] running `Command { std: "docker" "start" "-a" "1d299157f34ffd4f8a066ed9bff5e21376f454aa63c30601548233c25a3a65bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1d299157f34ffd4f8a066ed9bff5e21376f454aa63c30601548233c25a3a65bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d299157f34ffd4f8a066ed9bff5e21376f454aa63c30601548233c25a3a65bd", kill_on_drop: false }` [INFO] [stdout] 1d299157f34ffd4f8a066ed9bff5e21376f454aa63c30601548233c25a3a65bd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+1383df06117fd218068d1f39fd5326256dd4a348" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bb3468e80b4d045538fca8846a3378bbc8a23deb64effb75df3e542f8a053b20 [INFO] running `Command { std: "docker" "start" "-a" "bb3468e80b4d045538fca8846a3378bbc8a23deb64effb75df3e542f8a053b20", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling cc v1.0.106 [INFO] [stderr] Checking hashbrown v0.15.3 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling icu_properties_data v2.0.0 [INFO] [stderr] Checking bitflags v2.9.0 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling prettyplease v0.2.32 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking indexmap v2.9.0 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling multimap v0.10.0 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling openssl-sys v0.9.108 [INFO] [stderr] Compiling tree-sitter v0.20.10 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling tree-sitter-javascript v0.20.4 [INFO] [stderr] Compiling tree-sitter-java v0.20.2 [INFO] [stderr] Compiling tree-sitter-python v0.20.4 [INFO] [stderr] Checking data-encoding v2.9.0 [INFO] [stderr] Checking winnow v0.7.10 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking toml_write v0.1.1 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rustls-pemfile v2.2.0 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking socket2 v0.5.9 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking filetime v0.2.25 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking uuid v1.16.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking xattr v1.5.0 [INFO] [stderr] Checking dashmap v6.1.0 [INFO] [stderr] Checking tar v0.4.44 [INFO] [stderr] Compiling tempfile v3.19.1 [INFO] [stderr] Checking ctrlc v3.4.7 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling prost-derive v0.12.6 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking tokio v1.45.0 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Compiling proto v0.1.2 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking zerovec v0.11.2 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Compiling prost v0.12.6 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking thiserror v2.0.12 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking prost-types v0.12.6 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Checking tokio-io-timeout v1.2.0 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Compiling prost-build v0.12.6 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Compiling tonic-build v0.11.0 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.0 [INFO] [stderr] Checking h2 v0.4.10 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Compiling dsa-engine v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking serde_with v3.12.0 [INFO] [stderr] Checking serde_spanned v0.6.8 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking toml_datetime v0.6.9 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking toml_edit v0.22.26 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking tungstenite v0.20.1 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking bollard-stubs v1.47.1-rc.27.3.1 [INFO] [stderr] Checking tokio-tungstenite v0.20.1 [INFO] [stderr] Checking toml v0.8.22 [INFO] [stderr] Checking hyper-util v0.1.11 [INFO] [stderr] Checking hyper-timeout v0.4.1 [INFO] [stderr] Checking hyperlocal v0.9.1 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.15 [INFO] [stderr] Checking tonic v0.11.0 [INFO] [stderr] Checking bollard v0.18.1 [INFO] [stderr] Checking tonic-reflection v0.11.0 [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/services/websocket/websocket_server.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/services/websocket/websocket_server.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session_id` [INFO] [stdout] --> src/services/websocket/websocket_server.rs:49:45 [INFO] [stdout] | [INFO] [stdout] 49 | ... let session_id = message.session_id.clone(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session_id` [INFO] [stdout] --> src/services/websocket/websocket_server.rs:49:45 [INFO] [stdout] | [INFO] [stdout] 49 | ... let session_id = message.session_id.clone(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `max_connections` is never read [INFO] [stdout] --> src/models/config_models.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct WebSocketPoolConfig { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 52 | pub max_connections: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WebSocketPoolConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `websocket_pool_config` is never read [INFO] [stdout] --> src/models/config_models.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct Config { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 62 | pub websocket_pool_config: WebSocketPoolConfig, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` 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: field `language` is never read [INFO] [stdout] --> src/models/in_memory_session_cache_model.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Session { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 8 | pub session_id: String, [INFO] [stdout] 9 | pub language: DockerSupportedLanguage, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Session` 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: variants `NotFound` and `InternalError` are never constructed [INFO] [stdout] --> src/models/in_memory_session_cache_model.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum SessionErrorType { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] 14 | NotFound, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 15 | InvalidInput, [INFO] [stdout] 16 | InternalError, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SessionErrorType` 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: enum `CodeType` is never used [INFO] [stdout] --> src/models/websocket_message_model.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum CodeType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CleanupType` is never used [INFO] [stdout] --> src/models/websocket_sessionpool_models.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum CleanupType { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `connection_size`, `pool`, and `activity_tracker` are never read [INFO] [stdout] --> src/models/websocket_sessionpool_models.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct ConnectionManager { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 28 | pub connection_size: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 29 | pub pool: ConnectionPool, [INFO] [stdout] | ^^^^ [INFO] [stdout] 30 | pub activity_tracker: Mutex>>, // Min-heap by last_active [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConnectionManager` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_string` is never used [INFO] [stdout] --> src/services/all_session_services/session_service.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 110 | impl SessionErrorType { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 111 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `message` is never used [INFO] [stdout] --> src/services/all_session_services/session_service.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 120 | impl SessionError { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn message(&self) -> &str { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_session_management_service` and `set_websocket_connection_manager` are never used [INFO] [stdout] --> src/services/helper_services/config_service.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Config { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn set_session_management_service(&mut self, sms: &'static SessionManagementService) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn set_websocket_connection_manager(&mut self, wbcm: &'static ConnectionManager) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_grpc_ui_address` is never used [INFO] [stdout] --> src/services/helper_services/ports_service.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 5 | impl PortsService { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn get_grpc_ui_address(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_str` is never used [INFO] [stdout] --> src/services/websocket/websocket_message_service.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 53 | impl CodeType { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 54 | fn from_str(s: &str) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_str` is never used [INFO] [stdout] --> src/services/websocket/websocket_message_service.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 63 | impl Code { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 64 | fn from_str(s: &str) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/services/websocket/websocket_message_service.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 77 | impl Position { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 78 | fn new(line: usize, ch: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/services/websocket/websocket_message_service.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 83 | impl Patch { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 84 | fn new(start: Position, end: Position, text: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `websocket_connection_pool_add` is never used [INFO] [stdout] --> src/services/websocket/websocket_server.rs:203:10 [INFO] [stdout] | [INFO] [stdout] 203 | async fn websocket_connection_pool_add(socket_addr: SocketAddr, session_id_value: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/services/websocket/websocket_sessionpool_service.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl ActivityTracker { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 31 | pub fn new(last_active: u64, key: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_connection`, `get_connection`, `remove_connection`, and `cleanup` are never used [INFO] [stdout] --> src/services/websocket/websocket_sessionpool_service.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl ConnectionManager { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn add_connection(&self, key: &str, value: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn get_connection(self, key: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn remove_connection(&self, key: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | async fn cleanup(&self, cleanup_type: CleanupType) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `was_last_active`, `set_last_active`, and `upsert_value` are never used [INFO] [stdout] --> src/services/websocket/websocket_sessionpool_service.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 105 | impl Status { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 106 | pub fn new(value: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn was_last_active(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn set_last_active(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn upsert_value(&mut self, value: String) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_current_timestamp` is never used [INFO] [stdout] --> src/utils/helper_utils.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn get_current_timestamp() -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/services/all_session_services/session_cache_service.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 28 | session_id: &str, [INFO] [stdout] 29 | ) -> Option> { [INFO] [stdout] | ------------------------------------------ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 29 | ) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/services/all_session_services/session_cache_service.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 35 | session_id: &str, [INFO] [stdout] 36 | ) -> Option> { [INFO] [stdout] | --------------------------------------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 36 | ) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `max_connections` is never read [INFO] [stdout] --> src/models/config_models.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct WebSocketPoolConfig { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 52 | pub max_connections: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WebSocketPoolConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `websocket_pool_config` is never read [INFO] [stdout] --> src/models/config_models.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct Config { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 62 | pub websocket_pool_config: WebSocketPoolConfig, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` 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: field `language` is never read [INFO] [stdout] --> src/models/in_memory_session_cache_model.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Session { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 8 | pub session_id: String, [INFO] [stdout] 9 | pub language: DockerSupportedLanguage, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Session` 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: variants `NotFound` and `InternalError` are never constructed [INFO] [stdout] --> src/models/in_memory_session_cache_model.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum SessionErrorType { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] 14 | NotFound, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 15 | InvalidInput, [INFO] [stdout] 16 | InternalError, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SessionErrorType` 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: enum `CodeType` is never used [INFO] [stdout] --> src/models/websocket_message_model.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum CodeType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CleanupType` is never used [INFO] [stdout] --> src/models/websocket_sessionpool_models.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum CleanupType { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `connection_size`, `pool`, and `activity_tracker` are never read [INFO] [stdout] --> src/models/websocket_sessionpool_models.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct ConnectionManager { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 28 | pub connection_size: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 29 | pub pool: ConnectionPool, [INFO] [stdout] | ^^^^ [INFO] [stdout] 30 | pub activity_tracker: Mutex>>, // Min-heap by last_active [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConnectionManager` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_string` is never used [INFO] [stdout] --> src/services/all_session_services/session_service.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 110 | impl SessionErrorType { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 111 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `message` is never used [INFO] [stdout] --> src/services/all_session_services/session_service.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 120 | impl SessionError { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn message(&self) -> &str { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_session_management_service` and `set_websocket_connection_manager` are never used [INFO] [stdout] --> src/services/helper_services/config_service.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Config { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn set_session_management_service(&mut self, sms: &'static SessionManagementService) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn set_websocket_connection_manager(&mut self, wbcm: &'static ConnectionManager) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_grpc_ui_address` is never used [INFO] [stdout] --> src/services/helper_services/ports_service.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 5 | impl PortsService { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn get_grpc_ui_address(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_str` is never used [INFO] [stdout] --> src/services/websocket/websocket_message_service.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 53 | impl CodeType { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 54 | fn from_str(s: &str) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_str` is never used [INFO] [stdout] --> src/services/websocket/websocket_message_service.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 63 | impl Code { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 64 | fn from_str(s: &str) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/services/websocket/websocket_message_service.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 77 | impl Position { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 78 | fn new(line: usize, ch: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/services/websocket/websocket_message_service.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 83 | impl Patch { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 84 | fn new(start: Position, end: Position, text: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `websocket_connection_pool_add` is never used [INFO] [stdout] --> src/services/websocket/websocket_server.rs:203:10 [INFO] [stdout] | [INFO] [stdout] 203 | async fn websocket_connection_pool_add(socket_addr: SocketAddr, session_id_value: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/services/websocket/websocket_sessionpool_service.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl ActivityTracker { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 31 | pub fn new(last_active: u64, key: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_connection`, `get_connection`, `remove_connection`, and `cleanup` are never used [INFO] [stdout] --> src/services/websocket/websocket_sessionpool_service.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl ConnectionManager { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn add_connection(&self, key: &str, value: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn get_connection(self, key: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn remove_connection(&self, key: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | async fn cleanup(&self, cleanup_type: CleanupType) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `was_last_active`, `set_last_active`, and `upsert_value` are never used [INFO] [stdout] --> src/services/websocket/websocket_sessionpool_service.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 105 | impl Status { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 106 | pub fn new(value: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn was_last_active(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn set_last_active(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn upsert_value(&mut self, value: String) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_current_timestamp` is never used [INFO] [stdout] --> src/utils/helper_utils.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn get_current_timestamp() -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/services/all_session_services/session_cache_service.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 28 | session_id: &str, [INFO] [stdout] 29 | ) -> Option> { [INFO] [stdout] | ------------------------------------------ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 29 | ) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/services/all_session_services/session_cache_service.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 35 | session_id: &str, [INFO] [stdout] 36 | ) -> Option> { [INFO] [stdout] | --------------------------------------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 36 | ) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused implementer of `futures_util::Future` that must be used [INFO] [stdout] --> src/services/websocket/websocket_sessionpool_service.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | self.cleanup(CleanupType::Full); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: futures do nothing unless you `.await` or poll them [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused implementer of `futures_util::Future` that must be used [INFO] [stdout] --> src/services/websocket/websocket_sessionpool_service.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | / self.cleanup(CleanupType::Search { [INFO] [stdout] 71 | | key: key.to_string(), [INFO] [stdout] 72 | | }); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: futures do nothing unless you `.await` or poll them [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused implementer of `futures_util::Future` that must be used [INFO] [stdout] --> src/services/websocket/websocket_sessionpool_service.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | self.cleanup(CleanupType::Full); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: futures do nothing unless you `.await` or poll them [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused implementer of `futures_util::Future` that must be used [INFO] [stdout] --> src/services/websocket/websocket_sessionpool_service.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | / self.cleanup(CleanupType::Search { [INFO] [stdout] 71 | | key: key.to_string(), [INFO] [stdout] 72 | | }); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: futures do nothing unless you `.await` or poll them [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 37.54s [INFO] running `Command { std: "docker" "inspect" "bb3468e80b4d045538fca8846a3378bbc8a23deb64effb75df3e542f8a053b20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb3468e80b4d045538fca8846a3378bbc8a23deb64effb75df3e542f8a053b20", kill_on_drop: false }` [INFO] [stdout] bb3468e80b4d045538fca8846a3378bbc8a23deb64effb75df3e542f8a053b20