[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] testing vickky06/Rexec against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvickky06%2FRexec" "/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/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-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/vickky06/Rexec on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tungstenite v0.20.1 [INFO] [stderr] Downloaded icu_properties v2.0.0 [INFO] [stderr] Downloaded tonic-reflection v0.11.0 [INFO] [stderr] Downloaded tokio-tungstenite v0.20.1 [INFO] [stderr] Downloaded windows-implement v0.60.0 [INFO] [stderr] Downloaded serde_repr v0.1.20 [INFO] [stderr] Downloaded windows-strings v0.4.0 [INFO] [stderr] Downloaded redox_syscall v0.5.12 [INFO] [stderr] Downloaded zerocopy-derive v0.8.25 [INFO] [stderr] Downloaded cc v1.0.106 [INFO] [stderr] Downloaded openssl-sys v0.9.108 [INFO] [stderr] Downloaded hashbrown v0.15.3 [INFO] [stderr] Downloaded toml v0.8.22 [INFO] [stderr] Downloaded bollard v0.18.1 [INFO] [stderr] Downloaded rustls-webpki v0.103.3 [INFO] [stderr] Downloaded hyper-util v0.1.11 [INFO] [stderr] Downloaded openssl v0.10.72 [INFO] [stderr] Downloaded winnow v0.7.10 [INFO] [stderr] Downloaded toml_edit v0.22.26 [INFO] [stderr] Downloaded prettyplease v0.2.32 [INFO] [stderr] Downloaded rustix v1.0.7 [INFO] [stderr] Downloaded tokio-util v0.7.15 [INFO] [stderr] Downloaded h2 v0.4.10 [INFO] [stderr] Downloaded serde_with v3.12.0 [INFO] [stderr] Downloaded tree-sitter-java v0.20.2 [INFO] [stderr] Downloaded chrono v0.4.41 [INFO] [stderr] Downloaded tree-sitter-javascript v0.20.4 [INFO] [stderr] Downloaded icu_properties_data v2.0.0 [INFO] [stderr] Downloaded tree-sitter v0.20.10 [INFO] [stderr] Downloaded tree-sitter-python v0.20.4 [INFO] [stderr] Downloaded zerocopy v0.8.25 [INFO] [stderr] Downloaded tokio v1.45.0 [INFO] [stderr] Downloaded syn v2.0.101 [INFO] [stderr] Downloaded windows-core v0.61.0 [INFO] [stderr] Downloaded iana-time-zone v0.1.63 [INFO] [stderr] Downloaded bollard-stubs v1.47.1-rc.27.3.1 [INFO] [stderr] Downloaded ctrlc v3.4.7 [INFO] [stderr] Downloaded rustls v0.23.27 [INFO] [stderr] Downloaded xattr v1.5.0 [INFO] [stderr] Downloaded toml_write v0.1.1 [INFO] [stderr] Downloaded windows-interface v0.59.1 [INFO] [stderr] Downloaded hyper-named-pipe v0.1.0 [INFO] [stderr] Downloaded hyperlocal v0.9.1 [INFO] [stderr] Downloaded toml_datetime v0.6.9 [INFO] [stderr] Downloaded proto v0.1.2 [INFO] [stderr] Downloaded ring v0.17.9 [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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 88eb2b4b86506af4cb49f2e3ef1101dbc69dd51aa37ffba7d31cd5570b62983d [INFO] running `Command { std: "docker" "start" "-a" "88eb2b4b86506af4cb49f2e3ef1101dbc69dd51aa37ffba7d31cd5570b62983d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "88eb2b4b86506af4cb49f2e3ef1101dbc69dd51aa37ffba7d31cd5570b62983d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88eb2b4b86506af4cb49f2e3ef1101dbc69dd51aa37ffba7d31cd5570b62983d", kill_on_drop: false }` [INFO] [stdout] 88eb2b4b86506af4cb49f2e3ef1101dbc69dd51aa37ffba7d31cd5570b62983d [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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] af17c9b6711dc7a34ac106259ef4a51560941c8f383a151dcd4cda80f1c64382 [INFO] running `Command { std: "docker" "start" "-a" "af17c9b6711dc7a34ac106259ef4a51560941c8f383a151dcd4cda80f1c64382", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling cc v1.0.106 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling rustversion v1.0.20 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling icu_properties_data v2.0.0 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling prettyplease v0.2.32 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling multimap v0.10.0 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling openssl-sys v0.9.108 [INFO] [stderr] Compiling tree-sitter v0.20.10 [INFO] [stderr] Compiling tree-sitter-java v0.20.2 [INFO] [stderr] Compiling tree-sitter-javascript v0.20.4 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling tree-sitter-python v0.20.4 [INFO] [stderr] Compiling toml_write v0.1.1 [INFO] [stderr] Compiling winnow v0.7.10 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling tempfile v3.19.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling xattr v1.5.0 [INFO] [stderr] Compiling filetime v0.2.25 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling tar v0.4.44 [INFO] [stderr] Compiling uuid v1.16.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling ctrlc v3.4.7 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling prost-derive v0.12.6 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling openssl-macros v0.1.1 [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] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling proto v0.1.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling tokio v1.45.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling prost v0.12.6 [INFO] [stderr] Compiling prost-types v0.12.6 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling prost-build v0.12.6 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling tonic-build v0.11.0 [INFO] [stderr] Compiling icu_properties v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling dsa-engine v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling tungstenite v0.20.1 [INFO] [stderr] Compiling serde_with v3.12.0 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling toml_datetime v0.6.9 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling toml_edit v0.22.26 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tokio-io-timeout v1.2.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-tungstenite v0.20.1 [INFO] [stderr] Compiling h2 v0.4.10 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling toml v0.8.22 [INFO] [stderr] Compiling bollard-stubs v1.47.1-rc.27.3.1 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.11 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling hyperlocal v0.9.1 [INFO] [stderr] Compiling reqwest v0.12.15 [INFO] [stderr] Compiling hyper-timeout v0.4.1 [INFO] [stderr] Compiling tonic v0.11.0 [INFO] [stderr] Compiling bollard v0.18.1 [INFO] [stderr] Compiling 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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 1m 18s [INFO] running `Command { std: "docker" "inspect" "af17c9b6711dc7a34ac106259ef4a51560941c8f383a151dcd4cda80f1c64382", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af17c9b6711dc7a34ac106259ef4a51560941c8f383a151dcd4cda80f1c64382", kill_on_drop: false }` [INFO] [stdout] af17c9b6711dc7a34ac106259ef4a51560941c8f383a151dcd4cda80f1c64382 [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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 80b4e40c8aab8d84f762a96cab15d35385f1cb1b8506cf9f126d7b6b4bfa36f2 [INFO] running `Command { std: "docker" "start" "-a" "80b4e40c8aab8d84f762a96cab15d35385f1cb1b8506cf9f126d7b6b4bfa36f2", kill_on_drop: false }` [INFO] [stderr] Compiling dsa-engine v0.1.0 (/opt/rustwide/workdir) [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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 `test` profile [unoptimized + debuginfo] target(s) in 5.91s [INFO] running `Command { std: "docker" "inspect" "80b4e40c8aab8d84f762a96cab15d35385f1cb1b8506cf9f126d7b6b4bfa36f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80b4e40c8aab8d84f762a96cab15d35385f1cb1b8506cf9f126d7b6b4bfa36f2", kill_on_drop: false }` [INFO] [stdout] 80b4e40c8aab8d84f762a96cab15d35385f1cb1b8506cf9f126d7b6b4bfa36f2 [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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9ce4e0902753af933c76e4281c8e97852862d9fa5258539aad90c36fd420835c [INFO] running `Command { std: "docker" "start" "-a" "9ce4e0902753af933c76e4281c8e97852862d9fa5258539aad90c36fd420835c", kill_on_drop: false }` [INFO] [stderr] Compiling dsa-engine v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused import: `std::any::Any` [INFO] [stderr] --> src/services/websocket/websocket_server.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::any::Any; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `session_id` [INFO] [stderr] --> src/services/websocket/websocket_server.rs:49:45 [INFO] [stderr] | [INFO] [stderr] 49 | ... let session_id = message.session_id.clone(); [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session_id` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `max_connections` is never read [INFO] [stderr] --> src/models/config_models.rs:52:9 [INFO] [stderr] | [INFO] [stderr] 51 | pub struct WebSocketPoolConfig { [INFO] [stderr] | ------------------- field in this struct [INFO] [stderr] 52 | pub max_connections: usize, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `WebSocketPoolConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `websocket_pool_config` is never read [INFO] [stderr] --> src/models/config_models.rs:62:9 [INFO] [stderr] | [INFO] [stderr] 56 | pub struct Config { [INFO] [stderr] | ------ field in this struct [INFO] [stderr] ... [INFO] [stderr] 62 | pub websocket_pool_config: WebSocketPoolConfig, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `language` is never read [INFO] [stderr] --> src/models/in_memory_session_cache_model.rs:9:9 [INFO] [stderr] | [INFO] [stderr] 7 | pub struct Session { [INFO] [stderr] | ------- field in this struct [INFO] [stderr] 8 | pub session_id: String, [INFO] [stderr] 9 | pub language: DockerSupportedLanguage, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Session` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: variants `NotFound` and `InternalError` are never constructed [INFO] [stderr] --> src/models/in_memory_session_cache_model.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 13 | pub enum SessionErrorType { [INFO] [stderr] | ---------------- variants in this enum [INFO] [stderr] 14 | NotFound, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 15 | InvalidInput, [INFO] [stderr] 16 | InternalError, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `SessionErrorType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: enum `CodeType` is never used [INFO] [stderr] --> src/models/websocket_message_model.rs:5:10 [INFO] [stderr] | [INFO] [stderr] 5 | pub enum CodeType { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum `CleanupType` is never used [INFO] [stderr] --> src/models/websocket_sessionpool_models.rs:6:10 [INFO] [stderr] | [INFO] [stderr] 6 | pub enum CleanupType { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `connection_size`, `pool`, and `activity_tracker` are never read [INFO] [stderr] --> src/models/websocket_sessionpool_models.rs:28:9 [INFO] [stderr] | [INFO] [stderr] 27 | pub struct ConnectionManager { [INFO] [stderr] | ----------------- fields in this struct [INFO] [stderr] 28 | pub connection_size: u32, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] 29 | pub pool: ConnectionPool, [INFO] [stderr] | ^^^^ [INFO] [stderr] 30 | pub activity_tracker: Mutex>>, // Min-heap by last_active [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ConnectionManager` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: method `to_string` is never used [INFO] [stderr] --> src/services/all_session_services/session_service.rs:111:12 [INFO] [stderr] | [INFO] [stderr] 110 | impl SessionErrorType { [INFO] [stderr] | --------------------- method in this implementation [INFO] [stderr] 111 | pub fn to_string(&self) -> String { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `message` is never used [INFO] [stderr] --> src/services/all_session_services/session_service.rs:129:12 [INFO] [stderr] | [INFO] [stderr] 120 | impl SessionError { [INFO] [stderr] | ----------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 129 | pub fn message(&self) -> &str { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `set_session_management_service` and `set_websocket_connection_manager` are never used [INFO] [stderr] --> src/services/helper_services/config_service.rs:36:12 [INFO] [stderr] | [INFO] [stderr] 19 | impl Config { [INFO] [stderr] | ----------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 36 | pub fn set_session_management_service(&mut self, sms: &'static SessionManagementService) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 39 | pub fn set_websocket_connection_manager(&mut self, wbcm: &'static ConnectionManager) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `get_grpc_ui_address` is never used [INFO] [stderr] --> src/services/helper_services/ports_service.rs:19:12 [INFO] [stderr] | [INFO] [stderr] 5 | impl PortsService { [INFO] [stderr] | ----------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 19 | pub fn get_grpc_ui_address(&self) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `from_str` is never used [INFO] [stderr] --> src/services/websocket/websocket_message_service.rs:54:8 [INFO] [stderr] | [INFO] [stderr] 53 | impl CodeType { [INFO] [stderr] | ------------- associated function in this implementation [INFO] [stderr] 54 | fn from_str(s: &str) -> Self { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `from_str` is never used [INFO] [stderr] --> src/services/websocket/websocket_message_service.rs:64:8 [INFO] [stderr] | [INFO] [stderr] 63 | impl Code { [INFO] [stderr] | --------- associated function in this implementation [INFO] [stderr] 64 | fn from_str(s: &str) -> Self { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/services/websocket/websocket_message_service.rs:78:8 [INFO] [stderr] | [INFO] [stderr] 77 | impl Position { [INFO] [stderr] | ------------- associated function in this implementation [INFO] [stderr] 78 | fn new(line: usize, ch: usize) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/services/websocket/websocket_message_service.rs:84:8 [INFO] [stderr] | [INFO] [stderr] 83 | impl Patch { [INFO] [stderr] | ---------- associated function in this implementation [INFO] [stderr] 84 | fn new(start: Position, end: Position, text: String) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function `websocket_connection_pool_add` is never used [INFO] [stderr] --> src/services/websocket/websocket_server.rs:203:10 [INFO] [stderr] | [INFO] [stderr] 203 | async fn websocket_connection_pool_add(socket_addr: SocketAddr, session_id_value: String) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/services/websocket/websocket_sessionpool_service.rs:31:12 [INFO] [stderr] | [INFO] [stderr] 30 | impl ActivityTracker { [INFO] [stderr] | -------------------- associated function in this implementation [INFO] [stderr] 31 | pub fn new(last_active: u64, key: String) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `add_connection`, `get_connection`, `remove_connection`, and `cleanup` are never used [INFO] [stderr] --> src/services/websocket/websocket_sessionpool_service.rs:54:12 [INFO] [stderr] | [INFO] [stderr] 36 | impl ConnectionManager { [INFO] [stderr] | ---------------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 54 | pub fn add_connection(&self, key: &str, value: String) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 64 | pub fn get_connection(self, key: &str) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 68 | pub fn remove_connection(&self, key: &str) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 75 | async fn cleanup(&self, cleanup_type: CleanupType) { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `was_last_active`, `set_last_active`, and `upsert_value` are never used [INFO] [stderr] --> src/services/websocket/websocket_sessionpool_service.rs:106:12 [INFO] [stderr] | [INFO] [stderr] 105 | impl Status { [INFO] [stderr] | ----------- associated items in this implementation [INFO] [stderr] 106 | pub fn new(value: String) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 113 | pub fn was_last_active(&self) -> u64 { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 117 | pub fn set_last_active(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 121 | pub fn upsert_value(&mut self, value: String) { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_current_timestamp` is never used [INFO] [stderr] --> src/utils/helper_utils.rs:7:8 [INFO] [stderr] | [INFO] [stderr] 7 | pub fn get_current_timestamp() -> u64 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/services/all_session_services/session_cache_service.rs:27:9 [INFO] [stderr] | [INFO] [stderr] 27 | &self, [INFO] [stderr] | ^^^^^ the lifetime is elided here [INFO] [stderr] 28 | session_id: &str, [INFO] [stderr] 29 | ) -> Option> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 29 | ) -> Option> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/services/all_session_services/session_cache_service.rs:34:9 [INFO] [stderr] | [INFO] [stderr] 34 | &self, [INFO] [stderr] | ^^^^^ the lifetime is elided here [INFO] [stderr] 35 | session_id: &str, [INFO] [stderr] 36 | ) -> Option> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 36 | ) -> Option> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: unused implementer of `futures_util::Future` that must be used [INFO] [stderr] --> src/services/websocket/websocket_sessionpool_service.rs:61:9 [INFO] [stderr] | [INFO] [stderr] 61 | self.cleanup(CleanupType::Full); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: futures do nothing unless you `.await` or poll them [INFO] [stderr] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused implementer of `futures_util::Future` that must be used [INFO] [stderr] --> src/services/websocket/websocket_sessionpool_service.rs:70:9 [INFO] [stderr] | [INFO] [stderr] 70 | / self.cleanup(CleanupType::Search { [INFO] [stderr] 71 | | key: key.to_string(), [INFO] [stderr] 72 | | }); [INFO] [stderr] | |__________^ [INFO] [stderr] | [INFO] [stderr] = note: futures do nothing unless you `.await` or poll them [INFO] [stderr] [INFO] [stderr] warning: `dsa-engine` (bin "dsa-engine" test) generated 26 warnings (run `cargo fix --bin "dsa-engine" -p dsa-engine --tests` to apply 4 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.91s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/dsa_engine-e4baef004fe20fd1) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "9ce4e0902753af933c76e4281c8e97852862d9fa5258539aad90c36fd420835c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ce4e0902753af933c76e4281c8e97852862d9fa5258539aad90c36fd420835c", kill_on_drop: false }` [INFO] [stdout] 9ce4e0902753af933c76e4281c8e97852862d9fa5258539aad90c36fd420835c