[INFO] cloning repository https://github.com/tornikegomareli/personal_rustlings
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tornikegomareli/personal_rustlings" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftornikegomareli%2Fpersonal_rustlings", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftornikegomareli%2Fpersonal_rustlings'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c6168e2e65f119aa2b4792abf91352174c45820d
[INFO] checking tornikegomareli/personal_rustlings against 8773d2c75a8e90130dcce745a7ec4e66bb9963db+rustflags=-Aunfulfilled-lint-expectations for pr-163637
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftornikegomareli%2Fpersonal_rustlings" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/tornikegomareli/personal_rustlings
[INFO] finished tweaking git repo https://github.com/tornikegomareli/personal_rustlings
[INFO] tweaked toml for git repo https://github.com/tornikegomareli/personal_rustlings written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/tornikegomareli/personal_rustlings on toolchain 8773d2c75a8e90130dcce745a7ec4e66bb9963db
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8773d2c75a8e90130dcce745a7ec4e66bb9963db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/tornikegomareli/personal_rustlings 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" "+8773d2c75a8e90130dcce745a7ec4e66bb9963db" "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 tornikegomareli/personal_rustlings against 8773d2c75a8e90130dcce745a7ec4e66bb9963db+rustflags=-Aunfulfilled-lint-expectations for pr-163637
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftornikegomareli%2Fpersonal_rustlings" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/tornikegomareli/personal_rustlings
[INFO] finished tweaking git repo https://github.com/tornikegomareli/personal_rustlings
[INFO] tweaked toml for git repo https://github.com/tornikegomareli/personal_rustlings written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/tornikegomareli/personal_rustlings on toolchain 8773d2c75a8e90130dcce745a7ec4e66bb9963db
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8773d2c75a8e90130dcce745a7ec4e66bb9963db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/tornikegomareli/personal_rustlings 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" "+8773d2c75a8e90130dcce745a7ec4e66bb9963db" "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-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 489e2060b17de2e53529907a8ca2b529c8579be0c03f3b633b885adba57b8f84
[INFO] running `Command { std: "docker" "start" "489e2060b17de2e53529907a8ca2b529c8579be0c03f3b633b885adba57b8f84", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "489e2060b17de2e53529907a8ca2b529c8579be0c03f3b633b885adba57b8f84", 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" "489e2060b17de2e53529907a8ca2b529c8579be0c03f3b633b885adba57b8f84" "/opt/rustwide/cargo-home/bin/cargo" "+8773d2c75a8e90130dcce745a7ec4e66bb9963db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "489e2060b17de2e53529907a8ca2b529c8579be0c03f3b633b885adba57b8f84", 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 -Aunfulfilled-lint-expectations" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "489e2060b17de2e53529907a8ca2b529c8579be0c03f3b633b885adba57b8f84" "/opt/rustwide/cargo-home/bin/cargo" "+8773d2c75a8e90130dcce745a7ec4e66bb9963db" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking exercises v0.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> exercises/14_generics/generics2.rs:29:33
[INFO] [stdout]    |
[INFO] [stdout] 29 |         assert_eq!(Wrapper::new("Foo").value, "Foo");
[INFO] [stdout]    |                    ------------ ^^^^^ expected `u32`, found `&str`
[INFO] [stdout]    |                    |
[INFO] [stdout]    |                    arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> exercises/14_generics/generics2.rs:9:8
[INFO] [stdout]    |
[INFO] [stdout]  9 |     fn new(value: u32) -> Self {
[INFO] [stdout]    |        ^^^ ----------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> exercises/14_generics/generics2.rs:29:47
[INFO] [stdout]    |
[INFO] [stdout] 29 |         assert_eq!(Wrapper::new("Foo").value, "Foo");
[INFO] [stdout]    |                                               ^^^^^ expected `u32`, found `&str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `ops::try_trait_old::FromResidual`)
[INFO] [stdout]   --> exercises/13_error_handling/errors3.rs:23:46
[INFO] [stdout]    |
[INFO] [stdout] 18 | fn main() {
[INFO] [stdout]    | --------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 23 |     let cost = total_cost(pretend_user_input)?;
[INFO] [stdout]    |                                              ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `ops::try_trait_old::FromResidual<Result<!, ParseIntError>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stdout] error: expected identifier, found `)`
[INFO] [stdout]   --> exercises/15_traits/traits5.rs:22:23
[INFO] [stdout]    |
[INFO] [stdout] 22 | fn some_func(item: ???) -> bool {
[INFO] [stdout]    |                       ^ expected identifier
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `exercises` (bin "errors3" test) due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `exercises` (bin "generics2" test) due to 2 previous errors
[INFO] [stdout] error[E0425]: cannot find value `item` in this scope
[INFO] [stdout]   --> exercises/15_traits/traits5.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 |     item.some_function() && item.other_function()
[INFO] [stdout]    |     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `item` in this scope
[INFO] [stdout]   --> exercises/15_traits/traits5.rs:23:29
[INFO] [stdout]    |
[INFO] [stdout] 23 |     item.some_function() && item.other_function()
[INFO] [stdout]    |                             ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `exercises` (bin "traits5") due to 3 previous errors
[INFO] [stdout] error[E0282]: type annotations needed for `Vec<_>`
[INFO] [stdout]   --> exercises/20_threads/threads1.rs:23:9
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let mut results = Vec::new();
[INFO] [stdout]    |         ^^^^^^^^^^^   ---------- type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout] help: consider giving `results` an explicit type, where the type for type parameter `T` is specified
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let mut results: Vec<T> = Vec::new();
[INFO] [stdout]    |                    ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `exercises` (bin "threads1" test) due to 1 previous error
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `ops::try_trait_old::FromResidual`)
[INFO] [stdout]   --> exercises/13_error_handling/errors5.rs:53:44
[INFO] [stdout]    |
[INFO] [stdout] 51 | fn main() {
[INFO] [stdout]    | --------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] 52 |     let pretend_user_input = "42";
[INFO] [stdout] 53 |     let x: i64 = pretend_user_input.parse()?;
[INFO] [stdout]    |                                            ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `ops::try_trait_old::FromResidual<Result<!, _>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `ops::try_trait_old::FromResidual`)
[INFO] [stdout]   --> exercises/13_error_handling/errors5.rs:54:59
[INFO] [stdout]    |
[INFO] [stdout] 51 | fn main() {
[INFO] [stdout]    | --------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 54 |     println!("output={:?}", PositiveNonzeroInteger::new(x)?);
[INFO] [stdout]    |                                                           ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `ops::try_trait_old::FromResidual<Result<!, CreationError>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> exercises/13_error_handling/errors5.rs:55:5
[INFO] [stdout]    |
[INFO] [stdout] 51 | fn main() {
[INFO] [stdout]    |          - expected `()` because of default return type
[INFO] [stdout] ...
[INFO] [stdout] 55 |     Ok(())
[INFO] [stdout]    |     ^^^^^^ expected `()`, found `Result<(), _>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected unit type `()`
[INFO] [stdout]                    found enum `Result<(), _>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: use of moved value: `tx`
[INFO] [stdout]   --> exercises/20_threads/threads3.rs:28:19
[INFO] [stdout]    |
[INFO] [stdout] 17 | fn send_tx(q: Queue, tx: mpsc::Sender<u32>) {
[INFO] [stdout]    |                      -- move occurs because `tx` has type `std::sync::mpsc::Sender<u32>`, which does not implement the `Copy` trait
[INFO] [stdout] ...
[INFO] [stdout] 20 |     thread::spawn(move || {
[INFO] [stdout]    |                   ------- value moved into closure here
[INFO] [stdout] 21 |         for val in q.first_half {
[INFO] [stdout]    |         ----------------------- inside of this loop
[INFO] [stdout] 22 |             println!("Sending {val:?}");
[INFO] [stdout] 23 |             tx.send(val).unwrap();
[INFO] [stdout]    |             -- variable moved due to use in closure
[INFO] [stdout] ...
[INFO] [stdout] 28 |     thread::spawn(move || {
[INFO] [stdout]    |                   ^^^^^^^ value used here after move
[INFO] [stdout] ...
[INFO] [stdout] 31 |             tx.send(val).unwrap();
[INFO] [stdout]    |             -- use occurs due to use in closure
[INFO] [stdout]    |
[INFO] [stdout] help: consider cloning the value before moving it into the closure
[INFO] [stdout]    |
[INFO] [stdout] 20 ~     let value = tx.clone();
[INFO] [stdout] 21 ~     thread::spawn(move || {
[INFO] [stdout] 22 |         for val in q.first_half {
[INFO] [stdout] 23 |             println!("Sending {val:?}");
[INFO] [stdout] 24 ~             value.send(val).unwrap();
[INFO] [stdout]    |
[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] For more information about this error, try `rustc --explain E0382`.
[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: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] [stderr] error: could not compile `exercises` (bin "errors5" test) due to 3 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: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] warning: unused variable: `basket`
[INFO] [stdout]   --> exercises/11_hashmaps/hashmaps2.rs:22:17
[INFO] [stdout]    |
[INFO] [stdout] 22 | fn fruit_basket(basket: &mut HashMap<Fruit, u32>) {
[INFO] [stdout]    |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_basket`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `fruit`
[INFO] [stdout]   --> exercises/11_hashmaps/hashmaps2.rs:31:9
[INFO] [stdout]    |
[INFO] [stdout] 31 |     for fruit in fruit_kinds {
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_fruit`
[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" test) due to 2 previous errors; 1 warning emitted
[INFO] [stderr] error: could not compile `exercises` (bin "threads3" test) due to 1 previous error
[INFO] running `Command { std: "docker" "inspect" "489e2060b17de2e53529907a8ca2b529c8579be0c03f3b633b885adba57b8f84", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "489e2060b17de2e53529907a8ca2b529c8579be0c03f3b633b885adba57b8f84", kill_on_drop: false }`
[INFO] [stdout] 489e2060b17de2e53529907a8ca2b529c8579be0c03f3b633b885adba57b8f84
