[INFO] cloning repository https://github.com/AuceptinFang/rusty_java_final_lab
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AuceptinFang/rusty_java_final_lab" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAuceptinFang%2Frusty_java_final_lab", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAuceptinFang%2Frusty_java_final_lab'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 03fc2ecdae48663e39f84f99c43e02fd60d9b88a
[INFO] checking AuceptinFang/rusty_java_final_lab against master#ff647322379c48947c196639599067665ff9eb88 for pr-151539-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAuceptinFang%2Frusty_java_final_lab" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/AuceptinFang/rusty_java_final_lab
[INFO] finished tweaking git repo https://github.com/AuceptinFang/rusty_java_final_lab
[INFO] tweaked toml for git repo https://github.com/AuceptinFang/rusty_java_final_lab written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/AuceptinFang/rusty_java_final_lab on toolchain ff647322379c48947c196639599067665ff9eb88
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff647322379c48947c196639599067665ff9eb88" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/AuceptinFang/rusty_java_final_lab 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" "+ff647322379c48947c196639599067665ff9eb88" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded cc v1.2.49
[INFO] [stderr]   Downloaded rsa v0.9.9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 0c1ca13d7bae6df1cff29b38a62b52871ee85b290aeb5cc04bf7323a6bdb9b5d
[INFO] running `Command { std: "docker" "start" "0c1ca13d7bae6df1cff29b38a62b52871ee85b290aeb5cc04bf7323a6bdb9b5d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "0c1ca13d7bae6df1cff29b38a62b52871ee85b290aeb5cc04bf7323a6bdb9b5d" "/opt/rustwide/cargo-home/bin/cargo" "+ff647322379c48947c196639599067665ff9eb88" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0c1ca13d7bae6df1cff29b38a62b52871ee85b290aeb5cc04bf7323a6bdb9b5d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "0c1ca13d7bae6df1cff29b38a62b52871ee85b290aeb5cc04bf7323a6bdb9b5d" "/opt/rustwide/cargo-home/bin/cargo" "+ff647322379c48947c196639599067665ff9eb88" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.103
[INFO] [stderr]    Compiling unicode-ident v1.0.22
[INFO] [stderr]    Compiling quote v1.0.42
[INFO] [stderr]    Compiling libc v0.2.178
[INFO] [stderr]    Compiling find-msvc-tools v0.1.5
[INFO] [stderr]    Compiling typenum v1.19.0
[INFO] [stderr]    Compiling icu_normalizer_data v2.1.1
[INFO] [stderr]    Compiling icu_properties_data v2.1.2
[INFO] [stderr]    Compiling stable_deref_trait v1.2.1
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]     Checking smallvec v1.15.1
[INFO] [stderr]    Compiling litemap v0.8.1
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling openssl v0.10.75
[INFO] [stderr]    Compiling writeable v0.6.2
[INFO] [stderr]    Compiling pin-project-lite v0.2.16
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling serde_json v1.0.145
[INFO] [stderr]    Compiling lock_api v0.4.14
[INFO] [stderr]    Compiling cc v1.2.49
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling memchr v2.7.6
[INFO] [stderr]    Compiling percent-encoding v2.3.2
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling allocator-api2 v0.2.21
[INFO] [stderr]    Compiling foldhash v0.1.5
[INFO] [stderr]    Compiling utf8_iter v1.0.4
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling log v0.4.29
[INFO] [stderr]    Compiling slab v0.4.11
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[INFO] [stderr]    Compiling bitflags v2.10.0
[INFO] [stderr]    Compiling bytes v1.11.0
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling futures-io v0.3.31
[INFO] [stderr]    Compiling hashbrown v0.15.5
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling tracing-core v0.1.35
[INFO] [stderr]    Compiling concurrent-queue v2.5.0
[INFO] [stderr]    Compiling openssl-probe v0.1.6
[INFO] [stderr]    Compiling hashbrown v0.16.1
[INFO] [stderr]    Compiling cpufeatures v0.2.17
[INFO] [stderr]    Compiling parking v2.2.1
[INFO] [stderr]    Compiling crc-catalog v2.4.0
[INFO] [stderr]    Compiling event-listener v5.4.1
[INFO] [stderr]    Compiling syn v2.0.111
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling crc v3.4.0
[INFO] [stderr]    Compiling socket2 v0.6.1
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling mio v1.1.1
[INFO] [stderr]    Compiling indexmap v2.12.1
[INFO] [stderr]    Compiling crossbeam-queue v0.3.12
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling openssl-sys v0.9.111
[INFO] [stderr]    Compiling libsqlite3-sys v0.30.1
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]     Checking crypto-common v0.1.7
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]    Compiling tokio v1.48.0
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]     Checking signal-hook-registry v1.4.7
[INFO] [stderr]    Compiling hashlink v0.10.0
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]    Compiling zerocopy v0.8.31
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]     Checking getrandom v0.3.4
[INFO] [stderr]    Compiling flume v0.11.1
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling dotenvy v0.15.7
[INFO] [stderr]     Checking rand_core v0.9.3
[INFO] [stderr]    Compiling anyhow v1.0.100
[INFO] [stderr]     Checking csv-core v0.1.13
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking uuid v1.19.0
[INFO] [stderr]     Checking tracing-subscriber v0.3.22
[INFO] [stderr]     Checking csv v1.4.0
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]     Checking rand v0.9.2
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.1
[INFO] [stderr]    Compiling zerovec-derive v0.11.2
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling thiserror-impl v2.0.17
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling tracing v0.1.43
[INFO] [stderr]     Checking yoke v0.8.1
[INFO] [stderr]    Compiling thiserror v2.0.17
[INFO] [stderr]    Compiling zerovec v0.11.5
[INFO] [stderr]    Compiling zerotrie v0.2.3
[INFO] [stderr]    Compiling tokio-stream v0.1.17
[INFO] [stderr]     Checking tinystr v0.8.2
[INFO] [stderr]     Checking potential_utf v0.1.4
[INFO] [stderr]     Checking icu_collections v2.1.1
[INFO] [stderr]     Checking icu_locale_core v2.1.1
[INFO] [stderr]     Checking icu_provider v2.1.1
[INFO] [stderr]     Checking icu_normalizer v2.1.1
[INFO] [stderr]     Checking icu_properties v2.1.2
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking url v2.5.7
[INFO] [stderr]     Checking either v1.15.0
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling sqlx-core v0.8.6
[INFO] [stderr]    Compiling sqlx-sqlite v0.8.6
[INFO] [stderr]    Compiling sqlx-macros-core v0.8.6
[INFO] [stderr]    Compiling sqlx-macros v0.8.6
[INFO] [stderr]     Checking sqlx v0.8.6
[INFO] [stderr]     Checking exam v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `rand::Rng`
[INFO] [stdout]  --> src/object/seat.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use rand::Rng;
[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: `SqliteConnection`
[INFO] [stdout]  --> src/score/db.rs:3:33
[INFO] [stdout]   |
[INFO] [stdout] 3 | use sqlx::{Connection, FromRow, SqliteConnection, SqlitePool};
[INFO] [stdout]   |                                 ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::Path`
[INFO] [stdout]  --> src/score/db.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::path::Path;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::score::*`
[INFO] [stdout]  --> src/lib.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::score::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tracing_subscriber::filter::LevelFilter`
[INFO] [stdout]  --> src/lib.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use tracing_subscriber::filter::LevelFilter;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::Rng`
[INFO] [stdout]  --> src/object/seat.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use rand::Rng;
[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: `SqliteConnection`
[INFO] [stdout]  --> src/score/db.rs:3:33
[INFO] [stdout]   |
[INFO] [stdout] 3 | use sqlx::{Connection, FromRow, SqliteConnection, SqlitePool};
[INFO] [stdout]   |                                 ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::Path`
[INFO] [stdout]  --> src/score/db.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::path::Path;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::score::*`
[INFO] [stdout]  --> src/lib.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::score::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tracing_subscriber::filter::LevelFilter`
[INFO] [stdout]  --> src/lib.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use tracing_subscriber::filter::LevelFilter;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> src/server/seat.rs:41:17
[INFO] [stdout]    |
[INFO] [stdout] 41 |                 return anyhow::bail!(format!("User already exists: {}",seat));
[INFO] [stdout]    |                 ^^^^^^^------------------------------------------------------
[INFO] [stdout]    |                 |      |
[INFO] [stdout]    |                 |      any code following this expression is unreachable
[INFO] [stdout]    |                 unreachable expression
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> src/server/seat.rs:41:17
[INFO] [stdout]    |
[INFO] [stdout] 41 |                 return anyhow::bail!(format!("User already exists: {}",seat));
[INFO] [stdout]    |                 ^^^^^^^------------------------------------------------------
[INFO] [stdout]    |                 |      |
[INFO] [stdout]    |                 |      any code following this expression is unreachable
[INFO] [stdout]    |                 unreachable expression
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Connection`
[INFO] [stdout]  --> src/score/db.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | use sqlx::{Connection, FromRow, SqliteConnection, SqlitePool};
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tracing_subscriber::prelude`
[INFO] [stdout]   --> src/lib.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use tracing_subscriber::prelude::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Connection`
[INFO] [stdout]  --> src/score/db.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | use sqlx::{Connection, FromRow, SqliteConnection, SqlitePool};
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tracing_subscriber::prelude`
[INFO] [stdout]   --> src/lib.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use tracing_subscriber::prelude::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/lib.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 29 |     for i in 0..10 {
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `number`, `name`, and `price` are never used
[INFO] [stdout]   --> src/object/seat.rs:8:8
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub trait Seat{
[INFO] [stdout]    |           ---- methods in this trait
[INFO] [stdout]  8 |     fn number(&self) -> &str;
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout]  9 |     fn name(&self) -> &str;
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 10 |     fn price(&self) -> f64;
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Discountable` is never used
[INFO] [stdout]   --> src/object/seat.rs:14:7
[INFO] [stdout]    |
[INFO] [stdout] 14 | trait Discountable{
[INFO] [stdout]    |       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `number` and `name` are never read
[INFO] [stdout]   --> src/object/seat.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct NormalSeat{
[INFO] [stdout]    |            ---------- fields in this struct
[INFO] [stdout] 19 |     number: String,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 20 |     name: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `NormalSeat` 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: fields `number` and `name` are never read
[INFO] [stdout]   --> src/object/seat.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub struct MonitorSeat {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 25 |     number: String,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 26 |     name: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `MonitorSeat` 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: fields `number` and `name` are never read
[INFO] [stdout]   --> src/object/seat.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub struct RoomSeat{
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] 31 |     number: String,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 32 |     name: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `RoomSeat` 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: method `clear_all` is never used
[INFO] [stdout]    --> src/score/db.rs:129:18
[INFO] [stdout]     |
[INFO] [stdout]  41 | impl Db {
[INFO] [stdout]     | ------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 129 |     pub async fn clear_all(&mut self) -> Result<()> {
[INFO] [stdout]     |                  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/lib.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 29 |     for i in 0..10 {
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/server/seat.rs:48:41
[INFO] [stdout]    |
[INFO] [stdout] 48 |                 guard.user_map.insert(id.clone().to_string(), seat_id.clone());
[INFO] [stdout]    |                                         ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout]    = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `number`, `name`, and `price` are never used
[INFO] [stdout]   --> src/object/seat.rs:8:8
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub trait Seat{
[INFO] [stdout]    |           ---- methods in this trait
[INFO] [stdout]  8 |     fn number(&self) -> &str;
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout]  9 |     fn name(&self) -> &str;
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 10 |     fn price(&self) -> f64;
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Discountable` is never used
[INFO] [stdout]   --> src/object/seat.rs:14:7
[INFO] [stdout]    |
[INFO] [stdout] 14 | trait Discountable{
[INFO] [stdout]    |       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `number` and `name` are never read
[INFO] [stdout]   --> src/object/seat.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct NormalSeat{
[INFO] [stdout]    |            ---------- fields in this struct
[INFO] [stdout] 19 |     number: String,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 20 |     name: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `NormalSeat` 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: fields `number` and `name` are never read
[INFO] [stdout]   --> src/object/seat.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub struct MonitorSeat {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 25 |     number: String,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 26 |     name: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `MonitorSeat` 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: fields `number` and `name` are never read
[INFO] [stdout]   --> src/object/seat.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub struct RoomSeat{
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] 31 |     number: String,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 32 |     name: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `RoomSeat` 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: method `clear_all` is never used
[INFO] [stdout]    --> src/score/db.rs:129:18
[INFO] [stdout]     |
[INFO] [stdout]  41 | impl Db {
[INFO] [stdout]     | ------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 129 |     pub async fn clear_all(&mut self) -> Result<()> {
[INFO] [stdout]     |                  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/server/seat.rs:48:41
[INFO] [stdout]    |
[INFO] [stdout] 48 |                 guard.user_map.insert(id.clone().to_string(), seat_id.clone());
[INFO] [stdout]    |                                         ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout]    = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 04s
[INFO] running `Command { std: "docker" "inspect" "0c1ca13d7bae6df1cff29b38a62b52871ee85b290aeb5cc04bf7323a6bdb9b5d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0c1ca13d7bae6df1cff29b38a62b52871ee85b290aeb5cc04bf7323a6bdb9b5d", kill_on_drop: false }`
[INFO] [stdout] 0c1ca13d7bae6df1cff29b38a62b52871ee85b290aeb5cc04bf7323a6bdb9b5d
