[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] testing oDs1337/Elevator-backend against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FoDs1337%2FElevator-backend" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/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-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/oDs1337/Elevator-backend on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] deb05f38800cc3ab031599c234be9782471bdd9324fcee365f5a2634835ed09c
[INFO] running `Command { std: "docker" "start" "-a" "deb05f38800cc3ab031599c234be9782471bdd9324fcee365f5a2634835ed09c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "deb05f38800cc3ab031599c234be9782471bdd9324fcee365f5a2634835ed09c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "deb05f38800cc3ab031599c234be9782471bdd9324fcee365f5a2634835ed09c", kill_on_drop: false }`
[INFO] [stdout] deb05f38800cc3ab031599c234be9782471bdd9324fcee365f5a2634835ed09c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f12665f77ffc0a051ac57be641a8ec333e22931b875dceb281fc35459d360e39
[INFO] running `Command { std: "docker" "start" "-a" "f12665f77ffc0a051ac57be641a8ec333e22931b875dceb281fc35459d360e39", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.101
[INFO] [stderr]    Compiling quote v1.0.41
[INFO] [stderr]    Compiling unicode-ident v1.0.19
[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 hashbrown v0.16.0
[INFO] [stderr]    Compiling memchr v2.7.6
[INFO] [stderr]    Compiling proc-macro2-diagnostics v0.10.1
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling time-core v0.1.6
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling inlinable_string v0.1.15
[INFO] [stderr]    Compiling slab v0.4.11
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]    Compiling deranged v0.5.4
[INFO] [stderr]    Compiling cookie v0.18.1
[INFO] [stderr]    Compiling time-macros v0.2.24
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling zerocopy v0.8.27
[INFO] [stderr]    Compiling ref-cast v1.0.25
[INFO] [stderr]    Compiling uncased v0.9.10
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling percent-encoding v2.3.2
[INFO] [stderr]    Compiling bitflags v2.9.4
[INFO] [stderr]    Compiling futures-io v0.3.31
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling rustix v1.1.2
[INFO] [stderr]    Compiling winnow v0.7.13
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]    Compiling toml_write v0.1.2
[INFO] [stderr]    Compiling state v0.6.0
[INFO] [stderr]    Compiling indexmap v2.11.4
[INFO] [stderr]    Compiling figment v0.10.19
[INFO] [stderr]    Compiling multer v3.1.0
[INFO] [stderr]    Compiling linux-raw-sys v0.11.0
[INFO] [stderr]    Compiling log v0.4.28
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]    Compiling stable-pattern v0.1.0
[INFO] [stderr]    Compiling serde_json v1.0.145
[INFO] [stderr]    Compiling lock_api v0.4.14
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling rocket v0.5.1
[INFO] [stderr]    Compiling mio v1.0.4
[INFO] [stderr]    Compiling socket2 v0.6.0
[INFO] [stderr]    Compiling signal-hook-registry v1.4.6
[INFO] [stderr]    Compiling socket2 v0.5.10
[INFO] [stderr]    Compiling is-terminal v0.4.16
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling http v1.3.1
[INFO] [stderr]    Compiling tokio v1.47.1
[INFO] [stderr]    Compiling fastrand v2.3.0
[INFO] [stderr]    Compiling time v0.3.44
[INFO] [stderr]    Compiling glob v0.3.3
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling num_cpus v1.17.0
[INFO] [stderr]    Compiling atomic v0.5.3
[INFO] [stderr]    Compiling binascii v0.1.4
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling tempfile v3.23.0
[INFO] [stderr]    Compiling rand v0.8.5
[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]    Compiling hyper v0.14.32
[INFO] [stderr]    Compiling devise_codegen v0.4.2
[INFO] [stderr]    Compiling async-stream v0.3.6
[INFO] [stderr]    Compiling pear v0.2.9
[INFO] [stderr]    Compiling devise v0.4.2
[INFO] [stderr]    Compiling rocket_http v0.5.1
[INFO] [stderr]    Compiling serde_spanned v0.6.9
[INFO] [stderr]    Compiling toml_datetime v0.6.11
[INFO] [stderr]    Compiling ubyte v0.10.4
[INFO] [stderr]    Compiling rocket_codegen v0.5.1
[INFO] [stderr]    Compiling toml_edit v0.22.27
[INFO] [stderr]    Compiling toml v0.8.23
[INFO] [stderr]    Compiling tokio-util v0.7.16
[INFO] [stderr]    Compiling tokio-stream v0.1.17
[INFO] [stderr]    Compiling h2 v0.3.27
[INFO] [stderr]    Compiling 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: 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 1m 01s
[INFO] running `Command { std: "docker" "inspect" "f12665f77ffc0a051ac57be641a8ec333e22931b875dceb281fc35459d360e39", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f12665f77ffc0a051ac57be641a8ec333e22931b875dceb281fc35459d360e39", kill_on_drop: false }`
[INFO] [stdout] f12665f77ffc0a051ac57be641a8ec333e22931b875dceb281fc35459d360e39
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] baa590d692c4d03a01be7b78821dbc43ac520283147294266044625f7f4e06ee
[INFO] running `Command { std: "docker" "start" "-a" "baa590d692c4d03a01be7b78821dbc43ac520283147294266044625f7f4e06ee", kill_on_drop: false }`
[INFO] [stderr]    Compiling 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: 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 `test` profile [unoptimized + debuginfo] target(s) in 0.96s
[INFO] running `Command { std: "docker" "inspect" "baa590d692c4d03a01be7b78821dbc43ac520283147294266044625f7f4e06ee", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "baa590d692c4d03a01be7b78821dbc43ac520283147294266044625f7f4e06ee", kill_on_drop: false }`
[INFO] [stdout] baa590d692c4d03a01be7b78821dbc43ac520283147294266044625f7f4e06ee
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] bded58b045da49acff61ceca35b44698215f586b43ce7debe40dcab1cf20e597
[INFO] running `Command { std: "docker" "start" "-a" "bded58b045da49acff61ceca35b44698215f586b43ce7debe40dcab1cf20e597", kill_on_drop: false }`
[INFO] [stderr] warning: unnecessary parentheses around `if` condition
[INFO] [stderr]   --> src/elevator.rs:17:11
[INFO] [stderr]    |
[INFO] [stderr] 17 |         if(floor >= self.min_floor && floor <= self.max_floor && !self.target_floors.contains(&floor)) {
[INFO] [stderr]    |           ^                                                                                          ^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr] 17 -         if(floor >= self.min_floor && floor <= self.max_floor && !self.target_floors.contains(&floor)) {
[INFO] [stderr] 17 +         if floor >= self.min_floor && floor <= self.max_floor && !self.target_floors.contains(&floor)  {
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around `if` condition
[INFO] [stderr]   --> src/elevator.rs:25:11
[INFO] [stderr]    |
[INFO] [stderr] 25 |         if(self.target_floors.is_empty()) {
[INFO] [stderr]    |           ^                             ^
[INFO] [stderr]    |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr] 25 -         if(self.target_floors.is_empty()) {
[INFO] [stderr] 25 +         if self.target_floors.is_empty()  {
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around `if` condition
[INFO] [stderr]   --> src/elevator.rs:32:15
[INFO] [stderr]    |
[INFO] [stderr] 32 |             if(destination > self.current_floor) {
[INFO] [stderr]    |               ^                                ^
[INFO] [stderr]    |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr] 32 -             if(destination > self.current_floor) {
[INFO] [stderr] 32 +             if destination > self.current_floor  {
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around `if` condition
[INFO] [stderr]   --> src/elevator.rs:35:20
[INFO] [stderr]    |
[INFO] [stderr] 35 |             else if(destination < self.current_floor) {
[INFO] [stderr]    |                    ^                                ^
[INFO] [stderr]    |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr] 35 -             else if(destination < self.current_floor) {
[INFO] [stderr] 35 +             else if destination < self.current_floor  {
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around `if` condition
[INFO] [stderr]   --> src/elevator.rs:60:11
[INFO] [stderr]    |
[INFO] [stderr] 60 |         if(self.target_floors.is_empty()) {
[INFO] [stderr]    |           ^                             ^
[INFO] [stderr]    |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr] 60 -         if(self.target_floors.is_empty()) {
[INFO] [stderr] 60 +         if self.target_floors.is_empty()  {
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around `if` condition
[INFO] [stderr]   --> src/elevator.rs:65:11
[INFO] [stderr]    |
[INFO] [stderr] 65 |         if(self.target_floors.contains(&self.current_floor)) {
[INFO] [stderr]    |           ^                                                ^
[INFO] [stderr]    |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr] 65 -         if(self.target_floors.contains(&self.current_floor)) {
[INFO] [stderr] 65 +         if self.target_floors.contains(&self.current_floor)  {
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around `if` condition
[INFO] [stderr]   --> src/scheduler.rs:40:15
[INFO] [stderr]    |
[INFO] [stderr] 40 |             if(distance < min_distance) {
[INFO] [stderr]    |               ^                       ^
[INFO] [stderr]    |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr] 40 -             if(distance < min_distance) {
[INFO] [stderr] 40 +             if distance < min_distance  {
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around method argument
[INFO] [stderr]   --> src/main.rs:25:29
[INFO] [stderr]    |
[INFO] [stderr] 25 |     scheduler.call_elevator((request.into_inner())).await;
[INFO] [stderr]    |                             ^                    ^
[INFO] [stderr]    |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr] 25 -     scheduler.call_elevator((request.into_inner())).await;
[INFO] [stderr] 25 +     scheduler.call_elevator(request.into_inner() ).await;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around function argument
[INFO] [stderr]   --> src/main.rs:60:25
[INFO] [stderr]    |
[INFO] [stderr] 60 |         simulation_loop((scheduler_clone)).await;
[INFO] [stderr]    |                         ^               ^
[INFO] [stderr]    |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr] 60 -         simulation_loop((scheduler_clone)).await;
[INFO] [stderr] 60 +         simulation_loop(scheduler_clone ).await;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around method argument
[INFO] [stderr]   --> src/main.rs:64:17
[INFO] [stderr]    |
[INFO] [stderr] 64 |         .manage((scheduler))
[INFO] [stderr]    |                 ^         ^
[INFO] [stderr]    |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr] 64 -         .manage((scheduler))
[INFO] [stderr] 64 +         .manage(scheduler )
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: field `elevator_state` is never read
[INFO] [stderr]   --> src/models.rs:23:9
[INFO] [stderr]    |
[INFO] [stderr] 21 | pub struct CallElevator {
[INFO] [stderr]    |            ------------ field in this struct
[INFO] [stderr] 22 |     pub floor: i32,
[INFO] [stderr] 23 |     pub elevator_state: ElevatorState
[INFO] [stderr]    |         ^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `CallElevator` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `Elevator-backend` (bin "Elevator-backend" test) generated 11 warnings (run `cargo fix --bin "Elevator-backend" -p Elevator-backend --tests` to apply 10 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.18s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/Elevator_backend-1cb8ae117985270c)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "bded58b045da49acff61ceca35b44698215f586b43ce7debe40dcab1cf20e597", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bded58b045da49acff61ceca35b44698215f586b43ce7debe40dcab1cf20e597", kill_on_drop: false }`
[INFO] [stdout] bded58b045da49acff61ceca35b44698215f586b43ce7debe40dcab1cf20e597
