[INFO] cloning repository https://github.com/HarrisDePerceptron/rust-axum-template [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/HarrisDePerceptron/rust-axum-template" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHarrisDePerceptron%2Frust-axum-template", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHarrisDePerceptron%2Frust-axum-template'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1434f2705df328a64642a8d1a4f9d888ec62a3f4 [INFO] building HarrisDePerceptron/rust-axum-template against master#d59f06fc64844ec2073e5e888f7470989ef25ff9 for pr-119440 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHarrisDePerceptron%2Frust-axum-template" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/HarrisDePerceptron/rust-axum-template on toolchain d59f06fc64844ec2073e5e888f7470989ef25ff9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d59f06fc64844ec2073e5e888f7470989ef25ff9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/HarrisDePerceptron/rust-axum-template [INFO] finished tweaking git repo https://github.com/HarrisDePerceptron/rust-axum-template [INFO] tweaked toml for git repo https://github.com/HarrisDePerceptron/rust-axum-template written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/HarrisDePerceptron/rust-axum-template 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" "+d59f06fc64844ec2073e5e888f7470989ef25ff9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (reqwest) specified without providing a local path, Git repository, version, or workspace dependency to use. This will be considered an error in future versions [INFO] [stderr] warning: unused manifest key: dependencies.reqwest.verredission [INFO] [stderr] warning: dependency (uuid) specified without providing a local path, Git repository, version, or workspace dependency to use. This will be considered an error in future versions [INFO] [stderr] warning: unused manifest key: dependencies.uuid.vesion [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded indexmap v2.0.1 [INFO] [stderr] Downloaded matchit v0.7.2 [INFO] [stderr] Downloaded rustc_version_runtime v0.2.1 [INFO] [stderr] Downloaded bson v2.7.0 [INFO] [stderr] Downloaded unwrap v1.2.1 [INFO] [stderr] Downloaded mongodb v2.7.0 [INFO] [stderr] Downloaded future-utils v0.12.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d59f06fc64844ec2073e5e888f7470989ef25ff9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2696aba5228c8ec8ded2c3e6df9a0aa7c6512591cadd48611786babd5d9f73a7 [INFO] running `Command { std: "docker" "start" "-a" "2696aba5228c8ec8ded2c3e6df9a0aa7c6512591cadd48611786babd5d9f73a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2696aba5228c8ec8ded2c3e6df9a0aa7c6512591cadd48611786babd5d9f73a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2696aba5228c8ec8ded2c3e6df9a0aa7c6512591cadd48611786babd5d9f73a7", kill_on_drop: false }` [INFO] [stdout] 2696aba5228c8ec8ded2c3e6df9a0aa7c6512591cadd48611786babd5d9f73a7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d59f06fc64844ec2073e5e888f7470989ef25ff9" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0ebe042efa93bcb573f5df9f5bde8f5d2b42829e4d598f0ce01140d73e93259e [INFO] running `Command { std: "docker" "start" "-a" "0ebe042efa93bcb573f5df9f5bde8f5d2b42829e4d598f0ce01140d73e93259e", kill_on_drop: false }` [INFO] [stderr] warning: dependency (reqwest) specified without providing a local path, Git repository, version, or workspace dependency to use. This will be considered an error in future versions [INFO] [stderr] warning: unused manifest key: dependencies.reqwest.verredission [INFO] [stderr] warning: dependency (uuid) specified without providing a local path, Git repository, version, or workspace dependency to use. This will be considered an error in future versions [INFO] [stderr] warning: unused manifest key: dependencies.uuid.vesion [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling memchr v2.6.3 [INFO] [stderr] Compiling smallvec v1.11.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling tracing-core v0.1.31 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling thiserror v1.0.48 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling async-trait v0.1.73 [INFO] [stderr] Compiling parking_lot_core v0.6.3 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling syn v2.0.31 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling socket2 v0.5.3 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling url v2.4.1 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling cpufeatures v0.2.9 [INFO] [stderr] Compiling bitflags v2.4.0 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling hashbrown v0.14.0 [INFO] [stderr] Compiling serde_json v1.0.106 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling time-core v0.1.1 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling openssl v0.10.57 [INFO] [stderr] Compiling data-encoding v2.4.0 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling time-macros v0.2.14 [INFO] [stderr] Compiling indexmap v2.0.1 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling deranged v0.3.8 [INFO] [stderr] Compiling base64 v0.21.4 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling openssl-sys v0.9.93 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling crossbeam-deque v0.7.4 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling ahash v0.8.3 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling rustix v0.38.13 [INFO] [stderr] Compiling rustls v0.21.7 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling ipnet v2.8.0 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling wyz v0.5.1 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling sha1 v0.10.5 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling rustc_version_runtime v0.2.1 [INFO] [stderr] Compiling aho-corasick v1.0.5 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling linux-raw-sys v0.4.7 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Compiling gimli v0.28.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling funty v2.0.0 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling resolv-conf v0.7.0 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling tokio-uds v0.2.7 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling time v0.3.28 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling object v0.32.1 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling rustc-demangle v0.1.23 [INFO] [stderr] Compiling regex-automata v0.3.8 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling finl_unicode v1.2.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling password-hash v0.5.0 [INFO] [stderr] Compiling stringprep v0.1.4 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling is-terminal v0.4.9 [INFO] [stderr] Compiling pem v1.1.1 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling rustls-pemfile v1.0.3 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling sha-1 v0.10.1 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling pbkdf2 v0.11.0 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling unwrap v1.2.1 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling webpki-roots v0.25.2 [INFO] [stderr] Compiling arc-swap v1.6.0 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling sha1_smol v1.0.0 [INFO] [stderr] Compiling matchit v0.7.2 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling argon2 v0.5.2 [INFO] [stderr] Compiling future-utils v0.12.1 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling thiserror-impl v1.0.48 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling strum_macros v0.25.2 [INFO] [stderr] Compiling rustls-webpki v0.101.6 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling enum-as-inner v0.4.0 [INFO] [stderr] Compiling regex v1.9.5 [INFO] [stderr] Compiling typed-builder v0.10.0 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling tokio v1.32.0 [INFO] [stderr] Compiling env_logger v0.10.0 [INFO] [stderr] Compiling pin-project v1.1.3 [INFO] [stderr] Compiling tungstenite v0.20.1 [INFO] [stderr] Compiling simple_asn1 v0.6.2 [INFO] [stderr] Compiling strum v0.25.0 [INFO] [stderr] Compiling futures-executor v0.3.28 [INFO] [stderr] Compiling futures v0.3.28 [INFO] [stderr] Compiling tokio-util v0.7.8 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling trust-dns-proto v0.21.2 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tokio-retry v0.3.0 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling tokio-tungstenite v0.20.1 [INFO] [stderr] Compiling h2 v0.3.21 [INFO] [stderr] Compiling combine v4.6.6 [INFO] [stderr] Compiling chrono v0.4.31 [INFO] [stderr] Compiling uuid v1.4.1 [INFO] [stderr] Compiling serde_bytes v0.11.12 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_with v1.14.0 [INFO] [stderr] Compiling serde_path_to_error v0.1.14 [INFO] [stderr] Compiling trust-dns-resolver v0.21.2 [INFO] [stderr] Compiling jsonwebtoken v8.3.0 [INFO] [stderr] Compiling bson v2.7.0 [INFO] [stderr] Compiling mongodb v2.7.0 [INFO] [stderr] Compiling hyper v0.14.27 [INFO] [stderr] Compiling redis v0.23.3 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.22 [INFO] [stderr] Compiling rust-axum v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `fmt::Debug` [INFO] [stdout] --> src/app/dao.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{convert::From, fmt::Debug}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections` [INFO] [stdout] --> src/app/user/user_dao.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::collections; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IntoResponse`, `Query`, `Response`, `http::StatusCode` [INFO] [stdout] --> src/app/user/user_routes.rs:2:27 [INFO] [stdout] | [INFO] [stdout] 2 | extract::{Json, Path, Query, State}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 3 | http::HeaderMap, [INFO] [stdout] 4 | http::StatusCode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | response::{IntoResponse, Response}, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mutex` [INFO] [stdout] --> src/app/user/user_routes.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::anyhow as error` [INFO] [stdout] --> src/app/user/user_routes.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use anyhow::anyhow as error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> src/app/user/user_routes.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow` [INFO] [stdout] --> src/server.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{anyhow, Result}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::server_errors` [INFO] [stdout] --> src/server_errors.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::server_errors; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mutex` [INFO] [stdout] --> src/websocket/websocket_handler.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::websocket::websocket_server::WebsocketServer` [INFO] [stdout] --> src/websocket/websocket_handler.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::websocket::websocket_server::WebsocketServer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `redis_pubsub::RedisPubsubAdapter` [INFO] [stdout] --> src/websocket/websocket_server.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use super::{redis_pubsub::RedisPubsubAdapter, socket::AppSocket}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SplitStream` [INFO] [stdout] --> src/websocket/messages.rs:5:25 [INFO] [stdout] | [INFO] [stdout] 5 | stream::{SplitSink, SplitStream, StreamExt}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `app::application_dao::ApplicationDao`, `websocket::room` [INFO] [stdout] --> src/websocket/messages.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | app::application_dao::ApplicationDao, application_factory::ApplicationFactory, websocket::room, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `headers` [INFO] [stdout] --> src/app/user/user_routes.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | headers: HeaderMap, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_headers` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `headers` [INFO] [stdout] --> src/app/user/user_routes.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | headers: HeaderMap, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_headers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `msg` is assigned to, but never used [INFO] [stdout] --> src/websocket/socket.rs:124:21 [INFO] [stdout] | [INFO] [stdout] 124 | let mut msg = String::from("Unknown reason for closing"); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_msg` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `msg` is never read [INFO] [stdout] --> src/websocket/socket.rs:127:17 [INFO] [stdout] | [INFO] [stdout] 127 | msg = format!("Closing... code: {}, reason: {}", f.code, f.reason); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `headers_str` [INFO] [stdout] --> src/websocket/websocket_handler.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | let headers_str = format!("here are the header: {:?}", headers); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_headers_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::app::dao::DaoObj` [INFO] [stdout] --> src/app/user/user_routes.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::app::dao::DaoObj; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StreamExt` [INFO] [stdout] --> src/websocket/messages.rs:5:38 [INFO] [stdout] | [INFO] [stdout] 5 | stream::{SplitSink, SplitStream, StreamExt}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `factory` is never read [INFO] [stdout] --> src/websocket/websocket_server.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct WebsocketServer { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | factory: Arc>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 50.12s [INFO] running `Command { std: "docker" "inspect" "0ebe042efa93bcb573f5df9f5bde8f5d2b42829e4d598f0ce01140d73e93259e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ebe042efa93bcb573f5df9f5bde8f5d2b42829e4d598f0ce01140d73e93259e", kill_on_drop: false }` [INFO] [stdout] 0ebe042efa93bcb573f5df9f5bde8f5d2b42829e4d598f0ce01140d73e93259e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d59f06fc64844ec2073e5e888f7470989ef25ff9" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 91bb0debb832cb46b58abb91b1891dce280b95ed5071a472460b6c4e360cd29d [INFO] running `Command { std: "docker" "start" "-a" "91bb0debb832cb46b58abb91b1891dce280b95ed5071a472460b6c4e360cd29d", kill_on_drop: false }` [INFO] [stderr] warning: dependency (reqwest) specified without providing a local path, Git repository, version, or workspace dependency to use. This will be considered an error in future versions [INFO] [stderr] warning: unused manifest key: dependencies.reqwest.verredission [INFO] [stderr] warning: dependency (uuid) specified without providing a local path, Git repository, version, or workspace dependency to use. This will be considered an error in future versions [INFO] [stderr] warning: unused manifest key: dependencies.uuid.vesion [INFO] [stdout] warning: unused import: `fmt::Debug` [INFO] [stdout] --> src/app/dao.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{convert::From, fmt::Debug}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections` [INFO] [stdout] --> src/app/user/user_dao.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::collections; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IntoResponse`, `Query`, `Response`, `http::StatusCode` [INFO] [stdout] --> src/app/user/user_routes.rs:2:27 [INFO] [stdout] | [INFO] [stdout] 2 | extract::{Json, Path, Query, State}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 3 | http::HeaderMap, [INFO] [stdout] 4 | http::StatusCode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | response::{IntoResponse, Response}, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mutex` [INFO] [stdout] --> src/app/user/user_routes.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::anyhow as error` [INFO] [stdout] --> src/app/user/user_routes.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use anyhow::anyhow as error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> src/app/user/user_routes.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow` [INFO] [stdout] --> src/server.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{anyhow, Result}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::server_errors` [INFO] [stdout] --> src/server_errors.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::server_errors; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mutex` [INFO] [stdout] --> src/websocket/websocket_handler.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::websocket::websocket_server::WebsocketServer` [INFO] [stdout] --> src/websocket/websocket_handler.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::websocket::websocket_server::WebsocketServer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `redis_pubsub::RedisPubsubAdapter` [INFO] [stdout] --> src/websocket/websocket_server.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use super::{redis_pubsub::RedisPubsubAdapter, socket::AppSocket}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SplitStream` [INFO] [stdout] --> src/websocket/messages.rs:5:25 [INFO] [stdout] | [INFO] [stdout] 5 | stream::{SplitSink, SplitStream, StreamExt}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `app::application_dao::ApplicationDao`, `websocket::room` [INFO] [stdout] --> src/websocket/messages.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | app::application_dao::ApplicationDao, application_factory::ApplicationFactory, websocket::room, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `headers` [INFO] [stdout] --> src/app/user/user_routes.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | headers: HeaderMap, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_headers` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `headers` [INFO] [stdout] --> src/app/user/user_routes.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | headers: HeaderMap, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_headers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `msg` is assigned to, but never used [INFO] [stdout] --> src/websocket/socket.rs:124:21 [INFO] [stdout] | [INFO] [stdout] 124 | let mut msg = String::from("Unknown reason for closing"); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_msg` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `msg` is never read [INFO] [stdout] --> src/websocket/socket.rs:127:17 [INFO] [stdout] | [INFO] [stdout] 127 | msg = format!("Closing... code: {}, reason: {}", f.code, f.reason); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `headers_str` [INFO] [stdout] --> src/websocket/websocket_handler.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | let headers_str = format!("here are the header: {:?}", headers); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_headers_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::app::dao::DaoObj` [INFO] [stdout] --> src/app/user/user_routes.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::app::dao::DaoObj; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StreamExt` [INFO] [stdout] --> src/websocket/messages.rs:5:38 [INFO] [stdout] | [INFO] [stdout] 5 | stream::{SplitSink, SplitStream, StreamExt}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `factory` is never read [INFO] [stdout] --> src/websocket/websocket_server.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct WebsocketServer { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | factory: Arc>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rust-axum v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `anyhow as error` [INFO] [stdout] --> examples/websocket_client.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | use anyhow::{anyhow as error, Result}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow as error` [INFO] [stdout] --> examples/redis_test.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{anyhow as error, Result}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::prelude::*` [INFO] [stdout] --> examples/redis_test.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use futures::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `redis::AsyncCommands` [INFO] [stdout] --> examples/redis_test.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use redis::AsyncCommands; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> examples/redis_test.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 73 | / loop { [INFO] [stdout] 74 | | let msg = pubsub.get_message()?; [INFO] [stdout] 75 | | [INFO] [stdout] 76 | | let payload: std::result::Result = msg.get_payload(); [INFO] [stdout] ... | [INFO] [stdout] 80 | | } [INFO] [stdout] 81 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 82 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `adap` [INFO] [stdout] --> examples/redis_test.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | let mut adap = RedisPubsubAdapter::new("room::*", fac); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_adap` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/redis_test.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | let mut adap = RedisPubsubAdapter::new("room::*", fac); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ApplicationContext` is never constructed [INFO] [stdout] --> examples/redis_test.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct ApplicationContext { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pubsub_loop` is never used [INFO] [stdout] --> examples/redis_test.rs:69:4 [INFO] [stdout] | [INFO] [stdout] 69 | fn pubsub_loop(mut con: redis::Connection) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fmt::Debug` [INFO] [stdout] --> src/app/dao.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{convert::From, fmt::Debug}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections` [INFO] [stdout] --> src/app/user/user_dao.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::collections; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IntoResponse`, `Query`, `Response`, `http::StatusCode` [INFO] [stdout] --> src/app/user/user_routes.rs:2:27 [INFO] [stdout] | [INFO] [stdout] 2 | extract::{Json, Path, Query, State}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 3 | http::HeaderMap, [INFO] [stdout] 4 | http::StatusCode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | response::{IntoResponse, Response}, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mutex` [INFO] [stdout] --> src/app/user/user_routes.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::anyhow as error` [INFO] [stdout] --> src/app/user/user_routes.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use anyhow::anyhow as error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> src/app/user/user_routes.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow` [INFO] [stdout] --> src/server.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{anyhow, Result}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::server_errors` [INFO] [stdout] --> src/server_errors.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::server_errors; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mutex` [INFO] [stdout] --> src/websocket/websocket_handler.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::websocket::websocket_server::WebsocketServer` [INFO] [stdout] --> src/websocket/websocket_handler.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::websocket::websocket_server::WebsocketServer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `redis_pubsub::RedisPubsubAdapter` [INFO] [stdout] --> src/websocket/websocket_server.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use super::{redis_pubsub::RedisPubsubAdapter, socket::AppSocket}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SplitStream` [INFO] [stdout] --> src/websocket/messages.rs:5:25 [INFO] [stdout] | [INFO] [stdout] 5 | stream::{SplitSink, SplitStream, StreamExt}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `app::application_dao::ApplicationDao`, `websocket::room` [INFO] [stdout] --> src/websocket/messages.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | app::application_dao::ApplicationDao, application_factory::ApplicationFactory, websocket::room, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `websocket_address` [INFO] [stdout] --> examples/websocket_client.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | let websocket_address = format!("ws://{host}/ws"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_websocket_address` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `headers` [INFO] [stdout] --> src/app/user/user_routes.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | headers: HeaderMap, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_headers` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `headers` [INFO] [stdout] --> src/app/user/user_routes.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | headers: HeaderMap, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_headers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `msg` is assigned to, but never used [INFO] [stdout] --> src/websocket/socket.rs:124:21 [INFO] [stdout] | [INFO] [stdout] 124 | let mut msg = String::from("Unknown reason for closing"); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_msg` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `msg` is never read [INFO] [stdout] --> src/websocket/socket.rs:127:17 [INFO] [stdout] | [INFO] [stdout] 127 | msg = format!("Closing... code: {}, reason: {}", f.code, f.reason); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `headers_str` [INFO] [stdout] --> src/websocket/websocket_handler.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | let headers_str = format!("here are the header: {:?}", headers); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_headers_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::app::dao::DaoObj` [INFO] [stdout] --> src/app/user/user_routes.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::app::dao::DaoObj; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StreamExt` [INFO] [stdout] --> src/websocket/messages.rs:5:38 [INFO] [stdout] | [INFO] [stdout] 5 | stream::{SplitSink, SplitStream, StreamExt}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `factory` is never read [INFO] [stdout] --> src/websocket/websocket_server.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct WebsocketServer { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | factory: Arc>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 6.78s [INFO] running `Command { std: "docker" "inspect" "91bb0debb832cb46b58abb91b1891dce280b95ed5071a472460b6c4e360cd29d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91bb0debb832cb46b58abb91b1891dce280b95ed5071a472460b6c4e360cd29d", kill_on_drop: false }` [INFO] [stdout] 91bb0debb832cb46b58abb91b1891dce280b95ed5071a472460b6c4e360cd29d