[INFO] cloning repository https://github.com/johnphp/100-exercises-to-learn-rust
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/johnphp/100-exercises-to-learn-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjohnphp%2F100-exercises-to-learn-rust"`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjohnphp%2F100-exercises-to-learn-rust'...
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] 57d145e6d393dfffeadb97fc61e814255c3b6ffe
[INFO] testing johnphp/100-exercises-to-learn-rust against 1.100.0-beta.13+cargoflags=--release for beta-release-1.101-2
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjohnphp%2F100-exercises-to-learn-rust" "/workspace/builds/worker-5-tc1/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/johnphp/100-exercises-to-learn-rust
[INFO] finished tweaking git repo https://github.com/johnphp/100-exercises-to-learn-rust
[INFO] tweaked toml for git repo https://github.com/johnphp/100-exercises-to-learn-rust written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/johnphp/100-exercises-to-learn-rust on toolchain 1.100.0-beta.13
[INFO] running `"cargo" "+1.100.0-beta.13" "metadata" "--manifest-path" "Cargo.toml" "--no-deps"`
[INFO] crate git repo https://github.com/johnphp/100-exercises-to-learn-rust already has a lockfile, it will not be regenerated
[INFO] running `"cargo" "+1.100.0-beta.13" "fetch" "--manifest-path" "Cargo.toml"`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded unicode-ident v1.0.20
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:13253766d39459fde29cea4e7c35a3fe37c2c19b4a224f71f2c27711c2837d36" "sleep" "infinity"`
[INFO] [stdout] e6f445739f871c7a08c0532d509dfec34ca0366f80048453a1b1a2391ec113a0
[INFO] running `"docker" "start" "e6f445739f871c7a08c0532d509dfec34ca0366f80048453a1b1a2391ec113a0"`
[INFO] running `"docker" "inspect" "e6f445739f871c7a08c0532d509dfec34ca0366f80048453a1b1a2391ec113a0"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e6f445739f871c7a08c0532d509dfec34ca0366f80048453a1b1a2391ec113a0" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "metadata" "--no-deps" "--format-version=1"`
[INFO] running `"docker" "inspect" "e6f445739f871c7a08c0532d509dfec34ca0366f80048453a1b1a2391ec113a0"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e6f445739f871c7a08c0532d509dfec34ca0366f80048453a1b1a2391ec113a0" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "build" "--frozen" "--message-format=json" "--release"`
[INFO] [stderr]    Compiling unicode-ident v1.0.20
[INFO] [stderr]    Compiling common v0.1.0 (/opt/rustwide/workdir/helpers/common)
[INFO] [stderr]    Compiling libc v0.2.186
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling bytes v1.10.1
[INFO] [stderr]    Compiling assoc_vs_generic v0.1.0 (/opt/rustwide/workdir/exercises/04_traits/10_assoc_vs_generic)
[INFO] [stderr]    Compiling arrays v0.1.0 (/opt/rustwide/workdir/exercises/06_ticket_management/01_arrays)
[INFO] [stderr]    Compiling variants_with_data v0.1.0 (/opt/rustwide/workdir/exercises/05_ticket_v2/03_variants_with_data)
[INFO] [stderr]    Compiling fallibility v0.1.0 (/opt/rustwide/workdir/exercises/05_ticket_v2/06_fallibility)
[INFO] [stderr]    Compiling if_else v0.1.0 (/opt/rustwide/workdir/exercises/02_basic_calculator/03_if_else)
[INFO] [stderr]    Compiling match_ v0.1.0 (/opt/rustwide/workdir/exercises/05_ticket_v2/02_match)
[INFO] [stderr]    Compiling copy v0.1.0 (/opt/rustwide/workdir/exercises/04_traits/12_copy)
[INFO] [stderr]    Compiling clone v0.1.0 (/opt/rustwide/workdir/exercises/04_traits/11_clone)
[INFO] [stderr]    Compiling destructor v0.1.0 (/opt/rustwide/workdir/exercises/03_ticket_v1/11_destructor)
[INFO] [stderr]    Compiling orphan v0.1.0 (/opt/rustwide/workdir/exercises/04_traits/02_orphan_rule)
[INFO] [stderr]    Compiling integers v0.1.0 (/opt/rustwide/workdir/exercises/02_basic_calculator/01_integers)
[INFO] [stderr] error: could not compile `integers` (lib) due to 2 previous errors
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]  --> exercises/02_basic_calculator/01_integers/src/lib.rs:4:13
[INFO] [stdout]   |
[INFO] [stdout] 4 |     a + b * multiplier
[INFO] [stdout]   |             ^^^^^^^^^^ expected `u32`, found `u8`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: enum `Shape` is never used
[INFO] [stdout]  --> exercises/05_ticket_v2/02_match/src/lib.rs:1:6
[INFO] [stdout]   |
[INFO] [stdout] 1 | enum Shape {
[INFO] [stdout]   |      ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `clone` (lib) due to 1 previous error
[INFO] [stdout] warning: method `n_sides` is never used
[INFO] [stdout]   --> exercises/05_ticket_v2/02_match/src/lib.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl Shape {
[INFO] [stdout]    | ---------- method in this implementation
[INFO] [stdout] 10 |     // TODO: Implement the `n_sides` method using a `match`.
[INFO] [stdout] 11 |     pub fn n_sides(&self) -> u8 {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `orphan` (lib) due to 1 previous error
[INFO] [stdout] error[E0277]: cannot multiply `u32` by `u8`
[INFO] [stdout]  --> exercises/02_basic_calculator/01_integers/src/lib.rs:4:11
[INFO] [stdout]   |
[INFO] [stdout] 4 |     a + b * multiplier
[INFO] [stdout]   |           ^ no implementation for `u32 * u8`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `Mul<u8>` is not implemented for `u32`
[INFO] [stdout]   = help: the following other types implement trait `Mul<Rhs>`:
[INFO] [stdout]             `&u32` implements `Mul<u32>`
[INFO] [stdout]             `&u32` implements `Mul`
[INFO] [stdout]             `u32` implements `Mul<&u32>`
[INFO] [stdout]             `u32` implements `Mul<Duration>`
[INFO] [stdout]             `u32` implements `Mul`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n`
[INFO] [stdout]  --> exercises/02_basic_calculator/03_if_else/src/lib.rs:4:17
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn magic_number(n: u32) -> u32 {
[INFO] [stdout]   |                 ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Ticket` is never constructed
[INFO] [stdout]  --> exercises/05_ticket_v2/06_fallibility/src/lib.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | struct Ticket {
[INFO] [stdout]   |        ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Status` is never used
[INFO] [stdout]   --> exercises/05_ticket_v2/06_fallibility/src/lib.rs:12:6
[INFO] [stdout]    |
[INFO] [stdout] 12 | enum Status {
[INFO] [stdout]    |      ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> exercises/05_ticket_v2/06_fallibility/src/lib.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl Ticket {
[INFO] [stdout]    | ----------- associated function in this implementation
[INFO] [stdout] 19 |     pub fn new(title: String, description: String, status: Status) -> Ticket {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `outro` is never used
[INFO] [stdout]  --> exercises/03_ticket_v1/11_destructor/src/lib.rs:4:4
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn outro() -> &'static str {
[INFO] [stdout]   |    ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Ticket` is never constructed
[INFO] [stdout]  --> exercises/05_ticket_v2/03_variants_with_data/src/lib.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct Ticket {
[INFO] [stdout]   |        ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Status` is never used
[INFO] [stdout]   --> exercises/05_ticket_v2/03_variants_with_data/src/lib.rs:13:6
[INFO] [stdout]    |
[INFO] [stdout] 13 | enum Status {
[INFO] [stdout]    |      ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `assigned_to` are never used
[INFO] [stdout]   --> exercises/05_ticket_v2/03_variants_with_data/src/lib.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl Ticket {
[INFO] [stdout]    | ----------- associated items in this implementation
[INFO] [stdout] 20 |     pub fn new(title: String, description: String, status: Status) -> Ticket {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 40 |     pub fn assigned_to(&self) -> &str {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `value` is never read
[INFO] [stdout]  --> exercises/04_traits/12_copy/src/lib.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct WrappingU32 {
[INFO] [stdout]   |            ----------- field in this struct
[INFO] [stdout] 5 |     value: u32,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: use of moved value: `ticket`
[INFO] [stdout]  --> exercises/04_traits/11_clone/src/lib.rs:5:14
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn summary(ticket: Ticket) -> (Ticket, Summary) {
[INFO] [stdout]   |                ------ move occurs because `ticket` has type `Ticket`, which does not implement the `Copy` trait
[INFO] [stdout] 5 |     (ticket, ticket.summary())
[INFO] [stdout]   |      ------  ^^^^^^ value used here after move
[INFO] [stdout]   |      |
[INFO] [stdout]   |      value moved here
[INFO] [stdout]   |
[INFO] [stdout] note: if `Ticket` implemented `Clone`, you could clone the value
[INFO] [stdout]  --> exercises/04_traits/11_clone/src/lib.rs:8:1
[INFO] [stdout]   |
[INFO] [stdout] 5 |     (ticket, ticket.summary())
[INFO] [stdout]   |      ------ you could clone this value
[INFO] [stdout] ...
[INFO] [stdout] 8 | pub struct Ticket {
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0382`.
[INFO] [stdout] 
[INFO] [stdout] error[E0117]: only traits defined in the current crate can be implemented for primitive types
[INFO] [stdout]  --> exercises/04_traits/02_orphan_rule/src/lib.rs:7:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | impl PartialEq for u32 {
[INFO] [stdout]   | ^^^^^---------^^^^^---
[INFO] [stdout]   |      |             |
[INFO] [stdout]   |      |             `u32` is not defined in the current crate
[INFO] [stdout]   |      this is not defined in the current crate because this is a foreign trait
[INFO] [stdout]   |
[INFO] [stdout]   = note: impl doesn't have any local type before any uncovered type parameters
[INFO] [stdout]   = note: for more information see https://doc.rust-lang.org/reference/items/implementations.html#orphan-rules
[INFO] [stdout]   = note: define and implement a trait or new type instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0117`.
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `day`
[INFO] [stdout]   --> exercises/06_ticket_management/01_arrays/src/lib.rs:22:35
[INFO] [stdout]    |
[INFO] [stdout] 22 |     pub fn get_temperature(&self, day: Weekday) -> Option<i32> {
[INFO] [stdout]    |                                   ^^^ help: if this is intentional, prefix it with an underscore: `_day`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `day`
[INFO] [stdout]   --> exercises/06_ticket_management/01_arrays/src/lib.rs:26:39
[INFO] [stdout]    |
[INFO] [stdout] 26 |     pub fn set_temperature(&mut self, day: Weekday, temperature: i32) {
[INFO] [stdout]    |                                       ^^^ help: if this is intentional, prefix it with an underscore: `_day`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `temperature`
[INFO] [stdout]   --> exercises/06_ticket_management/01_arrays/src/lib.rs:26:53
[INFO] [stdout]    |
[INFO] [stdout] 26 |     pub fn set_temperature(&mut self, day: Weekday, temperature: i32) {
[INFO] [stdout]    |                                                     ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_temperature`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `"docker" "inspect" "e6f445739f871c7a08c0532d509dfec34ca0366f80048453a1b1a2391ec113a0"`
[INFO] running `"docker" "rm" "-f" "e6f445739f871c7a08c0532d509dfec34ca0366f80048453a1b1a2391ec113a0"`
[INFO] [stdout] e6f445739f871c7a08c0532d509dfec34ca0366f80048453a1b1a2391ec113a0
