[INFO] cloning repository https://github.com/khanra17/Rustlings
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/khanra17/Rustlings" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkhanra17%2FRustlings", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkhanra17%2FRustlings'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f491fd67ef52f360ceb3801a16ade543d28f962f
[INFO] testing khanra17/Rustlings against 1.95.0 for beta-1.96-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkhanra17%2FRustlings" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-4-tc1/source/.cargo/config.toml
[INFO] started tweaking git repo https://github.com/khanra17/Rustlings
[INFO] finished tweaking git repo https://github.com/khanra17/Rustlings
[INFO] tweaked toml for git repo https://github.com/khanra17/Rustlings written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/khanra17/Rustlings on toolchain 1.95.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/khanra17/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" "+1.95.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr]   |
[INFO] [stderr]   = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr]   = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr]   = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded serde_derive v1.0.151
[INFO] [stderr]   Downloaded serde v1.0.151
[INFO] [stderr]   Downloaded escargot v0.5.7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1f4a318f9fb0c4b60cf08e131c38c055490b9442258123c5c770b895d5509729
[INFO] running `Command { std: "docker" "start" "-a" "1f4a318f9fb0c4b60cf08e131c38c055490b9442258123c5c770b895d5509729", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1f4a318f9fb0c4b60cf08e131c38c055490b9442258123c5c770b895d5509729", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1f4a318f9fb0c4b60cf08e131c38c055490b9442258123c5c770b895d5509729", kill_on_drop: false }`
[INFO] [stdout] 1f4a318f9fb0c4b60cf08e131c38c055490b9442258123c5c770b895d5509729
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] cddb59501ad6f98d29bf8982702d95ceec5b6217ad60ca2a24109a75be832d77
[INFO] running `Command { std: "docker" "start" "-a" "cddb59501ad6f98d29bf8982702d95ceec5b6217ad60ca2a24109a75be832d77", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr]   |
[INFO] [stderr]   = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr]   = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr]   = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr]    Compiling proc-macro2 v1.0.49
[INFO] [stderr]    Compiling unicode-ident v1.0.6
[INFO] [stderr]    Compiling quote v1.0.23
[INFO] [stderr]    Compiling syn v1.0.107
[INFO] [stderr]    Compiling serde_derive v1.0.151
[INFO] [stderr]    Compiling serde v1.0.151
[INFO] [stderr]    Compiling serde_json v1.0.91
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling ryu v1.0.12
[INFO] [stderr]    Compiling escargot v0.5.7
[INFO] [stderr]    Compiling itoa v1.0.5
[INFO] [stderr]    Compiling once_cell v1.16.0
[INFO] [stderr]    Compiling libc v0.2.139
[INFO] [stderr]    Compiling hello_macro v0.1.0 (/opt/rustwide/workdir/Macros/Procedural Macros/hello_macro)
[INFO] [stderr]    Compiling build_team_scores_table v0.1.0 (/opt/rustwide/workdir/Common Collections/Hashmaps/Build Scores Table)
[INFO] [stderr]    Compiling declaring_a_hashmap v0.1.0 (/opt/rustwide/workdir/Common Collections/Hashmaps/Fruits Delivery)
[INFO] [stderr]    Compiling count_progress v0.1.0 (/opt/rustwide/workdir/Standard Library Types/Iterators/Count Progress)
[INFO] [stderr]    Compiling use_cow v0.1.0 (/opt/rustwide/workdir/Standard Library Types/Smart Pointers/Use Cow)
[INFO] [stderr]    Compiling workers_in_the_engine v0.1.0 (/opt/rustwide/workdir/Standard Library Types/Smart Pointers/Workers in the Engine)
[INFO] [stderr]    Compiling using_as v0.1.0 (/opt/rustwide/workdir/Standard Library Types/Type Conversions/Using As)
[INFO] [stderr]    Compiling compare_licenses v0.1.0 (/opt/rustwide/workdir/Generic Types, Traits, and Lifetime/Traits/Compare Licenses)
[INFO] [stderr]    Compiling asref_and_asmut v0.1.0 (/opt/rustwide/workdir/Standard Library Types/Type Conversions/AsRef and AsMut)
[INFO] [stderr]    Compiling fromstr v0.1.0 (/opt/rustwide/workdir/Standard Library Types/Type Conversions/FromStr)
[INFO] [stderr]    Compiling declaring_a_vector v0.1.0 (/opt/rustwide/workdir/Common Collections/Vectors/Create a Vector on Your Own)
[INFO] [stderr]    Compiling count_typed_cells v0.1.0 (/opt/rustwide/workdir/Common Collections/Vectors/Count Typed Cells)
[INFO] [stderr]    Compiling box_task v0.1.0 (/opt/rustwide/workdir/Standard Library Types/Smart Pointers/Box Task)
[INFO] [stderr]    Compiling modifying_a_hashmap v0.1.0 (/opt/rustwide/workdir/Common Collections/Hashmaps/More Fruits)
[INFO] [stderr]    Compiling from_into v0.1.0 (/opt/rustwide/workdir/Standard Library Types/Type Conversions/From Into)
[INFO] [stderr]    Compiling trait_bound_syntax v0.1.0 (/opt/rustwide/workdir/Generic Types, Traits, and Lifetime/Traits/Trait Bound Syntax)
[INFO] [stderr]    Compiling lamp_with_switchers v0.1.0 (/opt/rustwide/workdir/Standard Library Types/Smart Pointers/Switch the Lamp)
[INFO] [stdout] warning: unused import: `ParseInt`
[INFO] [stdout]  --> Standard Library Types/Type Conversions/FromStr/src/lib.rs:4:54
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::ParsePersonError::{BadLen, Empty, NoName, ParseInt};
[INFO] [stdout]   |                                                      ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling vec_trait v0.1.0 (/opt/rustwide/workdir/Generic Types, Traits, and Lifetime/Traits/Vec Trait)
[INFO] [stderr]    Compiling capitalize_first v0.1.0 (/opt/rustwide/workdir/Standard Library Types/Iterators/Capitalize first)
[INFO] [stderr]    Compiling trim_a_string v0.1.0 (/opt/rustwide/workdir/Understanding Ownership/The Slice Type/Trim a String)
[INFO] [stderr]    Compiling loop_over_vector_with_iterators v0.1.0 (/opt/rustwide/workdir/Standard Library Types/Iterators/Loop Over Vector With Iterators)
[INFO] [stderr]    Compiling process_some_strings v0.1.0 (/opt/rustwide/workdir/Common Collections/Strings/Process Some Strings)
[INFO] [stderr]    Compiling add_conditions v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Conditions/Add Conditions)
[INFO] [stderr]    Compiling advanced_errors v0.1.0 (/opt/rustwide/workdir/Error Handling/Errors Primer/Advanced Errors)
[INFO] [stderr]    Compiling combine_traits v0.1.0 (/opt/rustwide/workdir/Generic Types, Traits, and Lifetime/Traits/Combine Traits)
[INFO] [stderr]    Compiling license_it v0.1.0 (/opt/rustwide/workdir/Generic Types, Traits, and Lifetime/Traits/License It)
[INFO] [stderr]    Compiling loop_over_a_vector v0.1.0 (/opt/rustwide/workdir/Common Collections/Vectors/Loop Over a Vector)
[INFO] [stderr]    Compiling string_transformer v0.1.0 (/opt/rustwide/workdir/Common Collections/Strings/String Transformer)
[INFO] [stderr]    Compiling errors6 v0.1.0 (/opt/rustwide/workdir/Error Handling/Errors Primer/Custom Errors)
[INFO] [stderr]    Compiling advanced_errors_2 v0.1.0 (/opt/rustwide/workdir/Error Handling/Errors Primer/Advanced Errors 2)
[INFO] [stderr]    Compiling errors5 v0.1.0 (/opt/rustwide/workdir/Error Handling/Errors Primer/Multiple Errors)
[INFO] [stderr]    Compiling home_alone v0.1.0 (/opt/rustwide/workdir/Modules/Modules/Home Alone at Day X)
[INFO] [stderr]    Compiling generics_in_structs v0.1.0 (/opt/rustwide/workdir/Generic Types, Traits, and Lifetime/Generic Data Types/Generics in Structs)
[INFO] [stderr]    Compiling try_from_into v0.1.0 (/opt/rustwide/workdir/Standard Library Types/Type Conversions/Try From Into)
[INFO] [stdout] warning: unused import: `TryInto`
[INFO] [stdout]  --> Standard Library Types/Type Conversions/Try From Into/src/lib.rs:1:29
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::convert::{TryFrom, TryInto};
[INFO] [stdout]   |                             ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling string_trait v0.1.0 (/opt/rustwide/workdir/Generic Types, Traits, and Lifetime/Traits/String Trait)
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> Error Handling/Errors Primer/Advanced Errors 2/src/lib.rs:49:13
[INFO] [stdout]    |
[INFO] [stdout] 49 |             _ => write!(f, "unhandled error!"),
[INFO] [stdout]    |             ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]   --> Error Handling/Errors Primer/Advanced Errors 2/src/lib.rs:49:13
[INFO] [stdout]    |
[INFO] [stdout] 44 |             NoCity => write!(f, "no city name"),
[INFO] [stdout]    |             ------ matches some of the same values
[INFO] [stdout] 45 |             Empty => write!(f, "empty input"),
[INFO] [stdout]    |             ----- matches some of the same values
[INFO] [stdout] 46 |             BadLen => write!(f, "incorrect number of fields"),
[INFO] [stdout]    |             ------ matches some of the same values
[INFO] [stdout] 47 |             ParseFloat(e) => write!(f, "error parsing temperature: {}", e),
[INFO] [stdout]    |             ------------- matches some of the same values
[INFO] [stdout] 48 |             ParseInt(e) => write!(f, "error parsing year: {}", e),
[INFO] [stdout] 49 |             _ => write!(f, "unhandled error!"),
[INFO] [stdout]    |             ^ ...and 1 other patterns collectively make this unreachable
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::num::ParseIntError`
[INFO] [stdout]  --> Error Handling/Errors Primer/Multiple Errors/src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::num::ParseIntError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling check_clippy_for_option v0.1.0 (/opt/rustwide/workdir/Common Collections/Options/Check Clippy for Option)
[INFO] [stderr]    Compiling the_difference_between_macros_and_functions v0.1.0 (/opt/rustwide/workdir/Macros/Intro/The Difference Between Macros and Functions)
[INFO] [stderr]    Compiling sharing_a_mutex_between_multiple_threads v0.1.0 (/opt/rustwide/workdir/Fearless Concurrency/Shared-State Concurrency/Sharing a Mutex Between Multiple Threads)
[INFO] [stderr]    Compiling the_glob_operator v0.1.0 (/opt/rustwide/workdir/Modules/Modules/The Glob Operator)
[INFO] [stderr]    Compiling getrandom v0.2.8
[INFO] [stderr]    Compiling editor v0.1.0 (/opt/rustwide/workdir/Introduction/Getting started/Editor)
[INFO] [stderr]    Compiling numeric_operations v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Basic Data Types/Numeric Operations)
[INFO] [stdout] warning: unused import: `std::collections::*`
[INFO] [stdout]  --> Modules/Modules/The Glob Operator/src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: borrow of moved value: `counter`
[INFO] [stdout]   --> Fearless Concurrency/Shared-State Concurrency/Sharing a Mutex Between Multiple Threads/src/main.rs:22:29
[INFO] [stdout]    |
[INFO] [stdout]  5 |     let counter = Mutex::new(0);
[INFO] [stdout]    |         ------- move occurs because `counter` has type `std::sync::Mutex<i32>`, which does not implement the `Copy` trait
[INFO] [stdout] ...
[INFO] [stdout]  8 |     for _ in 0..10 {
[INFO] [stdout]    |     -------------- inside of this loop
[INFO] [stdout]  9 |         // !!! ERROR: we shouldn't move mutex to the closure
[INFO] [stdout] 10 |         let handle = thread::spawn(move || {
[INFO] [stdout]    |                                    ------- value moved into closure here, in previous iteration of loop
[INFO] [stdout] ...
[INFO] [stdout] 22 |     println!("Result: {}", *counter.lock().unwrap());
[INFO] [stdout]    |                             ^^^^^^^ value borrowed here after move
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0382`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `sharing_a_mutex_between_multiple_threads` (bin "sharing_a_mutex_between_multiple_threads") due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused variable: `sum`
[INFO] [stdout]  --> Common Programming Concepts/Basic Data Types/Numeric Operations/src/main.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 |     let sum = 5 + 10;
[INFO] [stdout]   |         ^^^ help: if this is intentional, prefix it with an underscore: `_sum`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `difference`
[INFO] [stdout]  --> Common Programming Concepts/Basic Data Types/Numeric Operations/src/main.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 |     let difference = 95.5 - 4.3;
[INFO] [stdout]   |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_difference`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `product`
[INFO] [stdout]  --> Common Programming Concepts/Basic Data Types/Numeric Operations/src/main.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 9 |     let product = 4 * 30;
[INFO] [stdout]   |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_product`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `quotient`
[INFO] [stdout]   --> Common Programming Concepts/Basic Data Types/Numeric Operations/src/main.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let quotient = 56.7 / 32.2;
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_quotient`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `remainder`
[INFO] [stdout]   --> Common Programming Concepts/Basic Data Types/Numeric Operations/src/main.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let remainder = 43 % 5;
[INFO] [stdout]    |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_remainder`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "cddb59501ad6f98d29bf8982702d95ceec5b6217ad60ca2a24109a75be832d77", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cddb59501ad6f98d29bf8982702d95ceec5b6217ad60ca2a24109a75be832d77", kill_on_drop: false }`
[INFO] [stdout] cddb59501ad6f98d29bf8982702d95ceec5b6217ad60ca2a24109a75be832d77
