[INFO] cloning repository https://github.com/astronautap/Mercal2
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/astronautap/Mercal2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fastronautap%2FMercal2"`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fastronautap%2FMercal2'...
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] 880529a8ad18596f9f638ab33a6940f4cf567e4c
[INFO] testing astronautap/Mercal2 against 1.101.0-beta.1+cargoflags=--release for beta-release-1.101-2
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fastronautap%2FMercal2" "/workspace/builds/worker-4-tc2/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/astronautap/Mercal2
[INFO] finished tweaking git repo https://github.com/astronautap/Mercal2
[INFO] tweaked toml for git repo https://github.com/astronautap/Mercal2 written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/astronautap/Mercal2 on toolchain 1.101.0-beta.1
[INFO] running `"cargo" "+1.101.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps"`
[INFO] crate git repo https://github.com/astronautap/Mercal2 already has a lockfile, it will not be regenerated
[INFO] running `"cargo" "+1.101.0-beta.1" "fetch" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:13253766d39459fde29cea4e7c35a3fe37c2c19b4a224f71f2c27711c2837d36" "sleep" "infinity"`
[INFO] [stdout] 159b3a4bdf4e6904ea7bf4f60ab6cfcffa9a0e299f2288c0aeacd2a706e8dfeb
[INFO] running `"docker" "start" "159b3a4bdf4e6904ea7bf4f60ab6cfcffa9a0e299f2288c0aeacd2a706e8dfeb"`
[INFO] running `"docker" "inspect" "159b3a4bdf4e6904ea7bf4f60ab6cfcffa9a0e299f2288c0aeacd2a706e8dfeb"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "159b3a4bdf4e6904ea7bf4f60ab6cfcffa9a0e299f2288c0aeacd2a706e8dfeb" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "metadata" "--no-deps" "--format-version=1"`
[INFO] running `"docker" "inspect" "159b3a4bdf4e6904ea7bf4f60ab6cfcffa9a0e299f2288c0aeacd2a706e8dfeb"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "159b3a4bdf4e6904ea7bf4f60ab6cfcffa9a0e299f2288c0aeacd2a706e8dfeb" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "build" "--frozen" "--message-format=json" "--release"`
[INFO] [stderr]    Compiling quote v1.0.41
[INFO] [stderr]    Compiling unicode-ident v1.0.20
[INFO] [stderr]    Compiling libc v0.2.177
[INFO] [stderr]    Compiling bytes v1.10.1
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling icu_properties_data v2.0.1
[INFO] [stderr]    Compiling icu_normalizer_data v2.0.0
[INFO] [stderr]    Compiling stable_deref_trait v1.2.1
[INFO] [stderr]    Compiling thiserror v2.0.17
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling generic-array v0.14.9
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]    Compiling time-core v0.1.6
[INFO] [stderr]    Compiling zerocopy v0.8.27
[INFO] [stderr]    Compiling maybe-uninit v2.0.0
[INFO] [stderr]    Compiling serde_json v1.0.145
[INFO] [stderr]    Compiling memchr v2.7.6
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling futures v0.1.31
[INFO] [stderr]    Compiling litemap v0.8.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.101
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling writeable v0.6.1
[INFO] [stderr]    Compiling find-msvc-tools v0.1.4
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling time-macros v0.2.24
[INFO] [stderr]    Compiling http v1.3.1
[INFO] [stderr]    Compiling syn v2.0.107
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling cc v1.2.41
[INFO] [stderr]    Compiling deranged v0.5.4
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling parking_lot_core v0.6.3
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling itoa v1.0.15
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling parking_lot v0.9.0
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling smallvec v0.6.14
[INFO] [stderr]    Compiling memoffset v0.5.6
[INFO] [stderr]    Compiling once_cell v1.21.3
[INFO] [stderr]    Compiling slab v0.4.11
[INFO] [stderr]    Compiling powerfmt v0.2.0
[INFO] [stderr]    Compiling futures-io v0.3.31
[INFO] [stderr]    Compiling ryu v1.0.20
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling tracing-core v0.1.34
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling http-body-util v0.1.3
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.2
[INFO] [stderr]    Compiling tokio-executor v0.1.10
[INFO] [stderr]    Compiling lock_api v0.3.4
[INFO] [stderr]    Compiling hashbrown v0.16.0
[INFO] [stderr]    Compiling log v0.4.28
[INFO] [stderr]    Compiling iana-time-zone v0.1.64
[INFO] [stderr]    Compiling mio v1.1.0
[INFO] [stderr]    Compiling socket2 v0.6.1
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling signal-hook-registry v1.4.6
[INFO] [stderr]    Compiling iovec v0.1.4
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling libsqlite3-sys v0.30.1
[INFO] [stderr]    Compiling bytes v0.4.12
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling num_cpus v1.17.0
[INFO] [stderr]    Compiling tokio-io v0.1.13
[INFO] [stderr]    Compiling net2 v0.2.39
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling crc v3.3.0
[INFO] [stderr]    Compiling mio v0.6.23
[INFO] [stderr]    Compiling tokio v1.48.0
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]    Compiling time v0.3.44
[INFO] [stderr]    Compiling indexmap v2.12.0
[INFO] [stderr]    Compiling chrono v0.4.42
[INFO] [stderr]    Compiling event-listener v5.4.1
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling tokio-sync v0.1.8
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling uuid v1.18.1
[INFO] [stderr]    Compiling flume v0.11.1
[INFO] [stderr]    Compiling rand_core v0.9.3
[INFO] [stderr]    Compiling concurrent-queue v2.5.0
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling tokio-reactor v0.1.12
[INFO] [stderr]    Compiling rand_chacha v0.9.0
[INFO] [stderr]    Compiling crossbeam-deque v0.7.4
[INFO] [stderr]    Compiling tokio-codec v0.1.2
[INFO] [stderr]    Compiling crossbeam-queue v0.3.12
[INFO] [stderr]    Compiling crossbeam-queue v0.2.3
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling cookie v0.18.1
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling tokio-threadpool v0.1.18
[INFO] [stderr]    Compiling rand v0.9.2
[INFO] [stderr]    Compiling mio-uds v0.6.8
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling inout v0.1.4
[INFO] [stderr]    Compiling utf-8 v0.7.6
[INFO] [stderr]    Compiling regex-syntax v0.8.8
[INFO] [stderr]    Compiling cipher v0.4.4
[INFO] [stderr]    Compiling tokio-uds v0.2.7
[INFO] [stderr]    Compiling rmp v0.8.14
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling tokio-udp v0.1.6
[INFO] [stderr]    Compiling tokio-tcp v0.1.4
[INFO] [stderr]    Compiling tokio-timer v0.2.13
[INFO] [stderr]    Compiling tokio-fs v0.1.7
[INFO] [stderr]    Compiling tokio-current-thread v0.1.7
[INFO] [stderr]    Compiling anyhow v1.0.100
[INFO] [stderr]    Compiling rustc-hash v2.1.1
[INFO] [stderr]    Compiling blowfish v0.9.1
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling serde_path_to_error v0.1.20
[INFO] [stderr]    Compiling tokio v0.1.22
[INFO] [stderr]    Compiling thread_local v1.1.9
[INFO] [stderr]    Compiling log v0.3.9
[INFO] [stderr]    Compiling void v1.0.2
[INFO] [stderr]    Compiling nu-ansi-term v0.50.3
[INFO] [stderr]    Compiling bitflags v2.10.0
[INFO] [stderr]    Compiling unwrap v1.2.1
[INFO] [stderr]    Compiling bcrypt v0.17.1
[INFO] [stderr]    Compiling future-utils v0.12.1
[INFO] [stderr]    Compiling serde_derive v1.0.228
[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 displaydoc v0.2.5
[INFO] [stderr]    Compiling tracing-attributes v0.1.30
[INFO] [stderr]    Compiling thiserror-impl v2.0.17
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling axum-macros v0.5.0
[INFO] [stderr]    Compiling regex-automata v0.4.13
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.8.0
[INFO] [stderr]    Compiling zerotrie v0.2.2
[INFO] [stderr]    Compiling tungstenite v0.28.0
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling zerovec v0.11.4
[INFO] [stderr]    Compiling tokio-stream v0.1.17
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling axum-core v0.5.5
[INFO] [stderr]    Compiling tower-http v0.6.6
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling tinystr v0.8.1
[INFO] [stderr]    Compiling potential_utf v0.1.3
[INFO] [stderr]    Compiling icu_collections v2.0.0
[INFO] [stderr]    Compiling icu_locale_core v2.0.0
[INFO] [stderr]    Compiling serde v1.0.228
[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 either v1.15.0
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling basic-toml v0.1.10
[INFO] [stderr]    Compiling askama_parser v0.14.0
[INFO] [stderr]    Compiling lock_api v0.4.14
[INFO] [stderr]    Compiling matchers v0.2.0
[INFO] [stderr]    Compiling rmp-serde v1.3.0
[INFO] [stderr]    Compiling tracing-subscriber v0.3.20
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling url v2.5.7
[INFO] [stderr]    Compiling tower-cookies v0.11.0
[INFO] [stderr]    Compiling askama_derive v0.14.0
[INFO] [stderr]    Compiling sqlx-core v0.8.6
[INFO] [stderr]    Compiling askama v0.14.0
[INFO] [stderr]    Compiling sqlx-sqlite v0.8.6
[INFO] [stderr]    Compiling tower-sessions-core v0.14.0
[INFO] [stderr]    Compiling hyper v1.7.0
[INFO] [stderr]    Compiling tokio-tungstenite v0.28.0
[INFO] [stderr]    Compiling tower v0.5.2
[INFO] [stderr]    Compiling tower-sessions-memory-store v0.14.0
[INFO] [stderr]    Compiling tower-sessions v0.14.0
[INFO] [stderr]    Compiling hyper-util v0.1.17
[INFO] [stderr]    Compiling axum v0.8.6
[INFO] [stderr]    Compiling sqlx-macros-core v0.8.6
[INFO] [stderr]    Compiling sqlx-macros v0.8.6
[INFO] [stderr]    Compiling sqlx v0.8.6
[INFO] [stderr]    Compiling tower-sessions-sqlx-store v0.15.0
[INFO] [stderr]    Compiling mercal2 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `models::user::User`
[INFO] [stdout]  --> src/services/auth_service.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 |     models::user::User, // User agora espera created_at: Option<String>
[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: `sqlx::SqlitePool`
[INFO] [stdout]  --> src/services/auth_service.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use sqlx::SqlitePool;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `AppError`
[INFO] [stdout]  --> src/services/presence_service.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 |     error::{AppError, AppResult}, // Erros e Result da aplicação
[INFO] [stdout]   |             ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `WebSocket`
[INFO] [stdout]  --> src/state.rs:2:34
[INFO] [stdout]   |
[INFO] [stdout] 2 | use axum::extract::ws::{Message, WebSocket}; // Adicionar imports WebSocket
[INFO] [stdout]   |                                  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `futures_util::stream::SplitSink`
[INFO] [stdout]  --> src/state.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use futures_util::stream::SplitSink; // Adicionar SplitSink
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]   --> src/web/admin_handlers.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use std::collections::HashMap; // Para processar form
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `IntoResponse`
[INFO] [stdout]   --> src/web/mw_admin.rs:11:16
[INFO] [stdout]    |
[INFO] [stdout] 11 |     response::{IntoResponse, Response}, // REMOVER Redirect daqui
[INFO] [stdout]    |                ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tower_sessions::Session`
[INFO] [stdout]   --> src/web/mw_admin.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use tower_sessions::Session; // Para aceder à sessão
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `models::user::User`
[INFO] [stdout]  --> src/web/presence_handlers.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     models::user::User,          // Para buscar ano do user
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `SplitSink` and `SplitStream`
[INFO] [stdout]   --> src/web/presence_handlers.rs:22:29
[INFO] [stdout]    |
[INFO] [stdout] 22 | use futures_util::{stream::{SplitSink, SplitStream, StreamExt}, SinkExt}; // Para manipular WS stream
[INFO] [stdout]    |                             ^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]   --> src/web/presence_handlers.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | use std::sync::Arc; // Para clonar AppState
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Mutex`
[INFO] [stdout]   --> src/web/presence_handlers.rs:25:25
[INFO] [stdout]    |
[INFO] [stdout] 25 | use tokio::sync::{mpsc, Mutex}; // Para canal WS
[INFO] [stdout]    |                         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `user_ids`
[INFO] [stdout]    --> src/services/presence_service.rs:104:9
[INFO] [stdout]     |
[INFO] [stdout] 104 |     let user_ids: Vec<String> = users_in_turma.iter().map(|u| u.id.clone()).collect();
[INFO] [stdout]     |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_ids`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key`
[INFO] [stdout]   --> src/main.rs:78:9
[INFO] [stdout]    |
[INFO] [stdout] 78 |     let key = Key::from(secret_key_string.as_bytes());
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `InvalidCredentials` is never constructed
[INFO] [stdout]   --> src/error.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout]  6 | pub enum AppError {
[INFO] [stdout]    |          -------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 22 |     InvalidCredentials,
[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: fields `updated_at` and `created_at` are never read
[INFO] [stdout]   --> src/models/user.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub struct User {
[INFO] [stdout]    |            ---- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 17 |     pub updated_at: Option<NaiveDateTime>,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 18 |     pub created_at: Option<NaiveDateTime>,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `User` 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 `UserRole` is never constructed
[INFO] [stdout]   --> src/models/user.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub struct UserRole {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Troca` is never constructed
[INFO] [stdout]   --> src/models/escala.rs:27:12
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub struct Troca {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Indisponibilidade` is never constructed
[INFO] [stdout]   --> src/models/escala.rs:38:12
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub struct Indisponibilidade {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name`, `genero`, `turma`, `servicos_rn`, and `servicos_rd` are never read
[INFO] [stdout]   --> src/models/escala.rs:53:9
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub struct Candidato {
[INFO] [stdout]    |            --------- fields in this struct
[INFO] [stdout] 52 |     pub id: String,
[INFO] [stdout] 53 |     pub name: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 54 |     pub genero: String,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 55 |     pub turma: String,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 56 |     pub ano: i64,
[INFO] [stdout] 57 |     pub servicos_rn: i64, 
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 58 |     pub servicos_rd: i64,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Candidato` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Alocacao` is never constructed
[INFO] [stdout]   --> src/models/escala.rs:63:12
[INFO] [stdout]    |
[INFO] [stdout] 63 | pub struct Alocacao {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `aprovar_troca_impl_completa` is never used
[INFO] [stdout]    --> src/services/escala_service.rs:376:10
[INFO] [stdout]     |
[INFO] [stdout] 376 | async fn aprovar_troca_impl_completa(pool: &SqlitePool, troca_id: &str) -> Result<String, String> {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `data` is never read
[INFO] [stdout]   --> src/templates.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub struct MeuServico {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] 20 |     pub data: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `MeuServico` 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 `turma` is never read
[INFO] [stdout]   --> src/templates.rs:53:9
[INFO] [stdout]    |
[INFO] [stdout] 48 | pub struct AlocacaoExibicao {
[INFO] [stdout]    |            ---------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 53 |     pub turma: String,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AlocacaoExibicao` 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 `user_name` is never read
[INFO] [stdout]    --> src/templates.rs:144:9
[INFO] [stdout]     |
[INFO] [stdout] 143 | pub struct AdminEscalaPage {
[INFO] [stdout]     |            --------------- field in this struct
[INFO] [stdout] 144 |     pub user_name: String,
[INFO] [stdout]     |         ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: unused dependency `future-utils`
[INFO] [stderr]  --> Cargo.toml:6:1
[INFO] [stderr]   |
[INFO] [stderr] 6 | future-utils = "0.12.1"
[INFO] [stderr]   | ^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `cargo::unused_dependencies` is set to `warn` by default
[INFO] [stderr] help: consider removing the dependency on `future-utils`
[INFO] [stderr] warning: `mercal2` (manifest) generated 1 warning
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 3m 56s
[INFO] running `"docker" "inspect" "159b3a4bdf4e6904ea7bf4f60ab6cfcffa9a0e299f2288c0aeacd2a706e8dfeb"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "159b3a4bdf4e6904ea7bf4f60ab6cfcffa9a0e299f2288c0aeacd2a706e8dfeb" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json" "--release"`
[INFO] [stderr]    Compiling mercal2 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `models::user::User`
[INFO] [stdout]  --> src/services/auth_service.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 |     models::user::User, // User agora espera created_at: Option<String>
[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: `sqlx::SqlitePool`
[INFO] [stdout]  --> src/services/auth_service.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use sqlx::SqlitePool;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `AppError`
[INFO] [stdout]  --> src/services/presence_service.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 |     error::{AppError, AppResult}, // Erros e Result da aplicação
[INFO] [stdout]   |             ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `WebSocket`
[INFO] [stdout]  --> src/state.rs:2:34
[INFO] [stdout]   |
[INFO] [stdout] 2 | use axum::extract::ws::{Message, WebSocket}; // Adicionar imports WebSocket
[INFO] [stdout]   |                                  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `futures_util::stream::SplitSink`
[INFO] [stdout]  --> src/state.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use futures_util::stream::SplitSink; // Adicionar SplitSink
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]   --> src/web/admin_handlers.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use std::collections::HashMap; // Para processar form
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `IntoResponse`
[INFO] [stdout]   --> src/web/mw_admin.rs:11:16
[INFO] [stdout]    |
[INFO] [stdout] 11 |     response::{IntoResponse, Response}, // REMOVER Redirect daqui
[INFO] [stdout]    |                ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tower_sessions::Session`
[INFO] [stdout]   --> src/web/mw_admin.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use tower_sessions::Session; // Para aceder à sessão
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `models::user::User`
[INFO] [stdout]  --> src/web/presence_handlers.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     models::user::User,          // Para buscar ano do user
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `SplitSink` and `SplitStream`
[INFO] [stdout]   --> src/web/presence_handlers.rs:22:29
[INFO] [stdout]    |
[INFO] [stdout] 22 | use futures_util::{stream::{SplitSink, SplitStream, StreamExt}, SinkExt}; // Para manipular WS stream
[INFO] [stdout]    |                             ^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]   --> src/web/presence_handlers.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | use std::sync::Arc; // Para clonar AppState
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Mutex`
[INFO] [stdout]   --> src/web/presence_handlers.rs:25:25
[INFO] [stdout]    |
[INFO] [stdout] 25 | use tokio::sync::{mpsc, Mutex}; // Para canal WS
[INFO] [stdout]    |                         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `user_ids`
[INFO] [stdout]    --> src/services/presence_service.rs:104:9
[INFO] [stdout]     |
[INFO] [stdout] 104 |     let user_ids: Vec<String> = users_in_turma.iter().map(|u| u.id.clone()).collect();
[INFO] [stdout]     |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_ids`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key`
[INFO] [stdout]   --> src/main.rs:78:9
[INFO] [stdout]    |
[INFO] [stdout] 78 |     let key = Key::from(secret_key_string.as_bytes());
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `InvalidCredentials` is never constructed
[INFO] [stdout]   --> src/error.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout]  6 | pub enum AppError {
[INFO] [stdout]    |          -------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 22 |     InvalidCredentials,
[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: fields `updated_at` and `created_at` are never read
[INFO] [stdout]   --> src/models/user.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub struct User {
[INFO] [stdout]    |            ---- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 17 |     pub updated_at: Option<NaiveDateTime>,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 18 |     pub created_at: Option<NaiveDateTime>,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `User` 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 `UserRole` is never constructed
[INFO] [stdout]   --> src/models/user.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub struct UserRole {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Troca` is never constructed
[INFO] [stdout]   --> src/models/escala.rs:27:12
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub struct Troca {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Indisponibilidade` is never constructed
[INFO] [stdout]   --> src/models/escala.rs:38:12
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub struct Indisponibilidade {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name`, `genero`, `turma`, `servicos_rn`, and `servicos_rd` are never read
[INFO] [stdout]   --> src/models/escala.rs:53:9
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub struct Candidato {
[INFO] [stdout]    |            --------- fields in this struct
[INFO] [stdout] 52 |     pub id: String,
[INFO] [stdout] 53 |     pub name: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 54 |     pub genero: String,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 55 |     pub turma: String,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 56 |     pub ano: i64,
[INFO] [stdout] 57 |     pub servicos_rn: i64, 
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 58 |     pub servicos_rd: i64,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Candidato` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Alocacao` is never constructed
[INFO] [stdout]   --> src/models/escala.rs:63:12
[INFO] [stdout]    |
[INFO] [stdout] 63 | pub struct Alocacao {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `aprovar_troca_impl_completa` is never used
[INFO] [stdout]    --> src/services/escala_service.rs:376:10
[INFO] [stdout]     |
[INFO] [stdout] 376 | async fn aprovar_troca_impl_completa(pool: &SqlitePool, troca_id: &str) -> Result<String, String> {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `data` is never read
[INFO] [stdout]   --> src/templates.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub struct MeuServico {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] 20 |     pub data: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `MeuServico` 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 `turma` is never read
[INFO] [stdout]   --> src/templates.rs:53:9
[INFO] [stdout]    |
[INFO] [stdout] 48 | pub struct AlocacaoExibicao {
[INFO] [stdout]    |            ---------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 53 |     pub turma: String,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AlocacaoExibicao` 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 `user_name` is never read
[INFO] [stdout]    --> src/templates.rs:144:9
[INFO] [stdout]     |
[INFO] [stdout] 143 | pub struct AdminEscalaPage {
[INFO] [stdout]     |            --------------- field in this struct
[INFO] [stdout] 144 |     pub user_name: String,
[INFO] [stdout]     |         ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: unused dependency `future-utils`
[INFO] [stderr]  --> Cargo.toml:6:1
[INFO] [stderr]   |
[INFO] [stderr] 6 | future-utils = "0.12.1"
[INFO] [stderr]   | ^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `cargo::unused_dependencies` is set to `warn` by default
[INFO] [stderr] help: consider removing the dependency on `future-utils`
[INFO] [stderr] warning: `mercal2` (manifest) generated 1 warning
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 9.76s
[INFO] running `"docker" "inspect" "159b3a4bdf4e6904ea7bf4f60ab6cfcffa9a0e299f2288c0aeacd2a706e8dfeb"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "159b3a4bdf4e6904ea7bf4f60ab6cfcffa9a0e299f2288c0aeacd2a706e8dfeb" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "test" "--frozen" "--release"`
[INFO] [stderr] warning: unused import: `models::user::User`
[INFO] [stderr]  --> src/services/auth_service.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 |     models::user::User, // User agora espera created_at: Option<String>
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `sqlx::SqlitePool`
[INFO] [stderr]  --> src/services/auth_service.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use sqlx::SqlitePool;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `AppError`
[INFO] [stderr]  --> src/services/presence_service.rs:3:13
[INFO] [stderr]   |
[INFO] [stderr] 3 |     error::{AppError, AppResult}, // Erros e Result da aplicação
[INFO] [stderr]   |             ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `WebSocket`
[INFO] [stderr]  --> src/state.rs:2:34
[INFO] [stderr]   |
[INFO] [stderr] 2 | use axum::extract::ws::{Message, WebSocket}; // Adicionar imports WebSocket
[INFO] [stderr]   |                                  ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `futures_util::stream::SplitSink`
[INFO] [stderr]  --> src/state.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use futures_util::stream::SplitSink; // Adicionar SplitSink
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::collections::HashMap`
[INFO] [stderr]   --> src/web/admin_handlers.rs:18:5
[INFO] [stderr]    |
[INFO] [stderr] 18 | use std::collections::HashMap; // Para processar form
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `IntoResponse`
[INFO] [stderr]   --> src/web/mw_admin.rs:11:16
[INFO] [stderr]    |
[INFO] [stderr] 11 |     response::{IntoResponse, Response}, // REMOVER Redirect daqui
[INFO] [stderr]    |                ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `tower_sessions::Session`
[INFO] [stderr]   --> src/web/mw_admin.rs:13:5
[INFO] [stderr]    |
[INFO] [stderr] 13 | use tower_sessions::Session; // Para aceder à sessão
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `models::user::User`
[INFO] [stderr]  --> src/web/presence_handlers.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 |     models::user::User,          // Para buscar ano do user
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `SplitSink` and `SplitStream`
[INFO] [stderr]   --> src/web/presence_handlers.rs:22:29
[INFO] [stderr]    |
[INFO] [stderr] 22 | use futures_util::{stream::{SplitSink, SplitStream, StreamExt}, SinkExt}; // Para manipular WS stream
[INFO] [stderr]    |                             ^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::sync::Arc`
[INFO] [stderr]   --> src/web/presence_handlers.rs:24:5
[INFO] [stderr]    |
[INFO] [stderr] 24 | use std::sync::Arc; // Para clonar AppState
[INFO] [stderr]    |     ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Mutex`
[INFO] [stderr]   --> src/web/presence_handlers.rs:25:25
[INFO] [stderr]    |
[INFO] [stderr] 25 | use tokio::sync::{mpsc, Mutex}; // Para canal WS
[INFO] [stderr]    |                         ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `user_ids`
[INFO] [stderr]    --> src/services/presence_service.rs:104:9
[INFO] [stderr]     |
[INFO] [stderr] 104 |     let user_ids: Vec<String> = users_in_turma.iter().map(|u| u.id.clone()).collect();
[INFO] [stderr]     |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_ids`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `key`
[INFO] [stderr]   --> src/main.rs:78:9
[INFO] [stderr]    |
[INFO] [stderr] 78 |     let key = Key::from(secret_key_string.as_bytes());
[INFO] [stderr]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_key`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `InvalidCredentials` is never constructed
[INFO] [stderr]   --> src/error.rs:22:5
[INFO] [stderr]    |
[INFO] [stderr]  6 | pub enum AppError {
[INFO] [stderr]    |          -------- variant in this enum
[INFO] [stderr] ...
[INFO] [stderr] 22 |     InvalidCredentials,
[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: fields `updated_at` and `created_at` are never read
[INFO] [stderr]   --> src/models/user.rs:17:9
[INFO] [stderr]    |
[INFO] [stderr]  9 | pub struct User {
[INFO] [stderr]    |            ---- fields in this struct
[INFO] [stderr] ...
[INFO] [stderr] 17 |     pub updated_at: Option<NaiveDateTime>,
[INFO] [stderr]    |         ^^^^^^^^^^
[INFO] [stderr] 18 |     pub created_at: Option<NaiveDateTime>,
[INFO] [stderr]    |         ^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `User` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: struct `UserRole` is never constructed
[INFO] [stderr]   --> src/models/user.rs:30:12
[INFO] [stderr]    |
[INFO] [stderr] 30 | pub struct UserRole {
[INFO] [stderr]    |            ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Troca` is never constructed
[INFO] [stderr]   --> src/models/escala.rs:27:12
[INFO] [stderr]    |
[INFO] [stderr] 27 | pub struct Troca {
[INFO] [stderr]    |            ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Indisponibilidade` is never constructed
[INFO] [stderr]   --> src/models/escala.rs:38:12
[INFO] [stderr]    |
[INFO] [stderr] 38 | pub struct Indisponibilidade {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `name`, `genero`, `turma`, `servicos_rn`, and `servicos_rd` are never read
[INFO] [stderr]   --> src/models/escala.rs:53:9
[INFO] [stderr]    |
[INFO] [stderr] 51 | pub struct Candidato {
[INFO] [stderr]    |            --------- fields in this struct
[INFO] [stderr] 52 |     pub id: String,
[INFO] [stderr] 53 |     pub name: String,
[INFO] [stderr]    |         ^^^^
[INFO] [stderr] 54 |     pub genero: String,
[INFO] [stderr]    |         ^^^^^^
[INFO] [stderr] 55 |     pub turma: String,
[INFO] [stderr]    |         ^^^^^
[INFO] [stderr] 56 |     pub ano: i64,
[INFO] [stderr] 57 |     pub servicos_rn: i64, 
[INFO] [stderr]    |         ^^^^^^^^^^^
[INFO] [stderr] 58 |     pub servicos_rd: i64,
[INFO] [stderr]    |         ^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `Candidato` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Alocacao` is never constructed
[INFO] [stderr]   --> src/models/escala.rs:63:12
[INFO] [stderr]    |
[INFO] [stderr] 63 | pub struct Alocacao {
[INFO] [stderr]    |            ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `aprovar_troca_impl_completa` is never used
[INFO] [stderr]    --> src/services/escala_service.rs:376:10
[INFO] [stderr]     |
[INFO] [stderr] 376 | async fn aprovar_troca_impl_completa(pool: &SqlitePool, troca_id: &str) -> Result<String, String> {
[INFO] [stderr]     |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `data` is never read
[INFO] [stderr]   --> src/templates.rs:20:9
[INFO] [stderr]    |
[INFO] [stderr] 19 | pub struct MeuServico {
[INFO] [stderr]    |            ---------- field in this struct
[INFO] [stderr] 20 |     pub data: String,
[INFO] [stderr]    |         ^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `MeuServico` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: field `turma` is never read
[INFO] [stderr]   --> src/templates.rs:53:9
[INFO] [stderr]    |
[INFO] [stderr] 48 | pub struct AlocacaoExibicao {
[INFO] [stderr]    |            ---------------- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 53 |     pub turma: String,
[INFO] [stderr]    |         ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `AlocacaoExibicao` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: field `user_name` is never read
[INFO] [stderr]    --> src/templates.rs:144:9
[INFO] [stderr]     |
[INFO] [stderr] 143 | pub struct AdminEscalaPage {
[INFO] [stderr]     |            --------------- field in this struct
[INFO] [stderr] 144 |     pub user_name: String,
[INFO] [stderr]     |         ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `mercal2` (bin "mercal2" test) generated 25 warnings (run `cargo fix --bin "mercal2" -p mercal2 --tests` to apply 14 suggestions)
[INFO] [stderr] warning: unused dependency `future-utils`
[INFO] [stderr]  --> Cargo.toml:6:1
[INFO] [stderr]   |
[INFO] [stderr] 6 | future-utils = "0.12.1"
[INFO] [stderr]   | ^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `cargo::unused_dependencies` is set to `warn` by default
[INFO] [stderr] help: consider removing the dependency on `future-utils`
[INFO] [stderr] warning: `mercal2` (manifest) generated 1 warning
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 0.32s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/release/build/mercal2/0d2e98d7c1ea9ab0/out/mercal2-0d2e98d7c1ea9ab0)
[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 `"docker" "inspect" "159b3a4bdf4e6904ea7bf4f60ab6cfcffa9a0e299f2288c0aeacd2a706e8dfeb"`
[INFO] running `"docker" "rm" "-f" "159b3a4bdf4e6904ea7bf4f60ab6cfcffa9a0e299f2288c0aeacd2a706e8dfeb"`
[INFO] [stdout] 159b3a4bdf4e6904ea7bf4f60ab6cfcffa9a0e299f2288c0aeacd2a706e8dfeb
