[INFO] cloning repository https://github.com/oDs1337/Elevator-backend [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/oDs1337/Elevator-backend" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FoDs1337%2FElevator-backend", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FoDs1337%2FElevator-backend'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7214e93dab5029669426d8cffd1be988c95797ce [INFO] checking oDs1337/Elevator-backend against master#779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 for pr-147589-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FoDs1337%2FElevator-backend" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/oDs1337/Elevator-backend [INFO] finished tweaking git repo https://github.com/oDs1337/Elevator-backend [INFO] tweaked toml for git repo https://github.com/oDs1337/Elevator-backend written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/oDs1337/Elevator-backend on toolchain 779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/oDs1337/Elevator-backend 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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ref-cast v1.0.25 [INFO] [stderr] Downloaded atomic v0.6.1 [INFO] [stderr] Downloaded ref-cast-impl v1.0.25 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 52cd05eb21cd6bbddd5503843f116801034923c1531c9dba6d4597a837241933 [INFO] running `Command { std: "docker" "start" "-a" "52cd05eb21cd6bbddd5503843f116801034923c1531c9dba6d4597a837241933", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "52cd05eb21cd6bbddd5503843f116801034923c1531c9dba6d4597a837241933", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52cd05eb21cd6bbddd5503843f116801034923c1531c9dba6d4597a837241933", kill_on_drop: false }` [INFO] [stdout] 52cd05eb21cd6bbddd5503843f116801034923c1531c9dba6d4597a837241933 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b5e300767401e8634dd0f807d02acf1a8145625bffa98c0310ff98d4922391c7 [INFO] running `Command { std: "docker" "start" "-a" "b5e300767401e8634dd0f807d02acf1a8145625bffa98c0310ff98d4922391c7", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Checking hashbrown v0.16.0 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling ref-cast v1.0.25 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling deranged v0.5.4 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Checking winnow v0.7.13 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking is-terminal v0.4.16 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Checking linux-raw-sys v0.11.0 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Checking lock_api v0.4.14 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Compiling rocket v0.5.1 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Checking atomic v0.5.3 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking binascii v0.1.4 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Checking serde_json v1.0.145 [INFO] [stderr] Checking tempfile v3.23.0 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling devise_core v0.4.2 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling ref-cast-impl v1.0.25 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Compiling devise_codegen v0.4.2 [INFO] [stderr] Checking pear v0.2.9 [INFO] [stderr] Compiling devise v0.4.2 [INFO] [stderr] Compiling rocket_http v0.5.1 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking ubyte v0.10.4 [INFO] [stderr] Compiling rocket_codegen v0.5.1 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Checking Elevator-backend v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/elevator.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | if(floor >= self.min_floor && floor <= self.max_floor && !self.target_floors.contains(&floor)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 17 - if(floor >= self.min_floor && floor <= self.max_floor && !self.target_floors.contains(&floor)) { [INFO] [stdout] 17 + if floor >= self.min_floor && floor <= self.max_floor && !self.target_floors.contains(&floor) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/elevator.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | if(self.target_floors.is_empty()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 25 - if(self.target_floors.is_empty()) { [INFO] [stdout] 25 + if self.target_floors.is_empty() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/elevator.rs:32:15 [INFO] [stdout] | [INFO] [stdout] 32 | if(destination > self.current_floor) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 32 - if(destination > self.current_floor) { [INFO] [stdout] 32 + if destination > self.current_floor { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/elevator.rs:35:20 [INFO] [stdout] | [INFO] [stdout] 35 | else if(destination < self.current_floor) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 35 - else if(destination < self.current_floor) { [INFO] [stdout] 35 + else if destination < self.current_floor { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/elevator.rs:60:11 [INFO] [stdout] | [INFO] [stdout] 60 | if(self.target_floors.is_empty()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 60 - if(self.target_floors.is_empty()) { [INFO] [stdout] 60 + if self.target_floors.is_empty() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/elevator.rs:65:11 [INFO] [stdout] | [INFO] [stdout] 65 | if(self.target_floors.contains(&self.current_floor)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 65 - if(self.target_floors.contains(&self.current_floor)) { [INFO] [stdout] 65 + if self.target_floors.contains(&self.current_floor) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/scheduler.rs:40:15 [INFO] [stdout] | [INFO] [stdout] 40 | if(distance < min_distance) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 40 - if(distance < min_distance) { [INFO] [stdout] 40 + if distance < min_distance { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/main.rs:25:29 [INFO] [stdout] | [INFO] [stdout] 25 | scheduler.call_elevator((request.into_inner())).await; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 25 - scheduler.call_elevator((request.into_inner())).await; [INFO] [stdout] 25 + scheduler.call_elevator(request.into_inner() ).await; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:60:25 [INFO] [stdout] | [INFO] [stdout] 60 | simulation_loop((scheduler_clone)).await; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 60 - simulation_loop((scheduler_clone)).await; [INFO] [stdout] 60 + simulation_loop(scheduler_clone ).await; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/main.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | .manage((scheduler)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 64 - .manage((scheduler)) [INFO] [stdout] 64 + .manage(scheduler ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/elevator.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | if(floor >= self.min_floor && floor <= self.max_floor && !self.target_floors.contains(&floor)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 17 - if(floor >= self.min_floor && floor <= self.max_floor && !self.target_floors.contains(&floor)) { [INFO] [stdout] 17 + if floor >= self.min_floor && floor <= self.max_floor && !self.target_floors.contains(&floor) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/elevator.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | if(self.target_floors.is_empty()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 25 - if(self.target_floors.is_empty()) { [INFO] [stdout] 25 + if self.target_floors.is_empty() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/elevator.rs:32:15 [INFO] [stdout] | [INFO] [stdout] 32 | if(destination > self.current_floor) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 32 - if(destination > self.current_floor) { [INFO] [stdout] 32 + if destination > self.current_floor { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/elevator.rs:35:20 [INFO] [stdout] | [INFO] [stdout] 35 | else if(destination < self.current_floor) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 35 - else if(destination < self.current_floor) { [INFO] [stdout] 35 + else if destination < self.current_floor { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/elevator.rs:60:11 [INFO] [stdout] | [INFO] [stdout] 60 | if(self.target_floors.is_empty()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 60 - if(self.target_floors.is_empty()) { [INFO] [stdout] 60 + if self.target_floors.is_empty() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/elevator.rs:65:11 [INFO] [stdout] | [INFO] [stdout] 65 | if(self.target_floors.contains(&self.current_floor)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 65 - if(self.target_floors.contains(&self.current_floor)) { [INFO] [stdout] 65 + if self.target_floors.contains(&self.current_floor) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/scheduler.rs:40:15 [INFO] [stdout] | [INFO] [stdout] 40 | if(distance < min_distance) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 40 - if(distance < min_distance) { [INFO] [stdout] 40 + if distance < min_distance { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/main.rs:25:29 [INFO] [stdout] | [INFO] [stdout] 25 | scheduler.call_elevator((request.into_inner())).await; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 25 - scheduler.call_elevator((request.into_inner())).await; [INFO] [stdout] 25 + scheduler.call_elevator(request.into_inner() ).await; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:60:25 [INFO] [stdout] | [INFO] [stdout] 60 | simulation_loop((scheduler_clone)).await; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 60 - simulation_loop((scheduler_clone)).await; [INFO] [stdout] 60 + simulation_loop(scheduler_clone ).await; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/main.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | .manage((scheduler)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 64 - .manage((scheduler)) [INFO] [stdout] 64 + .manage(scheduler ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `elevator_state` is never read [INFO] [stdout] --> src/models.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct CallElevator { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 22 | pub floor: i32, [INFO] [stdout] 23 | pub elevator_state: ElevatorState [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CallElevator` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `elevator_state` is never read [INFO] [stdout] --> src/models.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct CallElevator { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 22 | pub floor: i32, [INFO] [stdout] 23 | pub elevator_state: ElevatorState [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CallElevator` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 53.76s [INFO] running `Command { std: "docker" "inspect" "b5e300767401e8634dd0f807d02acf1a8145625bffa98c0310ff98d4922391c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5e300767401e8634dd0f807d02acf1a8145625bffa98c0310ff98d4922391c7", kill_on_drop: false }` [INFO] [stdout] b5e300767401e8634dd0f807d02acf1a8145625bffa98c0310ff98d4922391c7