[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 master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkm-tr%2Frustlings" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/km-tr/rustlings on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "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-12/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3fdfffce3a8e1e6398dfb9bf2c28a036ba84857057ced272bcb77e765c93696d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "3fdfffce3a8e1e6398dfb9bf2c28a036ba84857057ced272bcb77e765c93696d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3fdfffce3a8e1e6398dfb9bf2c28a036ba84857057ced272bcb77e765c93696d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3fdfffce3a8e1e6398dfb9bf2c28a036ba84857057ced272bcb77e765c93696d", kill_on_drop: false }` [INFO] [stdout] 3fdfffce3a8e1e6398dfb9bf2c28a036ba84857057ced272bcb77e765c93696d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a1b327347be3dafbf480e6516fc3a6a72ab2e9bf268eddea17ab5137585e26b1 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "a1b327347be3dafbf480e6516fc3a6a72ab2e9bf268eddea17ab5137585e26b1", 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.72 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling escargot v0.5.2 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling tests_intro v0.1.0 (/opt/rustwide/workdir/Writing Automated Tests/Tests/Intro) [INFO] [stderr] Compiling assert v0.1.0 (/opt/rustwide/workdir/Writing Automated Tests/Tests/Assert) [INFO] [stderr] Compiling stdlib_intro v0.1.0 (/opt/rustwide/workdir/Iterators and Closures/Standard Library Types/Intro) [INFO] [stderr] Compiling shared_state_concurrency v0.1.0 (/opt/rustwide/workdir/Iterators and Closures/Standard Library Types/Shared-State Concurrency) [INFO] [stderr] Compiling variables4 v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Variables/Variables 4) [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 variables1 v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Variables/Variables 1) [INFO] [stderr] Compiling variables_intro v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Variables/Intro) [INFO] [stderr] Compiling macros2 v0.1.0 (/opt/rustwide/workdir/Modules and Macros/Macros/Declaring a Macro) [INFO] [stderr] Compiling errorsn v0.1.0 (/opt/rustwide/workdir/Recoverable and Unrecoverable Errors/Error Handling/Multiple Errors) [INFO] [stderr] Compiling iterator3 v0.1.0 (/opt/rustwide/workdir/Iterators and Closures/Standard Library Types/Iterator) [INFO] [stderr] Compiling calling_a_macro v0.1.0 (/opt/rustwide/workdir/Modules and Macros/Macros/Calling a Macro) [INFO] [stderr] Compiling references_and_borrowing v0.1.0 (/opt/rustwide/workdir/Understanding Ownership/Move Semantics/References and Borrowing) [INFO] [stderr] Compiling variables3 v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Variables/Variables 3) [INFO] [stderr] Compiling if_intro v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/If/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 else_if v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/If/else if) [INFO] [stderr] Compiling modules_intro v0.1.0 (/opt/rustwide/workdir/Modules and Macros/Modules/Intro) [INFO] [stderr] Compiling compound_types v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Data Types/Compound Types) [INFO] [stderr] Compiling adding_custom_failure_messages v0.1.0 (/opt/rustwide/workdir/Writing Automated Tests/Tests/Adding Custom Failure Messages) [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[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] 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 `calling_a_macro` [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: 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: 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[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] warning: unused macro definition [INFO] [stdout] --> Modules and Macros/Macros/Declaring a Macro/src/main.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / macro_rules! my_macro { [INFO] [stdout] 6 | | () => { [INFO] [stdout] 7 | | println!("Check out my macro!"); [INFO] [stdout] 8 | | }; [INFO] [stdout] 9 | | } [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 [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] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "a1b327347be3dafbf480e6516fc3a6a72ab2e9bf268eddea17ab5137585e26b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1b327347be3dafbf480e6516fc3a6a72ab2e9bf268eddea17ab5137585e26b1", kill_on_drop: false }` [INFO] [stdout] a1b327347be3dafbf480e6516fc3a6a72ab2e9bf268eddea17ab5137585e26b1