[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#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavhogan%2FRestaurantTheGame" "/workspace/builds/worker-114/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-114/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/davhogan/RestaurantTheGame on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-114/source/Cargo.toml [INFO] crate git repo https://github.com/davhogan/RestaurantTheGame already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-114/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-114/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f01b2a6829c6deb7467a7ce27552ee5029b4158b59e999bfb3df1c5c9e8d1ef4 [INFO] running `Command { std: "docker" "start" "-a" "f01b2a6829c6deb7467a7ce27552ee5029b4158b59e999bfb3df1c5c9e8d1ef4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f01b2a6829c6deb7467a7ce27552ee5029b4158b59e999bfb3df1c5c9e8d1ef4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f01b2a6829c6deb7467a7ce27552ee5029b4158b59e999bfb3df1c5c9e8d1ef4", kill_on_drop: false }` [INFO] [stdout] f01b2a6829c6deb7467a7ce27552ee5029b4158b59e999bfb3df1c5c9e8d1ef4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-114/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-114/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 02426e53411cef3e708bf44c893c46775e24c403de1ba885f184ec9d9aca9122 [INFO] running `Command { std: "docker" "start" "-a" "02426e53411cef3e708bf44c893c46775e24c403de1ba885f184ec9d9aca9122", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [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 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/ui/simulator.rs (1 fix) [INFO] [stderr] Fixed src/ui/simulator/restaurant.rs (6 fixes) [INFO] [stderr] Fixed src/ui.rs (3 fixes) [INFO] [stderr] Fixed src/ui/simulator/restaurant/employee.rs (3 fixes) [INFO] [stderr] Fixed src/ui/simulator/restaurant/menu_item.rs (1 fix) [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)]` on by default [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `choice` is never read [INFO] [stdout] --> src/main.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | let mut choice : String = " ".to_owned(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `input` is never read [INFO] [stdout] --> src/ui.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | let mut input : String = "".to_owned(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `input` is never read [INFO] [stdout] --> src/ui.rs:85:17 [INFO] [stdout] | [INFO] [stdout] 85 | let mut input : String = "".to_owned(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `input` is never read [INFO] [stdout] --> src/ui.rs:107:17 [INFO] [stdout] | [INFO] [stdout] 107 | let mut input : String = "".to_owned(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `input` is never read [INFO] [stdout] --> src/ui.rs:128:17 [INFO] [stdout] | [INFO] [stdout] 128 | let mut input : String = "".to_owned(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `input` is never read [INFO] [stdout] --> src/ui.rs:176:21 [INFO] [stdout] | [INFO] [stdout] 176 | let mut input : String = "".to_owned(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `input` is never read [INFO] [stdout] --> src/ui.rs:202:21 [INFO] [stdout] | [INFO] [stdout] 202 | let mut input : String = "".to_owned(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `self.restaurant` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/ui/simulator.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 103 | let fired_emp = self.restaurant.get_hired_empl(position); [INFO] [stdout] | --------------- immutable borrow occurs here [INFO] [stdout] 104 | self.restaurant.fire_emp(fired_emp.get_id()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ --------- immutable borrow later used here [INFO] [stdout] | | [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Numbered` [INFO] [stdout] --> src/ui/simulator/restaurant/employee/names.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | Numbered [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `COOK` [INFO] [stdout] --> src/ui/simulator/restaurant/employee.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | const COOK: i64 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SERVER` [INFO] [stdout] --> src/ui/simulator/restaurant/employee.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | const SERVER: i64 = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `WASHER` [INFO] [stdout] --> src/ui/simulator/restaurant/employee.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | const WASHER: i64 = 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `BUSSER` [INFO] [stdout] --> src/ui/simulator/restaurant/employee.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | const BUSSER: i64 = 3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [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 [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 is never used: `HOST` [INFO] [stdout] --> src/ui/simulator/restaurant/employee.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | const HOST: i64 = 4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_inv` [INFO] [stdout] --> src/ui/simulator/restaurant/menu_item.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn set_inv(&mut self, new_inv: i64) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `BUSSER` [INFO] [stdout] --> src/ui/simulator/restaurant.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | const BUSSER: i64 = 3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `HOST` [INFO] [stdout] --> src/ui/simulator/restaurant.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | const HOST: i64 = 4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_revenue` [INFO] [stdout] --> src/ui/simulator/restaurant.rs:193:12 [INFO] [stdout] | [INFO] [stdout] 193 | pub fn set_revenue(&mut self, new_rev: f64) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_customers` [INFO] [stdout] --> src/ui/simulator/restaurant.rs:197:12 [INFO] [stdout] | [INFO] [stdout] 197 | pub fn set_customers(&mut self, new_customers: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_inv_quality` [INFO] [stdout] --> src/ui/simulator/restaurant.rs:221:12 [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] 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] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `RestaurantTheGame` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `restaurant_the_game` [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` is not implemented for `{integer}` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [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] [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] warning: 26 warnings emitted [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 [INFO] [stdout] ... [INFO] [stdout] 458 | restaurant_test.reduce_profit( 100.0); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `Restaurant` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item 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] | ------------------- function or associated item `new` not found for this [INFO] [stdout] ... [INFO] [stdout] 124 | let emp_test = Employee::new(); [INFO] [stdout] | ^^^ function or associated item not found in `Employee` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item 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] | ------------------- function or associated item `new` not found for this [INFO] [stdout] ... [INFO] [stdout] 136 | let mut emp_test = Employee::new(); [INFO] [stdout] | ^^^ function or associated item not found in `Employee` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item 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] | ------------------- function or associated item `set_wage` not found for this [INFO] [stdout] ... [INFO] [stdout] 137 | Employee::set_wage(&mut emp_test, 12.34); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | function or associated item not found in `Employee` [INFO] [stdout] | help: there is an associated function with a similar name: `get_wage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item 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] | ------------------- function or associated item `new` not found for this [INFO] [stdout] ... [INFO] [stdout] 143 | let mut emp_test = Employee::new(); [INFO] [stdout] | ^^^ function or associated item not found in `Employee` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item 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] | ------------------- function or associated item `set_rating` not found for this [INFO] [stdout] ... [INFO] [stdout] 144 | Employee::set_rating(&mut emp_test, 8); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | function or associated item not found in `Employee` [INFO] [stdout] | help: there is an associated function with a similar name: `get_rating` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item 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] | ------------------- function or associated item `new` not found for this [INFO] [stdout] ... [INFO] [stdout] 150 | let mut emp_test = Employee::new(); [INFO] [stdout] | ^^^ function or associated item not found in `Employee` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item 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] | ------------------- function or associated item `set_rating` not found for this [INFO] [stdout] ... [INFO] [stdout] 151 | Employee::set_rating(&mut emp_test, 11); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | function or associated item not found in `Employee` [INFO] [stdout] | help: there is an associated function with a similar name: `get_rating` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item 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] | ------------------- function or associated item `new` not found for this [INFO] [stdout] ... [INFO] [stdout] 157 | let mut emp_test = Employee::new(); [INFO] [stdout] | ^^^ function or associated item not found in `Employee` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item 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] | ------------------- function or associated item `set_rating` not found for this [INFO] [stdout] ... [INFO] [stdout] 158 | Employee::set_rating(&mut emp_test, 0); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | function or associated item not found in `Employee` [INFO] [stdout] | help: there is an associated function with a similar name: `get_rating` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, 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` due to 17 previous errors; 1 warning emitted [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "02426e53411cef3e708bf44c893c46775e24c403de1ba885f184ec9d9aca9122", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02426e53411cef3e708bf44c893c46775e24c403de1ba885f184ec9d9aca9122", kill_on_drop: false }` [INFO] [stdout] 02426e53411cef3e708bf44c893c46775e24c403de1ba885f184ec9d9aca9122