[INFO] cloning repository https://github.com/Abdelkrim-Saouchi/parley-rust-backend [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Abdelkrim-Saouchi/parley-rust-backend" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAbdelkrim-Saouchi%2Fparley-rust-backend", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAbdelkrim-Saouchi%2Fparley-rust-backend'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 454f141e010b88a7050397ee0c577bd086008a33 [INFO] testing Abdelkrim-Saouchi/parley-rust-backend against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAbdelkrim-Saouchi%2Fparley-rust-backend" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-1-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/Abdelkrim-Saouchi/parley-rust-backend [INFO] finished tweaking git repo https://github.com/Abdelkrim-Saouchi/parley-rust-backend [INFO] tweaked toml for git repo https://github.com/Abdelkrim-Saouchi/parley-rust-backend written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Abdelkrim-Saouchi/parley-rust-backend on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Abdelkrim-Saouchi/parley-rust-backend 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded validator v0.20.0 [INFO] [stderr] Downloaded tower-sessions-core v0.14.0 [INFO] [stderr] Downloaded validator_derive v0.20.0 [INFO] [stderr] Downloaded sqlx-macros v0.8.5 [INFO] [stderr] Downloaded helmet-core v0.2.0 [INFO] [stderr] Downloaded tower-sessions-sqlx-store v0.15.0 [INFO] [stderr] Downloaded tokio-tungstenite v0.26.2 [INFO] [stderr] Downloaded axum-helmet v0.2.0 [INFO] [stderr] Downloaded bcrypt v0.17.0 [INFO] [stderr] Downloaded tungstenite v0.26.2 [INFO] [stderr] Downloaded oauth2 v4.4.2 [INFO] [stderr] Downloaded sqlx-mysql v0.8.5 [INFO] [stderr] Downloaded sqlx-postgres v0.8.5 [INFO] [stderr] Downloaded sqlx v0.8.5 [INFO] [stderr] Downloaded hyper-util v0.1.11 [INFO] [stderr] Downloaded tower-sessions v0.14.0 [INFO] [stderr] Downloaded nom v8.0.0 [INFO] [stderr] Downloaded lettre v0.11.16 [INFO] [stderr] Downloaded sqlx-core v0.8.5 [INFO] [stderr] Downloaded sqlx-sqlite v0.8.5 [INFO] [stderr] Downloaded email-encoding v0.4.1 [INFO] [stderr] Downloaded tower-cookies v0.11.0 [INFO] [stderr] Downloaded sqlx-macros-core v0.8.5 [INFO] [stderr] Downloaded tower-sessions-memory-store v0.14.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e82387277e544455e7d5f504a5679fb5f829e886b5c0f2050a6c088a47fb34e6 [INFO] running `Command { std: "docker" "start" "-a" "e82387277e544455e7d5f504a5679fb5f829e886b5c0f2050a6c088a47fb34e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e82387277e544455e7d5f504a5679fb5f829e886b5c0f2050a6c088a47fb34e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e82387277e544455e7d5f504a5679fb5f829e886b5c0f2050a6c088a47fb34e6", kill_on_drop: false }` [INFO] [stdout] e82387277e544455e7d5f504a5679fb5f829e886b5c0f2050a6c088a47fb34e6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c5e354ecf1cb84218efce78d145f986158c3cb3566c27a7922751d76dc3b7f16 [INFO] running `Command { std: "docker" "start" "-a" "c5e354ecf1cb84218efce78d145f986158c3cb3566c27a7922751d76dc3b7f16", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling cc v1.2.22 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling icu_properties_data v2.0.0 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling rustversion v1.0.20 [INFO] [stderr] Compiling rustls v0.23.27 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling webpki-roots v1.0.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling crc v3.3.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling tokio v1.45.0 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling uuid v1.16.0 [INFO] [stderr] Compiling whoami v1.6.0 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling openssl-sys v0.9.108 [INFO] [stderr] Compiling psm v0.1.26 [INFO] [stderr] Compiling stacker v0.1.21 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling rmp v0.8.14 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling matchit v0.8.4 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling blowfish v0.9.1 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling email-encoding v0.4.1 [INFO] [stderr] Compiling nom v8.0.0 [INFO] [stderr] Compiling helmet-core v0.2.0 [INFO] [stderr] Compiling quoted_printable v0.5.1 [INFO] [stderr] Compiling email_address v0.2.9 [INFO] [stderr] Compiling bcrypt v0.17.0 [INFO] [stderr] Compiling tower-http v0.5.2 [INFO] [stderr] Compiling chumsky v0.9.3 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling tempfile v3.19.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling axum-core v0.5.2 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling tungstenite v0.26.2 [INFO] [stderr] Compiling rustls-webpki v0.103.3 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling validator_derive v0.20.0 [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 icu_provider v2.0.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling icu_properties v2.0.0 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling rmp-serde v1.3.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling sqlx-core v0.8.5 [INFO] [stderr] Compiling validator v0.20.0 [INFO] [stderr] Compiling tower-cookies v0.11.0 [INFO] [stderr] Compiling sqlx-postgres v0.8.5 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tower-sessions-core v0.14.0 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-tungstenite v0.26.2 [INFO] [stderr] Compiling lettre v0.11.16 [INFO] [stderr] Compiling h2 v0.4.10 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling tower-sessions-memory-store v0.14.0 [INFO] [stderr] Compiling tower-sessions v0.14.0 [INFO] [stderr] Compiling sqlx-macros-core v0.8.5 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling sqlx-macros v0.8.5 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.11 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling sqlx v0.8.5 [INFO] [stderr] Compiling axum v0.8.4 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling tower-sessions-sqlx-store v0.15.0 [INFO] [stderr] Compiling reqwest v0.12.15 [INFO] [stderr] Compiling oauth2 v4.4.2 [INFO] [stderr] Compiling axum-helmet v0.2.0 [INFO] [stderr] Compiling backend_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `users::UserProfile` [INFO] [stdout] --> src/handlers/v1/profile.rs:13:37 [INFO] [stdout] | [INFO] [stdout] 13 | models::{sessions::UserSession, users::UserProfile}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `users::MessageType` [INFO] [stdout] --> src/websocket/handlers.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | users::MessageType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ServiceUnavailable` is never constructed [INFO] [stdout] --> src/error.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum AppError { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 19 | ServiceUnavailable(anyhowError), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hello_v1` is never used [INFO] [stdout] --> src/handlers/v1/hello_v1.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn hello_v1() -> impl IntoResponse { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Friendships` is never constructed [INFO] [stdout] --> src/models/friends.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Friendships { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UserLocation` is never constructed [INFO] [stdout] --> src/models/users.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct UserLocation { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UserProvider` is never constructed [INFO] [stdout] --> src/models/users.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct UserProvider { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UserPresence` is never constructed [INFO] [stdout] --> src/models/users.rs:153:12 [INFO] [stdout] | [INFO] [stdout] 153 | pub struct UserPresence { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `user_id` is never read [INFO] [stdout] --> src/models/websocket.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 58 | pub struct UserConnection { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 59 | pub user_id: Uuid, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UserConnection` 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 `chat_id` is never read [INFO] [stdout] --> src/models/websocket.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct ChatRoom { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 65 | pub chat_id: Uuid, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChatRoom` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_user_presence_with_message` is never used [INFO] [stdout] --> src/queries/users.rs:627:14 [INFO] [stdout] | [INFO] [stdout] 627 | pub async fn update_user_presence_with_message( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `leave_chat`, `get_chat_users`, and `is_user_in_chat` are never used [INFO] [stdout] --> src/websocket/manager.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl WebSocketManager { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn leave_chat(&self, chat_id: Uuid, user_id: Uuid) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn get_chat_users(&self, chat_id: Uuid) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn is_user_in_chat(&self, chat_id: Uuid, user_id: Uuid) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 45s [INFO] running `Command { std: "docker" "inspect" "c5e354ecf1cb84218efce78d145f986158c3cb3566c27a7922751d76dc3b7f16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5e354ecf1cb84218efce78d145f986158c3cb3566c27a7922751d76dc3b7f16", kill_on_drop: false }` [INFO] [stdout] c5e354ecf1cb84218efce78d145f986158c3cb3566c27a7922751d76dc3b7f16 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e0e987602f3df3692bede489a7d40bc9e7e4f8b28b131f089dab93abd6075649 [INFO] running `Command { std: "docker" "start" "-a" "e0e987602f3df3692bede489a7d40bc9e7e4f8b28b131f089dab93abd6075649", kill_on_drop: false }` [INFO] [stderr] Compiling backend_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `users::UserProfile` [INFO] [stdout] --> src/handlers/v1/profile.rs:13:37 [INFO] [stdout] | [INFO] [stdout] 13 | models::{sessions::UserSession, users::UserProfile}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `users::MessageType` [INFO] [stdout] --> src/websocket/handlers.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | users::MessageType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ServiceUnavailable` is never constructed [INFO] [stdout] --> src/error.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum AppError { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 19 | ServiceUnavailable(anyhowError), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hello_v1` is never used [INFO] [stdout] --> src/handlers/v1/hello_v1.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn hello_v1() -> impl IntoResponse { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Friendships` is never constructed [INFO] [stdout] --> src/models/friends.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Friendships { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UserLocation` is never constructed [INFO] [stdout] --> src/models/users.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct UserLocation { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UserProvider` is never constructed [INFO] [stdout] --> src/models/users.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct UserProvider { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UserPresence` is never constructed [INFO] [stdout] --> src/models/users.rs:153:12 [INFO] [stdout] | [INFO] [stdout] 153 | pub struct UserPresence { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `user_id` is never read [INFO] [stdout] --> src/models/websocket.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 58 | pub struct UserConnection { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 59 | pub user_id: Uuid, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UserConnection` 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 `chat_id` is never read [INFO] [stdout] --> src/models/websocket.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct ChatRoom { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 65 | pub chat_id: Uuid, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChatRoom` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_user_presence_with_message` is never used [INFO] [stdout] --> src/queries/users.rs:627:14 [INFO] [stdout] | [INFO] [stdout] 627 | pub async fn update_user_presence_with_message( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `leave_chat`, `get_chat_users`, and `is_user_in_chat` are never used [INFO] [stdout] --> src/websocket/manager.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl WebSocketManager { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn leave_chat(&self, chat_id: Uuid, user_id: Uuid) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn get_chat_users(&self, chat_id: Uuid) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn is_user_in_chat(&self, chat_id: Uuid, user_id: Uuid) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 8.56s [INFO] running `Command { std: "docker" "inspect" "e0e987602f3df3692bede489a7d40bc9e7e4f8b28b131f089dab93abd6075649", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0e987602f3df3692bede489a7d40bc9e7e4f8b28b131f089dab93abd6075649", kill_on_drop: false }` [INFO] [stdout] e0e987602f3df3692bede489a7d40bc9e7e4f8b28b131f089dab93abd6075649 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] fc6da51806998fc01ae8e25866e64025490a114e337751fc52a612e625b880d3 [INFO] running `Command { std: "docker" "start" "-a" "fc6da51806998fc01ae8e25866e64025490a114e337751fc52a612e625b880d3", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `users::UserProfile` [INFO] [stderr] --> src/handlers/v1/profile.rs:13:37 [INFO] [stderr] | [INFO] [stderr] 13 | models::{sessions::UserSession, users::UserProfile}, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `users::MessageType` [INFO] [stderr] --> src/websocket/handlers.rs:17:9 [INFO] [stderr] | [INFO] [stderr] 17 | users::MessageType, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant `ServiceUnavailable` is never constructed [INFO] [stderr] --> src/error.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 7 | pub enum AppError { [INFO] [stderr] | -------- variant in this enum [INFO] [stderr] ... [INFO] [stderr] 19 | ServiceUnavailable(anyhowError), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `AppError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `hello_v1` is never used [INFO] [stderr] --> src/handlers/v1/hello_v1.rs:3:8 [INFO] [stderr] | [INFO] [stderr] 3 | pub fn hello_v1() -> impl IntoResponse { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Friendships` is never constructed [INFO] [stderr] --> src/models/friends.rs:13:12 [INFO] [stderr] | [INFO] [stderr] 13 | pub struct Friendships { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `UserLocation` is never constructed [INFO] [stderr] --> src/models/users.rs:59:12 [INFO] [stderr] | [INFO] [stderr] 59 | pub struct UserLocation { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `UserProvider` is never constructed [INFO] [stderr] --> src/models/users.rs:68:12 [INFO] [stderr] | [INFO] [stderr] 68 | pub struct UserProvider { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `UserPresence` is never constructed [INFO] [stderr] --> src/models/users.rs:153:12 [INFO] [stderr] | [INFO] [stderr] 153 | pub struct UserPresence { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `user_id` is never read [INFO] [stderr] --> src/models/websocket.rs:59:9 [INFO] [stderr] | [INFO] [stderr] 58 | pub struct UserConnection { [INFO] [stderr] | -------------- field in this struct [INFO] [stderr] 59 | pub user_id: Uuid, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `UserConnection` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `chat_id` is never read [INFO] [stderr] --> src/models/websocket.rs:65:9 [INFO] [stderr] | [INFO] [stderr] 64 | pub struct ChatRoom { [INFO] [stderr] | -------- field in this struct [INFO] [stderr] 65 | pub chat_id: Uuid, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ChatRoom` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: function `update_user_presence_with_message` is never used [INFO] [stderr] --> src/queries/users.rs:627:14 [INFO] [stderr] | [INFO] [stderr] 627 | pub async fn update_user_presence_with_message( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `leave_chat`, `get_chat_users`, and `is_user_in_chat` are never used [INFO] [stderr] --> src/websocket/manager.rs:47:12 [INFO] [stderr] | [INFO] [stderr] 14 | impl WebSocketManager { [INFO] [stderr] | --------------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 47 | pub fn leave_chat(&self, chat_id: Uuid, user_id: Uuid) { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 124 | pub fn get_chat_users(&self, chat_id: Uuid) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 132 | pub fn is_user_in_chat(&self, chat_id: Uuid, user_id: Uuid) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `backend_rust` (bin "backend_rust" test) generated 12 warnings (run `cargo fix --bin "backend_rust" --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.37s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/backend_rust-6b2ac0749b7a4161) [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" "fc6da51806998fc01ae8e25866e64025490a114e337751fc52a612e625b880d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc6da51806998fc01ae8e25866e64025490a114e337751fc52a612e625b880d3", kill_on_drop: false }` [INFO] [stdout] fc6da51806998fc01ae8e25866e64025490a114e337751fc52a612e625b880d3