[INFO] updating cached repository https://github.com/Ethan-Arrowood/100-exercises-to-learn-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 51d4410a79a34295b6c991927d1392215de7d6e2 [INFO] checking Ethan-Arrowood/100-exercises-to-learn-rust/51d4410a79a34295b6c991927d1392215de7d6e2 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEthan-Arrowood%2F100-exercises-to-learn-rust" "/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/Ethan-Arrowood/100-exercises-to-learn-rust 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/Ethan-Arrowood/100-exercises-to-learn-rust [INFO] finished tweaking git repo https://github.com/Ethan-Arrowood/100-exercises-to-learn-rust [INFO] tweaked toml for git repo https://github.com/Ethan-Arrowood/100-exercises-to-learn-rust written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Ethan-Arrowood/100-exercises-to-learn-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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7752299ff7fe070ceaea1df5b0c2eebc52785542fd99296cc387d4311cc7ea06 [INFO] running `Command { std: "docker" "start" "-a" "7752299ff7fe070ceaea1df5b0c2eebc52785542fd99296cc387d4311cc7ea06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7752299ff7fe070ceaea1df5b0c2eebc52785542fd99296cc387d4311cc7ea06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7752299ff7fe070ceaea1df5b0c2eebc52785542fd99296cc387d4311cc7ea06", kill_on_drop: false }` [INFO] [stdout] 7752299ff7fe070ceaea1df5b0c2eebc52785542fd99296cc387d4311cc7ea06 [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=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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] db961a6270b1bfc8fa495e2f7d7df888efe011d6f141f615db0f7a6b8454ebce [INFO] running `Command { std: "docker" "start" "-a" "db961a6270b1bfc8fa495e2f7d7df888efe011d6f141f615db0f7a6b8454ebce", 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 pin-project-lite v0.2.14 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Compiling anyhow v1.0.83 [INFO] [stderr] Checking outro_02 v0.1.0 (/opt/rustwide/workdir/exercises/03_ticket_v1/12_outro) [INFO] [stderr] Checking outro_03 v0.1.0 (/opt/rustwide/workdir/exercises/04_traits/13_outro) [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking error_trait v0.1.0 (/opt/rustwide/workdir/exercises/05_ticket_v2/09_error_trait) [INFO] [stdout] error[E0603]: struct `SaturatingU16` is private [INFO] [stdout] --> exercises/04_traits/13_outro/tests/integration.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use outro_03::SaturatingU16; [INFO] [stdout] | ^^^^^^^^^^^^^ private struct [INFO] [stdout] | [INFO] [stdout] note: the struct `SaturatingU16` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/exercises/04_traits/13_outro/src/lib.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | struct SaturatingU16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [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 E0603`. [INFO] [stdout] [INFO] [stderr] Checking thiserror_ v0.1.0 (/opt/rustwide/workdir/exercises/05_ticket_v2/12_thiserror) [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[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[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] 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: 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] [stderr] error: could not compile `error_trait` (lib test) due to 3 previous errors; 3 warnings emitted [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]: `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] 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[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 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 `thiserror_` (lib test) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "db961a6270b1bfc8fa495e2f7d7df888efe011d6f141f615db0f7a6b8454ebce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db961a6270b1bfc8fa495e2f7d7df888efe011d6f141f615db0f7a6b8454ebce", kill_on_drop: false }` [INFO] [stdout] db961a6270b1bfc8fa495e2f7d7df888efe011d6f141f615db0f7a6b8454ebce