[INFO] cloning repository https://github.com/leiyihai/100-exercises-to-learn-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/leiyihai/100-exercises-to-learn-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleiyihai%2F100-exercises-to-learn-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleiyihai%2F100-exercises-to-learn-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 102456c1e63519eb6642a3d44b55778e3c6eb58e
[INFO] checking leiyihai/100-exercises-to-learn-rust against 615014f15745532730b9ce7a1d9309f8b4756f93 for pr-160491
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleiyihai%2F100-exercises-to-learn-rust" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/leiyihai/100-exercises-to-learn-rust
[INFO] finished tweaking git repo https://github.com/leiyihai/100-exercises-to-learn-rust
[INFO] tweaked toml for git repo https://github.com/leiyihai/100-exercises-to-learn-rust written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/leiyihai/100-exercises-to-learn-rust on toolchain 615014f15745532730b9ce7a1d9309f8b4756f93
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+615014f15745532730b9ce7a1d9309f8b4756f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/leiyihai/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" "+615014f15745532730b9ce7a1d9309f8b4756f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[ERROR] error running command: no output for 300 seconds
[INFO] checking leiyihai/100-exercises-to-learn-rust against 615014f15745532730b9ce7a1d9309f8b4756f93 for pr-160491
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleiyihai%2F100-exercises-to-learn-rust" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/leiyihai/100-exercises-to-learn-rust
[INFO] finished tweaking git repo https://github.com/leiyihai/100-exercises-to-learn-rust
[INFO] tweaked toml for git repo https://github.com/leiyihai/100-exercises-to-learn-rust written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/leiyihai/100-exercises-to-learn-rust on toolchain 615014f15745532730b9ce7a1d9309f8b4756f93
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+615014f15745532730b9ce7a1d9309f8b4756f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/leiyihai/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" "+615014f15745532730b9ce7a1d9309f8b4756f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 9280b2df50cb30c086561b458e32a0a1304b3d42a13ee4514f8c307d36830d56
[INFO] running `Command { std: "docker" "start" "9280b2df50cb30c086561b458e32a0a1304b3d42a13ee4514f8c307d36830d56", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9280b2df50cb30c086561b458e32a0a1304b3d42a13ee4514f8c307d36830d56", kill_on_drop: false }`
[INFO] running `Command { std: "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" "9280b2df50cb30c086561b458e32a0a1304b3d42a13ee4514f8c307d36830d56" "/opt/rustwide/cargo-home/bin/cargo" "+615014f15745532730b9ce7a1d9309f8b4756f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9280b2df50cb30c086561b458e32a0a1304b3d42a13ee4514f8c307d36830d56", kill_on_drop: false }`
[INFO] running `Command { std: "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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9280b2df50cb30c086561b458e32a0a1304b3d42a13ee4514f8c307d36830d56" "/opt/rustwide/cargo-home/bin/cargo" "+615014f15745532730b9ce7a1d9309f8b4756f93" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling unicode-ident v1.0.20
[INFO] [stderr]     Checking common v0.1.0 (/opt/rustwide/workdir/helpers/common)
[INFO] [stderr]     Checking smallvec v1.15.1
[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/14_outro)
[INFO] [stderr]     Checking intro_07 v0.1.0 (/opt/rustwide/workdir/exercises/07_threads/00_intro)
[INFO] [stderr]     Checking copy v0.1.0 (/opt/rustwide/workdir/exercises/04_traits/12_copy)
[INFO] [stderr]     Checking setters v0.1.0 (/opt/rustwide/workdir/exercises/03_ticket_v1/07_setters)
[INFO] [stderr]     Checking for_ v0.1.0 (/opt/rustwide/workdir/exercises/02_basic_calculator/07_for)
[INFO] [stderr]     Checking trait_bounds v0.1.0 (/opt/rustwide/workdir/exercises/04_traits/05_trait_bounds)
[INFO] [stderr]     Checking intro_04 v0.1.0 (/opt/rustwide/workdir/exercises/05_ticket_v2/00_intro)
[INFO] [stderr]     Checking sized v0.1.0 (/opt/rustwide/workdir/exercises/04_traits/08_sized)
[INFO] [stderr]     Checking mut_slice v0.1.0 (/opt/rustwide/workdir/exercises/06_ticket_management/11_mutable_slices)
[INFO] [stderr]     Checking saturating v0.1.0 (/opt/rustwide/workdir/exercises/02_basic_calculator/09_saturating)
[INFO] [stderr]     Checking socket2 v0.6.3
[INFO] [stderr]     Checking mio v1.2.0
[INFO] [stderr]     Checking signal-hook-registry v1.4.6
[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] warning: unused variable: `n`
[INFO] [stdout]  --> exercises/02_basic_calculator/07_for/src/lib.rs:2:18
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub fn factorial(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] error[E0369]: binary operation `<=` cannot be applied to type `T`
[INFO] [stdout]   --> exercises/04_traits/05_trait_bounds/src/lib.rs:10:13
[INFO] [stdout]    |
[INFO] [stdout] 10 |     if left <= right {
[INFO] [stdout]    |        ---- ^^ ----- T
[INFO] [stdout]    |        |
[INFO] [stdout]    |        T
[INFO] [stdout]    |
[INFO] [stdout] help: consider restricting type parameter `T` with trait `PartialOrd`
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub fn min<T: std::cmp::PartialOrd>(left: T, right: T) -> T {
[INFO] [stdout]    |             ++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0369`.
[INFO] [stdout] 
[INFO] [stderr]     Checking static v0.1.0 (/opt/rustwide/workdir/exercises/07_threads/02_static)
[INFO] [stderr]     Checking str_slice v0.1.0 (/opt/rustwide/workdir/exercises/04_traits/06_str_slice)
[INFO] [stderr]     Checking enum_ v0.1.0 (/opt/rustwide/workdir/exercises/05_ticket_v2/01_enum)
[INFO] [stderr] error: could not compile `trait_bounds` (lib test) due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time
[INFO] [stdout]  --> exercises/04_traits/08_sized/src/lib.rs:6:25
[INFO] [stdout]   |
[INFO] [stdout] 6 |     std::mem::size_of::<str>();
[INFO] [stdout]   |                         ^^^ doesn't have a size known at compile-time
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `Sized` is not implemented for `str`
[INFO] [stdout] note: required by an implicit `Sized` bound in `std::mem::size_of`
[INFO] [stdout]  --> /rustc/615014f15745532730b9ce7a1d9309f8b4756f93/library/core/src/mem/mod.rs:375:0
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `sized` (lib test) due to 1 previous error
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]  --> exercises/06_ticket_management/11_mutable_slices/src/lib.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 |     use super::*;
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread`
[INFO] [stdout]  --> exercises/07_threads/02_static/src/lib.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::thread;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `slice`
[INFO] [stdout]  --> exercises/07_threads/02_static/src/lib.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub fn sum(slice: &'static [i32]) -> i32 {
[INFO] [stdout]   |            ^^^^^ help: if this is intentional, prefix it with an underscore: `_slice`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `squared` in this scope
[INFO] [stdout]   --> exercises/06_ticket_management/11_mutable_slices/src/lib.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 |         squared(&mut s);
[INFO] [stdout]    |         ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `outro_03::SaturatingU16`
[INFO] [stdout]  --> exercises/04_traits/14_outro/tests/integration.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use outro_03::SaturatingU16;
[INFO] [stdout]   |     ^^^^^^^^^^-------------
[INFO] [stdout]   |               |
[INFO] [stdout]   |               no `SaturatingU16` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `squared` in this scope
[INFO] [stdout]   --> exercises/06_ticket_management/11_mutable_slices/src/lib.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 |         squared(&mut s);
[INFO] [stdout]    |         ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `squared` in this scope
[INFO] [stdout]   --> exercises/06_ticket_management/11_mutable_slices/src/lib.rs:25:9
[INFO] [stdout]    |
[INFO] [stdout] 25 |         squared(&mut s);
[INFO] [stdout]    |         ^^^^^^^ not found in this scope
[INFO] [stdout] 
[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] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `mut_slice` (lib test) due to 3 previous errors; 1 warning emitted
[INFO] [stdout] error[E0599]: no variant, associated function, or constant 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, associated function, or constant `ToDo` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 67 |             status: Status::ToDo,
[INFO] [stdout]    |                             ^^^^ variant, associated function, or constant not found in `Status`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant, associated function, or constant 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, associated function, or constant `ToDo` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 72 |             status: Status::ToDo,
[INFO] [stdout]    |                             ^^^^ variant, associated function, or constant not found in `Status`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant, associated function, or constant 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, associated function, or constant `ToDo` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 80 |         let status = Status::ToDo;
[INFO] [stdout]    |                              ^^^^ variant, associated function, or constant not found in `Status`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant, associated function, or constant 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, associated function, or constant `InProgress` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 97 |         let status = Status::InProgress;
[INFO] [stdout]    |                              ^^^^^^^^^^ variant, associated function, or constant not found in `Status`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant, associated function, or constant 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, associated function, or constant `InProgress` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 118 |             status: Status::InProgress,
[INFO] [stdout]     |                             ^^^^^^^^^^ variant, associated function, or constant not found in `Status`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant, associated function, or constant 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, associated function, or constant `Done` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 123 |             status: Status::Done,
[INFO] [stdout]     |                             ^^^^ variant, associated function, or constant not found in `Status`
[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 6 previous errors
[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]   |     ^^^^^^^^^^-----
[INFO] [stdout]   |               |
[INFO] [stdout]   |               no `Order` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `outro_02` (test "integration") due to 1 previous error
[INFO] running `Command { std: "docker" "inspect" "9280b2df50cb30c086561b458e32a0a1304b3d42a13ee4514f8c307d36830d56", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9280b2df50cb30c086561b458e32a0a1304b3d42a13ee4514f8c307d36830d56", kill_on_drop: false }`
[INFO] [stdout] 9280b2df50cb30c086561b458e32a0a1304b3d42a13ee4514f8c307d36830d56
