[INFO] cloning repository https://github.com/mattclarke/point_of_sale
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mattclarke/point_of_sale" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmattclarke%2Fpoint_of_sale", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmattclarke%2Fpoint_of_sale'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 6ddc0495854bb3eaa05bc94a703afc9e5f182632
[INFO] checking mattclarke/point_of_sale against try#5d96fa0e954d77528204a1ba3b8847ec083c779b for pr-153457
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmattclarke%2Fpoint_of_sale" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/mattclarke/point_of_sale
[INFO] finished tweaking git repo https://github.com/mattclarke/point_of_sale
[INFO] tweaked toml for git repo https://github.com/mattclarke/point_of_sale written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/mattclarke/point_of_sale on toolchain 5d96fa0e954d77528204a1ba3b8847ec083c779b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5d96fa0e954d77528204a1ba3b8847ec083c779b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/mattclarke/point_of_sale 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" "+5d96fa0e954d77528204a1ba3b8847ec083c779b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+5d96fa0e954d77528204a1ba3b8847ec083c779b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3f3c71def304de42e69129d86308352448a8f8d8f3d905afd232720739532cf6
[INFO] running `Command { std: "docker" "start" "-a" "3f3c71def304de42e69129d86308352448a8f8d8f3d905afd232720739532cf6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3f3c71def304de42e69129d86308352448a8f8d8f3d905afd232720739532cf6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3f3c71def304de42e69129d86308352448a8f8d8f3d905afd232720739532cf6", kill_on_drop: false }`
[INFO] [stdout] 3f3c71def304de42e69129d86308352448a8f8d8f3d905afd232720739532cf6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+5d96fa0e954d77528204a1ba3b8847ec083c779b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0de886eafe7b60a3d7943a8100f1acf43ef205f68d0510de22a6068c63da23d7
[INFO] running `Command { std: "docker" "start" "-a" "0de886eafe7b60a3d7943a8100f1acf43ef205f68d0510de22a6068c63da23d7", kill_on_drop: false }`
[INFO] [stderr]     Checking point_of_sale v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `collections::HashMap`
[INFO] [stdout]  --> src/main.rs:3:11
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::{collections::HashMap, io};
[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: `collections::HashMap`
[INFO] [stdout]  --> src/main.rs:3:11
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::{collections::HashMap, io};
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `State` is never used
[INFO] [stdout]  --> src/point_of_sale.rs:3:6
[INFO] [stdout]   |
[INFO] [stdout] 3 | enum State{
[INFO] [stdout]   |      ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_text` is never used
[INFO] [stdout]   --> src/point_of_sale.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl Display {
[INFO] [stdout]    | ------------ method in this implementation
[INFO] [stdout] 11 |     pub fn get_text(&self) -> &String {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `state` is never used
[INFO] [stdout]   --> src/point_of_sale.rs:60:8
[INFO] [stdout]    |
[INFO] [stdout] 50 | impl PointOfSale {
[INFO] [stdout]    | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 60 |     fn state(self) -> State {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `point_of_sale::State`
[INFO] [stdout]    --> src/point_of_sale.rs:332:9
[INFO] [stdout]     |
[INFO] [stdout] 332 |         assert_eq!(pos.state(), State::Idle);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         point_of_sale::State
[INFO] [stdout]     |         point_of_sale::State
[INFO] [stdout]     |
[INFO] [stdout] note: an implementation of `PartialEq` might be missing for `point_of_sale::State`
[INFO] [stdout]    --> src/point_of_sale.rs:3:1
[INFO] [stdout]     |
[INFO] [stdout]   3 | enum State{
[INFO] [stdout]     | ^^^^^^^^^^ must implement `PartialEq`
[INFO] [stdout] help: consider annotating `point_of_sale::State` with `#[derive(PartialEq)]`
[INFO] [stdout]     |
[INFO] [stdout]   3 + #[derive(PartialEq)]
[INFO] [stdout]   4 | enum State{
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `point_of_sale::State` doesn't implement `Debug`
[INFO] [stdout]    --> src/point_of_sale.rs:332:9
[INFO] [stdout]     |
[INFO] [stdout] 332 |         assert_eq!(pos.state(), State::Idle);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Debug` is not implemented for `point_of_sale::State`
[INFO] [stdout]     |
[INFO] [stdout]     = note: add `#[derive(Debug)]` to `point_of_sale::State` or manually `impl Debug for point_of_sale::State`
[INFO] [stdout] help: consider annotating `point_of_sale::State` with `#[derive(Debug)]`
[INFO] [stdout]     |
[INFO] [stdout]   3 + #[derive(Debug)]
[INFO] [stdout]   4 | enum State{
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `point_of_sale::State` doesn't implement `Debug`
[INFO] [stdout]    --> src/point_of_sale.rs:332:9
[INFO] [stdout]     |
[INFO] [stdout] 332 |         assert_eq!(pos.state(), State::Idle);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Debug` is not implemented for `point_of_sale::State`
[INFO] [stdout]     |
[INFO] [stdout]     = note: add `#[derive(Debug)]` to `point_of_sale::State` or manually `impl Debug for point_of_sale::State`
[INFO] [stdout] help: consider annotating `point_of_sale::State` with `#[derive(Debug)]`
[INFO] [stdout]     |
[INFO] [stdout]   3 + #[derive(Debug)]
[INFO] [stdout]   4 | enum State{
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0369.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `point_of_sale` (bin "point_of_sale" test) due to 3 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "0de886eafe7b60a3d7943a8100f1acf43ef205f68d0510de22a6068c63da23d7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0de886eafe7b60a3d7943a8100f1acf43ef205f68d0510de22a6068c63da23d7", kill_on_drop: false }`
[INFO] [stdout] 0de886eafe7b60a3d7943a8100f1acf43ef205f68d0510de22a6068c63da23d7
