[INFO] cloning repository https://github.com/ersba/elevator
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ersba/elevator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fersba%2Felevator", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fersba%2Felevator'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 1b3ffc205751d381002c24d47d52c2c959728032
[INFO] checking ersba/elevator against try#0cb362313295507a2f4321c0e30cea0168f2fe71 for pr-138961-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fersba%2Felevator" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/ersba/elevator
[INFO] finished tweaking git repo https://github.com/ersba/elevator
[INFO] tweaked toml for git repo https://github.com/ersba/elevator written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ersba/elevator on toolchain 0cb362313295507a2f4321c0e30cea0168f2fe71
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0cb362313295507a2f4321c0e30cea0168f2fe71" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ersba/elevator 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" "+0cb362313295507a2f4321c0e30cea0168f2fe71" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+0cb362313295507a2f4321c0e30cea0168f2fe71" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b31d235222112f2558c065624a110daa0031e06ddd1fe00358a655e21ab78ae7
[INFO] running `Command { std: "docker" "start" "-a" "b31d235222112f2558c065624a110daa0031e06ddd1fe00358a655e21ab78ae7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b31d235222112f2558c065624a110daa0031e06ddd1fe00358a655e21ab78ae7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b31d235222112f2558c065624a110daa0031e06ddd1fe00358a655e21ab78ae7", kill_on_drop: false }`
[INFO] [stdout] b31d235222112f2558c065624a110daa0031e06ddd1fe00358a655e21ab78ae7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+0cb362313295507a2f4321c0e30cea0168f2fe71" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c23c97ca9b22328a1358f462f075d7dad1b66cb45dca857a147ed29f5b958fb4
[INFO] running `Command { std: "docker" "start" "-a" "c23c97ca9b22328a1358f462f075d7dad1b66cb45dca857a147ed29f5b958fb4", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.93
[INFO] [stderr]    Compiling unicode-ident v1.0.15
[INFO] [stderr]    Compiling libc v0.2.169
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]     Checking crossbeam-channel v0.5.14
[INFO] [stderr]    Compiling quote v1.0.38
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]    Compiling syn v2.0.96
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]     Checking zerocopy v0.7.35
[INFO] [stderr]     Checking ppv-lite86 v0.2.20
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking elevator v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::os::unix::fs::DirEntryExt`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::os::unix::fs::DirEntryExt;
[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: `bounded`
[INFO] [stdout]  --> src/main.rs:3:25
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crossbeam_channel::{bounded, select, unbounded, Receiver, Sender};
[INFO] [stdout]   |                         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Condvar`
[INFO] [stdout]  --> src/main.rs:6:22
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::sync::{Arc, Condvar, Mutex, RwLock};
[INFO] [stdout]   |                      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread::sleep`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::thread::sleep;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::os::unix::fs::DirEntryExt`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::os::unix::fs::DirEntryExt;
[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: `bounded`
[INFO] [stdout]  --> src/main.rs:3:25
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crossbeam_channel::{bounded, select, unbounded, Receiver, Sender};
[INFO] [stdout]   |                         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Condvar`
[INFO] [stdout]  --> src/main.rs:6:22
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::sync::{Arc, Condvar, Mutex, RwLock};
[INFO] [stdout]   |                      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread::sleep`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::thread::sleep;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:114:13
[INFO] [stdout]     |
[INFO] [stdout] 114 |         let mut elevator_floors: Vec<u8> = vec![0; 3];
[INFO] [stdout]     |             ----^^^^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `floor`
[INFO] [stdout]    --> src/main.rs:135:64
[INFO] [stdout]     |
[INFO] [stdout] 135 | ...                   ElevatorStatus::ArrivedAtFloor(id, floor) => {
[INFO] [stdout]     |                                                          ^^^^^ help: if this is intentional, prefix it with an underscore: `_floor`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]    --> src/main.rs:140:56
[INFO] [stdout]     |
[INFO] [stdout] 140 | ...                   ElevatorStatus::DoorOpened(id, floor) => {
[INFO] [stdout]     |                                                  ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `floor`
[INFO] [stdout]    --> src/main.rs:140:60
[INFO] [stdout]     |
[INFO] [stdout] 140 | ...                   ElevatorStatus::DoorOpened(id, floor) => {
[INFO] [stdout]     |                                                      ^^^^^ help: if this is intentional, prefix it with an underscore: `_floor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:114:13
[INFO] [stdout]     |
[INFO] [stdout] 114 |         let mut elevator_floors: Vec<u8> = vec![0; 3];
[INFO] [stdout]     |             ----^^^^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `floor`
[INFO] [stdout]    --> src/main.rs:135:64
[INFO] [stdout]     |
[INFO] [stdout] 135 | ...                   ElevatorStatus::ArrivedAtFloor(id, floor) => {
[INFO] [stdout]     |                                                          ^^^^^ help: if this is intentional, prefix it with an underscore: `_floor`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]    --> src/main.rs:140:56
[INFO] [stdout]     |
[INFO] [stdout] 140 | ...                   ElevatorStatus::DoorOpened(id, floor) => {
[INFO] [stdout]     |                                                  ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `floor`
[INFO] [stdout]    --> src/main.rs:140:60
[INFO] [stdout]     |
[INFO] [stdout] 140 | ...                   ElevatorStatus::DoorOpened(id, floor) => {
[INFO] [stdout]     |                                                      ^^^^^ help: if this is intentional, prefix it with an underscore: `_floor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/main.rs:373:49
[INFO] [stdout]     |
[INFO] [stdout] 373 | ...                   _ => {
[INFO] [stdout]     |                       ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/main.rs:373:49
[INFO] [stdout]     |
[INFO] [stdout] 327 | ...                   PassengerToElevator::Enter(passenger_id) => {
[INFO] [stdout]     |                       ---------------------------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 358 | ...                   PassengerToElevator::Exit(passenger_id) => {
[INFO] [stdout]     |                       --------------------------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 367 | ...                   PassengerToElevator::PressedButton(target_floor) => {
[INFO] [stdout]     |                       ------------------------------------------------ matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 373 | ...                   _ => {
[INFO] [stdout]     |                       ^ collectively making this unreachable
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/main.rs:373:49
[INFO] [stdout]     |
[INFO] [stdout] 373 | ...                   _ => {
[INFO] [stdout]     |                       ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/main.rs:373:49
[INFO] [stdout]     |
[INFO] [stdout] 327 | ...                   PassengerToElevator::Enter(passenger_id) => {
[INFO] [stdout]     |                       ---------------------------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 358 | ...                   PassengerToElevator::Exit(passenger_id) => {
[INFO] [stdout]     |                       --------------------------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 367 | ...                   PassengerToElevator::PressedButton(target_floor) => {
[INFO] [stdout]     |                       ------------------------------------------------ matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 373 | ...                   _ => {
[INFO] [stdout]     |                       ^ collectively making this unreachable
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:730:9
[INFO] [stdout]     |
[INFO] [stdout] 730 |     let mut elevator_floor_receiver: Arc<RwLock<Vec<Receiver<ElevatorArrived>>>> =
[INFO] [stdout]     |         ----^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:732:9
[INFO] [stdout]     |
[INFO] [stdout] 732 |     let mut elevator_floor_transmitter: Arc<RwLock<Vec<Sender<ElevatorArrived>>>> =
[INFO] [stdout]     |         ----^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:734:9
[INFO] [stdout]     |
[INFO] [stdout] 734 |     let mut elevator_passenger_transmitter: Arc<RwLock<Vec<Sender<ElevatorToPassenger>>>> =
[INFO] [stdout]     |         ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:736:9
[INFO] [stdout]     |
[INFO] [stdout] 736 |     let mut passenger_elevator_transmitter: Arc<RwLock<Vec<Sender<PassengerToElevator>>>> =
[INFO] [stdout]     |         ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:738:9
[INFO] [stdout]     |
[INFO] [stdout] 738 |     let mut passenger_elevator_receiver: Arc<RwLock<Vec<Receiver<PassengerToElevator>>>> =
[INFO] [stdout]     |         ----^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]    --> src/main.rs:762:9
[INFO] [stdout]     |
[INFO] [stdout] 762 |     for id in 0..elevators {
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `control_system`
[INFO] [stdout]    --> src/main.rs:816:9
[INFO] [stdout]     |
[INFO] [stdout] 816 |     let control_system = ControlSystem::new(elevator_senders, control_rx, status_rx);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_control_system`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `floor` is never read
[INFO] [stdout]   --> src/main.rs:22:15
[INFO] [stdout]    |
[INFO] [stdout] 22 |     Request { floor: u8, direction: Direction },
[INFO] [stdout]    |     -------   ^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/main.rs:48:17
[INFO] [stdout]    |
[INFO] [stdout] 48 |     IdleAtFloor(u8), // Steht in einer Ebene, z. B. "IdleAtFloor(2)"
[INFO] [stdout]    |     ----------- ^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 48 -     IdleAtFloor(u8), // Steht in einer Ebene, z. B. "IdleAtFloor(2)"
[INFO] [stdout] 48 +     IdleAtFloor(()), // Steht in einer Ebene, z. B. "IdleAtFloor(2)"
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]   --> src/main.rs:49:12
[INFO] [stdout]    |
[INFO] [stdout] 49 |     Moving(u8, u8),  // Fährt von Ebene x zu Ebene y, z. B. "Moving(1, 3)"
[INFO] [stdout]    |     ------ ^^  ^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     fields in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]    |
[INFO] [stdout] 49 -     Moving(u8, u8),  // Fährt von Ebene x zu Ebene y, z. B. "Moving(1, 3)"
[INFO] [stdout] 49 +     Moving((), ()),  // Fährt von Ebene x zu Ebene y, z. B. "Moving(1, 3)"
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/main.rs:50:20
[INFO] [stdout]    |
[INFO] [stdout] 50 |     StoppedAtFloor(u8),
[INFO] [stdout]    |     -------------- ^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 50 -     StoppedAtFloor(u8),
[INFO] [stdout] 50 +     StoppedAtFloor(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `TaskCompleted` and `PassengerCount` are never constructed
[INFO] [stdout]   --> src/main.rs:57:5
[INFO] [stdout]    |
[INFO] [stdout] 53 | enum ElevatorStatus {
[INFO] [stdout]    |      -------------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 57 |     TaskCompleted(usize), // Aufgabe erledigt, optional mit Zusatzinfo
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 58 |     PassengerCount(u8),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/main.rs:74:16
[INFO] [stdout]    |
[INFO] [stdout] 74 |     InElevator(u8),   // Ist im Fahrstuhl mit Ziel Ebene x
[INFO] [stdout]    |     ---------- ^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 74 -     InElevator(u8),   // Ist im Fahrstuhl mit Ziel Ebene x
[INFO] [stdout] 74 +     InElevator(()),   // Ist im Fahrstuhl mit Ziel Ebene x
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `EnteringElevator` is never constructed
[INFO] [stdout]   --> src/main.rs:73:5
[INFO] [stdout]    |
[INFO] [stdout] 71 | enum PassengerState {
[INFO] [stdout]    |      -------------- variant in this enum
[INFO] [stdout] 72 |     IdleAtFloor(u8),  // Wartet in einer Ebene
[INFO] [stdout] 73 |     EnteringElevator, // Betritt den Fahrstuhl
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id`, `up_request`, `down_request`, and `control_tx` are never read
[INFO] [stdout]    --> src/main.rs:518:5
[INFO] [stdout]     |
[INFO] [stdout] 517 | struct Floor {
[INFO] [stdout]     |        ----- fields in this struct
[INFO] [stdout] 518 |     id: u8,
[INFO] [stdout]     |     ^^
[INFO] [stdout] 519 |     up_request: bool,
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout] 520 |     down_request: bool,
[INFO] [stdout]     |     ^^^^^^^^^^^^
[INFO] [stdout] 521 |     control_tx: Sender<ControlCommand>,
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]    --> src/main.rs:446:40
[INFO] [stdout]     |
[INFO] [stdout] 446 |         if (self.current_floor == 0 && target_floor < 0)
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_comparisons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:730:9
[INFO] [stdout]     |
[INFO] [stdout] 730 |     let mut elevator_floor_receiver: Arc<RwLock<Vec<Receiver<ElevatorArrived>>>> =
[INFO] [stdout]     |         ----^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:732:9
[INFO] [stdout]     |
[INFO] [stdout] 732 |     let mut elevator_floor_transmitter: Arc<RwLock<Vec<Sender<ElevatorArrived>>>> =
[INFO] [stdout]     |         ----^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:734:9
[INFO] [stdout]     |
[INFO] [stdout] 734 |     let mut elevator_passenger_transmitter: Arc<RwLock<Vec<Sender<ElevatorToPassenger>>>> =
[INFO] [stdout]     |         ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:736:9
[INFO] [stdout]     |
[INFO] [stdout] 736 |     let mut passenger_elevator_transmitter: Arc<RwLock<Vec<Sender<PassengerToElevator>>>> =
[INFO] [stdout]     |         ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:738:9
[INFO] [stdout]     |
[INFO] [stdout] 738 |     let mut passenger_elevator_receiver: Arc<RwLock<Vec<Receiver<PassengerToElevator>>>> =
[INFO] [stdout]     |         ----^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]    --> src/main.rs:762:9
[INFO] [stdout]     |
[INFO] [stdout] 762 |     for id in 0..elevators {
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `control_system`
[INFO] [stdout]    --> src/main.rs:816:9
[INFO] [stdout]     |
[INFO] [stdout] 816 |     let control_system = ControlSystem::new(elevator_senders, control_rx, status_rx);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_control_system`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `floor` is never read
[INFO] [stdout]   --> src/main.rs:22:15
[INFO] [stdout]    |
[INFO] [stdout] 22 |     Request { floor: u8, direction: Direction },
[INFO] [stdout]    |     -------   ^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/main.rs:48:17
[INFO] [stdout]    |
[INFO] [stdout] 48 |     IdleAtFloor(u8), // Steht in einer Ebene, z. B. "IdleAtFloor(2)"
[INFO] [stdout]    |     ----------- ^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 48 -     IdleAtFloor(u8), // Steht in einer Ebene, z. B. "IdleAtFloor(2)"
[INFO] [stdout] 48 +     IdleAtFloor(()), // Steht in einer Ebene, z. B. "IdleAtFloor(2)"
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]   --> src/main.rs:49:12
[INFO] [stdout]    |
[INFO] [stdout] 49 |     Moving(u8, u8),  // Fährt von Ebene x zu Ebene y, z. B. "Moving(1, 3)"
[INFO] [stdout]    |     ------ ^^  ^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     fields in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]    |
[INFO] [stdout] 49 -     Moving(u8, u8),  // Fährt von Ebene x zu Ebene y, z. B. "Moving(1, 3)"
[INFO] [stdout] 49 +     Moving((), ()),  // Fährt von Ebene x zu Ebene y, z. B. "Moving(1, 3)"
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/main.rs:50:20
[INFO] [stdout]    |
[INFO] [stdout] 50 |     StoppedAtFloor(u8),
[INFO] [stdout]    |     -------------- ^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 50 -     StoppedAtFloor(u8),
[INFO] [stdout] 50 +     StoppedAtFloor(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `TaskCompleted` and `PassengerCount` are never constructed
[INFO] [stdout]   --> src/main.rs:57:5
[INFO] [stdout]    |
[INFO] [stdout] 53 | enum ElevatorStatus {
[INFO] [stdout]    |      -------------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 57 |     TaskCompleted(usize), // Aufgabe erledigt, optional mit Zusatzinfo
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 58 |     PassengerCount(u8),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/main.rs:74:16
[INFO] [stdout]    |
[INFO] [stdout] 74 |     InElevator(u8),   // Ist im Fahrstuhl mit Ziel Ebene x
[INFO] [stdout]    |     ---------- ^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 74 -     InElevator(u8),   // Ist im Fahrstuhl mit Ziel Ebene x
[INFO] [stdout] 74 +     InElevator(()),   // Ist im Fahrstuhl mit Ziel Ebene x
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `EnteringElevator` is never constructed
[INFO] [stdout]   --> src/main.rs:73:5
[INFO] [stdout]    |
[INFO] [stdout] 71 | enum PassengerState {
[INFO] [stdout]    |      -------------- variant in this enum
[INFO] [stdout] 72 |     IdleAtFloor(u8),  // Wartet in einer Ebene
[INFO] [stdout] 73 |     EnteringElevator, // Betritt den Fahrstuhl
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id`, `up_request`, `down_request`, and `control_tx` are never read
[INFO] [stdout]    --> src/main.rs:518:5
[INFO] [stdout]     |
[INFO] [stdout] 517 | struct Floor {
[INFO] [stdout]     |        ----- fields in this struct
[INFO] [stdout] 518 |     id: u8,
[INFO] [stdout]     |     ^^
[INFO] [stdout] 519 |     up_request: bool,
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout] 520 |     down_request: bool,
[INFO] [stdout]     |     ^^^^^^^^^^^^
[INFO] [stdout] 521 |     control_tx: Sender<ControlCommand>,
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]    --> src/main.rs:446:40
[INFO] [stdout]     |
[INFO] [stdout] 446 |         if (self.current_floor == 0 && target_floor < 0)
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_comparisons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.33s
[INFO] running `Command { std: "docker" "inspect" "c23c97ca9b22328a1358f462f075d7dad1b66cb45dca857a147ed29f5b958fb4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c23c97ca9b22328a1358f462f075d7dad1b66cb45dca857a147ed29f5b958fb4", kill_on_drop: false }`
[INFO] [stdout] c23c97ca9b22328a1358f462f075d7dad1b66cb45dca857a147ed29f5b958fb4
