[INFO] cloning repository https://github.com/ryanthegentry/Rustlings
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ryanthegentry/Rustlings" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fryanthegentry%2FRustlings", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fryanthegentry%2FRustlings'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 3d77f264101a35c4fea194e0253e4ecad2ccb3c0
[INFO] testing ryanthegentry/Rustlings against 1.99.0-beta.1+cargoflags=--release for beta-release-1.99-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fryanthegentry%2FRustlings" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/ryanthegentry/Rustlings
[INFO] finished tweaking git repo https://github.com/ryanthegentry/Rustlings
[INFO] tweaked toml for git repo https://github.com/ryanthegentry/Rustlings written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ryanthegentry/Rustlings on toolchain 1.99.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ryanthegentry/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.99.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 6098d9594a5d284499c7e2d671ec13079beb29f9bb570371fc9cf81b38e11c2d
[INFO] running `Command { std: "docker" "start" "6098d9594a5d284499c7e2d671ec13079beb29f9bb570371fc9cf81b38e11c2d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6098d9594a5d284499c7e2d671ec13079beb29f9bb570371fc9cf81b38e11c2d", 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" "6098d9594a5d284499c7e2d671ec13079beb29f9bb570371fc9cf81b38e11c2d" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6098d9594a5d284499c7e2d671ec13079beb29f9bb570371fc9cf81b38e11c2d", 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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6098d9594a5d284499c7e2d671ec13079beb29f9bb570371fc9cf81b38e11c2d" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.17
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]    Compiling escargot v0.5.0
[INFO] [stderr]    Compiling tests_intro v0.1.0 (/opt/rustwide/workdir/Writing Automated Tests/Tests/Intro)
[INFO] [stderr]    Compiling variables_intro v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Variables/Intro)
[INFO] [stderr]    Compiling macro_test v0.1.0 (/opt/rustwide/workdir/Modules and Macros/Macros and Modules Test/Test Task)
[INFO] [stderr]    Compiling variables_and_mutability v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Variables/Variables and Mutability)
[INFO] [stderr]    Compiling macro_arms v0.1.0 (/opt/rustwide/workdir/Modules and Macros/Macros/Macro Arms)
[INFO] [stderr]    Compiling variables4 v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Variables/Variables 4)
[INFO] [stderr]    Compiling iterators4 v0.1.0 (/opt/rustwide/workdir/Iterators and Closures/Standard Library Types/Factorial)
[INFO] [stderr]    Compiling about v0.1.0 (/opt/rustwide/workdir/Introduction/Getting started/About)
[INFO] [stderr]    Compiling iterator3 v0.1.0 (/opt/rustwide/workdir/Iterators and Closures/Standard Library Types/Iterator)
[INFO] [stderr]    Compiling variables3 v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Variables/Variables 3)
[INFO] [stderr]    Compiling variables2 v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Variables/Variables 2)
[INFO] [stderr]    Compiling installation v0.1.0 (/opt/rustwide/workdir/Introduction/Getting started/Installation)
[INFO] [stderr]    Compiling variables1 v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Variables/Variables 1)
[INFO] [stdout] error[E0425]: cannot find value `x` in this scope
[INFO] [stdout]  --> Common Programming Concepts/Variables/Variables 1/src/main.rs:3:36
[INFO] [stdout]   |
[INFO] [stdout] 3 |     println!("x has the value {}", x);
[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] [stdout] error[E0308]: mismatched types
[INFO] [stdout]  --> Iterators and Closures/Standard Library Types/Factorial/src/lib.rs:1:31
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn factorial(num: u64) -> u64 {
[INFO] [stdout]   |        ---------              ^^^ expected `u64`, found `()`
[INFO] [stdout]   |        |
[INFO] [stdout]   |        implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]   |
[INFO] [stdout] help: consider returning the local binding `num`
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn factorial(num: u64) -> u64 {
[INFO] [stdout] 2 ~     num
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `iterators4` (lib) due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `variables1` (bin "variables1") due to 1 previous error
[INFO] [stdout] error[E0425]: cannot find value `x` in this scope
[INFO] [stdout]  --> Common Programming Concepts/Variables/Variables 4/src/main.rs:3:27
[INFO] [stdout]   |
[INFO] [stdout] 3 |     println!("Number {}", x);
[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 `variables4` (bin "variables4") due to 1 previous error
[INFO] [stdout] error: expected one of `:`, `;`, `=`, `@`, or `|`, found `x`
[INFO] [stdout]  --> Common Programming Concepts/Variables/Variables 3/src/main.rs:2:14
[INFO] [stdout]   |
[INFO] [stdout] 2 |     let TODO x = 3;
[INFO] [stdout]   |              ^ expected one of `:`, `;`, `=`, `@`, or `|`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Rectangle` is never constructed
[INFO] [stdout]  --> Writing Automated Tests/Tests/Intro/src/lib.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Rectangle {
[INFO] [stdout]   |        ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `can_hold` is never used
[INFO] [stdout]  --> Writing Automated Tests/Tests/Intro/src/lib.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | impl Rectangle {
[INFO] [stdout]   | -------------- method in this implementation
[INFO] [stdout] 8 |     fn can_hold(&self, other: &Rectangle) -> bool {
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0384]: cannot assign twice to immutable variable `x`
[INFO] [stdout]  --> Common Programming Concepts/Variables/Variables and Mutability/src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     let x = 5;
[INFO] [stdout]   |         - first assignment to `x`
[INFO] [stdout] 3 |     println!("The value of x is: {}", x);
[INFO] [stdout] 4 |     x = 6;
[INFO] [stdout]   |     ^^^^^ cannot assign twice to immutable variable
[INFO] [stdout]   |
[INFO] [stdout] help: consider making this binding mutable
[INFO] [stdout]   |
[INFO] [stdout] 2 |     let mut x = 5;
[INFO] [stdout]   |         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0384`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `variables3` (bin "variables3") due to 1 previous error
[INFO] [stderr] error: could not compile `variables_and_mutability` (bin "variables_and_mutability") due to 1 previous error
[INFO] [stdout] error: expected `;`, found `(`
[INFO] [stdout]  --> Modules and Macros/Macros/Macro Arms/src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 4 |     }/*separate the "macro arms" here*/
[INFO] [stdout]   |      - expected `;`
[INFO] [stdout] 5 |     ($val:expr) => {
[INFO] [stdout]   |     ^ unexpected token
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `macro_arms` (bin "macro_arms") due to 1 previous error
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> Iterators and Closures/Standard Library Types/Iterator/src/lib.rs:15:34
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub fn divide(a: i32, b: i32) -> Result<i32, DivisionError> {
[INFO] [stdout]    |        ------                    ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result<i32, DivisionError>`, found `()`
[INFO] [stdout]    |        |
[INFO] [stdout]    |        implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected enum `Result<i32, DivisionError>`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `iterator3` (lib) due to 1 previous error
[INFO] [stdout] error[E0283]: type annotations needed
[INFO] [stdout]  --> Common Programming Concepts/Variables/Variables 2/src/main.rs:2:9
[INFO] [stdout]   |
[INFO] [stdout] 2 |     let x/*insert here missing part(s)*/;
[INFO] [stdout]   |         ^
[INFO] [stdout] 3 |     if x == 10 {
[INFO] [stdout]   |          -- type must be known at this point
[INFO] [stdout]   |
[INFO] [stdout]   = note: the type must implement `PartialEq<i32>`
[INFO] [stdout]   = note: `{integer}` implements `PartialEq<_>`
[INFO] [stdout] help: consider giving `x` an explicit type
[INFO] [stdout]   |
[INFO] [stdout] 2 |     let x: i32/*insert here missing part(s)*/;
[INFO] [stdout]   |          +++++
[INFO] [stdout] help: consider swapping the equality
[INFO] [stdout]   |
[INFO] [stdout] 3 -     if x == 10 {
[INFO] [stdout] 3 +     if 10 == x {
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0283`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `variables2` (bin "variables2") due to 1 previous error
[INFO] [stdout] error: cannot find macro `my_macro` in this scope
[INFO] [stdout]  --> Modules and Macros/Macros and Modules Test/Test Task/src/main.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 |     if my_macro!("world!") != "Hello world!" {
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `macro_test` (bin "macro_test") due to 1 previous error
[INFO] running `Command { std: "docker" "inspect" "6098d9594a5d284499c7e2d671ec13079beb29f9bb570371fc9cf81b38e11c2d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6098d9594a5d284499c7e2d671ec13079beb29f9bb570371fc9cf81b38e11c2d", kill_on_drop: false }`
[INFO] [stdout] 6098d9594a5d284499c7e2d671ec13079beb29f9bb570371fc9cf81b38e11c2d
