[INFO] cloning repository https://github.com/ernestoCruz05/fca [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ernestoCruz05/fca" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FernestoCruz05%2Ffca", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FernestoCruz05%2Ffca'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] af6f3522c2d4033e63bf8775f896fcf4f27b1068 [INFO] testing ernestoCruz05/fca against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FernestoCruz05%2Ffca" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ernestoCruz05/fca [INFO] finished tweaking git repo https://github.com/ernestoCruz05/fca [INFO] tweaked toml for git repo https://github.com/ernestoCruz05/fca written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ernestoCruz05/fca on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ernestoCruz05/fca 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 785fa02e778e598a0b30f39dfd277b49158447d3e4de1dda1168b3f42bf33733 [INFO] running `Command { std: "docker" "start" "-a" "785fa02e778e598a0b30f39dfd277b49158447d3e4de1dda1168b3f42bf33733", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "785fa02e778e598a0b30f39dfd277b49158447d3e4de1dda1168b3f42bf33733", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "785fa02e778e598a0b30f39dfd277b49158447d3e4de1dda1168b3f42bf33733", kill_on_drop: false }` [INFO] [stdout] 785fa02e778e598a0b30f39dfd277b49158447d3e4de1dda1168b3f42bf33733 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b27bb7a9b338970dd4914f3aa417355070b9703141b6745b7ef3983e8eb37de2 [INFO] running `Command { std: "docker" "start" "-a" "b27bb7a9b338970dd4914f3aa417355070b9703141b6745b7ef3983e8eb37de2", kill_on_drop: false }` [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling cc v1.2.31 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling serde_json v1.0.141 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling crc v3.3.0 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling tokio v1.47.0 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling libsqlite3-sys v0.27.0 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling instability v0.3.9 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling castaway v0.2.4 [INFO] [stderr] Compiling indoc v2.0.6 [INFO] [stderr] Compiling compact_str v0.8.1 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling crossterm v0.28.1 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling unicode-truncate v1.1.0 [INFO] [stderr] Compiling ratatui v0.28.1 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Compiling sqlx-sqlite v0.7.4 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Compiling sqlx v0.7.4 [INFO] [stderr] Compiling fca v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `stream` [INFO] [stdout] --> src/server.rs:661:109 [INFO] [stdout] | [INFO] [stdout] 661 | ...rname: &str, sender_id: u16, stream: &TcpStream) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `RoomCreated` and `ServerMessage` are never constructed [INFO] [stdout] --> src/tui_client.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub enum UIUpdate { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 36 | RoomCreated { room_id: u16, name: String, description: String }, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | ServerMessage { content: String, is_error: bool }, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UIUpdate` 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: variants `System` and `Error` are never constructed [INFO] [stdout] --> src/tui_client.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 46 | pub enum ChatMessageType { [INFO] [stdout] | --------------- variants in this enum [INFO] [stdout] 47 | User, [INFO] [stdout] 48 | System, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 49 | Private, [INFO] [stdout] 50 | Error, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChatMessageType` 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: fields `id` and `description` are never read [INFO] [stdout] --> src/tui_client.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct Room { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 63 | pub id: u16, [INFO] [stdout] | ^^ [INFO] [stdout] 64 | pub name: String, [INFO] [stdout] 65 | pub description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Room` 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: struct `StoredMessage` is never constructed [INFO] [stdout] --> src/database.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct StoredMessage { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `current_rooms` is never read [INFO] [stdout] --> src/database.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct UserSession { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 34 | pub current_rooms: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UserSession` 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: multiple methods are never used [INFO] [stdout] --> src/database.rs:364:18 [INFO] [stdout] | [INFO] [stdout] 41 | impl Database { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 364 | pub async fn remove_user_from_room(&self, user_id: u16, room_id: u16) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 376 | pub async fn get_user_rooms(&self, user_id: u16) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 452 | pub async fn get_room_messages(&self, room_id: u16, limit: i64) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 485 | pub async fn get_recent_messages(&self, room_id: u16) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 490 | pub async fn cleanup_old_sessions(&self) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 505 | pub async fn load_all_accounts(&self) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 525 | pub async fn load_all_rooms(&self) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 09s [INFO] running `Command { std: "docker" "inspect" "b27bb7a9b338970dd4914f3aa417355070b9703141b6745b7ef3983e8eb37de2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b27bb7a9b338970dd4914f3aa417355070b9703141b6745b7ef3983e8eb37de2", kill_on_drop: false }` [INFO] [stdout] b27bb7a9b338970dd4914f3aa417355070b9703141b6745b7ef3983e8eb37de2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d530bbc54bf1e15575de00b54486c497099dca03e9d699095f0d09472ce7b340 [INFO] running `Command { std: "docker" "start" "-a" "d530bbc54bf1e15575de00b54486c497099dca03e9d699095f0d09472ce7b340", kill_on_drop: false }` [INFO] [stderr] Compiling fca v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `stream` [INFO] [stdout] --> src/server.rs:661:109 [INFO] [stdout] | [INFO] [stdout] 661 | ...rname: &str, sender_id: u16, stream: &TcpStream) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `RoomCreated` and `ServerMessage` are never constructed [INFO] [stdout] --> src/tui_client.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub enum UIUpdate { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 36 | RoomCreated { room_id: u16, name: String, description: String }, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | ServerMessage { content: String, is_error: bool }, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UIUpdate` 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: variants `System` and `Error` are never constructed [INFO] [stdout] --> src/tui_client.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 46 | pub enum ChatMessageType { [INFO] [stdout] | --------------- variants in this enum [INFO] [stdout] 47 | User, [INFO] [stdout] 48 | System, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 49 | Private, [INFO] [stdout] 50 | Error, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChatMessageType` 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: fields `id` and `description` are never read [INFO] [stdout] --> src/tui_client.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct Room { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 63 | pub id: u16, [INFO] [stdout] | ^^ [INFO] [stdout] 64 | pub name: String, [INFO] [stdout] 65 | pub description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Room` 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: struct `StoredMessage` is never constructed [INFO] [stdout] --> src/database.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct StoredMessage { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `current_rooms` is never read [INFO] [stdout] --> src/database.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct UserSession { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 34 | pub current_rooms: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UserSession` 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: multiple methods are never used [INFO] [stdout] --> src/database.rs:364:18 [INFO] [stdout] | [INFO] [stdout] 41 | impl Database { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 364 | pub async fn remove_user_from_room(&self, user_id: u16, room_id: u16) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 376 | pub async fn get_user_rooms(&self, user_id: u16) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 452 | pub async fn get_room_messages(&self, room_id: u16, limit: i64) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 485 | pub async fn get_recent_messages(&self, room_id: u16) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 490 | pub async fn cleanup_old_sessions(&self) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 505 | pub async fn load_all_accounts(&self) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 525 | pub async fn load_all_rooms(&self) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.06s [INFO] running `Command { std: "docker" "inspect" "d530bbc54bf1e15575de00b54486c497099dca03e9d699095f0d09472ce7b340", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d530bbc54bf1e15575de00b54486c497099dca03e9d699095f0d09472ce7b340", kill_on_drop: false }` [INFO] [stdout] d530bbc54bf1e15575de00b54486c497099dca03e9d699095f0d09472ce7b340 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9b0a7b76760b35d8432e756ae7766f7483f6de4dd23ff109ccdf451dda466f56 [INFO] running `Command { std: "docker" "start" "-a" "9b0a7b76760b35d8432e756ae7766f7483f6de4dd23ff109ccdf451dda466f56", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `stream` [INFO] [stderr] --> src/server.rs:661:109 [INFO] [stderr] | [INFO] [stderr] 661 | ...rname: &str, sender_id: u16, stream: &TcpStream) -> Result<(), Box> { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variants `RoomCreated` and `ServerMessage` are never constructed [INFO] [stderr] --> src/tui_client.rs:36:5 [INFO] [stderr] | [INFO] [stderr] 33 | pub enum UIUpdate { [INFO] [stderr] | -------- variants in this enum [INFO] [stderr] ... [INFO] [stderr] 36 | RoomCreated { room_id: u16, name: String, description: String }, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 39 | ServerMessage { content: String, is_error: bool }, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `UIUpdate` 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: variants `System` and `Error` are never constructed [INFO] [stderr] --> src/tui_client.rs:48:5 [INFO] [stderr] | [INFO] [stderr] 46 | pub enum ChatMessageType { [INFO] [stderr] | --------------- variants in this enum [INFO] [stderr] 47 | User, [INFO] [stderr] 48 | System, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 49 | Private, [INFO] [stderr] 50 | Error, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ChatMessageType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `id` and `description` are never read [INFO] [stderr] --> src/tui_client.rs:63:9 [INFO] [stderr] | [INFO] [stderr] 62 | pub struct Room { [INFO] [stderr] | ---- fields in this struct [INFO] [stderr] 63 | pub id: u16, [INFO] [stderr] | ^^ [INFO] [stderr] 64 | pub name: String, [INFO] [stderr] 65 | pub description: String, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Room` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `StoredMessage` is never constructed [INFO] [stderr] --> src/database.rs:18:12 [INFO] [stderr] | [INFO] [stderr] 18 | pub struct StoredMessage { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `current_rooms` is never read [INFO] [stderr] --> src/database.rs:34:9 [INFO] [stderr] | [INFO] [stderr] 29 | pub struct UserSession { [INFO] [stderr] | ----------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 34 | pub current_rooms: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `UserSession` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: multiple methods are never used [INFO] [stderr] --> src/database.rs:364:18 [INFO] [stderr] | [INFO] [stderr] 41 | impl Database { [INFO] [stderr] | ------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 364 | pub async fn remove_user_from_room(&self, user_id: u16, room_id: u16) -> Result<(), sqlx::Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 376 | pub async fn get_user_rooms(&self, user_id: u16) -> Result, sqlx::Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 452 | pub async fn get_room_messages(&self, room_id: u16, limit: i64) -> Result, sqlx::Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 485 | pub async fn get_recent_messages(&self, room_id: u16) -> Result, sqlx::Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 490 | pub async fn cleanup_old_sessions(&self) -> Result<(), sqlx::Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 505 | pub async fn load_all_accounts(&self) -> Result, sqlx::Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 525 | pub async fn load_all_rooms(&self) -> Result, sqlx::Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `fca` (bin "fca" test) generated 7 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.29s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/fca-ddc70b70b18fa934) [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" "9b0a7b76760b35d8432e756ae7766f7483f6de4dd23ff109ccdf451dda466f56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b0a7b76760b35d8432e756ae7766f7483f6de4dd23ff109ccdf451dda466f56", kill_on_drop: false }` [INFO] [stdout] 9b0a7b76760b35d8432e756ae7766f7483f6de4dd23ff109ccdf451dda466f56