[INFO] cloning repository https://github.com/minj2me/async_evelator
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/minj2me/async_evelator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fminj2me%2Fasync_evelator", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fminj2me%2Fasync_evelator'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] eefe339d8b0d1b1b7e39799d880ca2fc058487e1
[INFO] checking minj2me/async_evelator against try#48c9d93cf65d550d124c40108859fd993778c157 for pr-153692-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fminj2me%2Fasync_evelator" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/minj2me/async_evelator
[INFO] finished tweaking git repo https://github.com/minj2me/async_evelator
[INFO] tweaked toml for git repo https://github.com/minj2me/async_evelator written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/minj2me/async_evelator on toolchain 48c9d93cf65d550d124c40108859fd993778c157
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+48c9d93cf65d550d124c40108859fd993778c157" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/minj2me/async_evelator 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" "+48c9d93cf65d550d124c40108859fd993778c157" "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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+48c9d93cf65d550d124c40108859fd993778c157" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2b79f76b15da9424a0b5b11f264c8d4fb69697368a9baee5a91aa210f8344d16
[INFO] running `Command { std: "docker" "start" "-a" "2b79f76b15da9424a0b5b11f264c8d4fb69697368a9baee5a91aa210f8344d16", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2b79f76b15da9424a0b5b11f264c8d4fb69697368a9baee5a91aa210f8344d16", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2b79f76b15da9424a0b5b11f264c8d4fb69697368a9baee5a91aa210f8344d16", kill_on_drop: false }`
[INFO] [stdout] 2b79f76b15da9424a0b5b11f264c8d4fb69697368a9baee5a91aa210f8344d16
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+48c9d93cf65d550d124c40108859fd993778c157" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b3363c51fd1cadcec5f523a86e110e9827ed6960345e6cb08aa90dc6e1fec3b3
[INFO] running `Command { std: "docker" "start" "-a" "b3363c51fd1cadcec5f523a86e110e9827ed6960345e6cb08aa90dc6e1fec3b3", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.39
[INFO] [stderr]    Compiling unicode-ident v1.0.0
[INFO] [stderr]    Compiling libc v0.2.125
[INFO] [stderr]    Compiling crossbeam-utils v0.8.8
[INFO] [stderr]    Compiling futures-core v0.3.21
[INFO] [stderr]    Compiling syn v1.0.95
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]    Compiling futures-task v0.3.21
[INFO] [stderr]    Compiling futures-channel v0.3.21
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]     Checking futures-sink v0.3.21
[INFO] [stderr]    Compiling futures-util v0.3.21
[INFO] [stderr]    Compiling crossbeam-queue v0.3.5
[INFO] [stderr]     Checking slab v0.4.6
[INFO] [stderr]     Checking pin-utils v0.1.0
[INFO] [stderr]     Checking ppv-lite86 v0.2.16
[INFO] [stderr]     Checking pin-project-lite v0.2.9
[INFO] [stderr]     Checking futures-io v0.3.21
[INFO] [stderr]     Checking scopeguard v1.1.0
[INFO] [stderr]     Checking cache-padded v1.2.0
[INFO] [stderr]     Checking concurrent-queue v1.2.2
[INFO] [stderr]     Checking work-queue v0.1.3
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling memoffset v0.6.5
[INFO] [stderr]    Compiling num-bigint v0.4.3
[INFO] [stderr]    Compiling num-iter v0.1.43
[INFO] [stderr]    Compiling num-rational v0.4.0
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.8
[INFO] [stderr]    Compiling quote v1.0.18
[INFO] [stderr]     Checking crossbeam-channel v0.5.4
[INFO] [stderr]     Checking crossbeam-deque v0.8.1
[INFO] [stderr]     Checking getrandom v0.2.6
[INFO] [stderr]     Checking rand_core v0.6.3
[INFO] [stderr]     Checking crossbeam v0.8.1
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking num-complex v0.4.1
[INFO] [stderr]     Checking num v0.4.0
[INFO] [stderr]     Checking wutil v0.1.0 (https://github.com/wyhhh/wutil.git#cc203a0f)
[INFO] [stdout] note: trace_macro
[INFO] [stdout]   --> /opt/rustwide/cargo-home/git/checkouts/wutil-f2effaecaba364e7/cc203a0/src/util.rs:61:17
[INFO] [stdout]    |
[INFO] [stdout] 61 |                 write!(f, "N/A")
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expanding `write! { f, "N/A" }`
[INFO] [stdout]    = note: to `f.write_fmt($crate :: format_args! ("N/A"))`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] note: trace_macro
[INFO] [stdout]   --> /opt/rustwide/cargo-home/git/checkouts/wutil-f2effaecaba364e7/cc203a0/src/util.rs:63:17
[INFO] [stdout]    |
[INFO] [stdout] 63 | /                 write!(
[INFO] [stdout] 64 | |                     f,
[INFO] [stdout] 65 | |                     "{:.width$?}%",
[INFO] [stdout] 66 | |                     self.0.rate(self.1),
[INFO] [stdout] 67 | |                     width = self.2 as usize
[INFO] [stdout] 68 | |                 )
[INFO] [stdout]    | |_________________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expanding `write! { f, "{:.width$?}%", self.0.rate(self.1), width = self.2 as usize }`
[INFO] [stdout]    = note: to `f.write_fmt($crate :: format_args!
[INFO] [stdout]            ("{:.width$?}%", self.0.rate(self.1), width = self.2 as usize))`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] note: trace_macro
[INFO] [stdout]   --> /opt/rustwide/cargo-home/git/checkouts/wutil-f2effaecaba364e7/cc203a0/src/util.rs:79:13
[INFO] [stdout]    |
[INFO] [stdout] 79 |             write!(f, "{:?}", self)
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expanding `write! { f, "{:?}", self }`
[INFO] [stdout]    = note: to `f.write_fmt($crate :: format_args! ("{:?}", self))`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] note: trace_macro
[INFO] [stdout]   --> /opt/rustwide/cargo-home/git/checkouts/wutil-f2effaecaba364e7/cc203a0/src/util.rs:90:17
[INFO] [stdout]    |
[INFO] [stdout] 90 |                 write!(f, "N/A")
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expanding `write! { f, "N/A" }`
[INFO] [stdout]    = note: to `f.write_fmt($crate :: format_args! ("N/A"))`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] note: trace_macro
[INFO] [stdout]   --> /opt/rustwide/cargo-home/git/checkouts/wutil-f2effaecaba364e7/cc203a0/src/util.rs:92:17
[INFO] [stdout]    |
[INFO] [stdout] 92 | /                 write!(
[INFO] [stdout] 93 | |                     f,
[INFO] [stdout] 94 | |                     "{:.width$?}%",
[INFO] [stdout] 95 | |                     100.0 - self.0.rate(self.1),
[INFO] [stdout] 96 | |                     width = self.2 as usize
[INFO] [stdout] 97 | |                 )
[INFO] [stdout]    | |_________________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expanding `write! { f, "{:.width$?}%", 100.0 - self.0.rate(self.1), width = self.2 as usize }`
[INFO] [stdout]    = note: to `f.write_fmt($crate :: format_args!
[INFO] [stdout]            ("{:.width$?}%", 100.0 - self.0.rate(self.1), width = self.2 as usize))`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] note: trace_macro
[INFO] [stdout]    --> /opt/rustwide/cargo-home/git/checkouts/wutil-f2effaecaba364e7/cc203a0/src/util.rs:108:13
[INFO] [stdout]     |
[INFO] [stdout] 108 |             write!(f, "{:?}", self)
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expanding `write! { f, "{:?}", self }`
[INFO] [stdout]     = note: to `f.write_fmt($crate :: format_args! ("{:?}", self))`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling futures-macro v0.3.21
[INFO] [stderr]     Checking futures-executor v0.3.21
[INFO] [stderr]     Checking futures v0.3.21
[INFO] [stderr]     Checking AsyncElevator v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::borrow::Borrow`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::borrow::Borrow;
[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: `std::collections::LinkedList`
[INFO] [stdout]  --> src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::collections::LinkedList;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `mpsc`
[INFO] [stdout]  --> src/main.rs:3:22
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::sync::{Arc, mpsc, Mutex};
[INFO] [stdout]   |                      ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::thread;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread::JoinHandle`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::thread::JoinHandle;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::time::Duration;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crossbeam::channel::Receiver`
[INFO] [stdout]   --> src/main.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crossbeam::channel::Receiver;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crossbeam::channel::Sender`
[INFO] [stdout]   --> src/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crossbeam::channel::Sender;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crossbeam::channel::unbounded`
[INFO] [stdout]   --> src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use crossbeam::channel::unbounded;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Scheduler`
[INFO] [stdout]   --> src/main.rs:21:24
[INFO] [stdout]    |
[INFO] [stdout] 21 | use crate::scheduler::{Scheduler, SchedulerBuilder};
[INFO] [stdout]    |                        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BorrowMut` and `Borrow`
[INFO] [stdout]  --> src/elevator.rs:9:19
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::borrow::{Borrow, BorrowMut};
[INFO] [stdout]   |                   ^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AddAssign` and `Deref`
[INFO] [stdout]   --> src/elevator.rs:11:16
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::ops::{AddAssign, Deref};
[INFO] [stdout]    |                ^^^^^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread`
[INFO] [stdout]   --> src/elevator.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use std::thread;
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `futures::StreamExt`
[INFO] [stdout]   --> src/elevator.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use futures::StreamExt;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `wutil::convert::StaticRef`
[INFO] [stdout]   --> src/elevator.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | use wutil::convert::StaticRef;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TaskType`
[INFO] [stdout]   --> src/elevator.rs:22:33
[INFO] [stdout]    |
[INFO] [stdout] 22 | use crate::task::{ElevatorTask, TaskType};
[INFO] [stdout]    |                                 ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `goingUp` should have an upper camel case name
[INFO] [stdout]   --> src/elevator.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 |     goingUp,
[INFO] [stdout]    |     ^^^^^^^ help: convert the identifier to upper camel case: `GoingUp`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `goingDown` should have an upper camel case name
[INFO] [stdout]   --> src/elevator.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 28 |     goingDown,
[INFO] [stdout]    |     ^^^^^^^^^ help: convert the identifier to upper camel case: `GoingDown`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::Borrow`
[INFO] [stdout]  --> src/scheduler.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::borrow::Borrow;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `LinkedList` and `VecDeque`
[INFO] [stdout]  --> src/scheduler.rs:5:36
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::collections::{BinaryHeap, LinkedList, VecDeque};
[INFO] [stdout]   |                                    ^^^^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::i32::MAX`
[INFO] [stdout]  --> src/scheduler.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::i32::MAX;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `null_mut` and `null`
[INFO] [stdout]  --> src/scheduler.rs:7:16
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::ptr::{null, null_mut};
[INFO] [stdout]   |                ^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crossbeam::channel::Receiver`
[INFO] [stdout]   --> src/scheduler.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use crossbeam::channel::Receiver;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crossbeam::channel::Sender`
[INFO] [stdout]   --> src/scheduler.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use crossbeam::channel::Sender;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `wutil::convert::StaticRef`
[INFO] [stdout]   --> src/scheduler.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use wutil::convert::StaticRef;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::elevator::Status`
[INFO] [stdout]   --> src/scheduler.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | use crate::elevator::Status;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::scheduler`
[INFO] [stdout]   --> src/scheduler.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | use crate::scheduler;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `goingUp` should have an upper camel case name
[INFO] [stdout]   --> src/task.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 |     goingUp,
[INFO] [stdout]    |     ^^^^^^^ help: convert the identifier to upper camel case: `GoingUp`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `goingDown` should have an upper camel case name
[INFO] [stdout]   --> src/task.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 |     goingDown,
[INFO] [stdout]    |     ^^^^^^^^^ help: convert the identifier to upper camel case: `GoingDown`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `openDoor` should have an upper camel case name
[INFO] [stdout]   --> src/task.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 |     openDoor,
[INFO] [stdout]    |     ^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `OpenDoor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `closeDoor` should have an upper camel case name
[INFO] [stdout]   --> src/task.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 |     closeDoor,
[INFO] [stdout]    |     ^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `CloseDoor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BorrowMut`
[INFO] [stdout]  --> src/task_handler.rs:9:27
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::borrow::{Borrow, BorrowMut};
[INFO] [stdout]   |                           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io`
[INFO] [stdout]   --> src/task_handler.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::io;
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::atomic::AtomicBool`
[INFO] [stdout]   --> src/task_handler.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::sync::atomic::AtomicBool;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread`
[INFO] [stdout]   --> src/task_handler.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::thread;
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout]   --> src/task_handler.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use std::time::Duration;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::future::Future`
[INFO] [stdout]   --> src/task_handler.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | use std::future::Future;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::pin::Pin`
[INFO] [stdout]   --> src/task_handler.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | use std::pin::Pin;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Context` and `Poll`
[INFO] [stdout]   --> src/task_handler.rs:26:17
[INFO] [stdout]    |
[INFO] [stdout] 26 | use std::task::{Context, Poll};
[INFO] [stdout]    |                 ^^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread::sleep`
[INFO] [stdout]   --> src/task_handler.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 | use std::thread::sleep;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::Borrow`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::borrow::Borrow;
[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: `std::collections::LinkedList`
[INFO] [stdout]  --> src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::collections::LinkedList;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `mpsc`
[INFO] [stdout]  --> src/main.rs:3:22
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::sync::{Arc, mpsc, Mutex};
[INFO] [stdout]   |                      ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::thread;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread::JoinHandle`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::thread::JoinHandle;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::time::Duration;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crossbeam::channel::Receiver`
[INFO] [stdout]   --> src/main.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crossbeam::channel::Receiver;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crossbeam::channel::Sender`
[INFO] [stdout]   --> src/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crossbeam::channel::Sender;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crossbeam::channel::unbounded`
[INFO] [stdout]   --> src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use crossbeam::channel::unbounded;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Scheduler`
[INFO] [stdout]   --> src/main.rs:21:24
[INFO] [stdout]    |
[INFO] [stdout] 21 | use crate::scheduler::{Scheduler, SchedulerBuilder};
[INFO] [stdout]    |                        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BorrowMut` and `Borrow`
[INFO] [stdout]  --> src/elevator.rs:9:19
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::borrow::{Borrow, BorrowMut};
[INFO] [stdout]   |                   ^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AddAssign` and `Deref`
[INFO] [stdout]   --> src/elevator.rs:11:16
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::ops::{AddAssign, Deref};
[INFO] [stdout]    |                ^^^^^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread`
[INFO] [stdout]   --> src/elevator.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use std::thread;
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `futures::StreamExt`
[INFO] [stdout]   --> src/elevator.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use futures::StreamExt;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `wutil::convert::StaticRef`
[INFO] [stdout]   --> src/elevator.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | use wutil::convert::StaticRef;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TaskType`
[INFO] [stdout]   --> src/elevator.rs:22:33
[INFO] [stdout]    |
[INFO] [stdout] 22 | use crate::task::{ElevatorTask, TaskType};
[INFO] [stdout]    |                                 ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `goingUp` should have an upper camel case name
[INFO] [stdout]   --> src/elevator.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 |     goingUp,
[INFO] [stdout]    |     ^^^^^^^ help: convert the identifier to upper camel case: `GoingUp`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `goingDown` should have an upper camel case name
[INFO] [stdout]   --> src/elevator.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 28 |     goingDown,
[INFO] [stdout]    |     ^^^^^^^^^ help: convert the identifier to upper camel case: `GoingDown`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::Borrow`
[INFO] [stdout]  --> src/scheduler.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::borrow::Borrow;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `LinkedList` and `VecDeque`
[INFO] [stdout]  --> src/scheduler.rs:5:36
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::collections::{BinaryHeap, LinkedList, VecDeque};
[INFO] [stdout]   |                                    ^^^^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::i32::MAX`
[INFO] [stdout]  --> src/scheduler.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::i32::MAX;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `null_mut` and `null`
[INFO] [stdout]  --> src/scheduler.rs:7:16
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::ptr::{null, null_mut};
[INFO] [stdout]   |                ^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crossbeam::channel::Receiver`
[INFO] [stdout]   --> src/scheduler.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use crossbeam::channel::Receiver;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crossbeam::channel::Sender`
[INFO] [stdout]   --> src/scheduler.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use crossbeam::channel::Sender;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `wutil::convert::StaticRef`
[INFO] [stdout]   --> src/scheduler.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use wutil::convert::StaticRef;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::elevator::Status`
[INFO] [stdout]   --> src/scheduler.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | use crate::elevator::Status;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::scheduler`
[INFO] [stdout]   --> src/scheduler.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | use crate::scheduler;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `goingUp` should have an upper camel case name
[INFO] [stdout]   --> src/task.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 |     goingUp,
[INFO] [stdout]    |     ^^^^^^^ help: convert the identifier to upper camel case: `GoingUp`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `goingDown` should have an upper camel case name
[INFO] [stdout]   --> src/task.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 |     goingDown,
[INFO] [stdout]    |     ^^^^^^^^^ help: convert the identifier to upper camel case: `GoingDown`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `openDoor` should have an upper camel case name
[INFO] [stdout]   --> src/task.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 |     openDoor,
[INFO] [stdout]    |     ^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `OpenDoor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `closeDoor` should have an upper camel case name
[INFO] [stdout]   --> src/task.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 |     closeDoor,
[INFO] [stdout]    |     ^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `CloseDoor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BorrowMut`
[INFO] [stdout]  --> src/task_handler.rs:9:27
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::borrow::{Borrow, BorrowMut};
[INFO] [stdout]   |                           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io`
[INFO] [stdout]   --> src/task_handler.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::io;
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::atomic::AtomicBool`
[INFO] [stdout]   --> src/task_handler.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::sync::atomic::AtomicBool;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread`
[INFO] [stdout]   --> src/task_handler.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::thread;
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout]   --> src/task_handler.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use std::time::Duration;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::future::Future`
[INFO] [stdout]   --> src/task_handler.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | use std::future::Future;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::pin::Pin`
[INFO] [stdout]   --> src/task_handler.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | use std::pin::Pin;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Context` and `Poll`
[INFO] [stdout]   --> src/task_handler.rs:26:17
[INFO] [stdout]    |
[INFO] [stdout] 26 | use std::task::{Context, Poll};
[INFO] [stdout]    |                 ^^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread::sleep`
[INFO] [stdout]   --> src/task_handler.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 | use std::thread::sleep;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `msg_done`
[INFO] [stdout]   --> src/scheduler.rs:49:9
[INFO] [stdout]    |
[INFO] [stdout] 49 |         msg_done: &'static AtomicBool,
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_msg_done`
[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/scheduler.rs:58:13
[INFO] [stdout]    |
[INFO] [stdout] 58 |         for id in 0..threads {
[INFO] [stdout]    |             ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]   --> src/scheduler.rs:63:13
[INFO] [stdout]    |
[INFO] [stdout] 63 |         for id in 0..threads {
[INFO] [stdout]    |             ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `cur` is never read
[INFO] [stdout]   --> src/task_handler.rs:38:27
[INFO] [stdout]    |
[INFO] [stdout] 38 |             let mut cur = 0;
[INFO] [stdout]    |                           ^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 42 |                 cur = cal_weight(ele, task.borrow());
[INFO] [stdout]    |                 ------------------------------------ `cur` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/task_handler.rs:71:9
[INFO] [stdout]    |
[INFO] [stdout] 71 |     let mut floor = elevator.floor.lock().unwrap();
[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: `task3`
[INFO] [stdout]   --> src/main.rs:61:9
[INFO] [stdout]    |
[INFO] [stdout] 61 |     let task3 = ElevatorTask::new(true, 15, TaskType::goingUp);
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_task3`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `task4`
[INFO] [stdout]   --> src/main.rs:62:9
[INFO] [stdout]    |
[INFO] [stdout] 62 |     let task4 = ElevatorTask::new(false, 18, TaskType::goingUp);
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_task4`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `task5`
[INFO] [stdout]   --> src/main.rs:63:9
[INFO] [stdout]    |
[INFO] [stdout] 63 |     let task5 = ElevatorTask::new(false, 1, TaskType::goingDown);
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_task5`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `is_up` and `capacity` are never read
[INFO] [stdout]   --> src/elevator.rs:36:9
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub struct Elevator {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 36 |     pub is_up: bool,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 37 |     pub capacity: i32,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `unparker` is never read
[INFO] [stdout]   --> src/scheduler.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub struct Worker {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] 33 |     handle: JoinHandle<()>,
[INFO] [stdout] 34 |     unparker: Unparker,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `join` and `notify_all` are never used
[INFO] [stdout]    --> src/scheduler.rs:110:12
[INFO] [stdout]     |
[INFO] [stdout] 105 | impl Scheduler {
[INFO] [stdout]     | -------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 110 |     pub fn join(self) {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 114 |     pub fn notify_all(&self) {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `openDoor` and `closeDoor` are never constructed
[INFO] [stdout]   --> src/task.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub enum TaskType {
[INFO] [stdout]    |          -------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 17 |     openDoor,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 18 |     closeDoor,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TaskType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `indoor_request` is never read
[INFO] [stdout]   --> src/task.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub struct ElevatorTask {
[INFO] [stdout]    |            ------------ field in this struct
[INFO] [stdout] 27 |     //是否来自电梯内部的请求
[INFO] [stdout] 28 |     pub indoor_request: bool,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ElevatorTask` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused comparison that must be used
[INFO] [stdout]   --> src/elevator.rs:93:9
[INFO] [stdout]    |
[INFO] [stdout] 93 |         self.status == Status::goingUp;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the comparison produces a value
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 93 |         let _ = self.status == Status::goingUp;
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused comparison that must be used
[INFO] [stdout]   --> src/elevator.rs:99:9
[INFO] [stdout]    |
[INFO] [stdout] 99 |         self.status == Status::goingDown;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the comparison produces a value
[INFO] [stdout]    |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 99 |         let _ = self.status == Status::goingDown;
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused comparison that must be used
[INFO] [stdout]    --> src/elevator.rs:113:9
[INFO] [stdout]     |
[INFO] [stdout] 113 |         self.status == Status::Stop;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the comparison produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 113 |         let _ = self.status == Status::Stop;
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/scheduler.rs:85:29
[INFO] [stdout]    |
[INFO] [stdout] 85 | ...                   tx.send(task);
[INFO] [stdout]    |                       ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 85 |                             let _ = tx.send(task);
[INFO] [stdout]    |                             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `msg_done`
[INFO] [stdout]   --> src/scheduler.rs:49:9
[INFO] [stdout]    |
[INFO] [stdout] 49 |         msg_done: &'static AtomicBool,
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_msg_done`
[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/scheduler.rs:58:13
[INFO] [stdout]    |
[INFO] [stdout] 58 |         for id in 0..threads {
[INFO] [stdout]    |             ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]   --> src/scheduler.rs:63:13
[INFO] [stdout]    |
[INFO] [stdout] 63 |         for id in 0..threads {
[INFO] [stdout]    |             ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `cur` is never read
[INFO] [stdout]   --> src/task_handler.rs:38:27
[INFO] [stdout]    |
[INFO] [stdout] 38 |             let mut cur = 0;
[INFO] [stdout]    |                           ^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 42 |                 cur = cal_weight(ele, task.borrow());
[INFO] [stdout]    |                 ------------------------------------ `cur` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/task_handler.rs:71:9
[INFO] [stdout]    |
[INFO] [stdout] 71 |     let mut floor = elevator.floor.lock().unwrap();
[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: `task3`
[INFO] [stdout]   --> src/main.rs:61:9
[INFO] [stdout]    |
[INFO] [stdout] 61 |     let task3 = ElevatorTask::new(true, 15, TaskType::goingUp);
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_task3`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `task4`
[INFO] [stdout]   --> src/main.rs:62:9
[INFO] [stdout]    |
[INFO] [stdout] 62 |     let task4 = ElevatorTask::new(false, 18, TaskType::goingUp);
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_task4`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `task5`
[INFO] [stdout]   --> src/main.rs:63:9
[INFO] [stdout]    |
[INFO] [stdout] 63 |     let task5 = ElevatorTask::new(false, 1, TaskType::goingDown);
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_task5`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `is_up` and `capacity` are never read
[INFO] [stdout]   --> src/elevator.rs:36:9
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub struct Elevator {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 36 |     pub is_up: bool,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 37 |     pub capacity: i32,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `unparker` is never read
[INFO] [stdout]   --> src/scheduler.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub struct Worker {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] 33 |     handle: JoinHandle<()>,
[INFO] [stdout] 34 |     unparker: Unparker,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `join` and `notify_all` are never used
[INFO] [stdout]    --> src/scheduler.rs:110:12
[INFO] [stdout]     |
[INFO] [stdout] 105 | impl Scheduler {
[INFO] [stdout]     | -------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 110 |     pub fn join(self) {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 114 |     pub fn notify_all(&self) {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `openDoor` and `closeDoor` are never constructed
[INFO] [stdout]   --> src/task.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub enum TaskType {
[INFO] [stdout]    |          -------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 17 |     openDoor,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 18 |     closeDoor,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TaskType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `indoor_request` is never read
[INFO] [stdout]   --> src/task.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub struct ElevatorTask {
[INFO] [stdout]    |            ------------ field in this struct
[INFO] [stdout] 27 |     //是否来自电梯内部的请求
[INFO] [stdout] 28 |     pub indoor_request: bool,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ElevatorTask` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused comparison that must be used
[INFO] [stdout]   --> src/elevator.rs:93:9
[INFO] [stdout]    |
[INFO] [stdout] 93 |         self.status == Status::goingUp;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the comparison produces a value
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 93 |         let _ = self.status == Status::goingUp;
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused comparison that must be used
[INFO] [stdout]   --> src/elevator.rs:99:9
[INFO] [stdout]    |
[INFO] [stdout] 99 |         self.status == Status::goingDown;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the comparison produces a value
[INFO] [stdout]    |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 99 |         let _ = self.status == Status::goingDown;
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused comparison that must be used
[INFO] [stdout]    --> src/elevator.rs:113:9
[INFO] [stdout]     |
[INFO] [stdout] 113 |         self.status == Status::Stop;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the comparison produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 113 |         let _ = self.status == Status::Stop;
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/scheduler.rs:85:29
[INFO] [stdout]    |
[INFO] [stdout] 85 | ...                   tx.send(task);
[INFO] [stdout]    |                       ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 85 |                             let _ = tx.send(task);
[INFO] [stdout]    |                             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.25s
[INFO] running `Command { std: "docker" "inspect" "b3363c51fd1cadcec5f523a86e110e9827ed6960345e6cb08aa90dc6e1fec3b3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b3363c51fd1cadcec5f523a86e110e9827ed6960345e6cb08aa90dc6e1fec3b3", kill_on_drop: false }`
[INFO] [stdout] b3363c51fd1cadcec5f523a86e110e9827ed6960345e6cb08aa90dc6e1fec3b3
