[INFO] cloning repository https://github.com/charro/coffeemachine
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/charro/coffeemachine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcharro%2Fcoffeemachine", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcharro%2Fcoffeemachine'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b7e43ee9ec3230b3e7705f4d7a48bebc4d29c73a
[INFO] checking charro/coffeemachine against try#b1f2594eac607c1f051534800237eeedb5590a49 for pr-139493-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcharro%2Fcoffeemachine" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/charro/coffeemachine
[INFO] finished tweaking git repo https://github.com/charro/coffeemachine
[INFO] tweaked toml for git repo https://github.com/charro/coffeemachine written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/charro/coffeemachine on toolchain b1f2594eac607c1f051534800237eeedb5590a49
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/charro/coffeemachine 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" "+b1f2594eac607c1f051534800237eeedb5590a49" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 798509d1c7cb71239a8d2c6603e63fd2cad27c79c5fad82e4cda89540f793ad7
[INFO] running `Command { std: "docker" "start" "-a" "798509d1c7cb71239a8d2c6603e63fd2cad27c79c5fad82e4cda89540f793ad7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "798509d1c7cb71239a8d2c6603e63fd2cad27c79c5fad82e4cda89540f793ad7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "798509d1c7cb71239a8d2c6603e63fd2cad27c79c5fad82e4cda89540f793ad7", kill_on_drop: false }`
[INFO] [stdout] 798509d1c7cb71239a8d2c6603e63fd2cad27c79c5fad82e4cda89540f793ad7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9ba53afb9fb0b29e65396ba603c7941fdb00f6eafb6b3c8500fd540b69c7390a
[INFO] running `Command { std: "docker" "start" "-a" "9ba53afb9fb0b29e65396ba603c7941fdb00f6eafb6b3c8500fd540b69c7390a", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.32
[INFO] [stderr]    Compiling syn v1.0.81
[INFO] [stderr]     Checking termtree v0.2.3
[INFO] [stderr]     Checking downcast v0.10.0
[INFO] [stderr]     Checking fragile v1.0.0
[INFO] [stderr]     Checking approx v0.5.0
[INFO] [stderr]     Checking regex v1.5.4
[INFO] [stderr]     Checking predicates-tree v1.0.4
[INFO] [stderr]    Compiling quote v1.0.10
[INFO] [stderr]     Checking predicates v1.0.8
[INFO] [stderr]    Compiling enum-iterator-derive v0.7.0
[INFO] [stderr]    Compiling mockall_derive v0.10.2
[INFO] [stderr]     Checking enum-iterator v0.7.0
[INFO] [stderr]     Checking coffemachine v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: enum `DrinkType` is never used
[INFO] [stdout]   --> src/coffe_machine.rs:11:14
[INFO] [stdout]    |
[INFO] [stdout] 11 |     pub enum DrinkType {
[INFO] [stdout]    |              ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CustomerOrder` is never constructed
[INFO] [stdout]   --> src/coffe_machine.rs:29:16
[INFO] [stdout]    |
[INFO] [stdout] 29 |     pub struct CustomerOrder {
[INFO] [stdout]    |                ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CoffeeMachine` is never constructed
[INFO] [stdout]   --> src/coffe_machine.rs:35:16
[INFO] [stdout]    |
[INFO] [stdout] 35 |     pub struct CoffeeMachine<'a> {
[INFO] [stdout]    |                ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `BeverageQuantityChecker` is never used
[INFO] [stdout]   --> src/coffe_machine.rs:43:15
[INFO] [stdout]    |
[INFO] [stdout] 43 |     pub trait BeverageQuantityChecker {
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `EmailNotifier` is never used
[INFO] [stdout]   --> src/coffe_machine.rs:48:15
[INFO] [stdout]    |
[INFO] [stdout] 48 |     pub trait EmailNotifier {
[INFO] [stdout]    |               ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `with_sugar`, and `extra_hot` are never used
[INFO] [stdout]   --> src/coffe_machine.rs:53:16
[INFO] [stdout]    |
[INFO] [stdout] 52 |     impl CustomerOrder {
[INFO] [stdout]    |     ------------------ associated items in this implementation
[INFO] [stdout] 53 |         pub fn new(drink_type: DrinkType) -> CustomerOrder {
[INFO] [stdout]    |                ^^^
[INFO] [stdout] ...
[INFO] [stdout] 57 |         pub fn with_sugar(mut self, sugar: u8) -> CustomerOrder {
[INFO] [stdout]    |                ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 62 |         pub fn extra_hot(mut self) -> CustomerOrder {
[INFO] [stdout]    |                ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `process_order_with_money`, `process_order`, `get_total_money_sold`, `get_total_amount_sold`, and `register_order` are never used
[INFO] [stdout]    --> src/coffe_machine.rs:70:16
[INFO] [stdout]     |
[INFO] [stdout]  68 |     impl <'a> CoffeeMachine <'_> {
[INFO] [stdout]     |     ---------------------------- associated items in this implementation
[INFO] [stdout]  69 |
[INFO] [stdout]  70 |         pub fn new(quantity_checker: &'a dyn BeverageQuantityChecker, email_notifier: &'a dyn EmailNotifier) -> CoffeeMachine<'a> {
[INFO] [stdout]     |                ^^^
[INFO] [stdout] ...
[INFO] [stdout]  79 |         pub fn process_order_with_money(&mut self, order: CustomerOrder, money: f32) -> String {
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  89 |         pub fn process_order(&mut self, order: CustomerOrder) -> String {
[INFO] [stdout]     |                ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 103 |         pub fn get_total_money_sold(&self) -> f32 {
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 107 |         pub fn get_total_amount_sold(&self, drink_type:DrinkType) -> u32 {
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 111 |         fn register_order(&mut self, order: CustomerOrder) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `process_message` is never used
[INFO] [stdout]    --> src/coffe_machine.rs:121:12
[INFO] [stdout]     |
[INFO] [stdout] 121 |     pub fn process_message(message: String) -> String {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_drink_code` is never used
[INFO] [stdout]    --> src/coffe_machine.rs:126:8
[INFO] [stdout]     |
[INFO] [stdout] 126 |     fn get_drink_code(order: &CustomerOrder) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_extra_hot_code` is never used
[INFO] [stdout]    --> src/coffe_machine.rs:137:8
[INFO] [stdout]     |
[INFO] [stdout] 137 |     fn get_extra_hot_code(extra_hot: bool) -> &'static str {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_sugars_code` is never used
[INFO] [stdout]    --> src/coffe_machine.rs:144:8
[INFO] [stdout]     |
[INFO] [stdout] 144 |     fn get_sugars_code(sugars: u8) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_spoon_code` is never used
[INFO] [stdout]    --> src/coffe_machine.rs:151:8
[INFO] [stdout]     |
[INFO] [stdout] 151 |     fn get_spoon_code(sugars: u8) -> &'static str {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check_missing_money_for_product` is never used
[INFO] [stdout]   --> src/price_manager.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 15 |     pub fn check_missing_money_for_product(drink_type: DrinkType, money: f32) -> f32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generate_sales_report` is never used
[INFO] [stdout]  --> src/printer.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 |     pub fn generate_sales_report(coffeemachine: &CoffeeMachine) -> String {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking mockall v0.10.2
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.08s
[INFO] running `Command { std: "docker" "inspect" "9ba53afb9fb0b29e65396ba603c7941fdb00f6eafb6b3c8500fd540b69c7390a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9ba53afb9fb0b29e65396ba603c7941fdb00f6eafb6b3c8500fd540b69c7390a", kill_on_drop: false }`
[INFO] [stdout] 9ba53afb9fb0b29e65396ba603c7941fdb00f6eafb6b3c8500fd540b69c7390a
