[INFO] updating cached repository https://github.com/davhogan/RestaurantTheGame [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] ade89d398af5e9b7c410090aed9b1477120db428 [INFO] checking davhogan/RestaurantTheGame against nightly-2019-10-27 for pr-65897 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavhogan%2FRestaurantTheGame" "/workspace/builds/worker-10/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/davhogan/RestaurantTheGame on toolchain nightly-2019-10-27 [INFO] running `"/workspace/cargo-home/bin/cargo" "+nightly-2019-10-27" "read-manifest" "--manifest-path" "Cargo.toml"` [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-10/source/Cargo.toml [INFO] crate git repo https://github.com/davhogan/RestaurantTheGame already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+nightly-2019-10-27" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=allow" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2019-10-27" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] a9cf1f76a1d3bf6345a3ef9c045b1d6c918a30ccd1a537c3c5f1abe3460701cf [INFO] running `"docker" "start" "-a" "a9cf1f76a1d3bf6345a3ef9c045b1d6c918a30ccd1a537c3c5f1abe3460701cf"` [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] [stderr] error[E0425]: cannot find value `emp_test` in this scope [INFO] [stderr] --> src/ui/simulator/restaurant/menu_item.rs:82:20 [INFO] [stderr] | [INFO] [stderr] 82 | assert_eq!(25, emp_test.get_inv()); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `emp_test` in this scope [INFO] [stderr] --> src/ui/simulator/restaurant/menu_item.rs:90:19 [INFO] [stderr] | [INFO] [stderr] 90 | assert_eq!(0, emp_test.get_inv()); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `emp_test` in this scope [INFO] [stderr] --> src/ui/simulator/restaurant/menu_item.rs:98:19 [INFO] [stderr] | [INFO] [stderr] 98 | assert_eq!(0, emp_test.get_inv()); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `inc_profit` found for type `ui::simulator::restaurant::Restaurant` in the current scope [INFO] [stderr] --> src/ui/simulator/restaurant.rs:450:21 [INFO] [stderr] | [INFO] [stderr] 85 | pub struct Restaurant { [INFO] [stderr] | --------------------- method `inc_profit` not found for this [INFO] [stderr] ... [INFO] [stderr] 450 | restaurant_test.inc_profit( 100.0); [INFO] [stderr] | ^^^^^^^^^^ method not found in `ui::simulator::restaurant::Restaurant` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/ui/simulator/restaurant.rs:451:5 [INFO] [stderr] | [INFO] [stderr] 451 | assert_eq!(1100, restaurant_test.get_revenue()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected integer, found f64 [INFO] [stderr] | [INFO] [stderr] = note: expected type `{integer}` [INFO] [stderr] found type `f64` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: can't compare `{integer}` with `f64` [INFO] [stderr] --> src/ui/simulator/restaurant.rs:451:5 [INFO] [stderr] | [INFO] [stderr] 451 | assert_eq!(1100, restaurant_test.get_revenue()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `{integer} == f64` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::cmp::PartialEq` is not implemented for `{integer}` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `reduce_profit` found for type `ui::simulator::restaurant::Restaurant` in the current scope [INFO] [stderr] --> src/ui/simulator/restaurant.rs:458:21 [INFO] [stderr] | [INFO] [stderr] 85 | pub struct Restaurant { [INFO] [stderr] | --------------------- method `reduce_profit` not found for this [INFO] [stderr] ... [INFO] [stderr] 458 | restaurant_test.reduce_profit( 100.0); [INFO] [stderr] | ^^^^^^^^^^^^^ method not found in `ui::simulator::restaurant::Restaurant` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `new` found for type `ui::simulator::restaurant::employee::Employee` in the current scope [INFO] [stderr] --> src/ui/simulator/restaurant/employee.rs:124:30 [INFO] [stderr] | [INFO] [stderr] 27 | pub struct Employee { [INFO] [stderr] | ------------------- function or associated item `new` not found for this [INFO] [stderr] ... [INFO] [stderr] 124 | let emp_test = Employee::new(); [INFO] [stderr] | ^^^ function or associated item not found in `ui::simulator::restaurant::employee::Employee` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `new` found for type `ui::simulator::restaurant::employee::Employee` in the current scope [INFO] [stderr] --> src/ui/simulator/restaurant/employee.rs:136:34 [INFO] [stderr] | [INFO] [stderr] 27 | pub struct Employee { [INFO] [stderr] | ------------------- function or associated item `new` not found for this [INFO] [stderr] ... [INFO] [stderr] 136 | let mut emp_test = Employee::new(); [INFO] [stderr] | ^^^ function or associated item not found in `ui::simulator::restaurant::employee::Employee` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `set_wage` found for type `ui::simulator::restaurant::employee::Employee` in the current scope [INFO] [stderr] --> src/ui/simulator/restaurant/employee.rs:137:15 [INFO] [stderr] | [INFO] [stderr] 27 | pub struct Employee { [INFO] [stderr] | ------------------- function or associated item `set_wage` not found for this [INFO] [stderr] ... [INFO] [stderr] 137 | Employee::set_wage(&mut emp_test, 12.34); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | function or associated item not found in `ui::simulator::restaurant::employee::Employee` [INFO] [stderr] | help: there is a method with a similar name: `get_wage` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `new` found for type `ui::simulator::restaurant::employee::Employee` in the current scope [INFO] [stderr] --> src/ui/simulator/restaurant/employee.rs:143:34 [INFO] [stderr] | [INFO] [stderr] 27 | pub struct Employee { [INFO] [stderr] | ------------------- function or associated item `new` not found for this [INFO] [stderr] ... [INFO] [stderr] 143 | let mut emp_test = Employee::new(); [INFO] [stderr] | ^^^ function or associated item not found in `ui::simulator::restaurant::employee::Employee` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `set_rating` found for type `ui::simulator::restaurant::employee::Employee` in the current scope [INFO] [stderr] --> src/ui/simulator/restaurant/employee.rs:144:15 [INFO] [stderr] | [INFO] [stderr] 27 | pub struct Employee { [INFO] [stderr] | ------------------- function or associated item `set_rating` not found for this [INFO] [stderr] ... [INFO] [stderr] 144 | Employee::set_rating(&mut emp_test, 8); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | function or associated item not found in `ui::simulator::restaurant::employee::Employee` [INFO] [stderr] | help: there is a method with a similar name: `get_rating` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `new` found for type `ui::simulator::restaurant::employee::Employee` in the current scope [INFO] [stderr] --> src/ui/simulator/restaurant/employee.rs:150:34 [INFO] [stderr] | [INFO] [stderr] 27 | pub struct Employee { [INFO] [stderr] | ------------------- function or associated item `new` not found for this [INFO] [stderr] ... [INFO] [stderr] 150 | let mut emp_test = Employee::new(); [INFO] [stderr] | ^^^ function or associated item not found in `ui::simulator::restaurant::employee::Employee` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `set_rating` found for type `ui::simulator::restaurant::employee::Employee` in the current scope [INFO] [stderr] --> src/ui/simulator/restaurant/employee.rs:151:15 [INFO] [stderr] | [INFO] [stderr] 27 | pub struct Employee { [INFO] [stderr] | ------------------- function or associated item `set_rating` not found for this [INFO] [stderr] ... [INFO] [stderr] 151 | Employee::set_rating(&mut emp_test, 11); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | function or associated item not found in `ui::simulator::restaurant::employee::Employee` [INFO] [stderr] | help: there is a method with a similar name: `get_rating` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `new` found for type `ui::simulator::restaurant::employee::Employee` in the current scope [INFO] [stderr] --> src/ui/simulator/restaurant/employee.rs:157:34 [INFO] [stderr] | [INFO] [stderr] 27 | pub struct Employee { [INFO] [stderr] | ------------------- function or associated item `new` not found for this [INFO] [stderr] ... [INFO] [stderr] 157 | let mut emp_test = Employee::new(); [INFO] [stderr] | ^^^ function or associated item not found in `ui::simulator::restaurant::employee::Employee` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `set_rating` found for type `ui::simulator::restaurant::employee::Employee` in the current scope [INFO] [stderr] --> src/ui/simulator/restaurant/employee.rs:158:15 [INFO] [stderr] | [INFO] [stderr] 27 | pub struct Employee { [INFO] [stderr] | ------------------- function or associated item `set_rating` not found for this [INFO] [stderr] ... [INFO] [stderr] 158 | Employee::set_rating(&mut emp_test, 0); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | function or associated item not found in `ui::simulator::restaurant::employee::Employee` [INFO] [stderr] | help: there is a method with a similar name: `get_rating` [INFO] [stderr] [INFO] [stderr] error: aborting due to 16 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0308, E0425, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: could not compile `RestaurantTheGame`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "a9cf1f76a1d3bf6345a3ef9c045b1d6c918a30ccd1a537c3c5f1abe3460701cf"` [INFO] running `"docker" "rm" "-f" "a9cf1f76a1d3bf6345a3ef9c045b1d6c918a30ccd1a537c3c5f1abe3460701cf"` [INFO] [stdout] a9cf1f76a1d3bf6345a3ef9c045b1d6c918a30ccd1a537c3c5f1abe3460701cf