[INFO] cloning repository https://github.com/rr3khan/rust-100-exercises-my-solutions [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rr3khan/rust-100-exercises-my-solutions" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frr3khan%2Frust-100-exercises-my-solutions", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frr3khan%2Frust-100-exercises-my-solutions'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 73a7a6b52f8e7cf42eac5d2e770224e30e099dee [INFO] checking rr3khan/rust-100-exercises-my-solutions against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frr3khan%2Frust-100-exercises-my-solutions" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rr3khan/rust-100-exercises-my-solutions on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rr3khan/rust-100-exercises-my-solutions [INFO] finished tweaking git repo https://github.com/rr3khan/rust-100-exercises-my-solutions [INFO] tweaked toml for git repo https://github.com/rr3khan/rust-100-exercises-my-solutions written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/rr3khan/rust-100-exercises-my-solutions 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" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded thiserror v1.0.60 [INFO] [stderr] Downloaded anyhow v1.0.83 [INFO] [stderr] Downloaded proc-macro2 v1.0.82 [INFO] [stderr] Downloaded thiserror-impl v1.0.60 [INFO] [stderr] Downloaded cc v1.0.97 [INFO] [stderr] Downloaded syn v2.0.63 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2678274cf66ca76112591f3e1e1fac45b773d3144c3fca5103e4866a421852ee [INFO] running `Command { std: "docker" "start" "-a" "2678274cf66ca76112591f3e1e1fac45b773d3144c3fca5103e4866a421852ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2678274cf66ca76112591f3e1e1fac45b773d3144c3fca5103e4866a421852ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2678274cf66ca76112591f3e1e1fac45b773d3144c3fca5103e4866a421852ee", kill_on_drop: false }` [INFO] [stdout] 2678274cf66ca76112591f3e1e1fac45b773d3144c3fca5103e4866a421852ee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 70ab39c8ca4f4ae42c33825af3e2281f204903f3aed61e7715e076b348bbe934 [INFO] running `Command { std: "docker" "start" "-a" "70ab39c8ca4f4ae42c33825af3e2281f204903f3aed61e7715e076b348bbe934", 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 cfg-if v1.0.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking bytes v1.6.0 [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 str_slice v0.1.0 (/opt/rustwide/workdir/exercises/04_traits/05_str_slice) [INFO] [stderr] Checking validation v0.1.0 (/opt/rustwide/workdir/exercises/03_ticket_v1/02_validation) [INFO] [stderr] Checking fallibility v0.1.0 (/opt/rustwide/workdir/exercises/05_ticket_v2/06_fallibility) [INFO] [stderr] Checking variants_with_data v0.1.0 (/opt/rustwide/workdir/exercises/05_ticket_v2/03_variants_with_data) [INFO] [stderr] Checking error_trait v0.1.0 (/opt/rustwide/workdir/exercises/05_ticket_v2/09_error_trait) [INFO] [stderr] Checking error_enums v0.1.0 (/opt/rustwide/workdir/exercises/05_ticket_v2/08_error_enums) [INFO] [stderr] Checking unwrap v0.1.0 (/opt/rustwide/workdir/exercises/05_ticket_v2/07_unwrap) [INFO] [stderr] Checking thiserror_ v0.1.0 (/opt/rustwide/workdir/exercises/05_ticket_v2/12_thiserror) [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] [stderr] Checking enum_ v0.1.0 (/opt/rustwide/workdir/exercises/05_ticket_v2/01_enum) [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] [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: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[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] [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]: 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: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [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] [stderr] error: could not compile `error_trait` (lib test) due to 3 previous errors [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] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> exercises/05_ticket_v2/08_error_enums/src/lib.rs:35:24 [INFO] [stdout] | [INFO] [stdout] 35 | return Err("Title cannot be empty".to_string()); [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `TicketNewError`, found `String` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] help: the type constructed contains `String` due to the type of the argument passed [INFO] [stdout] --> exercises/05_ticket_v2/08_error_enums/src/lib.rs:35:20 [INFO] [stdout] | [INFO] [stdout] 35 | return Err("Title cannot be empty".to_string()); [INFO] [stdout] | ^^^^-----------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Err` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/result.rs:515:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> exercises/05_ticket_v2/08_error_enums/src/lib.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | return Err("Title cannot be longer than 50 characters".to_string()); [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `TicketNewError`, found `String` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] help: the type constructed contains `String` due to the type of the argument passed [INFO] [stdout] --> exercises/05_ticket_v2/08_error_enums/src/lib.rs:38:20 [INFO] [stdout] | [INFO] [stdout] 38 | return Err("Title cannot be longer than 50 characters".to_string()); [INFO] [stdout] | ^^^^-------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Err` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/result.rs:515:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> exercises/05_ticket_v2/08_error_enums/src/lib.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | return Err("Description cannot be empty".to_string()); [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `TicketNewError`, found `String` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] help: the type constructed contains `String` due to the type of the argument passed [INFO] [stdout] --> exercises/05_ticket_v2/08_error_enums/src/lib.rs:41:20 [INFO] [stdout] | [INFO] [stdout] 41 | return Err("Description cannot be empty".to_string()); [INFO] [stdout] | ^^^^-----------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Err` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/result.rs:515:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> exercises/05_ticket_v2/08_error_enums/src/lib.rs:44:24 [INFO] [stdout] | [INFO] [stdout] 44 | return Err("Description cannot be longer than 500 characters".to_string()); [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `TicketNewError`, found `String` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] help: the type constructed contains `String` due to the type of the argument passed [INFO] [stdout] --> exercises/05_ticket_v2/08_error_enums/src/lib.rs:44:20 [INFO] [stdout] | [INFO] [stdout] 44 | return Err("Description cannot be longer than 500 characters".to_string()); [INFO] [stdout] | ^^^^--------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Err` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/result.rs:515:5 [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 E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `error_enums` (lib test) due to 5 previous errors [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: the trait `std::fmt::Display` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/fmt/mod.rs:717: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]: `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: the trait `std::fmt::Display` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/fmt/mod.rs:717: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 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]: `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: the trait `std::fmt::Display` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/fmt/mod.rs:717: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]: `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: the trait `std::fmt::Display` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/fmt/mod.rs:717: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]: 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] [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: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] 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] 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] 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" "70ab39c8ca4f4ae42c33825af3e2281f204903f3aed61e7715e076b348bbe934", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70ab39c8ca4f4ae42c33825af3e2281f204903f3aed61e7715e076b348bbe934", kill_on_drop: false }` [INFO] [stdout] 70ab39c8ca4f4ae42c33825af3e2281f204903f3aed61e7715e076b348bbe934 [INFO] checking rr3khan/rust-100-exercises-my-solutions against try#dae34b759e282c069aa28752564694effd121a63 for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frr3khan%2Frust-100-exercises-my-solutions" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rr3khan/rust-100-exercises-my-solutions on toolchain dae34b759e282c069aa28752564694effd121a63 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rr3khan/rust-100-exercises-my-solutions [INFO] finished tweaking git repo https://github.com/rr3khan/rust-100-exercises-my-solutions [INFO] tweaked toml for git repo https://github.com/rr3khan/rust-100-exercises-my-solutions written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/rr3khan/rust-100-exercises-my-solutions 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" "+dae34b759e282c069aa28752564694effd121a63" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 74c9264ab67363e32e8bdfdb11d7a0b669e6992f6d50a6a5b360560107328ebd [INFO] running `Command { std: "docker" "start" "-a" "74c9264ab67363e32e8bdfdb11d7a0b669e6992f6d50a6a5b360560107328ebd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "74c9264ab67363e32e8bdfdb11d7a0b669e6992f6d50a6a5b360560107328ebd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74c9264ab67363e32e8bdfdb11d7a0b669e6992f6d50a6a5b360560107328ebd", kill_on_drop: false }` [INFO] [stdout] 74c9264ab67363e32e8bdfdb11d7a0b669e6992f6d50a6a5b360560107328ebd [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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5e76abc65801de56519a7f869b6019b4cae7230fa4f14e9fd43f9eb2c53ff82e [INFO] running `Command { std: "docker" "start" "-a" "5e76abc65801de56519a7f869b6019b4cae7230fa4f14e9fd43f9eb2c53ff82e", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] no edition found in manifest, probably 2015, skipping [INFO] running `Command { std: "docker" "inspect" "5e76abc65801de56519a7f869b6019b4cae7230fa4f14e9fd43f9eb2c53ff82e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e76abc65801de56519a7f869b6019b4cae7230fa4f14e9fd43f9eb2c53ff82e", kill_on_drop: false }` [INFO] [stdout] 5e76abc65801de56519a7f869b6019b4cae7230fa4f14e9fd43f9eb2c53ff82e