[INFO] cloning repository https://github.com/CarlosLees/rust-chat [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CarlosLees/rust-chat" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCarlosLees%2Frust-chat", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCarlosLees%2Frust-chat'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c5c148c4945fd4a6ed336818d3330d70e8b2f01e [INFO] testing CarlosLees/rust-chat/c5c148c4945fd4a6ed336818d3330d70e8b2f01e against 1.83.0 for beta-1.84.0-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCarlosLees%2Frust-chat" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/CarlosLees/rust-chat on toolchain 1.83.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.83.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/CarlosLees/rust-chat [INFO] finished tweaking git repo https://github.com/CarlosLees/rust-chat [INFO] tweaked toml for git repo https://github.com/CarlosLees/rust-chat written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/CarlosLees/rust-chat 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" "+1.83.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hmac-sha1-compact v1.1.4 [INFO] [stderr] Downloaded binstring v0.1.1 [INFO] [stderr] Downloaded ed25519-compact v2.1.1 [INFO] [stderr] Downloaded jwt-simple v0.12.9 [INFO] [stderr] Downloaded p384 v0.13.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+1.83.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e46951b81a27cc7dcf2994e079214e3ebb6a02eb15ced2e5c198936dc6bae8cf [INFO] running `Command { std: "docker" "start" "-a" "e46951b81a27cc7dcf2994e079214e3ebb6a02eb15ced2e5c198936dc6bae8cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e46951b81a27cc7dcf2994e079214e3ebb6a02eb15ced2e5c198936dc6bae8cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e46951b81a27cc7dcf2994e079214e3ebb6a02eb15ced2e5c198936dc6bae8cf", kill_on_drop: false }` [INFO] [stdout] e46951b81a27cc7dcf2994e079214e3ebb6a02eb15ced2e5c198936dc6bae8cf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+1.83.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 32aaed38fd29a24cfc340fb266984a8f0af348a66a3bf79aada76b1848d3821f [INFO] running `Command { std: "docker" "start" "-a" "32aaed38fd29a24cfc340fb266984a8f0af348a66a3bf79aada76b1848d3821f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling serde v1.0.206 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling bytes v1.7.1 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling cc v1.1.10 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling serde_json v1.0.122 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling der v0.7.9 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling syn v2.0.73 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling mio v1.0.1 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling parking v2.2.0 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling event-listener v5.3.1 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling tokio v1.39.2 [INFO] [stderr] Compiling ff v0.13.0 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling unicode-properties v0.1.1 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling base16ct v0.2.0 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling crypto-bigint v0.5.5 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling whoami v1.5.1 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling axum v0.7.5 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling sqlformat v0.2.4 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling pkcs1 v0.7.5 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling headers-core v0.3.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling headers v0.4.0 [INFO] [stderr] Compiling hmac-sha512 v1.1.5 [INFO] [stderr] Compiling hmac-sha256 v1.1.7 [INFO] [stderr] Compiling constant_time_eq v0.3.0 [INFO] [stderr] Compiling arrayref v0.3.8 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling ct-codecs v1.1.1 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling ed25519-compact v2.1.1 [INFO] [stderr] Compiling password-hash v0.5.0 [INFO] [stderr] Compiling blake2b_simd v1.0.2 [INFO] [stderr] Compiling elliptic-curve v0.13.8 [INFO] [stderr] Compiling tempfile v3.12.0 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling coarsetime v0.1.34 [INFO] [stderr] Compiling hmac-sha1-compact v1.1.4 [INFO] [stderr] Compiling binstring v0.1.1 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling argon2 v0.5.3 [INFO] [stderr] Compiling ecdsa v0.16.9 [INFO] [stderr] Compiling primeorder v0.13.6 [INFO] [stderr] Compiling k256 v0.13.3 [INFO] [stderr] Compiling p384 v0.13.0 [INFO] [stderr] Compiling p256 v0.13.2 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Compiling serde_derive v1.0.206 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling indexmap v2.3.0 [INFO] [stderr] Compiling hashlink v0.9.1 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling serde_path_to_error v0.1.16 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling h2 v0.4.5 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling sqlx-core v0.8.0 [INFO] [stderr] Compiling rsa v0.9.6 [INFO] [stderr] Compiling superboring v0.1.2 [INFO] [stderr] Compiling jwt-simple v0.12.9 [INFO] [stderr] Compiling sqlx-postgres v0.8.0 [INFO] [stderr] Compiling hyper v1.4.1 [INFO] [stderr] Compiling hyper-util v0.1.7 [INFO] [stderr] Compiling sqlx-macros-core v0.8.0 [INFO] [stderr] Compiling sqlx-macros v0.8.0 [INFO] [stderr] Compiling axum-extra v0.9.3 [INFO] [stderr] Compiling sqlx v0.8.0 [INFO] [stderr] Compiling notify-server v0.1.0 (/opt/rustwide/workdir/notify-server) [INFO] [stderr] Compiling chat-server v0.1.0 (/opt/rustwide/workdir/chat-server) [INFO] [stdout] warning: unused import: `std::hash::Hash` [INFO] [stdout] --> chat-server/src/models/user.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::hash::Hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `jwt::*` [INFO] [stdout] --> chat-server/src/utils/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use jwt::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::User` [INFO] [stdout] --> chat-server/src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::models::User; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `password_hash` is never read [INFO] [stdout] --> chat-server/src/models/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct User { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | pub password_hash: Option, [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] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `find_by_email`, `create_user`, and `verify` are never used [INFO] [stdout] --> chat-server/src/models/user.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 10 | impl User { [INFO] [stdout] | --------- associated functions in this implementation [INFO] [stdout] 11 | pub async fn find_by_email(email: &str, pool: &sqlx::PgPool) -> Result, AppError> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub async fn create_user( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub async fn verify( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hash_password` is never used [INFO] [stdout] --> chat-server/src/models/user.rs:69:4 [INFO] [stdout] | [INFO] [stdout] 69 | fn hash_password(password: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_password` is never used [INFO] [stdout] --> chat-server/src/models/user.rs:82:4 [INFO] [stdout] | [INFO] [stdout] 82 | fn verify_password(password: &str, password_hash: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `JWT_DURATION` is never used [INFO] [stdout] --> chat-server/src/utils/jwt.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const JWT_DURATION: u64 = 60 * 60 * 24 * 7; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_token` is never used [INFO] [stdout] --> chat-server/src/utils/jwt.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn generate_token(user: User, key: &EncodingKey) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 00s [INFO] running `Command { std: "docker" "inspect" "32aaed38fd29a24cfc340fb266984a8f0af348a66a3bf79aada76b1848d3821f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32aaed38fd29a24cfc340fb266984a8f0af348a66a3bf79aada76b1848d3821f", kill_on_drop: false }` [INFO] [stdout] 32aaed38fd29a24cfc340fb266984a8f0af348a66a3bf79aada76b1848d3821f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+1.83.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 50c5392013642dc3bd8e2f32315134e0d7b66dd01a15cb4ad6acf0529338fdae [INFO] running `Command { std: "docker" "start" "-a" "50c5392013642dc3bd8e2f32315134e0d7b66dd01a15cb4ad6acf0529338fdae", kill_on_drop: false }` [INFO] [stderr] Compiling notify-server v0.1.0 (/opt/rustwide/workdir/notify-server) [INFO] [stderr] Compiling chat-server v0.1.0 (/opt/rustwide/workdir/chat-server) [INFO] [stdout] warning: unused import: `std::hash::Hash` [INFO] [stdout] --> chat-server/src/models/user.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::hash::Hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `jwt::*` [INFO] [stdout] --> chat-server/src/utils/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use jwt::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::User` [INFO] [stdout] --> chat-server/src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::models::User; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `password_hash` is never read [INFO] [stdout] --> chat-server/src/models/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct User { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | pub password_hash: Option, [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] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `find_by_email`, `create_user`, and `verify` are never used [INFO] [stdout] --> chat-server/src/models/user.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 10 | impl User { [INFO] [stdout] | --------- associated functions in this implementation [INFO] [stdout] 11 | pub async fn find_by_email(email: &str, pool: &sqlx::PgPool) -> Result, AppError> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub async fn create_user( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub async fn verify( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hash_password` is never used [INFO] [stdout] --> chat-server/src/models/user.rs:69:4 [INFO] [stdout] | [INFO] [stdout] 69 | fn hash_password(password: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_password` is never used [INFO] [stdout] --> chat-server/src/models/user.rs:82:4 [INFO] [stdout] | [INFO] [stdout] 82 | fn verify_password(password: &str, password_hash: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `JWT_DURATION` is never used [INFO] [stdout] --> chat-server/src/utils/jwt.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const JWT_DURATION: u64 = 60 * 60 * 24 * 7; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_token` is never used [INFO] [stdout] --> chat-server/src/utils/jwt.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn generate_token(user: User, key: &EncodingKey) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.94s [INFO] running `Command { std: "docker" "inspect" "50c5392013642dc3bd8e2f32315134e0d7b66dd01a15cb4ad6acf0529338fdae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50c5392013642dc3bd8e2f32315134e0d7b66dd01a15cb4ad6acf0529338fdae", kill_on_drop: false }` [INFO] [stdout] 50c5392013642dc3bd8e2f32315134e0d7b66dd01a15cb4ad6acf0529338fdae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+1.83.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f15776bddb04f7fec7532f604cd00e49156c2a8c1e6de6cdbcdd45906cdf794d [INFO] running `Command { std: "docker" "start" "-a" "f15776bddb04f7fec7532f604cd00e49156c2a8c1e6de6cdbcdd45906cdf794d", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::hash::Hash` [INFO] [stderr] --> chat-server/src/models/user.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use std::hash::Hash; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `jwt::*` [INFO] [stderr] --> chat-server/src/utils/mod.rs:3:9 [INFO] [stderr] | [INFO] [stderr] 3 | pub use jwt::*; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::models::User` [INFO] [stderr] --> chat-server/src/main.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use crate::models::User; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `password_hash` is never read [INFO] [stderr] --> chat-server/src/models/mod.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct User { [INFO] [stderr] | ---- field in this struct [INFO] [stderr] ... [INFO] [stderr] 14 | pub password_hash: Option, [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] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated functions `find_by_email`, `create_user`, and `verify` are never used [INFO] [stderr] --> chat-server/src/models/user.rs:11:18 [INFO] [stderr] | [INFO] [stderr] 10 | impl User { [INFO] [stderr] | --------- associated functions in this implementation [INFO] [stderr] 11 | pub async fn find_by_email(email: &str, pool: &sqlx::PgPool) -> Result, AppError> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 22 | pub async fn create_user( [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 41 | pub async fn verify( [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `hash_password` is never used [INFO] [stderr] --> chat-server/src/models/user.rs:69:4 [INFO] [stderr] | [INFO] [stderr] 69 | fn hash_password(password: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `verify_password` is never used [INFO] [stderr] --> chat-server/src/models/user.rs:82:4 [INFO] [stderr] | [INFO] [stderr] 82 | fn verify_password(password: &str, password_hash: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `JWT_DURATION` is never used [INFO] [stderr] --> chat-server/src/utils/jwt.rs:6:7 [INFO] [stderr] | [INFO] [stderr] 6 | const JWT_DURATION: u64 = 60 * 60 * 24 * 7; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `generate_token` is never used [INFO] [stderr] --> chat-server/src/utils/jwt.rs:11:8 [INFO] [stderr] | [INFO] [stderr] 11 | pub fn generate_token(user: User, key: &EncodingKey) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `chat-server` (bin "chat-server" test) generated 9 warnings (run `cargo fix --bin "chat-server" --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.28s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/chat_server-cbbbc39876aa7bb5) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/notify_server-4d45de660055f2d1) [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/notify_server-5725f4ca8731f87f) [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] [stdout] [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests notify_server [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] [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" "f15776bddb04f7fec7532f604cd00e49156c2a8c1e6de6cdbcdd45906cdf794d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f15776bddb04f7fec7532f604cd00e49156c2a8c1e6de6cdbcdd45906cdf794d", kill_on_drop: false }` [INFO] [stdout] f15776bddb04f7fec7532f604cd00e49156c2a8c1e6de6cdbcdd45906cdf794d