[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 beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fryanthegentry%2FRustlings" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ryanthegentry/Rustlings on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-3/source/Cargo.toml [INFO] crate git repo https://github.com/ryanthegentry/Rustlings already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a18cf73420cd8b630017fb11f24ec9d1fbfd953a35e80fa4dca07adaf980096b [INFO] running `Command { std: "docker" "start" "-a" "a18cf73420cd8b630017fb11f24ec9d1fbfd953a35e80fa4dca07adaf980096b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a18cf73420cd8b630017fb11f24ec9d1fbfd953a35e80fa4dca07adaf980096b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a18cf73420cd8b630017fb11f24ec9d1fbfd953a35e80fa4dca07adaf980096b", kill_on_drop: false }` [INFO] [stdout] a18cf73420cd8b630017fb11f24ec9d1fbfd953a35e80fa4dca07adaf980096b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4013d8421f7a6fda602d95de7a92adecc94a9a11424bf0ce45f9871e858e68c2 [INFO] running `Command { std: "docker" "start" "-a" "4013d8421f7a6fda602d95de7a92adecc94a9a11424bf0ce45f9871e858e68c2", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Compiling itoa v0.4.5 [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 move_semantics_intro v0.1.0 (/opt/rustwide/workdir/Understanding Ownership/Move Semantics/Intro) [INFO] [stderr] Compiling testing_task v0.1.0 (/opt/rustwide/workdir/Writing Automated Tests/Tests/Testing Task) [INFO] [stderr] Compiling recoverable_errors_with_result v0.1.0 (/opt/rustwide/workdir/Recoverable and Unrecoverable Errors/Error Handling/Recoverable Errors with Result) [INFO] [stderr] Compiling statements_and_expressions v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Functions/Statements and Expressions) [INFO] [stderr] Compiling macros_intro v0.1.0 (/opt/rustwide/workdir/Modules and Macros/Macros/Intro) [INFO] [stderr] Compiling macro_test v0.1.0 (/opt/rustwide/workdir/Modules and Macros/Macros and Modules Test/Test Task) [INFO] [stderr] Compiling matching_result_2 v0.1.0 (/opt/rustwide/workdir/Recoverable and Unrecoverable Errors/Error Handling/Matching Result 2) [INFO] [stderr] Compiling assert v0.1.0 (/opt/rustwide/workdir/Writing Automated Tests/Tests/Assert) [INFO] [stderr] Compiling references_and_borrowing v0.1.0 (/opt/rustwide/workdir/Understanding Ownership/Move Semantics/References and Borrowing) [INFO] [stderr] Compiling generic_data_types v0.1.0 (/opt/rustwide/workdir/Recoverable and Unrecoverable Errors/Error Handling/Generic Data Types) [INFO] [stderr] Compiling adding_custom_failure_messages v0.1.0 (/opt/rustwide/workdir/Writing Automated Tests/Tests/Adding Custom Failure Messages) [INFO] [stderr] Compiling bringing_paths_into_scope_with_the_use_keyword v0.1.0 (/opt/rustwide/workdir/Modules and Macros/Modules/Bringing Paths into Scope with the use Keyword) [INFO] [stderr] Compiling charcaters v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Data Types/Characters) [INFO] [stderr] Compiling paths_for_referring_to_an_item_in_the_module_tree v0.1.0 (/opt/rustwide/workdir/Modules and Macros/Modules/Paths for Referring to an Item in the Module Tree) [INFO] [stderr] Compiling differences_between_variables_and_constants v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Variables/Differences Between Variables and Constants) [INFO] [stderr] Compiling else_if v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/If/else if) [INFO] [stderr] Compiling calculate_price v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Variables and Functions Test/Calculate Price) [INFO] [stderr] Compiling defining_a_function v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Functions/Defining a Function) [INFO] [stderr] Compiling arrays v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Data Types/Arrays) [INFO] [stderr] Compiling functions_intro v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Functions/Intro) [INFO] [stderr] Compiling iterator3 v0.1.0 (/opt/rustwide/workdir/Iterators and Closures/Standard Library Types/Iterator) [INFO] [stderr] Compiling variables1 v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Variables/Variables 1) [INFO] [stderr] Compiling repetition_with_loops v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/If/Repetition with Loops) [INFO] [stderr] Compiling calling_a_macro v0.1.0 (/opt/rustwide/workdir/Modules and Macros/Macros/Calling a Macro) [INFO] [stderr] Compiling using_message_passing_to_transfer_data_between_threads v0.1.0 (/opt/rustwide/workdir/Fearless Concurrency/Threads/Using Message Passing to Transfer Data Between Threads) [INFO] [stderr] Compiling about v0.1.0 (/opt/rustwide/workdir/Introduction/Getting started/About) [INFO] [stderr] Compiling macros2 v0.1.0 (/opt/rustwide/workdir/Modules and Macros/Macros/Declaring a Macro) [INFO] [stderr] Compiling scalar_types v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Data Types/Scalar Types) [INFO] [stderr] Compiling variables_intro v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Variables/Intro) [INFO] [stderr] Compiling variables4 v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Variables/Variables 4) [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 macro_arms v0.1.0 (/opt/rustwide/workdir/Modules and Macros/Macros/Macro Arms) [INFO] [stderr] Compiling macros3 v0.1.0 (/opt/rustwide/workdir/Modules and Macros/Macros/Outside of Module) [INFO] [stderr] Compiling type_annotation_of_a_parameter v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Functions/Type Annotation of a Parameter) [INFO] [stderr] Compiling boolean v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Data Types/Boolean) [INFO] [stderr] Compiling string_slice v0.1.0 (/opt/rustwide/workdir/Common Collections/Strings/String Slice) [INFO] [stderr] Compiling if_task v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/If/If Task) [INFO] [stderr] Compiling extensible_concurrency_with_the_sync_and_send_traits v0.1.0 (/opt/rustwide/workdir/Fearless Concurrency/Threads/Extensible Concurrency with the Sync and Send Traits) [INFO] [stderr] Compiling matching_result v0.1.0 (/opt/rustwide/workdir/Recoverable and Unrecoverable Errors/Error Handling/Matching Result) [INFO] [stderr] Compiling shared_state_concurrency v0.1.0 (/opt/rustwide/workdir/Iterators and Closures/Standard Library Types/Shared-State Concurrency) [INFO] [stderr] Compiling if_intro v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/If/Intro) [INFO] [stderr] Compiling installation v0.1.0 (/opt/rustwide/workdir/Introduction/Getting started/Installation) [INFO] [stderr] Compiling strings_intro v0.1.0 (/opt/rustwide/workdir/Common Collections/Strings/Intro) [INFO] [stderr] Compiling return_type v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Functions/Return Type) [INFO] [stderr] Compiling shadowing v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Variables/Shadowing) [INFO] [stderr] Compiling return_a_value v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Functions/Return a Value) [INFO] [stderr] Compiling errorsn v0.1.0 (/opt/rustwide/workdir/Recoverable and Unrecoverable Errors/Error Handling/Multiple Errors) [INFO] [stderr] Compiling error_handling_intro v0.1.0 (/opt/rustwide/workdir/Recoverable and Unrecoverable Errors/Error Handling/Intro) [INFO] [stderr] Compiling compound_types v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Data Types/Compound Types) [INFO] [stderr] Compiling passing_an_argument v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Functions/Passing an Argument) [INFO] [stderr] Compiling borrow v0.1.0 (/opt/rustwide/workdir/Understanding Ownership/Move Semantics/Borrow) [INFO] [stderr] Compiling assert_eq v0.1.0 (/opt/rustwide/workdir/Writing Automated Tests/Tests/Assert_Eq) [INFO] [stderr] Compiling modules_intro v0.1.0 (/opt/rustwide/workdir/Modules and Macros/Modules/Intro) [INFO] [stderr] Compiling iterators4 v0.1.0 (/opt/rustwide/workdir/Iterators and Closures/Standard Library Types/Factorial) [INFO] [stderr] Compiling threads_intro v0.1.0 (/opt/rustwide/workdir/Fearless Concurrency/Threads/Intro) [INFO] [stderr] Compiling returning_result v0.1.0 (/opt/rustwide/workdir/Recoverable and Unrecoverable Errors/Error Handling/Returning Result) [INFO] [stderr] Compiling result1 v0.1.0 (/opt/rustwide/workdir/Recoverable and Unrecoverable Errors/Error Handling/Result) [INFO] [stderr] Compiling returning_a_string v0.1.0 (/opt/rustwide/workdir/Common Collections/Strings/Returning a String) [INFO] [stderr] Compiling variables_and_mutability v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Variables/Variables and Mutability) [INFO] [stderr] Compiling times_two_tests v0.1.0 (/opt/rustwide/workdir/Writing Automated Tests/Tests Test/Times Two Tests) [INFO] [stderr] Compiling the_slice_type v0.1.0 (/opt/rustwide/workdir/Understanding Ownership/Move Semantics/The Slice Type) [INFO] [stderr] Compiling stdlib_intro v0.1.0 (/opt/rustwide/workdir/Iterators and Closures/Standard Library Types/Intro) [INFO] [stderr] Compiling separating_modules_into_different_files v0.1.0 (/opt/rustwide/workdir/Modules and Macros/Modules/Separating Modules into Different Files) [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] error: expected type, found `)` [INFO] [stdout] --> Common Programming Concepts/Functions/Type Annotation of a Parameter/src/main.rs:5:51 [INFO] [stdout] | [INFO] [stdout] 5 | fn call_me(num:/*insert the type annotation here*/) { [INFO] [stdout] | ^ expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::Ordering` [INFO] [stdout] --> Common Programming Concepts/Variables and Functions Test/Calculate Price/src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::Ordering; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `my_macro` in this scope [INFO] [stdout] --> Modules and Macros/Macros/Outside of Module/src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | my_macro!(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: have you added the `#[macro_use]` on the module/import? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: mismatched closing delimiter: `}` [INFO] [stdout] --> Common Collections/Strings/Returning a String/src/main.rs:7:45 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn current_favorite_color() -> String { [INFO] [stdout] | - closing delimiter possibly meant for this [INFO] [stdout] 7 | /*type the beginning of the trait here*/("blue"/*and the last part here*/ [INFO] [stdout] | ^ unclosed delimiter [INFO] [stdout] 8 | } [INFO] [stdout] | ^ mismatched closing delimiter [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `call_me` in this scope [INFO] [stdout] --> Common Programming Concepts/Functions/Intro/src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | call_me(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found keyword `if` [INFO] [stdout] --> Common Programming Concepts/Data Types/Boolean/src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | if is_evening { [INFO] [stdout] | ^^ expected identifier, found keyword [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `.`, `?`, `{`, or an operator, found `;` [INFO] [stdout] --> Recoverable and Unrecoverable Errors/Error Handling/Matching Result 2/src/main.rs:7:53 [INFO] [stdout] | [INFO] [stdout] 7 | let cost = match total_cost(pretend_user_input)?; [INFO] [stdout] | ----- ^ expected one of `.`, `?`, `{`, or an operator [INFO] [stdout] | | [INFO] [stdout] | while parsing this `match` expression [INFO] [stdout] | help: try removing this `match` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `my_macro` in this scope [INFO] [stdout] --> Modules and Macros/Macros/Declaring a Macro/src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | my_macro!(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: have you added the `#[macro_use]` on the module/import? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected closing delimiter: `}` [INFO] [stdout] --> Common Programming Concepts/Functions/Defining a Function/src/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 1 | fn main() { [INFO] [stdout] | - this opening brace... [INFO] [stdout] 2 | call_me(); [INFO] [stdout] 3 | } [INFO] [stdout] | - ...matches this closing brace [INFO] [stdout] ... [INFO] [stdout] 6 | } [INFO] [stdout] | ^ unexpected closing delimiter [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found keyword `if` [INFO] [stdout] --> Common Programming Concepts/Data Types/Characters/src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | if your_character.is_alphabetic() { [INFO] [stdout] | ^^ expected identifier, found keyword [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found keyword `type` [INFO] [stdout] --> Common Programming Concepts/Data Types/Arrays/src/main.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | let a = type here; [INFO] [stdout] | ^^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `defining_a_function` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused macro definition: `my_macro` [INFO] [stdout] --> Modules and Macros/Macros/Declaring a Macro/src/main.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | macro_rules! my_macro { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> Common Collections/Strings/Returning a String/src/main.rs:7:45 [INFO] [stdout] | [INFO] [stdout] 7 | /*type the beginning of the trait here*/("blue"/*and the last part here*/ [INFO] [stdout] | _____________________________________________^______^ [INFO] [stdout] 8 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 7 - /*type the beginning of the trait here*/("blue"/*and the last part here*/ [INFO] [stdout] 7 + /*type the beginning of the trait here*/"blue" [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `:`, `;`, `=`, `@`, or `|`, found `your_character` [INFO] [stdout] --> Common Programming Concepts/Data Types/Characters/src/main.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | if your_character.is_alphabetic() { [INFO] [stdout] | ^^^^^^^^^^^^^^ expected one of `:`, `;`, `=`, `@`, or `|` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `my_macro` [INFO] [stdout] --> Modules and Macros/Macros/Outside of Module/src/main.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | macro_rules! my_macro { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `:`, `;`, `=`, `@`, or `|`, found `is_evening` [INFO] [stdout] --> Common Programming Concepts/Data Types/Boolean/src/main.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | if is_evening { [INFO] [stdout] | ^^^^^^^^^^ expected one of `:`, `;`, `=`, `@`, or `|` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `num` in this scope [INFO] [stdout] --> Common Programming Concepts/Functions/Type Annotation of a Parameter/src/main.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | for i in 0..num { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `variables3` due to 2 previous errors [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `matching_result_2` due to 2 previous errors [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `functions_intro` due to 2 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `arrays` due to 2 previous errors [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `boolean` due to 3 previous errors [INFO] [stderr] error: could not compile `charcaters` due to 3 previous errors [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `type_annotation_of_a_parameter` due to 3 previous errors [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> Common Collections/Strings/Returning a String/src/main.rs:7:45 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn current_favorite_color() -> String { [INFO] [stdout] | ------ expected `String` because of return type [INFO] [stdout] 7 | /*type the beginning of the trait here*/("blue"/*and the last part here*/ [INFO] [stdout] | _____________________________________________^ [INFO] [stdout] 8 | | } [INFO] [stdout] | | ^- help: try using a conversion method: `.to_string()` [INFO] [stdout] | |_| [INFO] [stdout] | expected struct `String`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `macros2` due to 2 previous errors; 1 warning emitted [INFO] [stderr] error: could not compile `returning_a_string` due to 3 previous errors; 1 warning emitted [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `macros3` due to 2 previous errors; 1 warning emitted [INFO] [stdout] error: no rules expected the token `(` [INFO] [stdout] --> Modules and Macros/Macros/Macro Arms/src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | ($val:expr) => { [INFO] [stdout] | ^ no rules expected this token in macro call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> Common Programming Concepts/Functions/Return a Value/src/main.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | fn square(num: i32) -> i32 { [INFO] [stdout] | ------ ^^^ expected `i32`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] 7 | /*you could type here*/ num * num; [INFO] [stdout] | - help: consider removing this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `return_a_value` due to 2 previous errors [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] error[E0425]: cannot find value `vec_0` in this scope [INFO] [stdout] --> Understanding Ownership/Move Semantics/Borrow/src/main.rs:8:29 [INFO] [stdout] | [INFO] [stdout] 8 | let mut vec1 = fill_vec(vec_0 /*and put it here*/); [INFO] [stdout] | ^^^^^ help: a local variable with a similar name exists: `vec0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BorrowMut`, `Borrow` [INFO] [stdout] --> Understanding Ownership/Move Semantics/Borrow/src/main.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::{Borrow, BorrowMut}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `width` [INFO] [stdout] --> Writing Automated Tests/Tests/Intro/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | width: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Rectangle` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> Writing Automated Tests/Tests/Intro/src/lib.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `height` [INFO] [stdout] --> Writing Automated Tests/Tests/Intro/src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | height: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Rectangle` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> Writing Automated Tests/Tests/Intro/src/lib.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [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 { [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `Result`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `macro_arms` due to 2 previous errors [INFO] [stdout] warning: associated function is never used: `can_hold` [INFO] [stdout] --> Writing Automated Tests/Tests/Intro/src/lib.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | fn can_hold(&self, other: &Rectangle) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `iterator3` due to 2 previous errors [INFO] [stderr] error: could not compile `borrow` due to 2 previous errors; 1 warning emitted [INFO] [stderr] error: could not compile `variables1` due to 2 previous errors [INFO] [stdout] error[E0282]: 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] | ^ consider giving `x` a type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> Recoverable and Unrecoverable Errors/Error Handling/Returning Result/src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [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] [INFO] [stdout] error: aborting due to previous error [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] --> Recoverable and Unrecoverable Errors/Error Handling/Multiple Errors/src/lib.rs:6:82 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn read_and_validate(b: &mut io::BufRead) -> Result { [INFO] [stdout] | ^ expected identifier [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found `{` [INFO] [stdout] --> Common Programming Concepts/Functions/Return Type/src/main.rs:6:50 [INFO] [stdout] | [INFO] [stdout] 6 | fn sale_price(price: i32) -> /*put a type here*/ { [INFO] [stdout] | ^ expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `my_macro` in this scope [INFO] [stdout] --> Modules and Macros/Macros/Calling a Macro/src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | my_macro/*call the macro here*/(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `my_macro` [INFO] [stdout] --> Modules and Macros/Macros/Calling a Macro/src/main.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | macro_rules! my_macro { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> Common Programming Concepts/If/If Task/src/lib.rs:1:34 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn bigger(a: i32, b: i32) -> i32 { [INFO] [stdout] | ------ ^^^ expected `i32`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `iterators4` due to 2 previous errors [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [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 `errorsn` due to 2 previous errors [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] | - [INFO] [stdout] | | [INFO] [stdout] | first assignment to `x` [INFO] [stdout] | help: consider making this binding mutable: `mut 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] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0384`. [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TODO` in this scope [INFO] [stdout] --> Common Programming Concepts/Functions/Passing an Argument/src/main.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | call_me(TODO); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: cannot multiply `Result` by `{integer}` [INFO] [stdout] --> Recoverable and Unrecoverable Errors/Error Handling/Matching Result/src/lib.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | Ok(qty * cost_per_item + processing_fee) [INFO] [stdout] | --- ^ ------------- {integer} [INFO] [stdout] | | [INFO] [stdout] | Result [INFO] [stdout] [INFO] [stdout] [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] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0369`. [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `if_task` due to 2 previous errors [INFO] [stderr] error: could not compile `calling_a_macro` due to 2 previous errors; 1 warning emitted [INFO] [stderr] error: could not compile `variables4` due to 2 previous errors [INFO] [stderr] error: could not compile `return_type` due to 2 previous errors [INFO] [stderr] error: could not compile `passing_an_argument` due to 2 previous errors [INFO] [stderr] error: could not compile `matching_result` due to 2 previous errors [INFO] [stderr] error: could not compile `variables_and_mutability` due to 2 previous errors [INFO] [stderr] error: could not compile `macro_test` due to 2 previous errors [INFO] [stderr] error: could not compile `variables2` due to 2 previous errors [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> Common Collections/Strings/String Slice/src/main.rs:3:70 [INFO] [stdout] | [INFO] [stdout] 3 | if is_a_color_word(/*coerce the String into a string slice here*/word) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&str`, found struct `String` [INFO] [stdout] | help: consider borrowing here: `&word` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::Ordering` [INFO] [stdout] --> Recoverable and Unrecoverable Errors/Error Handling/Result/src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::Ordering; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `string_slice` due to 2 previous errors [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `result1`; 1 warning emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustc --crate-name result1 --edition=2018 'Recoverable and Unrecoverable Errors/Error Handling/Result/src/lib.rs' --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C metadata=b2f0e35ab023892e -C extra-filename=-b2f0e35ab023892e --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --cap-lints=warn` (signal: 9, SIGKILL: kill) [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "4013d8421f7a6fda602d95de7a92adecc94a9a11424bf0ce45f9871e858e68c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4013d8421f7a6fda602d95de7a92adecc94a9a11424bf0ce45f9871e858e68c2", kill_on_drop: false }` [INFO] [stdout] 4013d8421f7a6fda602d95de7a92adecc94a9a11424bf0ce45f9871e858e68c2