[INFO] cloning repository https://github.com/SerhiyDmytruk/rust-homework [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SerhiyDmytruk/rust-homework" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSerhiyDmytruk%2Frust-homework", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSerhiyDmytruk%2Frust-homework'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d50996ab90bb40c5fc06f7691765e70a337e43f2 [INFO] checking SerhiyDmytruk/rust-homework/d50996ab90bb40c5fc06f7691765e70a337e43f2 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSerhiyDmytruk%2Frust-homework" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SerhiyDmytruk/rust-homework on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/SerhiyDmytruk/rust-homework [INFO] finished tweaking git repo https://github.com/SerhiyDmytruk/rust-homework [INFO] tweaked toml for git repo https://github.com/SerhiyDmytruk/rust-homework written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/SerhiyDmytruk/rust-homework 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" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f364ec2001da8e9a0b0577c6209494fd36898018a1d29351ae77a6eea37e8ba6 [INFO] running `Command { std: "docker" "start" "-a" "f364ec2001da8e9a0b0577c6209494fd36898018a1d29351ae77a6eea37e8ba6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f364ec2001da8e9a0b0577c6209494fd36898018a1d29351ae77a6eea37e8ba6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f364ec2001da8e9a0b0577c6209494fd36898018a1d29351ae77a6eea37e8ba6", kill_on_drop: false }` [INFO] [stdout] f364ec2001da8e9a0b0577c6209494fd36898018a1d29351ae77a6eea37e8ba6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ac6347af233ecfd4f7bf4aff9ef05a40eabec76b9e68270b91656b789443eb15 [INFO] running `Command { std: "docker" "start" "-a" "ac6347af233ecfd4f7bf4aff9ef05a40eabec76b9e68270b91656b789443eb15", 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 scopeguard v1.2.0 [INFO] [stderr] Checking cfg-if v1.0.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 enum_ v0.1.0 (/opt/rustwide/workdir/exercises/05_ticket_v2/01_enum) [INFO] [stderr] Checking setters v0.1.0 (/opt/rustwide/workdir/exercises/03_ticket_v1/07_setters) [INFO] [stderr] Checking error_trait v0.1.0 (/opt/rustwide/workdir/exercises/05_ticket_v2/09_error_trait) [INFO] [stderr] Checking validation v0.1.0 (/opt/rustwide/workdir/exercises/03_ticket_v1/02_validation) [INFO] [stderr] Checking variants_with_data v0.1.0 (/opt/rustwide/workdir/exercises/05_ticket_v2/03_variants_with_data) [INFO] [stderr] Checking unwrap v0.1.0 (/opt/rustwide/workdir/exercises/05_ticket_v2/07_unwrap) [INFO] [stdout] error[E0432]: unresolved import `outro_02::Order` [INFO] [stdout] --> exercises/03_ticket_v1/12_outro/tests/integration.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use outro_02::Order; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no `Order` in the root [INFO] [stdout] [INFO] [stdout] [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] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `outro_03` (test "integration") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `outro_02` (test "integration") due to 1 previous error [INFO] [stdout] error[E0599]: no method named `set_title` found for struct `Ticket` in the current scope [INFO] [stdout] --> exercises/03_ticket_v1/07_setters/src/lib.rs:57:16 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Ticket { [INFO] [stdout] | ----------------- method `set_title` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 57 | ticket.set_title("A new title".into()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `title` with a similar name, but with different arguments [INFO] [stdout] --> exercises/03_ticket_v1/07_setters/src/lib.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn title(&self) -> &String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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[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` [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 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] 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 method named `set_description` found for struct `Ticket` in the current scope [INFO] [stdout] --> exercises/03_ticket_v1/07_setters/src/lib.rs:58:16 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Ticket { [INFO] [stdout] | ----------------- method `set_description` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 58 | ticket.set_description("A new description".into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `description` with a similar name, but with different arguments [INFO] [stdout] --> exercises/03_ticket_v1/07_setters/src/lib.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn description(&self) -> &String { [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] error[E0599]: no method named `set_status` found for struct `Ticket` in the current scope [INFO] [stdout] --> exercises/03_ticket_v1/07_setters/src/lib.rs:59:16 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Ticket { [INFO] [stdout] | ----------------- method `set_status` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 59 | ticket.set_status("Done".into()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `status` with a similar name, but with different arguments [INFO] [stdout] --> exercises/03_ticket_v1/07_setters/src/lib.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn status(&self) -> &String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_title` found for struct `Ticket` in the current scope [INFO] [stdout] --> exercises/03_ticket_v1/07_setters/src/lib.rs:69:73 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Ticket { [INFO] [stdout] | ----------------- method `set_title` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 69 | Ticket::new(valid_title(), valid_description(), "To-Do".into()).set_title("".into()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `title` with a similar name, but with different arguments [INFO] [stdout] --> exercises/03_ticket_v1/07_setters/src/lib.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn title(&self) -> &String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `enum_` (lib test) due to 6 previous errors [INFO] [stdout] error[E0599]: no method named `set_description` found for struct `Ticket` in the current scope [INFO] [stdout] --> exercises/03_ticket_v1/07_setters/src/lib.rs:75:73 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Ticket { [INFO] [stdout] | ----------------- method `set_description` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 75 | Ticket::new(valid_title(), valid_description(), "To-Do".into()).set_description("".into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `description` with a similar name, but with different arguments [INFO] [stdout] --> exercises/03_ticket_v1/07_setters/src/lib.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn description(&self) -> &String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `error_trait` (lib test) due to 2 previous errors [INFO] [stdout] error[E0599]: no method named `set_title` found for struct `Ticket` in the current scope [INFO] [stdout] --> exercises/03_ticket_v1/07_setters/src/lib.rs:82:14 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Ticket { [INFO] [stdout] | ----------------- method `set_title` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 81 | / Ticket::new(valid_title(), valid_description(), "To-Do".into()) [INFO] [stdout] 82 | | .set_title(overly_long_title()) [INFO] [stdout] | |_____________-^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `title` with a similar name, but with different arguments [INFO] [stdout] --> exercises/03_ticket_v1/07_setters/src/lib.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn title(&self) -> &String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_description` found for struct `Ticket` in the current scope [INFO] [stdout] --> exercises/03_ticket_v1/07_setters/src/lib.rs:89:14 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Ticket { [INFO] [stdout] | ----------------- method `set_description` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 88 | / Ticket::new(valid_title(), valid_description(), "To-Do".into()) [INFO] [stdout] 89 | | .set_description(overly_long_description()) [INFO] [stdout] | |_____________-^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `description` with a similar name, but with different arguments [INFO] [stdout] --> exercises/03_ticket_v1/07_setters/src/lib.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn description(&self) -> &String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_status` found for struct `Ticket` in the current scope [INFO] [stdout] --> exercises/03_ticket_v1/07_setters/src/lib.rs:95:73 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Ticket { [INFO] [stdout] | ----------------- method `set_status` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 95 | Ticket::new(valid_title(), valid_description(), "To-Do".into()).set_status("Funny".into()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `status` with a similar name, but with different arguments [INFO] [stdout] --> exercises/03_ticket_v1/07_setters/src/lib.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn status(&self) -> &String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `setters` (lib test) due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "ac6347af233ecfd4f7bf4aff9ef05a40eabec76b9e68270b91656b789443eb15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac6347af233ecfd4f7bf4aff9ef05a40eabec76b9e68270b91656b789443eb15", kill_on_drop: false }` [INFO] [stdout] ac6347af233ecfd4f7bf4aff9ef05a40eabec76b9e68270b91656b789443eb15