[INFO] cloning repository https://github.com/ChikenduHillary/rust-exercises
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ChikenduHillary/rust-exercises" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FChikenduHillary%2Frust-exercises", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FChikenduHillary%2Frust-exercises'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e3914a3e4228e842519d3b482a8ff0b4d8595b07
[INFO] checking ChikenduHillary/rust-exercises against try#f77b5bc6c7c84df104f86b0dd01d9490e3923fa8 for pr-147834
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FChikenduHillary%2Frust-exercises" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/ChikenduHillary/rust-exercises
[INFO] finished tweaking git repo https://github.com/ChikenduHillary/rust-exercises
[INFO] tweaked toml for git repo https://github.com/ChikenduHillary/rust-exercises written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ChikenduHillary/rust-exercises on toolchain f77b5bc6c7c84df104f86b0dd01d9490e3923fa8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ChikenduHillary/rust-exercises 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" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 119f97cf67b1755f0ca6f5f4739a0468fde128ae22d48e85c026e46f06a3cf94
[INFO] running `Command { std: "docker" "start" "-a" "119f97cf67b1755f0ca6f5f4739a0468fde128ae22d48e85c026e46f06a3cf94", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "119f97cf67b1755f0ca6f5f4739a0468fde128ae22d48e85c026e46f06a3cf94", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "119f97cf67b1755f0ca6f5f4739a0468fde128ae22d48e85c026e46f06a3cf94", kill_on_drop: false }`
[INFO] [stdout] 119f97cf67b1755f0ca6f5f4739a0468fde128ae22d48e85c026e46f06a3cf94
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7afa9d94c8ef9401b3e55bfe903e9d2c0f84f5dae9536f0f3c28183322bae038
[INFO] running `Command { std: "docker" "start" "-a" "7afa9d94c8ef9401b3e55bfe903e9d2c0f84f5dae9536f0f3c28183322bae038", kill_on_drop: false }`
[INFO] [stderr]     Checking hello v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `access`
[INFO] [stdout]   --> src/bin/a18b.rs:58:9
[INFO] [stdout]    |
[INFO] [stdout] 58 |     let access = try_access(employee)?;
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_access`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Maintenance`, `Marketing`, `KitchenStaff`, and `AssemblyTechnician` are never constructed
[INFO] [stdout]   --> src/bin/a18b.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | enum Employees {
[INFO] [stdout]    |      --------- variants in this enum
[INFO] [stdout] 26 |     Maintenance,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 27 |     Marketing,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     KitchenStaff,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 31 |     AssemblyTechnician,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `TreasureItem` is never used
[INFO] [stdout]   --> src/bin/a35.rs:25:6
[INFO] [stdout]    |
[INFO] [stdout] 25 | enum TreasureItem {
[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 `TreasureChest` is never constructed
[INFO] [stdout]   --> src/bin/a35.rs:31:8
[INFO] [stdout]    |
[INFO] [stdout] 31 | struct TreasureChest {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Pressure` is never constructed
[INFO] [stdout]   --> src/bin/a35.rs:37:8
[INFO] [stdout]    |
[INFO] [stdout] 37 | struct Pressure(u16);
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `BrickStyle` is never used
[INFO] [stdout]   --> src/bin/a35.rs:40:6
[INFO] [stdout]    |
[INFO] [stdout] 40 | enum BrickStyle {
[INFO] [stdout]    |      ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Tile` is never used
[INFO] [stdout]   --> src/bin/a35.rs:47:6
[INFO] [stdout]    |
[INFO] [stdout] 47 | enum Tile {
[INFO] [stdout]    |      ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `TreasureItem` is never used
[INFO] [stdout]   --> src/bin/a35.rs:25:6
[INFO] [stdout]    |
[INFO] [stdout] 25 | enum TreasureItem {
[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 `TreasureChest` is never constructed
[INFO] [stdout]   --> src/bin/a35.rs:31:8
[INFO] [stdout]    |
[INFO] [stdout] 31 | struct TreasureChest {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Pressure` is never constructed
[INFO] [stdout]   --> src/bin/a35.rs:37:8
[INFO] [stdout]    |
[INFO] [stdout] 37 | struct Pressure(u16);
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/bin/a18b.rs:46:5
[INFO] [stdout]    |
[INFO] [stdout] 46 | /     match employee.status {
[INFO] [stdout] 47 | |         Status::Employed => Ok(()),
[INFO] [stdout] 48 | |         Status::Terminated => Err("terminated".to_owned())
[INFO] [stdout] 49 | |     };
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 46 |     let _ = match employee.status {
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `BrickStyle` is never used
[INFO] [stdout]   --> src/bin/a35.rs:40:6
[INFO] [stdout]    |
[INFO] [stdout] 40 | enum BrickStyle {
[INFO] [stdout]    |      ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Tile` is never used
[INFO] [stdout]   --> src/bin/a35.rs:47:6
[INFO] [stdout]    |
[INFO] [stdout] 47 | enum Tile {
[INFO] [stdout]    |      ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name` and `age` are never read
[INFO] [stdout]   --> src/bin/a18.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | struct Person {
[INFO] [stdout]    |        ------ fields in this struct
[INFO] [stdout] 15 |     name: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 16 |     age: u8
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Person` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crossbeam_channel`
[INFO] [stdout]   --> src/bin/a41.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | use crossbeam_channel::{unbounded, Receiver, Sender};
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `crossbeam_channel`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `crossbeam_channel`, use `cargo add crossbeam_channel` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/bin/a41.rs:64:21
[INFO] [stdout]    |
[INFO] [stdout] 64 |     let rx_thread = rx.clone();
[INFO] [stdout]    |                     ^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `user_id` and `name` are never read
[INFO] [stdout]   --> src/bin/a21.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | struct User {
[INFO] [stdout]    |        ---- fields in this struct
[INFO] [stdout] 13 |     user_id: i32,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 14 |     name: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `User` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Grape` is never constructed
[INFO] [stdout]   --> src/bin/a8.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | enum Flavors {
[INFO] [stdout]    |      ------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 15 |     Grape
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0432.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]   --> src/bin/a16.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | struct Student {
[INFO] [stdout]    |        ------- field in this struct
[INFO] [stdout] 15 |     name: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `thiserror`
[INFO] [stdout]   --> src/bin/a27.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use thiserror::Error;
[INFO] [stdout]    |     ^^^^^^^^^ use of unresolved module or unlinked crate `thiserror`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `thiserror`, use `cargo add thiserror` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `hello` (bin "a41") due to 2 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]   --> src/bin/a27.rs:18:7
[INFO] [stdout]    |
[INFO] [stdout] 18 |     #[error("menu item not found")]
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]   --> src/bin/a27.rs:24:7
[INFO] [stdout]    |
[INFO] [stdout] 24 |     #[error("divide by zero error")]
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `?` couldn't convert the error to `ProgramError`
[INFO] [stdout]   --> src/bin/a27.rs:47:23
[INFO] [stdout]    |
[INFO] [stdout] 45 | fn run(step: i32) -> Result<(), ProgramError> {
[INFO] [stdout]    |                      ------------------------ expected `ProgramError` because of this
[INFO] [stdout] 46 |     if step == 1 {
[INFO] [stdout] 47 |         pick_menu("4")?;
[INFO] [stdout]    |         --------------^ the trait `From<MenuError>` is not implemented for `ProgramError`
[INFO] [stdout]    |         |
[INFO] [stdout]    |         this can't be annotated with `?` because it has type `Result<_, MenuError>`
[INFO] [stdout]    |
[INFO] [stdout] note: `ProgramError` needs to implement `From<MenuError>`
[INFO] [stdout]   --> src/bin/a27.rs:14:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | enum ProgramError {}
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: alternatively, `MenuError` needs to implement `Into<ProgramError>`
[INFO] [stdout]   --> src/bin/a27.rs:17:1
[INFO] [stdout]    |
[INFO] [stdout] 17 | enum MenuError {
[INFO] [stdout]    | ^^^^^^^^^^^^^^
[INFO] [stdout]    = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `?` couldn't convert the error to `ProgramError`
[INFO] [stdout]   --> src/bin/a27.rs:49:21
[INFO] [stdout]    |
[INFO] [stdout] 45 | fn run(step: i32) -> Result<(), ProgramError> {
[INFO] [stdout]    |                      ------------------------ expected `ProgramError` because of this
[INFO] [stdout] ...
[INFO] [stdout] 49 |         divide(1, 0)?;
[INFO] [stdout]    |         ------------^ the trait `From<MathError>` is not implemented for `ProgramError`
[INFO] [stdout]    |         |
[INFO] [stdout]    |         this can't be annotated with `?` because it has type `Result<_, MathError>`
[INFO] [stdout]    |
[INFO] [stdout] note: `ProgramError` needs to implement `From<MathError>`
[INFO] [stdout]   --> src/bin/a27.rs:14:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | enum ProgramError {}
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: alternatively, `MathError` needs to implement `Into<ProgramError>`
[INFO] [stdout]   --> src/bin/a27.rs:23:1
[INFO] [stdout]    |
[INFO] [stdout] 23 | enum MathError {
[INFO] [stdout]    | ^^^^^^^^^^^^^^
[INFO] [stdout]    = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Color` is never used
[INFO] [stdout]   --> src/bin/a28.rs:13:6
[INFO] [stdout]    |
[INFO] [stdout] 13 | enum Color {
[INFO] [stdout]    |      ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `ProgramError` doesn't implement `Debug`
[INFO] [stdout]   --> src/bin/a27.rs:55:22
[INFO] [stdout]    |
[INFO] [stdout] 55 |     println!("{:?}", run(1));
[INFO] [stdout]    |               ----   ^^^^^^ `ProgramError` cannot be formatted using `{:?}` because it doesn't implement `Debug`
[INFO] [stdout]    |               |
[INFO] [stdout]    |               required by this formatting parameter
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Debug` is not implemented for `ProgramError`
[INFO] [stdout]    = note: add `#[derive(Debug)]` to `ProgramError` or manually `impl Debug for ProgramError`
[INFO] [stdout]    = help: the trait `Debug` is implemented for `Result<T, E>`
[INFO] [stdout]    = note: required for `Result<(), ProgramError>` to implement `Debug`
[INFO] [stdout]    = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider annotating `ProgramError` with `#[derive(Debug)]`
[INFO] [stdout]    |
[INFO] [stdout] 14 + #[derive(Debug)]
[INFO] [stdout] 15 | enum ProgramError {}
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `ProgramError` doesn't implement `Debug`
[INFO] [stdout]   --> src/bin/a27.rs:56:22
[INFO] [stdout]    |
[INFO] [stdout] 56 |     println!("{:?}", run(2));
[INFO] [stdout]    |               ----   ^^^^^^ `ProgramError` cannot be formatted using `{:?}` because it doesn't implement `Debug`
[INFO] [stdout]    |               |
[INFO] [stdout]    |               required by this formatting parameter
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Debug` is not implemented for `ProgramError`
[INFO] [stdout]    = note: add `#[derive(Debug)]` to `ProgramError` or manually `impl Debug for ProgramError`
[INFO] [stdout]    = help: the trait `Debug` is implemented for `Result<T, E>`
[INFO] [stdout]    = note: required for `Result<(), ProgramError>` to implement `Debug`
[INFO] [stdout]    = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider annotating `ProgramError` with `#[derive(Debug)]`
[INFO] [stdout]    |
[INFO] [stdout] 14 + #[derive(Debug)]
[INFO] [stdout] 15 | enum ProgramError {}
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0432.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Color` is never used
[INFO] [stdout]   --> src/bin/a28.rs:13:6
[INFO] [stdout]    |
[INFO] [stdout] 13 | enum Color {
[INFO] [stdout]    |      ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `longest` in this scope
[INFO] [stdout]   --> src/bin/a33.rs:14:20
[INFO] [stdout]    |
[INFO] [stdout] 14 |     println!("{}", longest(short, long))
[INFO] [stdout]    |                    ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `hello` (bin "a27" test) due to 7 previous errors
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `hello` (bin "a33") due to 1 previous error
[INFO] [stdout] warning: trait `Body` is never used
[INFO] [stdout]   --> src/bin/a30.rs:18:7
[INFO] [stdout]    |
[INFO] [stdout] 18 | trait Body {}
[INFO] [stdout]    |       ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Color` is never used
[INFO] [stdout]   --> src/bin/a30.rs:19:7
[INFO] [stdout]    |
[INFO] [stdout] 19 | trait Color {}
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Red` and `White` are never constructed
[INFO] [stdout]   --> src/bin/a7.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | enum Colors {
[INFO] [stdout]    |      ------ variants in this enum
[INFO] [stdout] 14 |     Blue,
[INFO] [stdout] 15 |     Red,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 16 |     White
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Rgb: TryFrom<&str>` is not satisfied
[INFO] [stdout]   --> src/bin/a37.rs:40:22
[INFO] [stdout]    |
[INFO] [stdout] 40 |         let actual = Rgb::try_from("#00cc66");
[INFO] [stdout]    |                      ^^^ unsatisfied trait bound
[INFO] [stdout]    |
[INFO] [stdout] help: the trait `From<&str>` is not implemented for `Rgb`
[INFO] [stdout]   --> src/bin/a37.rs:26:1
[INFO] [stdout]    |
[INFO] [stdout] 26 | struct Rgb(u8, u8, u8);
[INFO] [stdout]    | ^^^^^^^^^^
[INFO] [stdout]    = note: required for `&str` to implement `Into<Rgb>`
[INFO] [stdout]    = note: required for `Rgb` to implement `TryFrom<&str>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Corporate` is never constructed
[INFO] [stdout]   --> src/bin/a40.rs:24:8
[INFO] [stdout]    |
[INFO] [stdout] 24 | struct Corporate;
[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 `StoreFront` is never constructed
[INFO] [stdout]   --> src/bin/a40.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | struct StoreFront;
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Rgb: From<&str>` is not satisfied
[INFO] [stdout]   --> src/bin/a37.rs:40:22
[INFO] [stdout]    |
[INFO] [stdout] 40 |         let actual = Rgb::try_from("#00cc66");
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]    |
[INFO] [stdout] help: the trait `From<&str>` is not implemented for `Rgb`
[INFO] [stdout]   --> src/bin/a37.rs:26:1
[INFO] [stdout]    |
[INFO] [stdout] 26 | struct Rgb(u8, u8, u8);
[INFO] [stdout]    | ^^^^^^^^^^
[INFO] [stdout]    = note: required for `&str` to implement `Into<Rgb>`
[INFO] [stdout]    = note: required for `Rgb` to implement `TryFrom<&str>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Rgb: TryFrom<&str>` is not satisfied
[INFO] [stdout]   --> src/bin/a37.rs:52:13
[INFO] [stdout]    |
[INFO] [stdout] 52 |             Rgb::try_from("#0011yy").is_err(),
[INFO] [stdout]    |             ^^^ unsatisfied trait bound
[INFO] [stdout]    |
[INFO] [stdout] help: the trait `From<&str>` is not implemented for `Rgb`
[INFO] [stdout]   --> src/bin/a37.rs:26:1
[INFO] [stdout]    |
[INFO] [stdout] 26 | struct Rgb(u8, u8, u8);
[INFO] [stdout]    | ^^^^^^^^^^
[INFO] [stdout]    = note: required for `&str` to implement `Into<Rgb>`
[INFO] [stdout]    = note: required for `Rgb` to implement `TryFrom<&str>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Rgb: From<&str>` is not satisfied
[INFO] [stdout]   --> src/bin/a37.rs:52:13
[INFO] [stdout]    |
[INFO] [stdout] 52 |             Rgb::try_from("#0011yy").is_err(),
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]    |
[INFO] [stdout] help: the trait `From<&str>` is not implemented for `Rgb`
[INFO] [stdout]   --> src/bin/a37.rs:26:1
[INFO] [stdout]    |
[INFO] [stdout] 26 | struct Rgb(u8, u8, u8);
[INFO] [stdout]    | ^^^^^^^^^^
[INFO] [stdout]    = note: required for `&str` to implement `Into<Rgb>`
[INFO] [stdout]    = note: required for `Rgb` to implement `TryFrom<&str>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Rgb: TryFrom<&str>` is not satisfied
[INFO] [stdout]   --> src/bin/a37.rs:61:13
[INFO] [stdout]    |
[INFO] [stdout] 61 |             Rgb::try_from("001100").is_err(),
[INFO] [stdout]    |             ^^^ unsatisfied trait bound
[INFO] [stdout]    |
[INFO] [stdout] help: the trait `From<&str>` is not implemented for `Rgb`
[INFO] [stdout]   --> src/bin/a37.rs:26:1
[INFO] [stdout]    |
[INFO] [stdout] 26 | struct Rgb(u8, u8, u8);
[INFO] [stdout]    | ^^^^^^^^^^
[INFO] [stdout]    = note: required for `&str` to implement `Into<Rgb>`
[INFO] [stdout]    = note: required for `Rgb` to implement `TryFrom<&str>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Rgb: From<&str>` is not satisfied
[INFO] [stdout]   --> src/bin/a37.rs:61:13
[INFO] [stdout]    |
[INFO] [stdout] 61 |             Rgb::try_from("001100").is_err(),
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]    |
[INFO] [stdout] help: the trait `From<&str>` is not implemented for `Rgb`
[INFO] [stdout]   --> src/bin/a37.rs:26:1
[INFO] [stdout]    |
[INFO] [stdout] 26 | struct Rgb(u8, u8, u8);
[INFO] [stdout]    | ^^^^^^^^^^
[INFO] [stdout]    = note: required for `&str` to implement `Into<Rgb>`
[INFO] [stdout]    = note: required for `Rgb` to implement `TryFrom<&str>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Rgb: TryFrom<&str>` is not satisfied
[INFO] [stdout]   --> src/bin/a37.rs:70:13
[INFO] [stdout]    |
[INFO] [stdout] 70 |             Rgb::try_from("#0011f").is_err(),
[INFO] [stdout]    |             ^^^ unsatisfied trait bound
[INFO] [stdout]    |
[INFO] [stdout] help: the trait `From<&str>` is not implemented for `Rgb`
[INFO] [stdout]   --> src/bin/a37.rs:26:1
[INFO] [stdout]    |
[INFO] [stdout] 26 | struct Rgb(u8, u8, u8);
[INFO] [stdout]    | ^^^^^^^^^^
[INFO] [stdout]    = note: required for `&str` to implement `Into<Rgb>`
[INFO] [stdout]    = note: required for `Rgb` to implement `TryFrom<&str>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Rgb: From<&str>` is not satisfied
[INFO] [stdout]   --> src/bin/a37.rs:70:13
[INFO] [stdout]    |
[INFO] [stdout] 70 |             Rgb::try_from("#0011f").is_err(),
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]    |
[INFO] [stdout] help: the trait `From<&str>` is not implemented for `Rgb`
[INFO] [stdout]   --> src/bin/a37.rs:26:1
[INFO] [stdout]    |
[INFO] [stdout] 26 | struct Rgb(u8, u8, u8);
[INFO] [stdout]    | ^^^^^^^^^^
[INFO] [stdout]    = note: required for `&str` to implement `Into<Rgb>`
[INFO] [stdout]    = note: required for `Rgb` to implement `TryFrom<&str>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Rgb: TryFrom<&str>` is not satisfied
[INFO] [stdout]   --> src/bin/a37.rs:79:13
[INFO] [stdout]    |
[INFO] [stdout] 79 |             Rgb::try_from("#0011ffa").is_err(),
[INFO] [stdout]    |             ^^^ unsatisfied trait bound
[INFO] [stdout]    |
[INFO] [stdout] help: the trait `From<&str>` is not implemented for `Rgb`
[INFO] [stdout]   --> src/bin/a37.rs:26:1
[INFO] [stdout]    |
[INFO] [stdout] 26 | struct Rgb(u8, u8, u8);
[INFO] [stdout]    | ^^^^^^^^^^
[INFO] [stdout]    = note: required for `&str` to implement `Into<Rgb>`
[INFO] [stdout]    = note: required for `Rgb` to implement `TryFrom<&str>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Rgb: From<&str>` is not satisfied
[INFO] [stdout]   --> src/bin/a37.rs:79:13
[INFO] [stdout]    |
[INFO] [stdout] 79 |             Rgb::try_from("#0011ffa").is_err(),
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]    |
[INFO] [stdout] help: the trait `From<&str>` is not implemented for `Rgb`
[INFO] [stdout]   --> src/bin/a37.rs:26:1
[INFO] [stdout]    |
[INFO] [stdout] 26 | struct Rgb(u8, u8, u8);
[INFO] [stdout]    | ^^^^^^^^^^
[INFO] [stdout]    = note: required for `&str` to implement `Into<Rgb>`
[INFO] [stdout]    = note: required for `Rgb` to implement `TryFrom<&str>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Corporate` is never constructed
[INFO] [stdout]   --> src/bin/a40.rs:24:8
[INFO] [stdout]    |
[INFO] [stdout] 24 | struct Corporate;
[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 `StoreFront` is never constructed
[INFO] [stdout]   --> src/bin/a40.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | struct StoreFront;
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `hello` (bin "a37" test) due to 10 previous errors
[INFO] [stdout] warning: function `msg_hello` is never used
[INFO] [stdout]   --> src/bin/a38.rs:11:4
[INFO] [stdout]    |
[INFO] [stdout] 11 | fn msg_hello() -> &'static str {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `msg_thread` is never used
[INFO] [stdout]   --> src/bin/a38.rs:17:4
[INFO] [stdout]    |
[INFO] [stdout] 17 | fn msg_thread() -> &'static str {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `msg_excited` is never used
[INFO] [stdout]   --> src/bin/a38.rs:23:4
[INFO] [stdout]    |
[INFO] [stdout] 23 | fn msg_excited() -> &'static str {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "7afa9d94c8ef9401b3e55bfe903e9d2c0f84f5dae9536f0f3c28183322bae038", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7afa9d94c8ef9401b3e55bfe903e9d2c0f84f5dae9536f0f3c28183322bae038", kill_on_drop: false }`
[INFO] [stdout] 7afa9d94c8ef9401b3e55bfe903e9d2c0f84f5dae9536f0f3c28183322bae038
