[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 1.95.0-beta.7 for beta-1.95-4
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fersba%2Felevator" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-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-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ersba/elevator on toolchain 1.95.0-beta.7
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0-beta.7" "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" "+1.95.0-beta.7" "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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0-beta.7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2156095af3321e09a32d3a0f79247051afbf7e2a300eb5ea2b45b1395068813c
[INFO] running `Command { std: "docker" "start" "-a" "2156095af3321e09a32d3a0f79247051afbf7e2a300eb5ea2b45b1395068813c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2156095af3321e09a32d3a0f79247051afbf7e2a300eb5ea2b45b1395068813c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2156095af3321e09a32d3a0f79247051afbf7e2a300eb5ea2b45b1395068813c", kill_on_drop: false }`
[INFO] [stdout] 2156095af3321e09a32d3a0f79247051afbf7e2a300eb5ea2b45b1395068813c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0-beta.7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] cb4c5f7277537c13f66a78ed055b51b7869f5241f9bb0b404b0b4d8e8da30017
[INFO] running `Command { std: "docker" "start" "-a" "cb4c5f7277537c13f66a78ed055b51b7869f5241f9bb0b404b0b4d8e8da30017", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.93
[INFO] [stderr]    Compiling unicode-ident v1.0.15
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking crossbeam-channel v0.5.14
[INFO] [stderr]    Compiling quote v1.0.38
[INFO] [stderr]    Compiling syn v2.0.96
[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 7.07s
[INFO] running `Command { std: "docker" "inspect" "cb4c5f7277537c13f66a78ed055b51b7869f5241f9bb0b404b0b4d8e8da30017", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cb4c5f7277537c13f66a78ed055b51b7869f5241f9bb0b404b0b4d8e8da30017", kill_on_drop: false }`
[INFO] [stdout] cb4c5f7277537c13f66a78ed055b51b7869f5241f9bb0b404b0b4d8e8da30017
