[INFO] cloning repository https://github.com/davhogan/RestaurantTheGame
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/davhogan/RestaurantTheGame" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavhogan%2FRestaurantTheGame", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavhogan%2FRestaurantTheGame'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ade89d398af5e9b7c410090aed9b1477120db428
[INFO] checking davhogan/RestaurantTheGame against try#1c4199da70f816f2239f41c55168ff75a3663718 for 155501-infallible-never-no-reservation
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavhogan%2FRestaurantTheGame" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/davhogan/RestaurantTheGame
[INFO] finished tweaking git repo https://github.com/davhogan/RestaurantTheGame
[INFO] tweaked toml for git repo https://github.com/davhogan/RestaurantTheGame written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/davhogan/RestaurantTheGame on toolchain 1c4199da70f816f2239f41c55168ff75a3663718
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1c4199da70f816f2239f41c55168ff75a3663718" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/davhogan/RestaurantTheGame 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" "+1c4199da70f816f2239f41c55168ff75a3663718" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded rand v0.3.23
[INFO] [stderr]   Downloaded rand v0.4.6
[INFO] [stderr]   Downloaded text_io v0.1.7
[INFO] [stderr]   Downloaded rand_core v0.4.0
[INFO] [stderr]   Downloaded libc v0.2.59
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1c4199da70f816f2239f41c55168ff75a3663718" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8f7be963dfbee93d2ae38d537c6705d8dd595dfcc480c0978716442301ef2a26
[INFO] running `Command { std: "docker" "start" "-a" "8f7be963dfbee93d2ae38d537c6705d8dd595dfcc480c0978716442301ef2a26", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8f7be963dfbee93d2ae38d537c6705d8dd595dfcc480c0978716442301ef2a26", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8f7be963dfbee93d2ae38d537c6705d8dd595dfcc480c0978716442301ef2a26", kill_on_drop: false }`
[INFO] [stdout] 8f7be963dfbee93d2ae38d537c6705d8dd595dfcc480c0978716442301ef2a26
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1c4199da70f816f2239f41c55168ff75a3663718" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 045e38e9c5e1a1da833dfebf2efddaef42fb368e957e59b54cf3a3e7918fdefa
[INFO] running `Command { std: "docker" "start" "-a" "045e38e9c5e1a1da833dfebf2efddaef42fb368e957e59b54cf3a3e7918fdefa", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.59
[INFO] [stderr]     Checking text_io v0.1.7
[INFO] [stderr]     Checking rand v0.4.6
[INFO] [stderr]     Checking rand v0.3.23
[INFO] [stderr]     Checking RestaurantTheGame v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> src/main.rs:6:1
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[macro_use]
[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: `rand::Rng`
[INFO] [stdout]   --> src/ui/simulator.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use rand::Rng;
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cell::Cell`
[INFO] [stdout]   --> src/ui/simulator/restaurant/employee.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::cell::Cell;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::Borrow`
[INFO] [stdout]   --> src/ui/simulator/restaurant/menu_item.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::borrow::Borrow;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/ui.rs:185:16
[INFO] [stdout]     |
[INFO] [stdout] 185 |             if (new_quality == 1) {
[INFO] [stdout]     |                ^                ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 185 -             if (new_quality == 1) {
[INFO] [stdout] 185 +             if new_quality == 1 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/ui.rs:188:16
[INFO] [stdout]     |
[INFO] [stdout] 188 |             if (new_quality == 2) {
[INFO] [stdout]     |                ^                ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 188 -             if (new_quality == 2) {
[INFO] [stdout] 188 +             if new_quality == 2 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/ui.rs:191:16
[INFO] [stdout]     |
[INFO] [stdout] 191 |             if (new_quality == 3) {
[INFO] [stdout]     |                ^                ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 191 -             if (new_quality == 3) {
[INFO] [stdout] 191 +             if new_quality == 3 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `emp_test` in this scope
[INFO] [stdout]   --> src/ui/simulator/restaurant/menu_item.rs:82:20
[INFO] [stdout]    |
[INFO] [stdout] 82 |     assert_eq!(25, emp_test.get_inv());
[INFO] [stdout]    |                    ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `emp_test` in this scope
[INFO] [stdout]   --> src/ui/simulator/restaurant/menu_item.rs:90:19
[INFO] [stdout]    |
[INFO] [stdout] 90 |     assert_eq!(0, emp_test.get_inv());
[INFO] [stdout]    |                   ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `emp_test` in this scope
[INFO] [stdout]   --> src/ui/simulator/restaurant/menu_item.rs:98:19
[INFO] [stdout]    |
[INFO] [stdout] 98 |     assert_eq!(0, emp_test.get_inv());
[INFO] [stdout]    |                   ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> src/main.rs:6:1
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[macro_use]
[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: `rand::Rng`
[INFO] [stdout]   --> src/ui/simulator.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use rand::Rng;
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cell::Cell`
[INFO] [stdout]   --> src/ui/simulator/restaurant/employee.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::cell::Cell;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::Borrow`
[INFO] [stdout]   --> src/ui/simulator/restaurant/menu_item.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::borrow::Borrow;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/ui.rs:185:16
[INFO] [stdout]     |
[INFO] [stdout] 185 |             if (new_quality == 1) {
[INFO] [stdout]     |                ^                ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 185 -             if (new_quality == 1) {
[INFO] [stdout] 185 +             if new_quality == 1 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/ui.rs:188:16
[INFO] [stdout]     |
[INFO] [stdout] 188 |             if (new_quality == 2) {
[INFO] [stdout]     |                ^                ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 188 -             if (new_quality == 2) {
[INFO] [stdout] 188 +             if new_quality == 2 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/ui.rs:191:16
[INFO] [stdout]     |
[INFO] [stdout] 191 |             if (new_quality == 3) {
[INFO] [stdout]     |                ^                ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 191 -             if (new_quality == 3) {
[INFO] [stdout] 191 +             if new_quality == 3 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `new` found for struct `Employee` in the current scope
[INFO] [stdout]    --> src/ui/simulator/restaurant/employee.rs:124:30
[INFO] [stdout]     |
[INFO] [stdout]  27 | pub struct Employee {
[INFO] [stdout]     | ------------------- associated function or constant `new` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 124 |     let emp_test = Employee::new();
[INFO] [stdout]     |                              ^^^ associated function or constant not found in `Employee`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `Employee` consider using one of the following associated functions:
[INFO] [stdout]       Employee::default
[INFO] [stdout]       Employee::rand_empl
[INFO] [stdout]    --> src/ui/simulator/restaurant/employee.rs:40:5
[INFO] [stdout]     |
[INFO] [stdout]  40 |     pub fn default(posit: i64, id: i64) -> Employee {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  58 |     pub fn rand_empl() -> Employee {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rng`
[INFO] [stdout]   --> src/ui/simulator/restaurant/employee.rs:41:13
[INFO] [stdout]    |
[INFO] [stdout] 41 |         let rng = rand::thread_rng();
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_rng`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/ui/simulator/restaurant/employee.rs:62:13
[INFO] [stdout]    |
[INFO] [stdout] 62 |         let mut id = rng.gen_range(1, 99999);
[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: variable does not need to be mutable
[INFO] [stdout]    --> src/ui/simulator/restaurant.rs:100:13
[INFO] [stdout]     |
[INFO] [stdout] 100 |         let mut customers: Vec<Customer> = Vec::new();
[INFO] [stdout]     |             ----^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `new` found for struct `Employee` in the current scope
[INFO] [stdout]    --> src/ui/simulator/restaurant/employee.rs:136:34
[INFO] [stdout]     |
[INFO] [stdout]  27 | pub struct Employee {
[INFO] [stdout]     | ------------------- associated function or constant `new` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 136 |     let mut emp_test = Employee::new();
[INFO] [stdout]     |                                  ^^^ associated function or constant not found in `Employee`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `Employee` consider using one of the following associated functions:
[INFO] [stdout]       Employee::default
[INFO] [stdout]       Employee::rand_empl
[INFO] [stdout]    --> src/ui/simulator/restaurant/employee.rs:40:5
[INFO] [stdout]     |
[INFO] [stdout]  40 |     pub fn default(posit: i64, id: i64) -> Employee {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  58 |     pub fn rand_empl() -> Employee {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/ui/simulator/restaurant.rs:204:13
[INFO] [stdout]     |
[INFO] [stdout] 204 |         for mut item in &mut self.menu {
[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/ui/simulator/restaurant.rs:213:13
[INFO] [stdout]     |
[INFO] [stdout] 213 |         for mut item in &mut self.menu {
[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/ui/simulator/restaurant.rs:222:13
[INFO] [stdout]     |
[INFO] [stdout] 222 |         for mut item in &mut self.menu {
[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/ui/simulator/restaurant.rs:267:13
[INFO] [stdout]     |
[INFO] [stdout] 267 |         for mut item in &mut self.menu {
[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/ui/simulator/restaurant.rs:277:13
[INFO] [stdout]     |
[INFO] [stdout] 277 |         for mut item in &mut self.menu {
[INFO] [stdout]     |             ----^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `set_wage` found for struct `Employee` in the current scope
[INFO] [stdout]    --> src/ui/simulator/restaurant/employee.rs:137:15
[INFO] [stdout]     |
[INFO] [stdout]  27 | pub struct Employee {
[INFO] [stdout]     | ------------------- associated function or constant `set_wage` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 137 |     Employee::set_wage(&mut emp_test, 12.34);
[INFO] [stdout]     |               ^^^^^^^^ associated function or constant not found in `Employee`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `Employee` consider using one of the following associated functions:
[INFO] [stdout]       Employee::default
[INFO] [stdout]       Employee::rand_empl
[INFO] [stdout]    --> src/ui/simulator/restaurant/employee.rs:40:5
[INFO] [stdout]     |
[INFO] [stdout]  40 |     pub fn default(posit: i64, id: i64) -> Employee {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  58 |     pub fn rand_empl() -> Employee {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: there is a method `get_wage` with a similar name, but with different arguments
[INFO] [stdout]    --> src/ui/simulator/restaurant/employee.rs:85:5
[INFO] [stdout]     |
[INFO] [stdout]  85 |     pub fn get_wage(&self) -> f64 {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `new` found for struct `Employee` in the current scope
[INFO] [stdout]    --> src/ui/simulator/restaurant/employee.rs:143:34
[INFO] [stdout]     |
[INFO] [stdout]  27 | pub struct Employee {
[INFO] [stdout]     | ------------------- associated function or constant `new` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 143 |     let mut emp_test = Employee::new();
[INFO] [stdout]     |                                  ^^^ associated function or constant not found in `Employee`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `Employee` consider using one of the following associated functions:
[INFO] [stdout]       Employee::default
[INFO] [stdout]       Employee::rand_empl
[INFO] [stdout]    --> src/ui/simulator/restaurant/employee.rs:40:5
[INFO] [stdout]     |
[INFO] [stdout]  40 |     pub fn default(posit: i64, id: i64) -> Employee {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  58 |     pub fn rand_empl() -> Employee {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `set_rating` found for struct `Employee` in the current scope
[INFO] [stdout]    --> src/ui/simulator/restaurant/employee.rs:144:15
[INFO] [stdout]     |
[INFO] [stdout]  27 | pub struct Employee {
[INFO] [stdout]     | ------------------- associated function or constant `set_rating` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 144 |     Employee::set_rating(&mut emp_test, 8);
[INFO] [stdout]     |               ^^^^^^^^^^ associated function or constant not found in `Employee`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `Employee` consider using one of the following associated functions:
[INFO] [stdout]       Employee::default
[INFO] [stdout]       Employee::rand_empl
[INFO] [stdout]    --> src/ui/simulator/restaurant/employee.rs:40:5
[INFO] [stdout]     |
[INFO] [stdout]  40 |     pub fn default(posit: i64, id: i64) -> Employee {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  58 |     pub fn rand_empl() -> Employee {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: there is a method `get_rating` with a similar name, but with different arguments
[INFO] [stdout]    --> src/ui/simulator/restaurant/employee.rs:112:5
[INFO] [stdout]     |
[INFO] [stdout] 112 |     pub fn get_rating(&self) -> i64 {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `new` found for struct `Employee` in the current scope
[INFO] [stdout]    --> src/ui/simulator/restaurant/employee.rs:150:34
[INFO] [stdout]     |
[INFO] [stdout]  27 | pub struct Employee {
[INFO] [stdout]     | ------------------- associated function or constant `new` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 150 |     let mut emp_test = Employee::new();
[INFO] [stdout]     |                                  ^^^ associated function or constant not found in `Employee`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `Employee` consider using one of the following associated functions:
[INFO] [stdout]       Employee::default
[INFO] [stdout]       Employee::rand_empl
[INFO] [stdout]    --> src/ui/simulator/restaurant/employee.rs:40:5
[INFO] [stdout]     |
[INFO] [stdout]  40 |     pub fn default(posit: i64, id: i64) -> Employee {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  58 |     pub fn rand_empl() -> Employee {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `set_rating` found for struct `Employee` in the current scope
[INFO] [stdout]    --> src/ui/simulator/restaurant/employee.rs:151:15
[INFO] [stdout]     |
[INFO] [stdout]  27 | pub struct Employee {
[INFO] [stdout]     | ------------------- associated function or constant `set_rating` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 151 |     Employee::set_rating(&mut emp_test, 11);
[INFO] [stdout]     |               ^^^^^^^^^^ associated function or constant not found in `Employee`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `Employee` consider using one of the following associated functions:
[INFO] [stdout]       Employee::default
[INFO] [stdout]       Employee::rand_empl
[INFO] [stdout]    --> src/ui/simulator/restaurant/employee.rs:40:5
[INFO] [stdout]     |
[INFO] [stdout]  40 |     pub fn default(posit: i64, id: i64) -> Employee {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  58 |     pub fn rand_empl() -> Employee {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: there is a method `get_rating` with a similar name, but with different arguments
[INFO] [stdout]    --> src/ui/simulator/restaurant/employee.rs:112:5
[INFO] [stdout]     |
[INFO] [stdout] 112 |     pub fn get_rating(&self) -> i64 {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `input` is never read
[INFO] [stdout]   --> src/ui.rs:40:34
[INFO] [stdout]    |
[INFO] [stdout] 40 |         let mut input : String = "".to_owned();
[INFO] [stdout]    |                                  ^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 51 |             input = read!();
[INFO] [stdout]    |             ----- `input` 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: value assigned to `input` is never read
[INFO] [stdout]   --> src/ui.rs:85:34
[INFO] [stdout]    |
[INFO] [stdout] 85 |         let mut input : String = "".to_owned();
[INFO] [stdout]    |                                  ^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 92 |             input = read!();
[INFO] [stdout]    |             ----- `input` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `new` found for struct `Employee` in the current scope
[INFO] [stdout]    --> src/ui/simulator/restaurant/employee.rs:157:34
[INFO] [stdout]     |
[INFO] [stdout]  27 | pub struct Employee {
[INFO] [stdout]     | ------------------- associated function or constant `new` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 157 |     let mut emp_test = Employee::new();
[INFO] [stdout]     |                                  ^^^ associated function or constant not found in `Employee`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `Employee` consider using one of the following associated functions:
[INFO] [stdout]       Employee::default
[INFO] [stdout]       Employee::rand_empl
[INFO] [stdout]    --> src/ui/simulator/restaurant/employee.rs:40:5
[INFO] [stdout]     |
[INFO] [stdout]  40 |     pub fn default(posit: i64, id: i64) -> Employee {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  58 |     pub fn rand_empl() -> Employee {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `input` is never read
[INFO] [stdout]    --> src/ui.rs:107:34
[INFO] [stdout]     |
[INFO] [stdout] 107 |         let mut input : String = "".to_owned();
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 113 |             input = read!();
[INFO] [stdout]     |             ----- `input` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `set_rating` found for struct `Employee` in the current scope
[INFO] [stdout]    --> src/ui/simulator/restaurant/employee.rs:158:15
[INFO] [stdout]     |
[INFO] [stdout]  27 | pub struct Employee {
[INFO] [stdout]     | ------------------- associated function or constant `set_rating` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 158 |     Employee::set_rating(&mut emp_test, 0);
[INFO] [stdout]     |               ^^^^^^^^^^ associated function or constant not found in `Employee`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `Employee` consider using one of the following associated functions:
[INFO] [stdout]       Employee::default
[INFO] [stdout]       Employee::rand_empl
[INFO] [stdout]    --> src/ui/simulator/restaurant/employee.rs:40:5
[INFO] [stdout]     |
[INFO] [stdout]  40 |     pub fn default(posit: i64, id: i64) -> Employee {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  58 |     pub fn rand_empl() -> Employee {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: there is a method `get_rating` with a similar name, but with different arguments
[INFO] [stdout]    --> src/ui/simulator/restaurant/employee.rs:112:5
[INFO] [stdout]     |
[INFO] [stdout] 112 |     pub fn get_rating(&self) -> i64 {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `input` is never read
[INFO] [stdout]    --> src/ui.rs:128:34
[INFO] [stdout]     |
[INFO] [stdout] 128 |         let mut input : String = "".to_owned();
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 163 |         input = read!();
[INFO] [stdout]     |         ----- `input` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `input` is never read
[INFO] [stdout]    --> src/ui.rs:176:38
[INFO] [stdout]     |
[INFO] [stdout] 176 |             let mut input : String = "".to_owned();
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 181 |                 input = read!();
[INFO] [stdout]     |                 ----- `input` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `input` is never read
[INFO] [stdout]    --> src/ui.rs:202:38
[INFO] [stdout]     |
[INFO] [stdout] 202 |             let mut input : String = "".to_owned();
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 206 |                 input = read!();
[INFO] [stdout]     |                 ----- `input` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `choice` is never read
[INFO] [stdout]   --> src/main.rs:18:31
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let mut choice : String = " ".to_owned();
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 27 |     choice = read!();
[INFO] [stdout]    |     ------ `choice` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `inc_profit` found for struct `Restaurant` in the current scope
[INFO] [stdout]    --> src/ui/simulator/restaurant.rs:450:21
[INFO] [stdout]     |
[INFO] [stdout]  85 | pub struct Restaurant {
[INFO] [stdout]     | --------------------- method `inc_profit` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 450 |     restaurant_test.inc_profit( 100.0);
[INFO] [stdout]     |                     ^^^^^^^^^^ method not found in `Restaurant`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BUSSER` is never used
[INFO] [stdout]   --> src/ui/simulator/restaurant.rs:16:7
[INFO] [stdout]    |
[INFO] [stdout] 16 | const BUSSER: i64 = 3;
[INFO] [stdout]    |       ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `HOST` is never used
[INFO] [stdout]   --> src/ui/simulator/restaurant.rs:17:7
[INFO] [stdout]    |
[INFO] [stdout] 17 | const HOST: i64 = 4;
[INFO] [stdout]    |       ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `set_revenue`, `set_customers`, and `set_inv_quality` are never used
[INFO] [stdout]    --> src/ui/simulator/restaurant.rs:193:12
[INFO] [stdout]     |
[INFO] [stdout]  95 | impl Restaurant {
[INFO] [stdout]     | --------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 193 |     pub fn set_revenue(&mut self, new_rev: f64) {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 197 |     pub fn set_customers(&mut self, new_customers: Vec<Customer>) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 221 |     pub fn set_inv_quality(&mut self, name: String, new_qual: i64) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `COOK` is never used
[INFO] [stdout]   --> src/ui/simulator/restaurant/employee.rs:20:7
[INFO] [stdout]    |
[INFO] [stdout] 20 | const COOK: i64 = 0;
[INFO] [stdout]    |       ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SERVER` is never used
[INFO] [stdout]   --> src/ui/simulator/restaurant/employee.rs:21:7
[INFO] [stdout]    |
[INFO] [stdout] 21 | const SERVER: i64 = 1;
[INFO] [stdout]    |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `WASHER` is never used
[INFO] [stdout]   --> src/ui/simulator/restaurant/employee.rs:22:7
[INFO] [stdout]    |
[INFO] [stdout] 22 | const WASHER: i64 = 2;
[INFO] [stdout]    |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BUSSER` is never used
[INFO] [stdout]   --> src/ui/simulator/restaurant/employee.rs:23:7
[INFO] [stdout]    |
[INFO] [stdout] 23 | const BUSSER: i64 = 3;
[INFO] [stdout]    |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `HOST` is never used
[INFO] [stdout]   --> src/ui/simulator/restaurant/employee.rs:24:7
[INFO] [stdout]    |
[INFO] [stdout] 24 | const HOST: i64 = 4;
[INFO] [stdout]    |       ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Numbered` is never constructed
[INFO] [stdout]   --> src/ui/simulator/restaurant/employee/names.rs:60:5
[INFO] [stdout]    |
[INFO] [stdout] 55 | pub enum Name {
[INFO] [stdout]    |          ---- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 60 |     Numbered
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/ui/simulator/restaurant.rs:451:5
[INFO] [stdout]     |
[INFO] [stdout] 451 |     assert_eq!(1100, restaurant_test.get_revenue());
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected integer, found `f64`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `set_inv` is never used
[INFO] [stdout]   --> src/ui/simulator/restaurant/menu_item.rs:57:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl MenuItem {
[INFO] [stdout]    | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 57 |     pub fn set_inv(&mut self, new_inv: i64) {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `firstName` should have a snake case name
[INFO] [stdout]   --> src/ui/simulator/restaurant/employee/names.rs:73:5
[INFO] [stdout]    |
[INFO] [stdout] 73 |     firstName: &'a [&'a str],
[INFO] [stdout]    |     ^^^^^^^^^ help: convert the identifier to snake case: `first_name`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `lastName` should have a snake case name
[INFO] [stdout]   --> src/ui/simulator/restaurant/employee/names.rs:74:5
[INFO] [stdout]    |
[INFO] [stdout] 74 |     lastName: &'a [&'a str],
[INFO] [stdout]    |     ^^^^^^^^ help: convert the identifier to snake case: `last_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `firstName` should have a snake case name
[INFO] [stdout]   --> src/ui/simulator/restaurant/employee/names.rs:95:9
[INFO] [stdout]    |
[INFO] [stdout] 95 |         firstName: &'a [&'a str],
[INFO] [stdout]    |         ^^^^^^^^^ help: convert the identifier to snake case: `first_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `lastName` should have a snake case name
[INFO] [stdout]   --> src/ui/simulator/restaurant/employee/names.rs:96:9
[INFO] [stdout]    |
[INFO] [stdout] 96 |         lastName: &'a [&'a str],
[INFO] [stdout]    |         ^^^^^^^^ help: convert the identifier to snake case: `last_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: can't compare `{integer}` with `f64`
[INFO] [stdout]    --> src/ui/simulator/restaurant.rs:451:5
[INFO] [stdout]     |
[INFO] [stdout] 451 |     assert_eq!(1100, restaurant_test.get_revenue());
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `{integer} == f64`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `PartialEq<f64>` is not implemented for `{integer}`
[INFO] [stdout] help: the trait `PartialEq` is implemented for `f64`
[INFO] [stdout]    --> /rustc/1c4199da70f816f2239f41c55168ff75a3663718/library/core/src/cmp.rs:1875:12
[INFO] [stdout]    ::: /rustc/1c4199da70f816f2239f41c55168ff75a3663718/library/core/src/cmp.rs:1899:5
[INFO] [stdout]     |
[INFO] [stdout]     = note: in this macro invocation
[INFO] [stdout]     = note: this error originates in the macro `assert_eq` which comes from the expansion of the macro `partial_eq_impl` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `reduce_profit` found for struct `Restaurant` in the current scope
[INFO] [stdout]    --> src/ui/simulator/restaurant.rs:458:21
[INFO] [stdout]     |
[INFO] [stdout]  85 | pub struct Restaurant {
[INFO] [stdout]     | --------------------- method `reduce_profit` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 458 |     restaurant_test.reduce_profit( 100.0);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^ method not found in `Restaurant`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rng`
[INFO] [stdout]   --> src/ui/simulator/restaurant/employee.rs:41:13
[INFO] [stdout]    |
[INFO] [stdout] 41 |         let rng = rand::thread_rng();
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_rng`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/ui/simulator/restaurant/employee.rs:62:13
[INFO] [stdout]    |
[INFO] [stdout] 62 |         let mut id = rng.gen_range(1, 99999);
[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: variable does not need to be mutable
[INFO] [stdout]    --> src/ui/simulator/restaurant.rs:100:13
[INFO] [stdout]     |
[INFO] [stdout] 100 |         let mut customers: Vec<Customer> = Vec::new();
[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/ui/simulator/restaurant.rs:204:13
[INFO] [stdout]     |
[INFO] [stdout] 204 |         for mut item in &mut self.menu {
[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/ui/simulator/restaurant.rs:213:13
[INFO] [stdout]     |
[INFO] [stdout] 213 |         for mut item in &mut self.menu {
[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/ui/simulator/restaurant.rs:222:13
[INFO] [stdout]     |
[INFO] [stdout] 222 |         for mut item in &mut self.menu {
[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/ui/simulator/restaurant.rs:267:13
[INFO] [stdout]     |
[INFO] [stdout] 267 |         for mut item in &mut self.menu {
[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/ui/simulator/restaurant.rs:277:13
[INFO] [stdout]     |
[INFO] [stdout] 277 |         for mut item in &mut self.menu {
[INFO] [stdout]     |             ----^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: use of moved value: `name`
[INFO] [stdout]    --> src/ui/simulator/restaurant.rs:468:45
[INFO] [stdout]     |
[INFO] [stdout] 465 |     let name = "Burger".to_owned();
[INFO] [stdout]     |         ---- move occurs because `name` has type `String`, which does not implement the `Copy` trait
[INFO] [stdout] 466 |     //Inventory before increment should be set to 100 by default
[INFO] [stdout] 467 |     restaurant_test.inc_inv(name, 25);
[INFO] [stdout]     |                             ---- value moved here
[INFO] [stdout] 468 |     assert_eq!(125, restaurant_test.get_inv(name));
[INFO] [stdout]     |                                             ^^^^ value used here after move
[INFO] [stdout]     |
[INFO] [stdout] note: consider changing this parameter type in method `inc_inv` to borrow instead if owning the value isn't necessary
[INFO] [stdout]    --> src/ui/simulator/restaurant.rs:266:37
[INFO] [stdout]     |
[INFO] [stdout] 266 |     pub fn inc_inv(&mut self, name: String, inc_amount: i64) {
[INFO] [stdout]     |            ------- in this method   ^^^^^^ this parameter takes ownership of the value
[INFO] [stdout] help: consider cloning the value if the performance cost is acceptable
[INFO] [stdout]     |
[INFO] [stdout] 467 |     restaurant_test.inc_inv(name.clone(), 25);
[INFO] [stdout]     |                                 ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: use of moved value: `name`
[INFO] [stdout]    --> src/ui/simulator/restaurant.rs:477:44
[INFO] [stdout]     |
[INFO] [stdout] 474 |     let name = "Burger".to_owned();
[INFO] [stdout]     |         ---- move occurs because `name` has type `String`, which does not implement the `Copy` trait
[INFO] [stdout] 475 |     //Inventory before increment should be set to 100 by default
[INFO] [stdout] 476 |     restaurant_test.reduce_inv(name, 25);
[INFO] [stdout]     |                                ---- value moved here
[INFO] [stdout] 477 |     assert_eq!(75, restaurant_test.get_inv(name));
[INFO] [stdout]     |                                            ^^^^ value used here after move
[INFO] [stdout]     |
[INFO] [stdout] note: consider changing this parameter type in method `reduce_inv` to borrow instead if owning the value isn't necessary
[INFO] [stdout]    --> src/ui/simulator/restaurant.rs:276:40
[INFO] [stdout]     |
[INFO] [stdout] 276 |     pub fn reduce_inv(&mut self, name: String, dec_amount: i64) {
[INFO] [stdout]     |            ---------- in this method   ^^^^^^ this parameter takes ownership of the value
[INFO] [stdout] help: consider cloning the value if the performance cost is acceptable
[INFO] [stdout]     |
[INFO] [stdout] 476 |     restaurant_test.reduce_inv(name.clone(), 25);
[INFO] [stdout]     |                                    ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/ui/simulator/restaurant.rs:482:9
[INFO] [stdout]     |
[INFO] [stdout] 482 |     let mut restaurant_test = Restaurant::new("Test".to_owned());
[INFO] [stdout]     |         ----^^^^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `input` is never read
[INFO] [stdout]   --> src/ui.rs:40:34
[INFO] [stdout]    |
[INFO] [stdout] 40 |         let mut input : String = "".to_owned();
[INFO] [stdout]    |                                  ^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 51 |             input = read!();
[INFO] [stdout]    |             ----- `input` 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: value assigned to `input` is never read
[INFO] [stdout]   --> src/ui.rs:85:34
[INFO] [stdout]    |
[INFO] [stdout] 85 |         let mut input : String = "".to_owned();
[INFO] [stdout]    |                                  ^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 92 |             input = read!();
[INFO] [stdout]    |             ----- `input` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `input` is never read
[INFO] [stdout]    --> src/ui.rs:107:34
[INFO] [stdout]     |
[INFO] [stdout] 107 |         let mut input : String = "".to_owned();
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 113 |             input = read!();
[INFO] [stdout]     |             ----- `input` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `input` is never read
[INFO] [stdout]    --> src/ui.rs:128:34
[INFO] [stdout]     |
[INFO] [stdout] 128 |         let mut input : String = "".to_owned();
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 163 |         input = read!();
[INFO] [stdout]     |         ----- `input` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `input` is never read
[INFO] [stdout]    --> src/ui.rs:176:38
[INFO] [stdout]     |
[INFO] [stdout] 176 |             let mut input : String = "".to_owned();
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 181 |                 input = read!();
[INFO] [stdout]     |                 ----- `input` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `input` is never read
[INFO] [stdout]    --> src/ui.rs:202:38
[INFO] [stdout]     |
[INFO] [stdout] 202 |             let mut input : String = "".to_owned();
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 206 |                 input = read!();
[INFO] [stdout]     |                 ----- `input` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `choice` is never read
[INFO] [stdout]   --> src/main.rs:18:31
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let mut choice : String = " ".to_owned();
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 27 |     choice = read!();
[INFO] [stdout]    |     ------ `choice` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0382, E0425, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `RestaurantTheGame` (bin "RestaurantTheGame" test) due to 18 previous errors; 23 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "045e38e9c5e1a1da833dfebf2efddaef42fb368e957e59b54cf3a3e7918fdefa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "045e38e9c5e1a1da833dfebf2efddaef42fb368e957e59b54cf3a3e7918fdefa", kill_on_drop: false }`
[INFO] [stdout] 045e38e9c5e1a1da833dfebf2efddaef42fb368e957e59b54cf3a3e7918fdefa
