[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#b03b3a7ec92682be2917540b679478d41c95a30c for pr-137122-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAbdelkrim-Saouchi%2Fparley-rust-backend" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-4-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-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Abdelkrim-Saouchi/parley-rust-backend on toolchain b03b3a7ec92682be2917540b679478d41c95a30c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "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" "+b03b3a7ec92682be2917540b679478d41c95a30c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Downloaded proc-macro-error2 v2.0.1 [INFO] [stderr] Downloaded validator v0.20.0 [INFO] [stderr] Downloaded tower-sessions-sqlx-store v0.15.0 [INFO] [stderr] Downloaded validator_derive v0.20.0 [INFO] [stderr] Downloaded tower-sessions-core v0.14.0 [INFO] [stderr] Downloaded sqlx v0.8.5 [INFO] [stderr] Downloaded axum-helmet v0.2.0 [INFO] [stderr] Downloaded stacker v0.1.21 [INFO] [stderr] Downloaded hyper-rustls v0.24.2 [INFO] [stderr] Downloaded data-encoding v2.9.0 [INFO] [stderr] Downloaded tungstenite v0.26.2 [INFO] [stderr] Downloaded email-encoding v0.4.1 [INFO] [stderr] Downloaded sqlx-mysql v0.8.5 [INFO] [stderr] Downloaded sqlx-postgres v0.8.5 [INFO] [stderr] Downloaded tower-sessions-memory-store v0.14.0 [INFO] [stderr] Downloaded windows-core v0.61.0 [INFO] [stderr] Downloaded webpki-roots v1.0.0 [INFO] [stderr] Downloaded tokio-tungstenite v0.26.2 [INFO] [stderr] Downloaded tower-sessions v0.14.0 [INFO] [stderr] Downloaded oauth2 v4.4.2 [INFO] [stderr] Downloaded rustls v0.23.27 [INFO] [stderr] Downloaded rmp v0.8.14 [INFO] [stderr] Downloaded windows-strings v0.4.0 [INFO] [stderr] Downloaded lettre v0.11.16 [INFO] [stderr] Downloaded dashmap v6.1.0 [INFO] [stderr] Downloaded sqlx-macros-core v0.8.5 [INFO] [stderr] Downloaded rmp-serde v1.3.0 [INFO] [stderr] Downloaded sqlx-macros v0.8.5 [INFO] [stderr] Downloaded webpki-roots v0.26.11 [INFO] [stderr] Downloaded sqlx-core v0.8.5 [INFO] [stderr] Downloaded sqlx-sqlite v0.8.5 [INFO] [stderr] Downloaded helmet-core v0.2.0 [INFO] [stderr] Downloaded psm v0.1.26 [INFO] [stderr] Downloaded tower-cookies v0.11.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 367efbba414b9c55748c3a2b253a4c84bf43f621f0693a79da3be422a1b0a4ce [INFO] running `Command { std: "docker" "start" "-a" "367efbba414b9c55748c3a2b253a4c84bf43f621f0693a79da3be422a1b0a4ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "367efbba414b9c55748c3a2b253a4c84bf43f621f0693a79da3be422a1b0a4ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "367efbba414b9c55748c3a2b253a4c84bf43f621f0693a79da3be422a1b0a4ce", kill_on_drop: false }` [INFO] [stdout] 367efbba414b9c55748c3a2b253a4c84bf43f621f0693a79da3be422a1b0a4ce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3384d83ea68b44ac4024b95c1cae88d01949602df4594286a4f718028b230464 [INFO] running `Command { std: "docker" "start" "-a" "3384d83ea68b44ac4024b95c1cae88d01949602df4594286a4f718028b230464", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling version_check v0.9.5 [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 futures-io v0.3.31 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling icu_properties_data v2.0.0 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling generic-array v0.14.7 [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 time-macros v0.2.22 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling webpki-roots v1.0.0 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling crc v3.3.0 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling unicode-properties v0.1.3 [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 crossbeam-queue v0.3.12 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling whoami v1.6.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [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 block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling openssl-sys v0.9.108 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling tokio v1.45.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling uuid v1.16.0 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling psm v0.1.26 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling stacker v0.1.21 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling utf-8 v0.7.6 [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 base64 v0.21.7 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling rmp v0.8.14 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling email-encoding v0.4.1 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling nom v8.0.0 [INFO] [stderr] Compiling email_address v0.2.9 [INFO] [stderr] Compiling blowfish v0.9.1 [INFO] [stderr] Compiling quoted_printable v0.5.1 [INFO] [stderr] Compiling helmet-core v0.2.0 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling tower-http v0.5.2 [INFO] [stderr] Compiling bcrypt v0.17.0 [INFO] [stderr] Compiling chumsky v0.9.3 [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 regex-automata v0.4.9 [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 rustls-webpki v0.103.3 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling axum-core v0.5.2 [INFO] [stderr] Compiling tungstenite v0.26.2 [INFO] [stderr] Compiling darling_macro v0.20.11 [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 futures v0.3.31 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.0 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling serde_json v1.0.140 [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 icu_normalizer v2.0.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [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 validator v0.20.0 [INFO] [stderr] Compiling sqlx-core v0.8.5 [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 tokio-rustls v0.24.1 [INFO] [stderr] Compiling tower-sessions-core v0.14.0 [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 tower-sessions-memory-store v0.14.0 [INFO] [stderr] Compiling h2 v0.4.10 [INFO] [stderr] Compiling h2 v0.3.26 [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 axum v0.8.4 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling sqlx v0.8.5 [INFO] [stderr] Compiling reqwest v0.12.15 [INFO] [stderr] Compiling tower-sessions-sqlx-store v0.15.0 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling reqwest v0.11.27 [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)]` 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)]` 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 50s [INFO] running `Command { std: "docker" "inspect" "3384d83ea68b44ac4024b95c1cae88d01949602df4594286a4f718028b230464", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3384d83ea68b44ac4024b95c1cae88d01949602df4594286a4f718028b230464", kill_on_drop: false }` [INFO] [stdout] 3384d83ea68b44ac4024b95c1cae88d01949602df4594286a4f718028b230464 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bb6b8d765baae5f7f40df29cd97398fc27284999800f485fcd27bb0576da632d [INFO] running `Command { std: "docker" "start" "-a" "bb6b8d765baae5f7f40df29cd97398fc27284999800f485fcd27bb0576da632d", 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)]` 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)]` 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 4.80s [INFO] running `Command { std: "docker" "inspect" "bb6b8d765baae5f7f40df29cd97398fc27284999800f485fcd27bb0576da632d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb6b8d765baae5f7f40df29cd97398fc27284999800f485fcd27bb0576da632d", kill_on_drop: false }` [INFO] [stdout] bb6b8d765baae5f7f40df29cd97398fc27284999800f485fcd27bb0576da632d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 33ac73c7658552dcec85b1b6b17404a2dad272d99546df38cefd62f5959344b2 [INFO] running `Command { std: "docker" "start" "-a" "33ac73c7658552dcec85b1b6b17404a2dad272d99546df38cefd62f5959344b2", 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)]` 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)]` 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] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/backend_rust-6b2ac0749b7a4161) [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" "33ac73c7658552dcec85b1b6b17404a2dad272d99546df38cefd62f5959344b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33ac73c7658552dcec85b1b6b17404a2dad272d99546df38cefd62f5959344b2", kill_on_drop: false }` [INFO] [stdout] 33ac73c7658552dcec85b1b6b17404a2dad272d99546df38cefd62f5959344b2