[INFO] cloning repository https://github.com/km-tr/rustlings [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/km-tr/rustlings" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkm-tr%2Frustlings", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkm-tr%2Frustlings'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 965bd57ff9b3f6c6e9cd16f6e5f779de68ce1f5f [INFO] testing km-tr/rustlings against try#ecabaf78506b7a4668d42dc20268c086b93f0fad for pr-87041 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkm-tr%2Frustlings" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/km-tr/rustlings on toolchain ecabaf78506b7a4668d42dc20268c086b93f0fad [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/km-tr/rustlings [INFO] finished tweaking git repo https://github.com/km-tr/rustlings [INFO] tweaked toml for git repo https://github.com/km-tr/rustlings written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded escargot v0.5.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3fef1622a34ef06c831b79d4a0e098aabb845aa917263f01060e6d35e564f9ee [INFO] running `Command { std: "docker" "start" "-a" "3fef1622a34ef06c831b79d4a0e098aabb845aa917263f01060e6d35e564f9ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3fef1622a34ef06c831b79d4a0e098aabb845aa917263f01060e6d35e564f9ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3fef1622a34ef06c831b79d4a0e098aabb845aa917263f01060e6d35e564f9ee", kill_on_drop: false }` [INFO] [stdout] 3fef1622a34ef06c831b79d4a0e098aabb845aa917263f01060e6d35e564f9ee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=forbid" "-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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2f324d3af80c638327a1789ea19ee4f243f36f12818eb42688b3ecb627b03c52 [INFO] running `Command { std: "docker" "start" "-a" "2f324d3af80c638327a1789ea19ee4f243f36f12818eb42688b3ecb627b03c52", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling escargot v0.5.2 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling tests_intro v0.1.0 (/opt/rustwide/workdir/Writing Automated Tests/Tests/Intro) [INFO] [stderr] Compiling charcaters v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Data Types/Characters) [INFO] [stderr] Compiling shared_state_concurrency v0.1.0 (/opt/rustwide/workdir/Iterators and Closures/Standard Library Types/Shared-State Concurrency) [INFO] [stderr] Compiling passing_an_argument v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Functions/Passing an Argument) [INFO] [stderr] Compiling assert v0.1.0 (/opt/rustwide/workdir/Writing Automated Tests/Tests/Assert) [INFO] [stderr] Compiling macros_intro v0.1.0 (/opt/rustwide/workdir/Modules and Macros/Macros/Intro) [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 boolean v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Data Types/Boolean) [INFO] [stderr] Compiling assert_eq v0.1.0 (/opt/rustwide/workdir/Writing Automated Tests/Tests/Assert_Eq) [INFO] [stderr] Compiling iterator3 v0.1.0 (/opt/rustwide/workdir/Iterators and Closures/Standard Library Types/Iterator) [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 macros3 v0.1.0 (/opt/rustwide/workdir/Modules and Macros/Macros/Outside of Module) [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 calling_a_macro v0.1.0 (/opt/rustwide/workdir/Modules and Macros/Macros/Calling a Macro) [INFO] [stderr] Compiling variables_intro v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Variables/Intro) [INFO] [stderr] Compiling threads_intro v0.1.0 (/opt/rustwide/workdir/Fearless Concurrency/Threads/Intro) [INFO] [stderr] Compiling defining_a_function v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Functions/Defining a Function) [INFO] [stderr] Compiling calculate_price v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Variables and Functions Test/Calculate Price) [INFO] [stderr] Compiling matching_result_2 v0.1.0 (/opt/rustwide/workdir/Recoverable and Unrecoverable Errors/Error Handling/Matching Result 2) [INFO] [stderr] Compiling borrow v0.1.0 (/opt/rustwide/workdir/Understanding Ownership/Move Semantics/Borrow) [INFO] [stderr] Compiling scalar_types v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Data Types/Scalar Types) [INFO] [stderr] Compiling shadowing v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Variables/Shadowing) [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 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] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `charcaters` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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: 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[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] [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 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] 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] 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] 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] error: aborting due to previous error [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: 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: 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 `|`, 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 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [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 [INFO] [stdout] --> Modules and Macros/Macros/Calling a Macro/src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / macro_rules! my_macro { [INFO] [stdout] 2 | | () => { [INFO] [stdout] 3 | | println!("Check out my macro!"); [INFO] [stdout] 4 | | }; [INFO] [stdout] 5 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [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] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [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: 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] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [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] warning: unused macro definition [INFO] [stdout] --> Modules and Macros/Macros/Outside of Module/src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | / macro_rules! my_macro { [INFO] [stdout] 4 | | () => { [INFO] [stdout] 5 | | println!("Check out my macro!"); [INFO] [stdout] 6 | | }; [INFO] [stdout] 7 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "2f324d3af80c638327a1789ea19ee4f243f36f12818eb42688b3ecb627b03c52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f324d3af80c638327a1789ea19ee4f243f36f12818eb42688b3ecb627b03c52", kill_on_drop: false }` [INFO] [stdout] 2f324d3af80c638327a1789ea19ee4f243f36f12818eb42688b3ecb627b03c52