[INFO] cloning repository https://github.com/kind0Dev/hello_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kind0Dev/hello_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkind0Dev%2Fhello_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkind0Dev%2Fhello_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c3ccbd8f03918321cc5dd3274c08c6446c8d4cff [INFO] checking kind0Dev/hello_rust against try#b2fb67b8b6007ced9ad3f3b752a6fec899e7859c for pr-138915 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkind0Dev%2Fhello_rust" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] error: unable to write file real_exercises/target/debug/incremental/simple_calculator-0c9pqc3rsjv5w/s-h4x4kmnxk7-1w1oai5-3vdtsa2f7zig7xe0847mhl80r/dep-graph.bin [INFO] [stderr] error: unable to write file real_exercises/target/debug/incremental/simple_calculator-0c9pqc3rsjv5w/s-h4x4kmnxk7-1w1oai5-3vdtsa2f7zig7xe0847mhl80r/evgsrtis1vmgspznn6r8uo7m7.o [INFO] [stderr] error: unable to write file real_exercises/target/debug/incremental/simple_calculator-0c9pqc3rsjv5w/s-h4x4kmnxk7-1w1oai5-3vdtsa2f7zig7xe0847mhl80r/query-cache.bin [INFO] [stderr] error: unable to write file real_exercises/target/debug/incremental/simple_calculator-0c9pqc3rsjv5w/s-h4x4kmnxk7-1w1oai5-3vdtsa2f7zig7xe0847mhl80r/work-products.bin [INFO] [stderr] fatal: cannot create directory at 'real_exercises/target/debug/incremental/simple_calculator-1pyvydyj3gv4q': No space left on device [INFO] [stderr] warning: Clone succeeded, but checkout failed. [INFO] [stderr] You can inspect what was checked out with 'git status' [INFO] [stderr] and retry with 'git restore --source=HEAD :/' [INFO] [stderr] [INFO] checking kind0Dev/hello_rust against try#b2fb67b8b6007ced9ad3f3b752a6fec899e7859c for pr-138915 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkind0Dev%2Fhello_rust" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 60% (810/1335) Updating files: 61% (815/1335) Updating files: 62% (828/1335) Updating files: 63% (842/1335) Updating files: 64% (855/1335) Updating files: 65% (868/1335) Updating files: 66% (882/1335) Updating files: 67% (895/1335) Updating files: 68% (908/1335) Updating files: 69% (922/1335) Updating files: 70% (935/1335) Updating files: 71% (948/1335) Updating files: 72% (962/1335) Updating files: 73% (975/1335) Updating files: 74% (988/1335) Updating files: 75% (1002/1335) Updating files: 76% (1015/1335) Updating files: 77% (1028/1335) Updating files: 78% (1042/1335) Updating files: 79% (1055/1335) Updating files: 80% (1068/1335) Updating files: 81% (1082/1335) Updating files: 82% (1095/1335) Updating files: 83% (1109/1335) Updating files: 84% (1122/1335) Updating files: 85% (1135/1335) Updating files: 86% (1149/1335) Updating files: 87% (1162/1335) Updating files: 88% (1175/1335) Updating files: 89% (1189/1335) Updating files: 90% (1202/1335) Updating files: 91% (1215/1335) Updating files: 92% (1229/1335) Updating files: 93% (1242/1335) Updating files: 94% (1255/1335) Updating files: 95% (1269/1335) Updating files: 96% (1282/1335) Updating files: 97% (1295/1335) Updating files: 98% (1309/1335) Updating files: 99% (1322/1335) Updating files: 100% (1335/1335) Updating files: 100% (1335/1335), done. [INFO] validating manifest of git repo https://github.com/kind0Dev/hello_rust on toolchain b2fb67b8b6007ced9ad3f3b752a6fec899e7859c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b2fb67b8b6007ced9ad3f3b752a6fec899e7859c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kind0Dev/hello_rust [INFO] finished tweaking git repo https://github.com/kind0Dev/hello_rust [INFO] tweaked toml for git repo https://github.com/kind0Dev/hello_rust written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/kind0Dev/hello_rust 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" "+b2fb67b8b6007ced9ad3f3b752a6fec899e7859c" "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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+b2fb67b8b6007ced9ad3f3b752a6fec899e7859c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9aa1b08c3a50871f46d4ae5a9123c0c199e47f095ca65ce5b3d20014cf0f326b [INFO] running `Command { std: "docker" "start" "-a" "9aa1b08c3a50871f46d4ae5a9123c0c199e47f095ca65ce5b3d20014cf0f326b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9aa1b08c3a50871f46d4ae5a9123c0c199e47f095ca65ce5b3d20014cf0f326b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9aa1b08c3a50871f46d4ae5a9123c0c199e47f095ca65ce5b3d20014cf0f326b", kill_on_drop: false }` [INFO] [stdout] 9aa1b08c3a50871f46d4ae5a9123c0c199e47f095ca65ce5b3d20014cf0f326b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+b2fb67b8b6007ced9ad3f3b752a6fec899e7859c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b3f06d26a4c37d7ad8c2c330464be4ddf73c266b1d36fd8eb8c4998bbadefaeb [INFO] running `Command { std: "docker" "start" "-a" "b3f06d26a4c37d7ad8c2c330464be4ddf73c266b1d36fd8eb8c4998bbadefaeb", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking iana-time-zone v0.1.61 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking chrono v0.4.40 [INFO] [stderr] Checking activities v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `stream` [INFO] [stdout] --> src/bin/a36.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | let mut stream = data().chunks(2); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/a36.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let mut stream = data().chunks(2); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crossbeam_channel` [INFO] [stdout] --> src/bin/a39.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use crossbeam_channel::{unbounded, Receiver}; [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[E0432]: unresolved import `crossbeam_channel` [INFO] [stdout] --> src/bin/a39.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | use crossbeam_channel::unbounded; [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] warning: unused import: `core::num` [INFO] [stdout] --> src/bin/a16.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use core::num; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/bin/a39.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 25 | use std::thread::{self, JoinHandle}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Rgb` is never constructed [INFO] [stdout] --> src/bin/a37.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | struct Rgb(u8, u8, u8); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::num` [INFO] [stdout] --> src/bin/a16.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use core::num; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ServicePriority` is never used [INFO] [stdout] --> src/bin/a29.rs:13:6 [INFO] [stdout] | [INFO] [stdout] 13 | enum ServicePriority { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Priority` is never used [INFO] [stdout] --> src/bin/a29.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | trait Priority { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ImportantGuest` is never constructed [INFO] [stdout] --> src/bin/a29.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | struct ImportantGuest; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Guest` is never constructed [INFO] [stdout] --> src/bin/a29.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | struct Guest; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [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)]` 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: 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)]` 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] [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] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/a39.rs:38:56 [INFO] [stdout] | [INFO] [stdout] 38 | fn spawn_light_thread(receiver: Receiver) -> JoinHandle { [INFO] [stdout] | ------------------ ^^^^^^^^^^^^^^^^^^^^^^^ expected `JoinHandle`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected struct `JoinHandle` [INFO] [stdout] found unit type `()` [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] | ^^^ the trait `From<&str>` is not implemented for `Rgb` [INFO] [stdout] | [INFO] [stdout] = note: required for `&str` to implement `Into` [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:40:22 [INFO] [stdout] | [INFO] [stdout] 40 | let actual = Rgb::try_from("#00cc66"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `From<&str>` is not implemented for `Rgb` [INFO] [stdout] | [INFO] [stdout] = note: required for `&str` to implement `Into` [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] | ^^^ the trait `From<&str>` is not implemented for `Rgb` [INFO] [stdout] | [INFO] [stdout] = note: required for `&str` to implement `Into` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `From<&str>` is not implemented for `Rgb` [INFO] [stdout] | [INFO] [stdout] = note: required for `&str` to implement `Into` [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] | ^^^ the trait `From<&str>` is not implemented for `Rgb` [INFO] [stdout] | [INFO] [stdout] = note: required for `&str` to implement `Into` [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] | ^^^^^^^^^^^^^^^^^^^^^^^ the trait `From<&str>` is not implemented for `Rgb` [INFO] [stdout] | [INFO] [stdout] = note: required for `&str` to implement `Into` [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] | ^^^ the trait `From<&str>` is not implemented for `Rgb` [INFO] [stdout] | [INFO] [stdout] = note: required for `&str` to implement `Into` [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] | ^^^^^^^^^^^^^^^^^^^^^^^ the trait `From<&str>` is not implemented for `Rgb` [INFO] [stdout] | [INFO] [stdout] = note: required for `&str` to implement `Into` [INFO] [stdout] = note: required for `Rgb` to implement `TryFrom<&str>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] warning: variants `Black` and `White` are never constructed [INFO] [stdout] --> src/bin/a7.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | enum Color { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 14 | Black, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 15 | White, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Color` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` 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:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | Rgb::try_from("#0011ffa").is_err(), [INFO] [stdout] | ^^^ the trait `From<&str>` is not implemented for `Rgb` [INFO] [stdout] | [INFO] [stdout] = note: required for `&str` to implement `Into` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `From<&str>` is not implemented for `Rgb` [INFO] [stdout] | [INFO] [stdout] = note: required for `&str` to implement `Into` [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] [stderr] error: could not compile `activities` (bin "a37" test) due to 10 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] [stderr] error: could not compile `activities` (bin "a39" test) due to 3 previous errors; 1 warning emitted [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] 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)]` on by default [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crossbeam_channel` [INFO] [stdout] --> src/bin/a39.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use crossbeam_channel::{unbounded, Receiver}; [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] warning: unused import: `self` [INFO] [stdout] --> src/bin/a39.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 25 | use std::thread::{self, JoinHandle}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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` 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` [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` [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` 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` [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` [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] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/a39.rs:38:56 [INFO] [stdout] | [INFO] [stdout] 38 | fn spawn_light_thread(receiver: Receiver) -> JoinHandle { [INFO] [stdout] | ------------------ ^^^^^^^^^^^^^^^^^^^^^^^ expected `JoinHandle`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected struct `JoinHandle` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [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 `{:?}` [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` [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 `{:?}` [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` [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] [stderr] error: could not compile `activities` (bin "a39") due to 2 previous errors; 1 warning emitted [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: unused import: `core::num` [INFO] [stdout] --> src/bin/p1.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use core::num; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `activities` (bin "a27" test) due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "b3f06d26a4c37d7ad8c2c330464be4ddf73c266b1d36fd8eb8c4998bbadefaeb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3f06d26a4c37d7ad8c2c330464be4ddf73c266b1d36fd8eb8c4998bbadefaeb", kill_on_drop: false }` [INFO] [stdout] b3f06d26a4c37d7ad8c2c330464be4ddf73c266b1d36fd8eb8c4998bbadefaeb