[INFO] cloning repository https://github.com/ritesh089/tennis_scheduler [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ritesh089/tennis_scheduler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fritesh089%2Ftennis_scheduler", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fritesh089%2Ftennis_scheduler'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ff9703beaad23595ce9ed5fae2eeb5e9491d7492 [INFO] testing ritesh089/tennis_scheduler against master#7704328ba5ae8d6ce0ac303c9d5a1a1605906766 for pr-146989 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fritesh089%2Ftennis_scheduler" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ritesh089/tennis_scheduler [INFO] finished tweaking git repo https://github.com/ritesh089/tennis_scheduler [INFO] tweaked toml for git repo https://github.com/ritesh089/tennis_scheduler written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ritesh089/tennis_scheduler on toolchain 7704328ba5ae8d6ce0ac303c9d5a1a1605906766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7704328ba5ae8d6ce0ac303c9d5a1a1605906766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ritesh089/tennis_scheduler 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" "+7704328ba5ae8d6ce0ac303c9d5a1a1605906766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded diesel-derive-enum v2.1.0 [INFO] [stderr] Downloaded pq-sys v0.7.0 [INFO] [stderr] Downloaded bcrypt v0.10.1 [INFO] [stderr] Downloaded zstd-safe v7.2.3 [INFO] [stderr] Downloaded blowfish v0.8.0 [INFO] [stderr] Downloaded paperclip-core v0.6.2 [INFO] [stderr] Downloaded paperclip-macros v0.6.3 [INFO] [stderr] Downloaded diesel v2.2.7 [INFO] [stderr] Downloaded zstd-sys v2.0.14+zstd.1.5.7 [INFO] [stderr] Downloaded paperclip-actix v0.6.2 [INFO] [stderr] Downloaded paperclip v0.8.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+7704328ba5ae8d6ce0ac303c9d5a1a1605906766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3a4a8dbd9eb0df7d428869ebf85442c602a5e73569e42f9b47fe37fb762c8bd4 [INFO] running `Command { std: "docker" "start" "-a" "3a4a8dbd9eb0df7d428869ebf85442c602a5e73569e42f9b47fe37fb762c8bd4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3a4a8dbd9eb0df7d428869ebf85442c602a5e73569e42f9b47fe37fb762c8bd4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a4a8dbd9eb0df7d428869ebf85442c602a5e73569e42f9b47fe37fb762c8bd4", kill_on_drop: false }` [INFO] [stdout] 3a4a8dbd9eb0df7d428869ebf85442c602a5e73569e42f9b47fe37fb762c8bd4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+7704328ba5ae8d6ce0ac303c9d5a1a1605906766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7d6c6cb89bddce587b7aab19f96b87f2477480afec4dcd354df54a9c8eb245f5 [INFO] running `Command { std: "docker" "start" "-a" "7d6c6cb89bddce587b7aab19f96b87f2477480afec4dcd354df54a9c8eb245f5", kill_on_drop: false }` [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling bytestring v1.4.0 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling zstd-safe v7.2.3 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling cc v1.2.15 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling local-waker v0.1.4 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling httparse v1.10.0 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling brotli-decompressor v4.0.2 [INFO] [stderr] Compiling miniz_oxide v0.8.4 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling time-macros v0.2.19 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling actix-service v2.0.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling rustversion v1.0.19 [INFO] [stderr] Compiling serde_json v1.0.139 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling flate2 v1.0.35 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling local-channel v0.1.5 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling impl-more v0.1.9 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling strum v0.24.1 [INFO] [stderr] Compiling pq-sys v0.7.0 [INFO] [stderr] Compiling semver v1.0.25 [INFO] [stderr] Compiling brotli v6.0.0 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling anyhow v1.0.96 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.7 [INFO] [stderr] Compiling cipher v0.3.0 [INFO] [stderr] Compiling time v0.3.37 [INFO] [stderr] Compiling paperclip v0.8.2 [INFO] [stderr] Compiling blowfish v0.8.0 [INFO] [stderr] Compiling r2d2 v0.8.10 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling uuid v1.14.0 [INFO] [stderr] Compiling zstd-sys v2.0.14+zstd.1.5.7 [INFO] [stderr] Compiling bcrypt v0.10.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.2.0 [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 serde_derive v1.0.218 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling derive_more v0.99.19 [INFO] [stderr] Compiling actix-rt v2.10.0 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling diesel-derive-enum v2.1.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling paperclip-macros v0.6.3 [INFO] [stderr] Compiling dsl_auto_type v0.1.3 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling diesel_derives v2.2.3 [INFO] [stderr] Compiling rand v0.8.5 [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 h2 v0.3.26 [INFO] [stderr] Compiling actix-server v2.5.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling chrono v0.4.39 [INFO] [stderr] Compiling actix-http v3.9.0 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling diesel v2.2.7 [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 actix-web v4.9.0 [INFO] [stderr] Compiling paperclip-core v0.6.2 [INFO] [stderr] Compiling actix-cors v0.6.5 [INFO] [stderr] Compiling paperclip-actix v0.6.2 [INFO] [stderr] Compiling tennis_scheduler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::db::models::Player` [INFO] [stdout] --> src/api/leagues.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::db::models::Player; [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: `Serialize` [INFO] [stdout] --> src/api/players.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> src/api/matches.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Utc` [INFO] [stdout] --> src/api/matches.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use chrono::Utc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> src/api/appointments.rs:19:33 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn create_appointment(item: web::Json) -> impl Responder { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/api/appointments.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | path: web::Path, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> src/api/appointments.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | item: web::Json, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/api/appointments.rs:41:33 [INFO] [stdout] | [INFO] [stdout] 41 | pub async fn cancel_appointment(path: web::Path) -> impl Responder { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/api/players.rs:55:27 [INFO] [stdout] | [INFO] [stdout] 55 | pub async fn get_calendar(path: web::Path) -> impl Responder { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/api/matches.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | let result = web::block(move || { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/api/matches.rs:250:9 [INFO] [stdout] | [INFO] [stdout] 250 | let result: Result<(), AppError> = web::block(move || { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `requester_id`, `opponent_id`, `start_time`, `end_time`, and `league_id` are never read [INFO] [stdout] --> src/api/appointments.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct CreateAppointmentInput { [INFO] [stdout] | ---------------------- fields in this struct [INFO] [stdout] 6 | pub requester_id: i32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 7 | pub opponent_id: i32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 8 | pub start_time: String, // Ideally, use a datetime type; using String here for simplicity. [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 9 | pub end_time: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 10 | pub league_id: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `status` is never read [INFO] [stdout] --> src/api/appointments.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct UpdateAppointmentInput { [INFO] [stdout] | ---------------------- field in this struct [INFO] [stdout] 30 | pub status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LeagueResponse` is never constructed [INFO] [stdout] --> src/api/leagues.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct LeagueResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_league_by_id` is never used [INFO] [stdout] --> src/api/leagues.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 40 | pub async fn get_league_by_id( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `leave_league` is never used [INFO] [stdout] --> src/api/leagues.rs:138:14 [INFO] [stdout] | [INFO] [stdout] 138 | pub async fn leave_league( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::db::models::Player` [INFO] [stdout] --> src/api/leagues.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::db::models::Player; [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: `Serialize` [INFO] [stdout] --> src/api/players.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> src/api/matches.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Utc` [INFO] [stdout] --> src/api/matches.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use chrono::Utc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> src/api/appointments.rs:19:33 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn create_appointment(item: web::Json) -> impl Responder { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/api/appointments.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | path: web::Path, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> src/api/appointments.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | item: web::Json, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/api/appointments.rs:41:33 [INFO] [stdout] | [INFO] [stdout] 41 | pub async fn cancel_appointment(path: web::Path) -> impl Responder { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/api/players.rs:55:27 [INFO] [stdout] | [INFO] [stdout] 55 | pub async fn get_calendar(path: web::Path) -> impl Responder { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/api/matches.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | let result = web::block(move || { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/api/matches.rs:250:9 [INFO] [stdout] | [INFO] [stdout] 250 | let result: Result<(), AppError> = web::block(move || { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `requester_id`, `opponent_id`, `start_time`, `end_time`, and `league_id` are never read [INFO] [stdout] --> src/api/appointments.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct CreateAppointmentInput { [INFO] [stdout] | ---------------------- fields in this struct [INFO] [stdout] 6 | pub requester_id: i32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 7 | pub opponent_id: i32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 8 | pub start_time: String, // Ideally, use a datetime type; using String here for simplicity. [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 9 | pub end_time: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 10 | pub league_id: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `status` is never read [INFO] [stdout] --> src/api/appointments.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct UpdateAppointmentInput { [INFO] [stdout] | ---------------------- field in this struct [INFO] [stdout] 30 | pub status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LeagueResponse` is never constructed [INFO] [stdout] --> src/api/leagues.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct LeagueResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_league_by_id` is never used [INFO] [stdout] --> src/api/leagues.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 40 | pub async fn get_league_by_id( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `leave_league` is never used [INFO] [stdout] --> src/api/leagues.rs:138:14 [INFO] [stdout] | [INFO] [stdout] 138 | pub async fn leave_league( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LeaguePlayer` is never constructed [INFO] [stdout] --> src/db/models.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct LeaguePlayer { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Appointment` is never constructed [INFO] [stdout] --> src/db/models.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct Appointment { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UpdateMatchInput` is never constructed [INFO] [stdout] --> src/db/models.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 107 | pub struct UpdateMatchInput { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 59s [INFO] running `Command { std: "docker" "inspect" "7d6c6cb89bddce587b7aab19f96b87f2477480afec4dcd354df54a9c8eb245f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d6c6cb89bddce587b7aab19f96b87f2477480afec4dcd354df54a9c8eb245f5", kill_on_drop: false }` [INFO] [stdout] 7d6c6cb89bddce587b7aab19f96b87f2477480afec4dcd354df54a9c8eb245f5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+7704328ba5ae8d6ce0ac303c9d5a1a1605906766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0b566bbd9cdd0a94b6ca20372193f042dad934c4994501efd343fe8e73022d3d [INFO] running `Command { std: "docker" "start" "-a" "0b566bbd9cdd0a94b6ca20372193f042dad934c4994501efd343fe8e73022d3d", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `crate::db::models::Player` [INFO] [stdout] --> src/api/leagues.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::db::models::Player; [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: `Serialize` [INFO] [stdout] --> src/api/players.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> src/api/matches.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Utc` [INFO] [stdout] --> src/api/matches.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use chrono::Utc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> src/api/appointments.rs:19:33 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn create_appointment(item: web::Json) -> impl Responder { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/api/appointments.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | path: web::Path, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> src/api/appointments.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | item: web::Json, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/api/appointments.rs:41:33 [INFO] [stdout] | [INFO] [stdout] 41 | pub async fn cancel_appointment(path: web::Path) -> impl Responder { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/api/players.rs:55:27 [INFO] [stdout] | [INFO] [stdout] 55 | pub async fn get_calendar(path: web::Path) -> impl Responder { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/api/matches.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | let result = web::block(move || { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/api/matches.rs:250:9 [INFO] [stdout] | [INFO] [stdout] 250 | let result: Result<(), AppError> = web::block(move || { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `requester_id`, `opponent_id`, `start_time`, `end_time`, and `league_id` are never read [INFO] [stdout] --> src/api/appointments.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct CreateAppointmentInput { [INFO] [stdout] | ---------------------- fields in this struct [INFO] [stdout] 6 | pub requester_id: i32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 7 | pub opponent_id: i32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 8 | pub start_time: String, // Ideally, use a datetime type; using String here for simplicity. [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 9 | pub end_time: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 10 | pub league_id: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `status` is never read [INFO] [stdout] --> src/api/appointments.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct UpdateAppointmentInput { [INFO] [stdout] | ---------------------- field in this struct [INFO] [stdout] 30 | pub status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LeagueResponse` is never constructed [INFO] [stdout] --> src/api/leagues.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct LeagueResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_league_by_id` is never used [INFO] [stdout] --> src/api/leagues.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 40 | pub async fn get_league_by_id( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `leave_league` is never used [INFO] [stdout] --> src/api/leagues.rs:138:14 [INFO] [stdout] | [INFO] [stdout] 138 | pub async fn leave_league( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tennis_scheduler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::db::models::Player` [INFO] [stdout] --> src/api/leagues.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::db::models::Player; [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: `Serialize` [INFO] [stdout] --> src/api/players.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> src/api/matches.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Utc` [INFO] [stdout] --> src/api/matches.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use chrono::Utc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> src/api/appointments.rs:19:33 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn create_appointment(item: web::Json) -> impl Responder { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/api/appointments.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | path: web::Path, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> src/api/appointments.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | item: web::Json, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/api/appointments.rs:41:33 [INFO] [stdout] | [INFO] [stdout] 41 | pub async fn cancel_appointment(path: web::Path) -> impl Responder { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/api/players.rs:55:27 [INFO] [stdout] | [INFO] [stdout] 55 | pub async fn get_calendar(path: web::Path) -> impl Responder { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/api/matches.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | let result = web::block(move || { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/api/matches.rs:250:9 [INFO] [stdout] | [INFO] [stdout] 250 | let result: Result<(), AppError> = web::block(move || { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `requester_id`, `opponent_id`, `start_time`, `end_time`, and `league_id` are never read [INFO] [stdout] --> src/api/appointments.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct CreateAppointmentInput { [INFO] [stdout] | ---------------------- fields in this struct [INFO] [stdout] 6 | pub requester_id: i32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 7 | pub opponent_id: i32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 8 | pub start_time: String, // Ideally, use a datetime type; using String here for simplicity. [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 9 | pub end_time: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 10 | pub league_id: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `status` is never read [INFO] [stdout] --> src/api/appointments.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct UpdateAppointmentInput { [INFO] [stdout] | ---------------------- field in this struct [INFO] [stdout] 30 | pub status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LeagueResponse` is never constructed [INFO] [stdout] --> src/api/leagues.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct LeagueResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_league_by_id` is never used [INFO] [stdout] --> src/api/leagues.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 40 | pub async fn get_league_by_id( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `leave_league` is never used [INFO] [stdout] --> src/api/leagues.rs:138:14 [INFO] [stdout] | [INFO] [stdout] 138 | pub async fn leave_league( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LeaguePlayer` is never constructed [INFO] [stdout] --> src/db/models.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct LeaguePlayer { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Appointment` is never constructed [INFO] [stdout] --> src/db/models.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct Appointment { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UpdateMatchInput` is never constructed [INFO] [stdout] --> src/db/models.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 107 | pub struct UpdateMatchInput { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::prelude` [INFO] [stdout] --> tests/fixed_match_tests.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use diesel::prelude::*; [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: `crate::db::models::Player` [INFO] [stdout] --> src/api/leagues.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::db::models::Player; [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: `Serialize` [INFO] [stdout] --> src/api/players.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> src/api/matches.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Utc` [INFO] [stdout] --> src/api/matches.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use chrono::Utc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> tests/test_runner.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | TEST_DB_POOL.clone().unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::db::models::Player` [INFO] [stdout] --> src/api/leagues.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::db::models::Player; [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: `Serialize` [INFO] [stdout] --> src/api/players.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> src/api/matches.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Utc` [INFO] [stdout] --> src/api/matches.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use chrono::Utc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::prelude` [INFO] [stdout] --> tests/match_tests.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use diesel::prelude::*; [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 variable: `completed_match_id` [INFO] [stdout] --> tests/match_tests.rs:867:9 [INFO] [stdout] | [INFO] [stdout] 867 | let completed_match_id = completed_match_body["id"].as_str().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_completed_match_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> src/api/appointments.rs:19:33 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn create_appointment(item: web::Json) -> impl Responder { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/api/appointments.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | path: web::Path, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> src/api/appointments.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | item: web::Json, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/api/appointments.rs:41:33 [INFO] [stdout] | [INFO] [stdout] 41 | pub async fn cancel_appointment(path: web::Path) -> impl Responder { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/api/players.rs:55:27 [INFO] [stdout] | [INFO] [stdout] 55 | pub async fn get_calendar(path: web::Path) -> impl Responder { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/api/matches.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | let result = web::block(move || { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/api/matches.rs:250:9 [INFO] [stdout] | [INFO] [stdout] 250 | let result: Result<(), AppError> = web::block(move || { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `requester_id`, `opponent_id`, `start_time`, `end_time`, and `league_id` are never read [INFO] [stdout] --> src/api/appointments.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct CreateAppointmentInput { [INFO] [stdout] | ---------------------- fields in this struct [INFO] [stdout] 6 | pub requester_id: i32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 7 | pub opponent_id: i32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 8 | pub start_time: String, // Ideally, use a datetime type; using String here for simplicity. [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 9 | pub end_time: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 10 | pub league_id: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `status` is never read [INFO] [stdout] --> src/api/appointments.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct UpdateAppointmentInput { [INFO] [stdout] | ---------------------- field in this struct [INFO] [stdout] 30 | pub status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LeagueResponse` is never constructed [INFO] [stdout] --> src/api/leagues.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct LeagueResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_league_by_id` is never used [INFO] [stdout] --> src/api/leagues.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 40 | pub async fn get_league_by_id( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `leave_league` is never used [INFO] [stdout] --> src/api/leagues.rs:138:14 [INFO] [stdout] | [INFO] [stdout] 138 | pub async fn leave_league( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LeaguePlayer` is never constructed [INFO] [stdout] --> src/db/models.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct LeaguePlayer { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Appointment` is never constructed [INFO] [stdout] --> src/db/models.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct Appointment { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UpdateMatchInput` is never constructed [INFO] [stdout] --> src/db/models.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 107 | pub struct UpdateMatchInput { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/rustcFasSOs/symbols.o" "<10 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libtest-*,libgetopts-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/debug/deps/{libuuid-68376e444c45dec0,libgetrandom-3644e63cae17923f,libdotenv-ed16f8757ac7f100,libtennis_scheduler-92fda11b34a7fccf,libbcrypt-d09b40ce19c8016d,libbase64-6b06c3a34869bc09,libblowfish-b2f0c8a53866eb02,libopaque_debug-1c8528c9b2d49180,libcipher-1ad59941a8aadf6f,libdiesel-1ce113ddec17a153,libr2d2-b04422242fda11b5,libscheduled_thread_pool-277fbcbf19340f88,libpq_sys-a4fc2183db66e509,libchrono-076861b33f07ac0c,libnum_traits-c9b9d1e7f3645a61,libiana_time_zone-33839373f004bfb1,libpaperclip-01fe82a185164864,libpaperclip_actix-7b4053dabd2ef5fa,libfutures-77c2fb2bc35d5152,libfutures_executor-a3de62e1d7f3dac0,libpaperclip_core-bf909bae1df6bca0,libserde_yaml-cd5a7f683707e197,libunsafe_libyaml-7bc1bf218b2f5452,libthiserror-f62ba49b3c95e278,libactix_web-1af1081a25db5933,libimpl_more-6fc7c6fa77315c70,liburl-54a86516ca8c74f8,libidna-e0dc454f29ad0e2f,libidna_adapter-ce7b7222ace6a8bb,libicu_normalizer-7df8a0eb57853873,libicu_normalizer_data-924449c90d89dbe9,libwrite16-e3dc6fad88157cf5,libutf8_iter-0d9be7b316c2b184,libutf16_iter-d3264925eca367d9,libicu_properties-d487fc8f34fbfe46,libicu_properties_data-51b5eb2cadc91212,libicu_locid_transform-eae3bac64d26b1d1,libicu_locid_transform_data-ad15ccbe3fb30a0f,libicu_collections-994ab2690b236541,libicu_provider-b6fe23fc76b917d9,libicu_locid-83051b1a2b5bf1f6,liblitemap-cecd5a7fd1787c64,libtinystr-1560f74389881de9,libzerovec-98f0d0657c884836,libwriteable-45c783735d88c2b0,libyoke-d5db6dee8d725ada,libzerofrom-312a679db3f49a9d,libstable_deref_trait-e5f295e98f1b80b2,libserde_urlencoded-0760148e02655329,libform_urlencoded-9a3b196401a840c1,libserde_json-0610a80cfa0276d3,libryu-6b175d60b6f34152,libactix_server-5e6f6814ed49ef55,libactix_router-0ba265e4dd5591d6,libregex-9b444a174a2e0976,libregex_automata-ab95923a91eaf688,libaho_corasick-6e9abec44e58222d,libregex_syntax-13fc688ae7f36982,libserde-067896b1a2d686bd,libcookie-96c12327439911e3,libtime-2d3de4277c510cc2,libtime_core-4e44e5dcd53c485d,libnum_conv-2c976fbf8b8f2899,libderanged-ab64fe9a31eb7f24,libpowerfmt-a0c185df26c26a22,libactix_http-04ab1e3ce0d7a337,librand-cfbc66f6063e9e57,librand_chacha-6bf7010b71b8d648,libppv_lite86-904e5287519632c1,librand_core-23b4c817a5582374,libhttparse-ff12d77b2bb66e1b,libbrotli-651e2256bc2358b7,libbrotli_decompressor-6aa53c070f89c022,liballoc_stdlib-2cbcfaf5b9f938fe,liballoc_no_stdlib-06c983927188c99c,libhttpdate-9f9d2502c6a38412,libsha1-233fd67581f8fa01,libcpufeatures-471354fefbcaf2d8,libdigest-d00e17c88687add0,libblock_buffer-0abdecfa792a1d4b,libcrypto_common-1b66ed4c2d952a50,libgeneric_array-d618d7b08b63988c,libtypenum-2d2373cb6e0ea7a0,libbase64-2a03de3babadded3,liblocal_channel-faaa9d3d15357bca,libbytestring-01def6fe504a2717,libencoding_rs-591e0cad5e0af89d,liblanguage_tags-f2740fbda1808d44,libahash-a74ab5cd9aeab282,libgetrandom-12cd1bdaa7a6dea6,libzerocopy-8a9413fa24fcf28b,libbyteorder-1efcbe4f07366651,libmime-4b44681fdb2c65f7,libpercent_encoding-9bee39bbc5bd523a,libh2-88b207f02e929e7c,libindexmap-3bc210f209fd07ed,libequivalent-7e0e8cbe6c474a67,libhashbrown-19954401a582c725,libfutures_util-736ec913d58630a9,libfutures_io-3e19596c076de665,libslab-2beeedcc9f7dbddb,libfutures_channel-aa4ce92231e6bf4e,libfutures_task-19b3aba2be9e7ae8,libpin_utils-9a5791cba021167a,libzstd-b50faa324dda549a,libzstd_safe-ad7bcd972cbddf0a,libzstd_sys-6431ff55e7dd0636,libflate2-13c4c56aea87e615,libminiz_oxide-3cf44f22f0fb1644,libadler2-b931b79841890bad,libcrc32fast-5e6fdc6fad2d85f8,libactix_service-368debb151e52112,libactix_codec-27fc4e467737b20c,libtracing-df0137346bec2bbb,libtracing_core-6e4ce65785b7e4a4,libonce_cell-5c42cc25c3567235,libmemchr-3ffe5f7a52883367,libbitflags-b760e5da406236a1,libtokio_util-2d32df499e70f218,libfutures_sink-be8442ee548d90f9,libactix_utils-443458621d8456b0,liblocal_waker-db44699d6c187aa3,libactix_rt-21f4c2ccfe548332,libtokio-dba887a63149e8b0,libsignal_hook_registry-ebbbbc331f3bca07,libsocket2-c2662eb3aef7da3d,libmio-8853ce8ab5eb015c,liblog-e36f16aa46751cfc,libparking_lot-6bec28481094e5eb,libparking_lot_core-41ed2a37c53884bc,liblibc-e4683c375d7e8050,libcfg_if-33ef6c02a07f9fec,libsmallvec-c045c8168691680a,liblock_api-87fe6f2f71d5b0ae,libscopeguard-d52bd00767847e44,libpin_project_lite-bedc6e0acd72ff2a,libfutures_core-fc6bb1738f00fc87,libhttp-ffa466c08dc8ed9e,libitoa-d34da3363977f6fb,libbytes-7a433da9c1db3f26,libfnv-2d77ec4f6f971b24}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lpq" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/opt/rustwide/target/debug/deps/rustcFasSOs/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/target/debug/build/zstd-sys-8bd023bcc2d2832c/out" "-L" "/usr/lib/x86_64-linux-gnu" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/auth_tests-71fb843939f65407" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: collect2: fatal error: ld terminated with signal 9 [Killed] [INFO] [stdout] compilation terminated. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/rustcfJL1Gh/symbols.o" "<9 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libtest-*,libgetopts-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/debug/deps/{libtennis_scheduler-92fda11b34a7fccf,libbcrypt-d09b40ce19c8016d,libbase64-6b06c3a34869bc09,libblowfish-b2f0c8a53866eb02,libopaque_debug-1c8528c9b2d49180,libcipher-1ad59941a8aadf6f,libpaperclip-01fe82a185164864,libpaperclip_actix-7b4053dabd2ef5fa,libfutures-77c2fb2bc35d5152,libfutures_executor-a3de62e1d7f3dac0,libpaperclip_core-bf909bae1df6bca0,libserde_yaml-cd5a7f683707e197,libunsafe_libyaml-7bc1bf218b2f5452,libthiserror-f62ba49b3c95e278,libuuid-68376e444c45dec0,libgetrandom-3644e63cae17923f,libdotenv-ed16f8757ac7f100,libdiesel-1ce113ddec17a153,libr2d2-b04422242fda11b5,libscheduled_thread_pool-277fbcbf19340f88,libpq_sys-a4fc2183db66e509,libchrono-076861b33f07ac0c,libnum_traits-c9b9d1e7f3645a61,libiana_time_zone-33839373f004bfb1,libactix_web-1af1081a25db5933,libimpl_more-6fc7c6fa77315c70,liburl-54a86516ca8c74f8,libidna-e0dc454f29ad0e2f,libidna_adapter-ce7b7222ace6a8bb,libicu_normalizer-7df8a0eb57853873,libicu_normalizer_data-924449c90d89dbe9,libwrite16-e3dc6fad88157cf5,libutf8_iter-0d9be7b316c2b184,libutf16_iter-d3264925eca367d9,libicu_properties-d487fc8f34fbfe46,libicu_properties_data-51b5eb2cadc91212,libicu_locid_transform-eae3bac64d26b1d1,libicu_locid_transform_data-ad15ccbe3fb30a0f,libicu_collections-994ab2690b236541,libicu_provider-b6fe23fc76b917d9,libicu_locid-83051b1a2b5bf1f6,liblitemap-cecd5a7fd1787c64,libtinystr-1560f74389881de9,libzerovec-98f0d0657c884836,libwriteable-45c783735d88c2b0,libyoke-d5db6dee8d725ada,libzerofrom-312a679db3f49a9d,libstable_deref_trait-e5f295e98f1b80b2,libserde_urlencoded-0760148e02655329,libform_urlencoded-9a3b196401a840c1,libserde_json-0610a80cfa0276d3,libryu-6b175d60b6f34152,libactix_server-5e6f6814ed49ef55,libactix_router-0ba265e4dd5591d6,libregex-9b444a174a2e0976,libregex_automata-ab95923a91eaf688,libaho_corasick-6e9abec44e58222d,libregex_syntax-13fc688ae7f36982,libserde-067896b1a2d686bd,libcookie-96c12327439911e3,libtime-2d3de4277c510cc2,libtime_core-4e44e5dcd53c485d,libnum_conv-2c976fbf8b8f2899,libderanged-ab64fe9a31eb7f24,libpowerfmt-a0c185df26c26a22,libactix_http-04ab1e3ce0d7a337,librand-cfbc66f6063e9e57,librand_chacha-6bf7010b71b8d648,libppv_lite86-904e5287519632c1,librand_core-23b4c817a5582374,libhttparse-ff12d77b2bb66e1b,libbrotli-651e2256bc2358b7,libbrotli_decompressor-6aa53c070f89c022,liballoc_stdlib-2cbcfaf5b9f938fe,liballoc_no_stdlib-06c983927188c99c,libhttpdate-9f9d2502c6a38412,libsha1-233fd67581f8fa01,libcpufeatures-471354fefbcaf2d8,libdigest-d00e17c88687add0,libblock_buffer-0abdecfa792a1d4b,libcrypto_common-1b66ed4c2d952a50,libgeneric_array-d618d7b08b63988c,libtypenum-2d2373cb6e0ea7a0,libbase64-2a03de3babadded3,liblocal_channel-faaa9d3d15357bca,libbytestring-01def6fe504a2717,libencoding_rs-591e0cad5e0af89d,liblanguage_tags-f2740fbda1808d44,libahash-a74ab5cd9aeab282,libgetrandom-12cd1bdaa7a6dea6,libzerocopy-8a9413fa24fcf28b,libbyteorder-1efcbe4f07366651,libmime-4b44681fdb2c65f7,libpercent_encoding-9bee39bbc5bd523a,libh2-88b207f02e929e7c,libindexmap-3bc210f209fd07ed,libequivalent-7e0e8cbe6c474a67,libhashbrown-19954401a582c725,libfutures_util-736ec913d58630a9,libfutures_io-3e19596c076de665,libslab-2beeedcc9f7dbddb,libfutures_channel-aa4ce92231e6bf4e,libfutures_task-19b3aba2be9e7ae8,libpin_utils-9a5791cba021167a,libzstd-b50faa324dda549a,libzstd_safe-ad7bcd972cbddf0a,libzstd_sys-6431ff55e7dd0636,libflate2-13c4c56aea87e615,libminiz_oxide-3cf44f22f0fb1644,libadler2-b931b79841890bad,libcrc32fast-5e6fdc6fad2d85f8,libactix_service-368debb151e52112,libactix_codec-27fc4e467737b20c,libtracing-df0137346bec2bbb,libtracing_core-6e4ce65785b7e4a4,libonce_cell-5c42cc25c3567235,libmemchr-3ffe5f7a52883367,libbitflags-b760e5da406236a1,libtokio_util-2d32df499e70f218,libfutures_sink-be8442ee548d90f9,libactix_utils-443458621d8456b0,liblocal_waker-db44699d6c187aa3,libactix_rt-21f4c2ccfe548332,libtokio-dba887a63149e8b0,libsignal_hook_registry-ebbbbc331f3bca07,libsocket2-c2662eb3aef7da3d,libmio-8853ce8ab5eb015c,liblog-e36f16aa46751cfc,libparking_lot-6bec28481094e5eb,libparking_lot_core-41ed2a37c53884bc,liblibc-e4683c375d7e8050,libcfg_if-33ef6c02a07f9fec,libsmallvec-c045c8168691680a,liblock_api-87fe6f2f71d5b0ae,libscopeguard-d52bd00767847e44,libpin_project_lite-bedc6e0acd72ff2a,libfutures_core-fc6bb1738f00fc87,libhttp-ffa466c08dc8ed9e,libitoa-d34da3363977f6fb,libbytes-7a433da9c1db3f26,libfnv-2d77ec4f6f971b24}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lpq" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/opt/rustwide/target/debug/deps/rustcfJL1Gh/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/target/debug/build/zstd-sys-8bd023bcc2d2832c/out" "-L" "/usr/lib/x86_64-linux-gnu" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/fixed_match_tests-a0f8327c838c2f48" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: collect2: fatal error: ld terminated with signal 9 [Killed] [INFO] [stdout] compilation terminated. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tennis_scheduler` (test "fixed_match_tests") due to 1 previous error; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `tennis_scheduler` (test "auth_tests") due to 1 previous error [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> src/api/appointments.rs:19:33 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn create_appointment(item: web::Json) -> impl Responder { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/api/appointments.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | path: web::Path, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> src/api/appointments.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | item: web::Json, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/api/appointments.rs:41:33 [INFO] [stdout] | [INFO] [stdout] 41 | pub async fn cancel_appointment(path: web::Path) -> impl Responder { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/api/players.rs:55:27 [INFO] [stdout] | [INFO] [stdout] 55 | pub async fn get_calendar(path: web::Path) -> impl Responder { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/api/matches.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | let result = web::block(move || { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/api/matches.rs:250:9 [INFO] [stdout] | [INFO] [stdout] 250 | let result: Result<(), AppError> = web::block(move || { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `requester_id`, `opponent_id`, `start_time`, `end_time`, and `league_id` are never read [INFO] [stdout] --> src/api/appointments.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct CreateAppointmentInput { [INFO] [stdout] | ---------------------- fields in this struct [INFO] [stdout] 6 | pub requester_id: i32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 7 | pub opponent_id: i32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 8 | pub start_time: String, // Ideally, use a datetime type; using String here for simplicity. [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 9 | pub end_time: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 10 | pub league_id: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `status` is never read [INFO] [stdout] --> src/api/appointments.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct UpdateAppointmentInput { [INFO] [stdout] | ---------------------- field in this struct [INFO] [stdout] 30 | pub status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LeagueResponse` is never constructed [INFO] [stdout] --> src/api/leagues.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct LeagueResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_league_by_id` is never used [INFO] [stdout] --> src/api/leagues.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 40 | pub async fn get_league_by_id( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `leave_league` is never used [INFO] [stdout] --> src/api/leagues.rs:138:14 [INFO] [stdout] | [INFO] [stdout] 138 | pub async fn leave_league( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "0b566bbd9cdd0a94b6ca20372193f042dad934c4994501efd343fe8e73022d3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b566bbd9cdd0a94b6ca20372193f042dad934c4994501efd343fe8e73022d3d", kill_on_drop: false }` [INFO] [stdout] 0b566bbd9cdd0a94b6ca20372193f042dad934c4994501efd343fe8e73022d3d