[INFO] cloning repository https://github.com/StellarWitch7/connectr [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/StellarWitch7/connectr" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStellarWitch7%2Fconnectr", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStellarWitch7%2Fconnectr'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 50f0991cc9607a5309e098eeaf2c448c94d98c94 [INFO] checking StellarWitch7/connectr against try#5ff93158e08fa2205cd4b86cddf9eae95952cc96 for pr-129543-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStellarWitch7%2Fconnectr" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/StellarWitch7/connectr [INFO] finished tweaking git repo https://github.com/StellarWitch7/connectr [INFO] tweaked toml for git repo https://github.com/StellarWitch7/connectr written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/StellarWitch7/connectr on toolchain 5ff93158e08fa2205cd4b86cddf9eae95952cc96 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5ff93158e08fa2205cd4b86cddf9eae95952cc96" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/StellarWitch7/connectr 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" "+5ff93158e08fa2205cd4b86cddf9eae95952cc96" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded outref v0.5.2 [INFO] [stderr] Downloaded uuid-simd v0.8.0 [INFO] [stderr] Downloaded vsimd v0.8.0 [INFO] [stderr] Downloaded unix-ts-macros v1.0.0 [INFO] [stderr] Downloaded unix-ts v1.0.0 [INFO] [stderr] Downloaded sqlx-sqlite v0.8.3 [INFO] [stderr] Downloaded tokio-openssl v0.6.5 [INFO] [stderr] Downloaded sqlx-macros v0.8.3 [INFO] [stderr] Downloaded actix-ws v0.3.0 [INFO] [stderr] Downloaded native-tls v0.2.13 [INFO] [stderr] Downloaded env_logger v0.11.6 [INFO] [stderr] Downloaded pipebuf v0.3.2 [INFO] [stderr] Downloaded tempfile v3.15.0 [INFO] [stderr] Downloaded sqlx-core v0.8.3 [INFO] [stderr] Downloaded sqlx-mysql v0.8.3 [INFO] [stderr] Downloaded sqlx v0.8.3 [INFO] [stderr] Downloaded sqlx-postgres v0.8.3 [INFO] [stderr] Downloaded sqlx-macros-core v0.8.3 [INFO] [stderr] Downloaded hex-simd v0.8.0 [INFO] [stderr] Downloaded brotli-decompressor v4.0.2 [INFO] [stderr] Downloaded aws-lc-rs v1.12.2 [INFO] [stderr] Downloaded secstr v0.5.1 [INFO] [stderr] Downloaded openssl v0.10.69 [INFO] [stderr] Downloaded openssl-src v300.4.1+3.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+5ff93158e08fa2205cd4b86cddf9eae95952cc96" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7383dee57ee2814f8ae794e4e5b2080285ca07650514c12318503cdff4bf0e8d [INFO] running `Command { std: "docker" "start" "-a" "7383dee57ee2814f8ae794e4e5b2080285ca07650514c12318503cdff4bf0e8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7383dee57ee2814f8ae794e4e5b2080285ca07650514c12318503cdff4bf0e8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7383dee57ee2814f8ae794e4e5b2080285ca07650514c12318503cdff4bf0e8d", kill_on_drop: false }` [INFO] [stdout] 7383dee57ee2814f8ae794e4e5b2080285ca07650514c12318503cdff4bf0e8d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+5ff93158e08fa2205cd4b86cddf9eae95952cc96" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d7277788e377538b91fffa9c747127c998192b7dbce52424c162e7ebebc93d74 [INFO] running `Command { std: "docker" "start" "-a" "d7277788e377538b91fffa9c747127c998192b7dbce52424c162e7ebebc93d74", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.15 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking log v0.4.25 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling cc v1.2.10 [INFO] [stderr] Compiling serde_json v1.0.137 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Compiling openssl v0.10.69 [INFO] [stderr] Checking tokio v1.43.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Checking foldhash v0.1.4 [INFO] [stderr] Compiling native-tls v0.2.13 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling openssl-src v300.4.1+3.4.0 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Compiling der v0.7.9 [INFO] [stderr] Checking indexmap v2.7.1 [INFO] [stderr] Compiling cmake v0.1.52 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Checking local-waker v0.1.4 [INFO] [stderr] Compiling aws-lc-sys v0.25.0 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking polyval v0.6.2 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking tokio-util v0.7.13 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling tokio-openssl v0.6.5 [INFO] [stderr] Checking alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Checking alloc-stdlib v0.2.2 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling tinyvec v1.8.1 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Checking actix-rt v2.10.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Checking actix-utils v3.0.1 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking actix-service v2.0.2 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling time-macros v0.2.19 [INFO] [stderr] Checking miniz_oxide v0.8.3 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Checking zerofrom v0.1.5 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking bitflags v2.8.0 [INFO] [stderr] Compiling thiserror-impl v2.0.11 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling chrono v0.4.39 [INFO] [stderr] Compiling pkcs1 v0.7.5 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Checking brotli-decompressor v4.0.2 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Checking ghash v0.5.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling bytestring v1.4.0 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling aws-lc-rs v1.12.2 [INFO] [stderr] Compiling uuid v1.12.1 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Checking impl-more v0.1.9 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Checking time v0.3.37 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling sqlx-core v0.8.3 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Checking flate2 v1.0.35 [INFO] [stderr] Checking brotli v6.0.0 [INFO] [stderr] Compiling rsa v0.9.7 [INFO] [stderr] Checking aes-gcm v0.10.3 [INFO] [stderr] Checking ahash v0.8.11 [INFO] [stderr] Checking zstd v0.13.2 [INFO] [stderr] Checking actix-codec v0.5.2 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Checking local-channel v0.1.5 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling whoami v1.5.2 [INFO] [stderr] Checking language-tags v0.3.2 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Checking base64 v0.20.0 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling tempfile v3.15.0 [INFO] [stderr] Compiling sqlx-mysql v0.8.3 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking actix-server v2.5.0 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Compiling v_htmlescape v0.15.8 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking outref v0.5.2 [INFO] [stderr] Compiling rustls v0.23.21 [INFO] [stderr] Checking vsimd v0.8.0 [INFO] [stderr] Checking clap_builder v4.5.27 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking env_filter v0.1.3 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Compiling unix-ts-macros v1.0.0 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking http-range v0.1.5 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking uuid-simd v0.8.0 [INFO] [stderr] Checking unix-ts v1.0.0 [INFO] [stderr] Checking hex-simd v0.8.0 [INFO] [stderr] Checking shellexpand v3.1.0 [INFO] [stderr] Checking aes-gcm-siv v0.11.1 [INFO] [stderr] Checking env_logger v0.11.6 [INFO] [stderr] Checking secstr v0.5.1 [INFO] [stderr] Checking pipebuf v0.3.2 [INFO] [stderr] Compiling sqlx-macros-core v0.8.3 [INFO] [stderr] Checking clap v4.5.27 [INFO] [stderr] Compiling sqlx-macros v0.8.3 [INFO] [stderr] Checking rustls-webpki v0.102.8 [INFO] [stderr] Checking actix-tls v3.4.0 [INFO] [stderr] Checking actix-http v3.9.0 [INFO] [stderr] Checking actix-web v4.9.0 [INFO] [stderr] Checking sqlx v0.8.3 [INFO] [stderr] Checking actix-ws v0.3.0 [INFO] [stderr] Checking actix-files v0.6.6 [INFO] [stderr] Checking connectr v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/request_handler.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::Path; [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: `std::path::Path` [INFO] [stdout] --> src/request_handler.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::Path; [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: `Write` [INFO] [stdout] --> src/util.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{Cursor, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/util.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{Cursor, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Responder` [INFO] [stdout] --> src/util.rs:3:52 [INFO] [stdout] | [INFO] [stdout] 3 | use actix_web::{HttpResponse, HttpResponseBuilder, Responder}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Responder` [INFO] [stdout] --> src/util.rs:3:52 [INFO] [stdout] | [INFO] [stdout] 3 | use actix_web::{HttpResponse, HttpResponseBuilder, Responder}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Thread` [INFO] [stdout] --> src/api.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::data::{Message, Thread, User}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Thread` [INFO] [stdout] --> src/api.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::data::{Message, Thread, User}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `util` [INFO] [stdout] --> src/api.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::{util, Args}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `util` [INFO] [stdout] --> src/api.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::{util, Args}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `web` [INFO] [stdout] --> src/api.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | use actix_web::{get, post, web, Error, HttpRequest, HttpResponse, Responder}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `web` [INFO] [stdout] --> src/api.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | use actix_web::{get, post, web, Error, HttpRequest, HttpResponse, Responder}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Local` [INFO] [stdout] --> src/api.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use chrono::Local; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Local` [INFO] [stdout] --> src/api.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use chrono::Local; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> src/api.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | use log::{debug, info}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> src/api.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | use log::{debug, info}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::OnceCell` [INFO] [stdout] --> src/api.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::cell::OnceCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::OnceCell` [INFO] [stdout] --> src/api.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::cell::OnceCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Cursor` [INFO] [stdout] --> src/api.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::io::Cursor; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Cursor` [INFO] [stdout] --> src/api.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::io::Cursor; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/api.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/api.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HttpResponse` [INFO] [stdout] --> src/main.rs:14:39 [INFO] [stdout] | [INFO] [stdout] 14 | use actix_web::{middleware, web, App, HttpResponse, HttpServer}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HttpResponse` [INFO] [stdout] --> src/main.rs:14:39 [INFO] [stdout] | [INFO] [stdout] 14 | use actix_web::{middleware, web, App, HttpResponse, HttpServer}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/api.rs:42:52 [INFO] [stdout] | [INFO] [stdout] 41 | sessions.retain(|user, session| { [INFO] [stdout] | --------------- this is not `async` [INFO] [stdout] 42 | match session.binary(response.clone()).await { [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/api.rs:42:52 [INFO] [stdout] | [INFO] [stdout] 41 | sessions.retain(|user, session| { [INFO] [stdout] | --------------- this is not `async` [INFO] [stdout] 42 | match session.binary(response.clone()).await { [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: borrow of moved value: `user` [INFO] [stdout] --> src/api.rs:70:50 [INFO] [stdout] | [INFO] [stdout] 63 | let user = match check_auth(&req, &auth_data, &args).await { [INFO] [stdout] | ---- move occurs because `user` has type `User`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 69 | get_heart().register(user, session); [INFO] [stdout] | ---- value moved here [INFO] [stdout] 70 | info!("@{} is now listening for heartbeats", user.name); [INFO] [stdout] | ^^^^^^^^^ value borrowed here after move [INFO] [stdout] | [INFO] [stdout] note: consider changing this parameter type in method `register` to borrow instead if owning the value isn't necessary [INFO] [stdout] --> src/api.rs:31:34 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn register(&self, user: User, session: Session) { [INFO] [stdout] | -------- ^^^^ this parameter takes ownership of the value [INFO] [stdout] | | [INFO] [stdout] | in this method [INFO] [stdout] = note: this error originates in the macro `$crate::__private_api::format_args` which comes from the expansion of the macro `info` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 69 | get_heart().register(user.clone(), session); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: borrow of moved value: `user` [INFO] [stdout] --> src/api.rs:70:50 [INFO] [stdout] | [INFO] [stdout] 63 | let user = match check_auth(&req, &auth_data, &args).await { [INFO] [stdout] | ---- move occurs because `user` has type `User`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 69 | get_heart().register(user, session); [INFO] [stdout] | ---- value moved here [INFO] [stdout] 70 | info!("@{} is now listening for heartbeats", user.name); [INFO] [stdout] | ^^^^^^^^^ value borrowed here after move [INFO] [stdout] | [INFO] [stdout] note: consider changing this parameter type in method `register` to borrow instead if owning the value isn't necessary [INFO] [stdout] --> src/api.rs:31:34 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn register(&self, user: User, session: Session) { [INFO] [stdout] | -------- ^^^^ this parameter takes ownership of the value [INFO] [stdout] | | [INFO] [stdout] | in this method [INFO] [stdout] = note: this error originates in the macro `$crate::__private_api::format_args` which comes from the expansion of the macro `info` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 69 | get_heart().register(user.clone(), session); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `insert` exists for struct `std::sync::MutexGuard<'_, HashMap>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/api.rs:32:42 [INFO] [stdout] | [INFO] [stdout] 32 | self.connections.lock().unwrap().insert(user, session); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/data.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct User { [INFO] [stdout] | --------------- doesn't satisfy `User: Eq` or `User: Hash` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `User: Eq` [INFO] [stdout] `User: Hash` [INFO] [stdout] help: consider annotating `User` with `#[derive(Eq, Hash, PartialEq)]` [INFO] [stdout] --> src/data.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 + #[derive(Eq, Hash, PartialEq)] [INFO] [stdout] 7 | pub struct User { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `insert` exists for struct `std::sync::MutexGuard<'_, HashMap>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/api.rs:32:42 [INFO] [stdout] | [INFO] [stdout] 32 | self.connections.lock().unwrap().insert(user, session); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/data.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct User { [INFO] [stdout] | --------------- doesn't satisfy `User: Eq` or `User: Hash` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `User: Eq` [INFO] [stdout] `User: Hash` [INFO] [stdout] help: consider annotating `User` with `#[derive(Eq, Hash, PartialEq)]` [INFO] [stdout] --> src/data.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 + #[derive(Eq, Hash, PartialEq)] [INFO] [stdout] 7 | pub struct User { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Executor` [INFO] [stdout] --> src/db_manager.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | use sqlx::{Error, Executor, MySql, Pool}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Executor` [INFO] [stdout] --> src/db_manager.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | use sqlx::{Error, Executor, MySql, Pool}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/request_handler.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | Some(user) => match get_file(req.path(), "/", &args.root_path) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/request_handler.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | Some(user) => match get_file(req.path(), "/", &args.root_path) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/request_handler.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 20 | Some(user) => match get_file(req.path(), "/download/", &args.root_path) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/request_handler.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 20 | Some(user) => match get_file(req.path(), "/download/", &args.root_path) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/auth.rs:46:44 [INFO] [stdout] | [INFO] [stdout] 46 | T::try_from(contents).or_else(|e| Err(format!("Invalid {secret} length"))) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/auth.rs:46:44 [INFO] [stdout] | [INFO] [stdout] 46 | T::try_from(contents).or_else(|e| Err(format!("Invalid {secret} length"))) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/auth.rs:165:19 [INFO] [stdout] | [INFO] [stdout] 165 | .or_else(|e| Err("Failed to decrypt data".to_string()))?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/auth.rs:165:19 [INFO] [stdout] | [INFO] [stdout] 165 | .or_else(|e| Err("Failed to decrypt data".to_string()))?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stream` [INFO] [stdout] --> src/api.rs:68:24 [INFO] [stdout] | [INFO] [stdout] 68 | let (res, session, stream) = actix_ws::handle(&req, stream)?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stream` [INFO] [stdout] --> src/api.rs:68:24 [INFO] [stdout] | [INFO] [stdout] 68 | let (res, session, stream) = actix_ws::handle(&req, stream)?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0382, E0599, E0728. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0382, E0599, E0728. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0382`. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0382`. [INFO] [stdout] [INFO] [stderr] error: could not compile `connectr` (bin "connectr" test) due to 3 previous errors; 18 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `connectr` (bin "connectr") due to 3 previous errors; 18 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d7277788e377538b91fffa9c747127c998192b7dbce52424c162e7ebebc93d74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7277788e377538b91fffa9c747127c998192b7dbce52424c162e7ebebc93d74", kill_on_drop: false }` [INFO] [stdout] d7277788e377538b91fffa9c747127c998192b7dbce52424c162e7ebebc93d74