[INFO] cloning repository https://github.com/abdulhajiyev/rustlings
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/abdulhajiyev/rustlings" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fabdulhajiyev%2Frustlings"`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fabdulhajiyev%2Frustlings'...
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] 2192bb5a7835004029e64381b7f962b1fa1ac2fd
[INFO] testing abdulhajiyev/rustlings against 1.101.0-beta.1+cargoflags=--release for beta-release-1.101-2
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fabdulhajiyev%2Frustlings" "/workspace/builds/worker-2-tc2/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/abdulhajiyev/rustlings
[INFO] finished tweaking git repo https://github.com/abdulhajiyev/rustlings
[INFO] tweaked toml for git repo https://github.com/abdulhajiyev/rustlings written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/abdulhajiyev/rustlings on toolchain 1.101.0-beta.1
[INFO] running `"cargo" "+1.101.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps"`
[INFO] running `"cargo" "+1.101.0-beta.1" "generate-lockfile" "--manifest-path" "Cargo.toml"`
[INFO] running `"cargo" "+1.101.0-beta.1" "fetch" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:13253766d39459fde29cea4e7c35a3fe37c2c19b4a224f71f2c27711c2837d36" "sleep" "infinity"`
[INFO] [stdout] 4cc4256f65d3dc10f8600e09370832077978efd72e072da4afb26501f867b086
[INFO] running `"docker" "start" "4cc4256f65d3dc10f8600e09370832077978efd72e072da4afb26501f867b086"`
[INFO] running `"docker" "inspect" "4cc4256f65d3dc10f8600e09370832077978efd72e072da4afb26501f867b086"`
[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" "4cc4256f65d3dc10f8600e09370832077978efd72e072da4afb26501f867b086" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "metadata" "--no-deps" "--format-version=1"`
[INFO] running `"docker" "inspect" "4cc4256f65d3dc10f8600e09370832077978efd72e072da4afb26501f867b086"`
[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" "4cc4256f65d3dc10f8600e09370832077978efd72e072da4afb26501f867b086" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "build" "--frozen" "--message-format=json" "--release"`
[INFO] [stderr]    Compiling exercises v0.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0599]: no variant named `Resize` found for enum `Message`
[INFO] [stdout]   --> exercises/08_enums/enums2.rs:20:18
[INFO] [stdout]    |
[INFO] [stdout]  8 | enum Message {
[INFO] [stdout]    | ------------ variant `Resize` not found here
[INFO] [stdout] ...
[INFO] [stdout] 20 |         Message::Resize {
[INFO] [stdout]    |                  ^^^^^^ variant not found in `Message`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant, associated function, or constant named `Move` found for enum `Message` in the current scope
[INFO] [stdout]   --> exercises/08_enums/enums2.rs:24:18
[INFO] [stdout]    |
[INFO] [stdout]  8 | enum Message {
[INFO] [stdout]    | ------------ variant, associated function, or constant `Move` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 24 |         Message::Move(Point { x: 10, y: 15 }),
[INFO] [stdout]    |                  ^^^^ variant, associated function, or constant not found in `Message`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant, associated function, or constant named `Echo` found for enum `Message` in the current scope
[INFO] [stdout]   --> exercises/08_enums/enums2.rs:25:18
[INFO] [stdout]    |
[INFO] [stdout]  8 | enum Message {
[INFO] [stdout]    | ------------ variant, associated function, or constant `Echo` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 25 |         Message::Echo(String::from("hello world")),
[INFO] [stdout]    |                  ^^^^ variant, associated function, or constant not found in `Message`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant, associated function, or constant named `Resize` found for enum `Message` in the current scope
[INFO] [stdout]  --> exercises/08_enums/enums1.rs:7:31
[INFO] [stdout]   |
[INFO] [stdout] 2 | enum Message {
[INFO] [stdout]   | ------------ variant, associated function, or constant `Resize` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 7 |     println!("{:?}", Message::Resize);
[INFO] [stdout]   |                               ^^^^^^ variant, associated function, or constant not found in `Message`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant, associated function, or constant named `Move` found for enum `Message` in the current scope
[INFO] [stdout]  --> exercises/08_enums/enums1.rs:8:31
[INFO] [stdout]   |
[INFO] [stdout] 2 | enum Message {
[INFO] [stdout]   | ------------ variant, associated function, or constant `Move` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 8 |     println!("{:?}", Message::Move);
[INFO] [stdout]   |                               ^^^^ variant, associated function, or constant not found in `Message`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant, associated function, or constant named `ChangeColor` found for enum `Message` in the current scope
[INFO] [stdout]   --> exercises/08_enums/enums2.rs:26:18
[INFO] [stdout]    |
[INFO] [stdout]  8 | enum Message {
[INFO] [stdout]    | ------------ variant, associated function, or constant `ChangeColor` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 26 |         Message::ChangeColor(200, 255, 255),
[INFO] [stdout]    |                  ^^^^^^^^^^^ variant, associated function, or constant not found in `Message`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant, associated function, or constant named `Echo` found for enum `Message` in the current scope
[INFO] [stdout]  --> exercises/08_enums/enums1.rs:9:31
[INFO] [stdout]   |
[INFO] [stdout] 2 | enum Message {
[INFO] [stdout]   | ------------ variant, associated function, or constant `Echo` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 9 |     println!("{:?}", Message::Echo);
[INFO] [stdout]   |                               ^^^^ variant, associated function, or constant not found in `Message`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant, associated function, or constant named `Quit` found for enum `Message` in the current scope
[INFO] [stdout]   --> exercises/08_enums/enums2.rs:27:18
[INFO] [stdout]    |
[INFO] [stdout]  8 | enum Message {
[INFO] [stdout]    | ------------ variant, associated function, or constant `Quit` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 27 |         Message::Quit,
[INFO] [stdout]    |                  ^^^^ variant, associated function, or constant not found in `Message`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant, associated function, or constant named `ChangeColor` found for enum `Message` in the current scope
[INFO] [stdout]   --> exercises/08_enums/enums1.rs:10:31
[INFO] [stdout]    |
[INFO] [stdout]  2 | enum Message {
[INFO] [stdout]    | ------------ variant, associated function, or constant `ChangeColor` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 10 |     println!("{:?}", Message::ChangeColor);
[INFO] [stdout]    |                               ^^^^^^^^^^^ variant, associated function, or constant not found in `Message`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant, associated function, or constant named `Quit` found for enum `Message` in the current scope
[INFO] [stdout]   --> exercises/08_enums/enums1.rs:11:31
[INFO] [stdout]    |
[INFO] [stdout]  2 | enum Message {
[INFO] [stdout]    | ------------ variant, associated function, or constant `Quit` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 11 |     println!("{:?}", Message::Quit);
[INFO] [stdout]    |                               ^^^^ variant, associated function, or constant not found in `Message`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `exercises` (bin "enums2") due to 5 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `exercises` (bin "enums1") due to 5 previous errors
[INFO] [stdout] error[E0599]: no method named `as_ref` found for type parameter `T` in the current scope
[INFO] [stdout]  --> exercises/23_conversions/as_ref_mut.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 8 | fn byte_counter<T>(arg: T) -> usize {
[INFO] [stdout]   |                 - method `as_ref` not found for this type parameter
[INFO] [stdout] 9 |     arg.as_ref().len()
[INFO] [stdout]   |         ^^^^^^ method not found in `T`
[INFO] [stdout]   |
[INFO] [stdout]   = help: items from traits can only be used if the type parameter is bounded by the trait
[INFO] [stdout] help: the following trait defines an item `as_ref`, perhaps you need to restrict type parameter `T` with it:
[INFO] [stdout]   |
[INFO] [stdout] 8 | fn byte_counter<T: AsRef</* T */>>(arg: T) -> usize {
[INFO] [stdout]   |                  ++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_ref` found for type parameter `T` in the current scope
[INFO] [stdout]   --> exercises/23_conversions/as_ref_mut.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 14 | fn char_counter<T>(arg: T) -> usize {
[INFO] [stdout]    |                 - method `as_ref` not found for this type parameter
[INFO] [stdout] 15 |     arg.as_ref().chars().count()
[INFO] [stdout]    |         ^^^^^^ method not found in `T`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the type parameter is bounded by the trait
[INFO] [stdout] help: the following trait defines an item `as_ref`, perhaps you need to restrict type parameter `T` with it:
[INFO] [stdout]    |
[INFO] [stdout] 14 | fn char_counter<T: AsRef</* T */>>(arg: T) -> usize {
[INFO] [stdout]    |                  ++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `arg`
[INFO] [stdout]   --> exercises/23_conversions/as_ref_mut.rs:20:14
[INFO] [stdout]    |
[INFO] [stdout] 20 | fn num_sq<T>(arg: &mut T) {
[INFO] [stdout]    |              ^^^ help: if this is intentional, prefix it with an underscore: `_arg`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `exercises` (bin "as_ref_mut") due to 2 previous errors; 1 warning emitted
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> exercises/20_threads/threads2.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 33 |     println!("Jobs done: {}", todo!());
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^-------^
[INFO] [stdout]    |     |                         |
[INFO] [stdout]    |     |                         any code following this expression is unreachable
[INFO] [stdout]    |     unreachable expression
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0594]: cannot assign to data in an `Arc`
[INFO] [stdout]   --> exercises/20_threads/threads2.rs:22:13
[INFO] [stdout]    |
[INFO] [stdout] 22 |             status_shared.jobs_done += 1;
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot assign
[INFO] [stdout]    |
[INFO] [stdout]    = help: trait `DerefMut` is required to modify through a dereference, but it is not implemented for `Arc<JobStatus>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0594`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `exercises` (bin "threads2") due to 1 previous error; 1 warning emitted
[INFO] running `"docker" "inspect" "4cc4256f65d3dc10f8600e09370832077978efd72e072da4afb26501f867b086"`
[INFO] running `"docker" "rm" "-f" "4cc4256f65d3dc10f8600e09370832077978efd72e072da4afb26501f867b086"`
[INFO] [stdout] 4cc4256f65d3dc10f8600e09370832077978efd72e072da4afb26501f867b086
