[INFO] cloning repository https://github.com/binglekruger/Rust_Recap_2024 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/binglekruger/Rust_Recap_2024" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbinglekruger%2FRust_Recap_2024", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbinglekruger%2FRust_Recap_2024'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 12bbdc0f98f23cf73b315734a1a17d3686ca38fa [INFO] checking binglekruger/Rust_Recap_2024/12bbdc0f98f23cf73b315734a1a17d3686ca38fa against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbinglekruger%2FRust_Recap_2024" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/binglekruger/Rust_Recap_2024 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/binglekruger/Rust_Recap_2024 [INFO] finished tweaking git repo https://github.com/binglekruger/Rust_Recap_2024 [INFO] tweaked toml for git repo https://github.com/binglekruger/Rust_Recap_2024 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/binglekruger/Rust_Recap_2024 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proc-macro2 v1.0.82 [INFO] [stderr] Downloaded thiserror-impl v1.0.60 [INFO] [stderr] Downloaded anyhow v1.0.83 [INFO] [stderr] Downloaded cc v1.0.97 [INFO] [stderr] Downloaded redox_syscall v0.5.1 [INFO] [stderr] Downloaded parking_lot v0.12.2 [INFO] [stderr] Downloaded thiserror v1.0.60 [INFO] [stderr] Downloaded syn v2.0.63 [INFO] [stderr] Downloaded libc v0.2.154 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d55eb1b36adb7cb39da4c3e5ccaa63ea7aba4fc42744508c02fd28e69b47a021 [INFO] running `Command { std: "docker" "start" "-a" "d55eb1b36adb7cb39da4c3e5ccaa63ea7aba4fc42744508c02fd28e69b47a021", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d55eb1b36adb7cb39da4c3e5ccaa63ea7aba4fc42744508c02fd28e69b47a021", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d55eb1b36adb7cb39da4c3e5ccaa63ea7aba4fc42744508c02fd28e69b47a021", kill_on_drop: false }` [INFO] [stdout] d55eb1b36adb7cb39da4c3e5ccaa63ea7aba4fc42744508c02fd28e69b47a021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c01dad0817fef1d0c875a2f094edd6937935ecc0b6f75bf3023740514bcd26fe [INFO] running `Command { std: "docker" "start" "-a" "c01dad0817fef1d0c875a2f094edd6937935ecc0b6f75bf3023740514bcd26fe", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.82 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Checking common v0.1.0 (/opt/rustwide/workdir/helpers/common) [INFO] [stderr] Compiling thiserror v1.0.60 [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Compiling anyhow v1.0.83 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking outro_03 v0.1.0 (/opt/rustwide/workdir/exercises/04_traits/13_outro) [INFO] [stderr] Checking outro_02 v0.1.0 (/opt/rustwide/workdir/exercises/03_ticket_v1/12_outro) [INFO] [stderr] Checking fallibility v0.1.0 (/opt/rustwide/workdir/exercises/05_ticket_v2/06_fallibility) [INFO] [stderr] Checking error_trait v0.1.0 (/opt/rustwide/workdir/exercises/05_ticket_v2/09_error_trait) [INFO] [stderr] Checking variants_with_data v0.1.0 (/opt/rustwide/workdir/exercises/05_ticket_v2/03_variants_with_data) [INFO] [stderr] Checking thiserror_ v0.1.0 (/opt/rustwide/workdir/exercises/05_ticket_v2/12_thiserror) [INFO] [stderr] Checking enum_ v0.1.0 (/opt/rustwide/workdir/exercises/05_ticket_v2/01_enum) [INFO] [stderr] Checking unwrap v0.1.0 (/opt/rustwide/workdir/exercises/05_ticket_v2/07_unwrap) [INFO] [stdout] error[E0432]: unresolved import `outro_03::SaturatingU16` [INFO] [stdout] --> exercises/04_traits/13_outro/tests/integration.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use outro_03::SaturatingU16; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no `SaturatingU16` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap_err` found for struct `Ticket` in the current scope [INFO] [stdout] --> exercises/05_ticket_v2/06_fallibility/src/lib.rs:48:79 [INFO] [stdout] | [INFO] [stdout] 5 | struct Ticket { [INFO] [stdout] | ------------- method `unwrap_err` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 48 | let error = Ticket::new("".into(), valid_description(), Status::ToDo).unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^ method not found in `Ticket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `TicketNewError: AmbiguousIfMoreThanOne` is not satisfied [INFO] [stdout] --> exercises/05_ticket_v2/09_error_trait/src/lib.rs:104:22 [INFO] [stdout] | [INFO] [stdout] 104 | assert_impl_one!(TicketNewError: std::error::Error); [INFO] [stdout] | ^^^^^^^^^^^^^^ the trait `std::error::Error` is not implemented for `TicketNewError`, which is required by `TicketNewError: AmbiguousIfMoreThanOne<_>` [INFO] [stdout] | [INFO] [stdout] note: required for `TicketNewError` to implement `AmbiguousIfMoreThanOne` [INFO] [stdout] --> exercises/05_ticket_v2/09_error_trait/src/lib.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | assert_impl_one!(TicketNewError: std::error::Error); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] = note: this error originates in the macro `assert_impl_one` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap_err` found for struct `Ticket` in the current scope [INFO] [stdout] --> exercises/05_ticket_v2/06_fallibility/src/lib.rs:54:73 [INFO] [stdout] | [INFO] [stdout] 5 | struct Ticket { [INFO] [stdout] | ------------- method `unwrap_err` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 54 | let error = Ticket::new(valid_title(), "".into(), Status::ToDo).unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^ method not found in `Ticket` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `outro_03` (test "integration") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `unwrap_err` found for struct `Ticket` in the current scope [INFO] [stdout] --> exercises/05_ticket_v2/06_fallibility/src/lib.rs:61:81 [INFO] [stdout] | [INFO] [stdout] 5 | struct Ticket { [INFO] [stdout] | ------------- method `unwrap_err` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 61 | Ticket::new(overly_long_title(), valid_description(), Status::ToDo).unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^ method not found in `Ticket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `TicketNewError` doesn't implement `std::fmt::Display` [INFO] [stdout] --> exercises/05_ticket_v2/09_error_trait/src/lib.rs:101:34 [INFO] [stdout] | [INFO] [stdout] 101 | assert_eq!(format!("{}", ticket.unwrap_err()), "Title cannot be empty"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ `TicketNewError` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `TicketNewError` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: this error originates in the macro `$crate::__export::format_args` which comes from the expansion of the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `TicketNewError` doesn't implement `std::fmt::Display` [INFO] [stdout] --> exercises/05_ticket_v2/12_thiserror/src/lib.rs:62:24 [INFO] [stdout] | [INFO] [stdout] 6 | enum TicketNewError { [INFO] [stdout] | ------------------- method `to_string` not found for this enum because it doesn't satisfy `TicketNewError: ToString` or `TicketNewError: std::fmt::Display` [INFO] [stdout] ... [INFO] [stdout] 62 | assert_eq!(err.to_string(), "Title cannot be empty"); [INFO] [stdout] | ^^^^^^^^^ `TicketNewError` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `TicketNewError: std::fmt::Display` [INFO] [stdout] which is required by `TicketNewError: ToString` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] note: the trait `std::fmt::Display` must be implemented [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/fmt/mod.rs:724:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `to_string`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ToString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap_err` found for struct `Ticket` in the current scope [INFO] [stdout] --> exercises/05_ticket_v2/06_fallibility/src/lib.rs:68:81 [INFO] [stdout] | [INFO] [stdout] 5 | struct Ticket { [INFO] [stdout] | ------------- method `unwrap_err` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 68 | Ticket::new(valid_title(), overly_long_description(), Status::ToDo).unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^ method not found in `Ticket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `TicketNewError` doesn't implement `std::fmt::Display` [INFO] [stdout] --> exercises/05_ticket_v2/12_thiserror/src/lib.rs:68:24 [INFO] [stdout] | [INFO] [stdout] 6 | enum TicketNewError { [INFO] [stdout] | ------------------- method `to_string` not found for this enum because it doesn't satisfy `TicketNewError: ToString` or `TicketNewError: std::fmt::Display` [INFO] [stdout] ... [INFO] [stdout] 68 | assert_eq!(err.to_string(), "Description cannot be empty"); [INFO] [stdout] | ^^^^^^^^^ `TicketNewError` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `TicketNewError: std::fmt::Display` [INFO] [stdout] which is required by `TicketNewError: ToString` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] note: the trait `std::fmt::Display` must be implemented [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/fmt/mod.rs:724:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `to_string`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ToString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `title` [INFO] [stdout] --> exercises/05_ticket_v2/09_error_trait/src/lib.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | fn easy_ticket(title: String, description: String, status: Status) -> Ticket { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_title` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `description` [INFO] [stdout] --> exercises/05_ticket_v2/09_error_trait/src/lib.rs:15:31 [INFO] [stdout] | [INFO] [stdout] 15 | fn easy_ticket(title: String, description: String, status: Status) -> Ticket { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_description` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `status` [INFO] [stdout] --> exercises/05_ticket_v2/09_error_trait/src/lib.rs:15:52 [INFO] [stdout] | [INFO] [stdout] 15 | fn easy_ticket(title: String, description: String, status: Status) -> Ticket { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `TicketNewError` doesn't implement `std::fmt::Display` [INFO] [stdout] --> exercises/05_ticket_v2/12_thiserror/src/lib.rs:74:24 [INFO] [stdout] | [INFO] [stdout] 6 | enum TicketNewError { [INFO] [stdout] | ------------------- method `to_string` not found for this enum because it doesn't satisfy `TicketNewError: ToString` or `TicketNewError: std::fmt::Display` [INFO] [stdout] ... [INFO] [stdout] 74 | assert_eq!(err.to_string(), "Title cannot be longer than 50 characters"); [INFO] [stdout] | ^^^^^^^^^ `TicketNewError` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `TicketNewError: std::fmt::Display` [INFO] [stdout] which is required by `TicketNewError: ToString` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] note: the trait `std::fmt::Display` must be implemented [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/fmt/mod.rs:724:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `to_string`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ToString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stdout] error[E0599]: `TicketNewError` doesn't implement `std::fmt::Display` [INFO] [stdout] --> exercises/05_ticket_v2/12_thiserror/src/lib.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 6 | enum TicketNewError { [INFO] [stdout] | ------------------- method `to_string` not found for this enum because it doesn't satisfy `TicketNewError: ToString` or `TicketNewError: std::fmt::Display` [INFO] [stdout] ... [INFO] [stdout] 81 | err.to_string(), [INFO] [stdout] | ^^^^^^^^^ `TicketNewError` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `TicketNewError: std::fmt::Display` [INFO] [stdout] which is required by `TicketNewError: ToString` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] note: the trait `std::fmt::Display` must be implemented [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/fmt/mod.rs:724:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `to_string`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ToString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fallibility` (lib test) due to 5 previous errors [INFO] [stderr] error: could not compile `error_trait` (lib test) due to 3 previous errors; 3 warnings emitted [INFO] [stderr] error: could not compile `thiserror_` (lib test) due to 5 previous errors [INFO] [stdout] error[E0599]: no variant or associated item named `ToDo` found for enum `Status` in the current scope [INFO] [stdout] --> exercises/05_ticket_v2/01_enum/src/lib.rs:67:29 [INFO] [stdout] | [INFO] [stdout] 13 | enum Status { [INFO] [stdout] | ----------- variant or associated item `ToDo` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 67 | status: Status::ToDo, [INFO] [stdout] | ^^^^ variant or associated item not found in `Status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `ToDo` found for enum `Status` in the current scope [INFO] [stdout] --> exercises/05_ticket_v2/01_enum/src/lib.rs:72:29 [INFO] [stdout] | [INFO] [stdout] 13 | enum Status { [INFO] [stdout] | ----------- variant or associated item `ToDo` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 72 | status: Status::ToDo, [INFO] [stdout] | ^^^^ variant or associated item not found in `Status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `ToDo` found for enum `Status` in the current scope [INFO] [stdout] --> exercises/05_ticket_v2/01_enum/src/lib.rs:80:30 [INFO] [stdout] | [INFO] [stdout] 13 | enum Status { [INFO] [stdout] | ----------- variant or associated item `ToDo` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 80 | let status = Status::ToDo; [INFO] [stdout] | ^^^^ variant or associated item not found in `Status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `title` [INFO] [stdout] --> exercises/05_ticket_v2/07_unwrap/src/lib.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | fn easy_ticket(title: String, description: String, status: Status) -> Ticket { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_title` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `description` [INFO] [stdout] --> exercises/05_ticket_v2/07_unwrap/src/lib.rs:4:31 [INFO] [stdout] | [INFO] [stdout] 4 | fn easy_ticket(title: String, description: String, status: Status) -> Ticket { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_description` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `status` [INFO] [stdout] --> exercises/05_ticket_v2/07_unwrap/src/lib.rs:4:52 [INFO] [stdout] | [INFO] [stdout] 4 | fn easy_ticket(title: String, description: String, status: Status) -> Ticket { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `InProgress` found for enum `Status` in the current scope [INFO] [stdout] --> exercises/05_ticket_v2/01_enum/src/lib.rs:97:30 [INFO] [stdout] | [INFO] [stdout] 13 | enum Status { [INFO] [stdout] | ----------- variant or associated item `InProgress` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 97 | let status = Status::InProgress; [INFO] [stdout] | ^^^^^^^^^^ variant or associated item not found in `Status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `InProgress` found for enum `Status` in the current scope [INFO] [stdout] --> exercises/05_ticket_v2/01_enum/src/lib.rs:118:29 [INFO] [stdout] | [INFO] [stdout] 13 | enum Status { [INFO] [stdout] | ----------- variant or associated item `InProgress` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 118 | status: Status::InProgress, [INFO] [stdout] | ^^^^^^^^^^ variant or associated item not found in `Status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InProgress` and `Done` are never constructed [INFO] [stdout] --> exercises/05_ticket_v2/07_unwrap/src/lib.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 16 | enum Status { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 17 | ToDo, [INFO] [stdout] 18 | InProgress { assigned_to: String }, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 19 | Done, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Status` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> exercises/05_ticket_v2/07_unwrap/src/lib.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Ticket { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 23 | pub fn new(title: String, description: String, status: Status) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Done` found for enum `Status` in the current scope [INFO] [stdout] --> exercises/05_ticket_v2/01_enum/src/lib.rs:123:29 [INFO] [stdout] | [INFO] [stdout] 13 | enum Status { [INFO] [stdout] | ----------- variant or associated item `Done` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 123 | status: Status::Done, [INFO] [stdout] | ^^^^ variant or associated item not found in `Status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `enum_` (lib test) due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "c01dad0817fef1d0c875a2f094edd6937935ecc0b6f75bf3023740514bcd26fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c01dad0817fef1d0c875a2f094edd6937935ecc0b6f75bf3023740514bcd26fe", kill_on_drop: false }` [INFO] [stdout] c01dad0817fef1d0c875a2f094edd6937935ecc0b6f75bf3023740514bcd26fe