[INFO] cloning repository https://github.com/LearningByExample/rustlings [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LearningByExample/rustlings" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLearningByExample%2Frustlings", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLearningByExample%2Frustlings'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f8f12937fc940a75c229bd128b517cd1649cb77b [INFO] checking LearningByExample/rustlings against master#9fa580b1175018b0a276b0bc68f9827a106f7260 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLearningByExample%2Frustlings" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LearningByExample/rustlings on toolchain 9fa580b1175018b0a276b0bc68f9827a106f7260 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/LearningByExample/rustlings [INFO] finished tweaking git repo https://github.com/LearningByExample/rustlings [INFO] tweaked toml for git repo https://github.com/LearningByExample/rustlings written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/LearningByExample/rustlings already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6ce5671d32f5e65e468813d49d36bee7a4eeb5b70efa6087c3b5468a9ab68d54 [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" "6ce5671d32f5e65e468813d49d36bee7a4eeb5b70efa6087c3b5468a9ab68d54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6ce5671d32f5e65e468813d49d36bee7a4eeb5b70efa6087c3b5468a9ab68d54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ce5671d32f5e65e468813d49d36bee7a4eeb5b70efa6087c3b5468a9ab68d54", kill_on_drop: false }` [INFO] [stdout] 6ce5671d32f5e65e468813d49d36bee7a4eeb5b70efa6087c3b5468a9ab68d54 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 7a17b1e1c89d728d42d736fb96b63d13b65390d28e76c4af291aaa8009c28e37 [INFO] running `Command { std: "docker" "start" "-a" "7a17b1e1c89d728d42d736fb96b63d13b65390d28e76c4af291aaa8009c28e37", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v1.0.32 [INFO] [stderr] Compiling serde_derive v1.0.113 [INFO] [stderr] Compiling serde v1.0.113 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.55 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Compiling escargot v0.5.0 [INFO] [stderr] Checking tests_intro v0.1.0 (/opt/rustwide/workdir/Writing Automated Tests/Tests/Intro) [INFO] [stderr] Checking result1 v0.1.0 (/opt/rustwide/workdir/Recoverable and Unrecoverable Errors/Error Handling/Result) [INFO] [stderr] Checking calculate_price v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Variables and Functions Test/Calculate Price) [INFO] [stderr] Checking if_task v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/If/If Task) [INFO] [stderr] Checking matching_result v0.1.0 (/opt/rustwide/workdir/Recoverable and Unrecoverable Errors/Error Handling/Matching Result) [INFO] [stderr] Checking returning_result v0.1.0 (/opt/rustwide/workdir/Recoverable and Unrecoverable Errors/Error Handling/Returning Result) [INFO] [stderr] Checking times_two_tests v0.1.0 (/opt/rustwide/workdir/Writing Automated Tests/Tests Test/Times Two Tests) [INFO] [stderr] Checking iterators4 v0.1.0 (/opt/rustwide/workdir/Iterators and Closures/Standard Library Types/Factorial) [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] 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] warning: unnecessary trailing semicolon [INFO] [stdout] --> Recoverable and Unrecoverable Errors/Error Handling/Matching Result/src/lib.rs:6:78 [INFO] [stdout] | [INFO] [stdout] 6 | /*this is the short way, but you can just match the result of the parse*/; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [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] Checking testing_task v0.1.0 (/opt/rustwide/workdir/Writing Automated Tests/Tests/Testing Task) [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking iterator3 v0.1.0 (/opt/rustwide/workdir/Iterators and Closures/Standard Library Types/Iterator) [INFO] [stderr] Checking errorsn v0.1.0 (/opt/rustwide/workdir/Recoverable and Unrecoverable Errors/Error Handling/Multiple Errors) [INFO] [stderr] Checking borrow v0.1.0 (/opt/rustwide/workdir/Understanding Ownership/Move Semantics/Borrow) [INFO] [stdout] warning: 1 warning emitted [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] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking threads_intro v0.1.0 (/opt/rustwide/workdir/Fearless Concurrency/Threads/Intro) [INFO] [stderr] Checking generic_data_types v0.1.0 (/opt/rustwide/workdir/Recoverable and Unrecoverable Errors/Error Handling/Generic Data Types) [INFO] [stderr] Checking variables1 v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Variables/Variables 1) [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking shared_state_concurrency v0.1.0 (/opt/rustwide/workdir/Iterators and Closures/Standard Library Types/Shared-State Concurrency) [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking variables2 v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Variables/Variables 2) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> Recoverable and Unrecoverable Errors/Error Handling/Multiple Errors/src/lib.rs:6:34 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn read_and_validate(b: &mut io::BufRead) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn io::BufRead` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking functions_intro v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Functions/Intro) [INFO] [stderr] Checking macros2 v0.1.0 (/opt/rustwide/workdir/Modules and Macros/Macros/Declaring a Macro) [INFO] [stderr] Checking charcaters v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Data Types/Characters) [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> Recoverable and Unrecoverable Errors/Error Handling/Multiple Errors/src/lib.rs:43:49 [INFO] [stdout] | [INFO] [stdout] 43 | f.write_str((self as &dyn error::Error).description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking recoverable_errors_with_result v0.1.0 (/opt/rustwide/workdir/Recoverable and Unrecoverable Errors/Error Handling/Recoverable Errors with Result) [INFO] [stderr] Checking variables4 v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Variables/Variables 4) [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking else_if v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/If/else if) [INFO] [stderr] Checking variables_intro v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Variables/Intro) [INFO] [stderr] Checking installation v0.1.0 (/opt/rustwide/workdir/Introduction/Getting started/Installation) [INFO] [stderr] Checking arrays v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Data Types/Arrays) [INFO] [stderr] Checking calling_a_macro v0.1.0 (/opt/rustwide/workdir/Modules and Macros/Macros/Calling a Macro) [INFO] [stdout] error[E0412]: cannot find type `Vect` in this scope [INFO] [stdout] --> Iterators and Closures/Standard Library Types/Iterator/src/lib.rs:37:50 [INFO] [stdout] | [INFO] [stdout] 37 | let x= division_results.collect::,DivisionError>>(); [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking differences_between_variables_and_constants v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Variables/Differences Between Variables and Constants) [INFO] [stderr] Checking returning_a_string v0.1.0 (/opt/rustwide/workdir/Common Collections/Strings/Returning a String) [INFO] [stderr] Checking 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] Checking 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] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `iterator3` [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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "7a17b1e1c89d728d42d736fb96b63d13b65390d28e76c4af291aaa8009c28e37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a17b1e1c89d728d42d736fb96b63d13b65390d28e76c4af291aaa8009c28e37", kill_on_drop: false }` [INFO] [stdout] 7a17b1e1c89d728d42d736fb96b63d13b65390d28e76c4af291aaa8009c28e37