[INFO] cloning repository https://github.com/Morpheus-tech-io/CaiTH-server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Morpheus-tech-io/CaiTH-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMorpheus-tech-io%2FCaiTH-server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMorpheus-tech-io%2FCaiTH-server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 79da5c75ccee0efc531343b7cac23e6c2250e32b [INFO] testing Morpheus-tech-io/CaiTH-server against 1.86.0 for beta-1.87-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMorpheus-tech-io%2FCaiTH-server" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Morpheus-tech-io/CaiTH-server on toolchain 1.86.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.86.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Morpheus-tech-io/CaiTH-server [INFO] finished tweaking git repo https://github.com/Morpheus-tech-io/CaiTH-server [INFO] tweaked toml for git repo https://github.com/Morpheus-tech-io/CaiTH-server written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Morpheus-tech-io/CaiTH-server 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.86.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ring v0.17.10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1.86.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bc9f0b18380aff59bb6502a08cbae1aa5c90a6fefa450fa58106e2f8f60c643c [INFO] running `Command { std: "docker" "start" "-a" "bc9f0b18380aff59bb6502a08cbae1aa5c90a6fefa450fa58106e2f8f60c643c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bc9f0b18380aff59bb6502a08cbae1aa5c90a6fefa450fa58106e2f8f60c643c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc9f0b18380aff59bb6502a08cbae1aa5c90a6fefa450fa58106e2f8f60c643c", kill_on_drop: false }` [INFO] [stdout] bc9f0b18380aff59bb6502a08cbae1aa5c90a6fefa450fa58106e2f8f60c643c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1.86.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 505cb893662ee255623e697756bb4ad36f6933cb02b18d2db492b5313b15968a [INFO] running `Command { std: "docker" "start" "-a" "505cb893662ee255623e697756bb4ad36f6933cb02b18d2db492b5313b15968a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.17 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling bytes v1.10.0 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling once_cell v1.20.3 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling cc v1.2.15 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling foldhash v0.1.4 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling rustls-pki-types v1.11.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling serde_json v1.0.139 [INFO] [stderr] Compiling ryu v1.0.19 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Compiling rustls v0.23.23 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling httparse v1.10.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling tinyvec v1.8.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling webpki-roots v0.26.8 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling openssl v0.10.71 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling ring v0.17.10 [INFO] [stderr] Compiling openssl-sys v0.9.106 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling uuid v1.14.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling whoami v1.5.2 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling rustversion v1.0.19 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling time-macros v0.2.19 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling data-encoding v2.8.0 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling tempfile v3.17.1 [INFO] [stderr] Compiling time v0.3.37 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling pem v3.0.5 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling http-range-header v0.4.2 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling serde_derive v1.0.218 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [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 tracing-attributes v0.1.28 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v2.0.11 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.86 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling simple_asn1 v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tungstenite v0.24.0 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.16 [INFO] [stderr] Compiling chrono v0.4.39 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling jsonwebtoken v9.3.1 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling sqlx-core v0.8.3 [INFO] [stderr] Compiling sqlx-postgres v0.8.3 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-tungstenite v0.24.0 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling tower-http v0.5.2 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling sqlx-macros-core v0.8.3 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling sqlx-macros v0.8.3 [INFO] [stderr] Compiling sqlx v0.8.3 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling CaiTH-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Request`, `Response`, `StatusCode`, and `ws::Message` [INFO] [stdout] --> src/main.rs:5:47 [INFO] [stdout] | [INFO] [stdout] 5 | extract::{WebSocketUpgrade, Query, State, ws::Message}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 6 | response::{Response, IntoResponse}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 7 | http::{Request, StatusCode}, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/config.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::response::Response` [INFO] [stdout] --> src/error.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use axum::response::Response; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `conn_manager` is never read [INFO] [stdout] --> src/main.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 93 | struct AppState { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 94 | ws_handler: Arc, [INFO] [stdout] 95 | conn_manager: ConnectionManager, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Config` is never constructed [INFO] [stdout] --> src/config.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Config { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ServerConfig` is never constructed [INFO] [stdout] --> src/config.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct ServerConfig { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ServerConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HasuraConfig` is never constructed [INFO] [stdout] --> src/config.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct HasuraConfig { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HasuraConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `load` is never used [INFO] [stdout] --> src/config.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Config { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 23 | pub fn load() -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `AuthError` is never constructed [INFO] [stdout] --> src/error.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Error { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 5 | #[error("Authentication failed")] [INFO] [stdout] 6 | AuthError, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `team_size`, `from_str`, and `to_str` are never used [INFO] [stdout] --> src/models/game.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl MatchType { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 12 | pub fn team_size(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn from_str(s: &str) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn to_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MatchMember` is never constructed [INFO] [stdout] --> src/models/game.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct MatchMember { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MatchMember` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MatchTeam` is never constructed [INFO] [stdout] --> src/models/game.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub struct MatchTeam { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MatchTeam` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `admin_secret` is never read [INFO] [stdout] --> src/db/hasura_client.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct HasuraClient { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | admin_secret: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `insert_match_discoveries_one` is never read [INFO] [stdout] --> src/db/hasura_match_repository.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 32 | struct DiscoveryInsertResponse { [INFO] [stdout] | ----------------------- field in this struct [INFO] [stdout] 33 | insert_match_discoveries_one: DiscoveryData, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DiscoveryInsertResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `match_teams` is never read [INFO] [stdout] --> src/db/hasura_match_repository.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 47 | struct TeamsQueryResponse { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 48 | match_teams: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TeamsQueryResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `record_discovery`, `end_match`, `get_match_teams`, and `get_match_details` are never used [INFO] [stdout] --> src/db/hasura_match_repository.rs:299:18 [INFO] [stdout] | [INFO] [stdout] 112 | impl HasuraMatchRepository { [INFO] [stdout] | -------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 299 | pub async fn record_discovery(&self, match_id: Uuid, team_id: Uuid, user_id: Uuid, treasure_id: Uuid, score: i32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 372 | pub async fn end_match(&self, match_id: Uuid) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 486 | pub async fn get_match_teams(&self, match_id: Uuid) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 537 | pub async fn get_match_details(&self, match_id: Uuid) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `end_match`, `record_discovery`, and `get_match_details` are never used [INFO] [stdout] --> src/matchmaking/service.rs:375:18 [INFO] [stdout] | [INFO] [stdout] 20 | impl MatchService { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 375 | pub async fn end_match(&self, match_id: Uuid) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 400 | pub async fn record_discovery(&self, match_id: Uuid, team_id: Uuid, user_id: Uuid, treasure_id: Uuid, score: i32) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 409 | pub async fn get_match_details(&self, match_id: Uuid) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 35s [INFO] running `Command { std: "docker" "inspect" "505cb893662ee255623e697756bb4ad36f6933cb02b18d2db492b5313b15968a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "505cb893662ee255623e697756bb4ad36f6933cb02b18d2db492b5313b15968a", kill_on_drop: false }` [INFO] [stdout] 505cb893662ee255623e697756bb4ad36f6933cb02b18d2db492b5313b15968a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1.86.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 35d674ce5ec7fd3b9132da4ccf39f2787807bd3b502da03108b80601136191ed [INFO] running `Command { std: "docker" "start" "-a" "35d674ce5ec7fd3b9132da4ccf39f2787807bd3b502da03108b80601136191ed", kill_on_drop: false }` [INFO] [stderr] Compiling CaiTH-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Request`, `Response`, `StatusCode`, and `ws::Message` [INFO] [stdout] --> src/main.rs:5:47 [INFO] [stdout] | [INFO] [stdout] 5 | extract::{WebSocketUpgrade, Query, State, ws::Message}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 6 | response::{Response, IntoResponse}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 7 | http::{Request, StatusCode}, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/config.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::response::Response` [INFO] [stdout] --> src/error.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use axum::response::Response; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `conn_manager` is never read [INFO] [stdout] --> src/main.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 93 | struct AppState { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 94 | ws_handler: Arc, [INFO] [stdout] 95 | conn_manager: ConnectionManager, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Config` is never constructed [INFO] [stdout] --> src/config.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Config { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ServerConfig` is never constructed [INFO] [stdout] --> src/config.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct ServerConfig { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ServerConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HasuraConfig` is never constructed [INFO] [stdout] --> src/config.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct HasuraConfig { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HasuraConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `load` is never used [INFO] [stdout] --> src/config.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Config { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 23 | pub fn load() -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `AuthError` is never constructed [INFO] [stdout] --> src/error.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Error { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 5 | #[error("Authentication failed")] [INFO] [stdout] 6 | AuthError, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `team_size`, `from_str`, and `to_str` are never used [INFO] [stdout] --> src/models/game.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl MatchType { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 12 | pub fn team_size(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn from_str(s: &str) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn to_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MatchMember` is never constructed [INFO] [stdout] --> src/models/game.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct MatchMember { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MatchMember` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MatchTeam` is never constructed [INFO] [stdout] --> src/models/game.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub struct MatchTeam { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MatchTeam` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `admin_secret` is never read [INFO] [stdout] --> src/db/hasura_client.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct HasuraClient { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | admin_secret: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `insert_match_discoveries_one` is never read [INFO] [stdout] --> src/db/hasura_match_repository.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 32 | struct DiscoveryInsertResponse { [INFO] [stdout] | ----------------------- field in this struct [INFO] [stdout] 33 | insert_match_discoveries_one: DiscoveryData, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DiscoveryInsertResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `match_teams` is never read [INFO] [stdout] --> src/db/hasura_match_repository.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 47 | struct TeamsQueryResponse { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 48 | match_teams: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TeamsQueryResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `record_discovery`, `end_match`, `get_match_teams`, and `get_match_details` are never used [INFO] [stdout] --> src/db/hasura_match_repository.rs:299:18 [INFO] [stdout] | [INFO] [stdout] 112 | impl HasuraMatchRepository { [INFO] [stdout] | -------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 299 | pub async fn record_discovery(&self, match_id: Uuid, team_id: Uuid, user_id: Uuid, treasure_id: Uuid, score: i32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 372 | pub async fn end_match(&self, match_id: Uuid) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 486 | pub async fn get_match_teams(&self, match_id: Uuid) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 537 | pub async fn get_match_details(&self, match_id: Uuid) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `end_match`, `record_discovery`, and `get_match_details` are never used [INFO] [stdout] --> src/matchmaking/service.rs:375:18 [INFO] [stdout] | [INFO] [stdout] 20 | impl MatchService { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 375 | pub async fn end_match(&self, match_id: Uuid) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 400 | pub async fn record_discovery(&self, match_id: Uuid, team_id: Uuid, user_id: Uuid, treasure_id: Uuid, score: i32) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 409 | pub async fn get_match_details(&self, match_id: Uuid) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.45s [INFO] running `Command { std: "docker" "inspect" "35d674ce5ec7fd3b9132da4ccf39f2787807bd3b502da03108b80601136191ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35d674ce5ec7fd3b9132da4ccf39f2787807bd3b502da03108b80601136191ed", kill_on_drop: false }` [INFO] [stdout] 35d674ce5ec7fd3b9132da4ccf39f2787807bd3b502da03108b80601136191ed [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1.86.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7673f48814c664ec2d942b6fd9bfdc3ecebadbfad2ddafbe9078736d09b5df92 [INFO] running `Command { std: "docker" "start" "-a" "7673f48814c664ec2d942b6fd9bfdc3ecebadbfad2ddafbe9078736d09b5df92", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `Request`, `Response`, `StatusCode`, and `ws::Message` [INFO] [stderr] --> src/main.rs:5:47 [INFO] [stderr] | [INFO] [stderr] 5 | extract::{WebSocketUpgrade, Query, State, ws::Message}, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 6 | response::{Response, IntoResponse}, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 7 | http::{Request, StatusCode}, [INFO] [stderr] | ^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::sync::Arc` [INFO] [stderr] --> src/config.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::Arc; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `axum::response::Response` [INFO] [stderr] --> src/error.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use axum::response::Response; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `conn_manager` is never read [INFO] [stderr] --> src/main.rs:95:5 [INFO] [stderr] | [INFO] [stderr] 93 | struct AppState { [INFO] [stderr] | -------- field in this struct [INFO] [stderr] 94 | ws_handler: Arc, [INFO] [stderr] 95 | conn_manager: ConnectionManager, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `AppState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: struct `Config` is never constructed [INFO] [stderr] --> src/config.rs:5:12 [INFO] [stderr] | [INFO] [stderr] 5 | pub struct Config { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `ServerConfig` is never constructed [INFO] [stderr] --> src/config.rs:11:12 [INFO] [stderr] | [INFO] [stderr] 11 | pub struct ServerConfig { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ServerConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `HasuraConfig` is never constructed [INFO] [stderr] --> src/config.rs:17:12 [INFO] [stderr] | [INFO] [stderr] 17 | pub struct HasuraConfig { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `HasuraConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: associated function `load` is never used [INFO] [stderr] --> src/config.rs:23:12 [INFO] [stderr] | [INFO] [stderr] 22 | impl Config { [INFO] [stderr] | ----------- associated function in this implementation [INFO] [stderr] 23 | pub fn load() -> Self { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant `AuthError` is never constructed [INFO] [stderr] --> src/error.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 4 | pub enum Error { [INFO] [stderr] | ----- variant in this enum [INFO] [stderr] 5 | #[error("Authentication failed")] [INFO] [stderr] 6 | AuthError, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: associated items `team_size`, `from_str`, and `to_str` are never used [INFO] [stderr] --> src/models/game.rs:12:12 [INFO] [stderr] | [INFO] [stderr] 11 | impl MatchType { [INFO] [stderr] | -------------- associated items in this implementation [INFO] [stderr] 12 | pub fn team_size(&self) -> i32 { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 20 | pub fn from_str(s: &str) -> Option { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 29 | pub fn to_str(&self) -> &'static str { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `MatchMember` is never constructed [INFO] [stderr] --> src/models/game.rs:63:12 [INFO] [stderr] | [INFO] [stderr] 63 | pub struct MatchMember { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `MatchMember` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `MatchTeam` is never constructed [INFO] [stderr] --> src/models/game.rs:69:12 [INFO] [stderr] | [INFO] [stderr] 69 | pub struct MatchTeam { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `MatchTeam` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `admin_secret` is never read [INFO] [stderr] --> src/db/hasura_client.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 11 | pub struct HasuraClient { [INFO] [stderr] | ------------ field in this struct [INFO] [stderr] ... [INFO] [stderr] 14 | admin_secret: String, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `insert_match_discoveries_one` is never read [INFO] [stderr] --> src/db/hasura_match_repository.rs:33:5 [INFO] [stderr] | [INFO] [stderr] 32 | struct DiscoveryInsertResponse { [INFO] [stderr] | ----------------------- field in this struct [INFO] [stderr] 33 | insert_match_discoveries_one: DiscoveryData, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `DiscoveryInsertResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `match_teams` is never read [INFO] [stderr] --> src/db/hasura_match_repository.rs:48:5 [INFO] [stderr] | [INFO] [stderr] 47 | struct TeamsQueryResponse { [INFO] [stderr] | ------------------ field in this struct [INFO] [stderr] 48 | match_teams: Vec, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `TeamsQueryResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: methods `record_discovery`, `end_match`, `get_match_teams`, and `get_match_details` are never used [INFO] [stderr] --> src/db/hasura_match_repository.rs:299:18 [INFO] [stderr] | [INFO] [stderr] 112 | impl HasuraMatchRepository { [INFO] [stderr] | -------------------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 299 | pub async fn record_discovery(&self, match_id: Uuid, team_id: Uuid, user_id: Uuid, treasure_id: Uuid, score: i32) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 372 | pub async fn end_match(&self, match_id: Uuid) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 486 | pub async fn get_match_teams(&self, match_id: Uuid) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 537 | pub async fn get_match_details(&self, match_id: Uuid) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `end_match`, `record_discovery`, and `get_match_details` are never used [INFO] [stderr] --> src/matchmaking/service.rs:375:18 [INFO] [stderr] | [INFO] [stderr] 20 | impl MatchService { [INFO] [stderr] | ----------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 375 | pub async fn end_match(&self, match_id: Uuid) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 400 | pub async fn record_discovery(&self, match_id: Uuid, team_id: Uuid, user_id: Uuid, treasure_id: Uuid, score: i32) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 409 | pub async fn get_match_details(&self, match_id: Uuid) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `CaiTH-server` (bin "CaiTH-server" test) generated 17 warnings (run `cargo fix --bin "CaiTH-server" --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.30s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/CaiTH_server-830a0ad79f32d8da) [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" "7673f48814c664ec2d942b6fd9bfdc3ecebadbfad2ddafbe9078736d09b5df92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7673f48814c664ec2d942b6fd9bfdc3ecebadbfad2ddafbe9078736d09b5df92", kill_on_drop: false }` [INFO] [stdout] 7673f48814c664ec2d942b6fd9bfdc3ecebadbfad2ddafbe9078736d09b5df92