[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] testing LearningByExample/rustlings against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLearningByExample%2Frustlings" "/workspace/builds/worker-118/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-118/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LearningByExample/rustlings on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-118/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" "+1.60.0" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded escargot v0.5.0 [INFO] [stderr] Downloaded syn v1.0.32 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-118/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-118/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" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3e0f082f5a55a4bcb726df2ce8e5ce434f26eaaa6d55fd943510343d751fc289 [INFO] running `Command { std: "docker" "start" "-a" "3e0f082f5a55a4bcb726df2ce8e5ce434f26eaaa6d55fd943510343d751fc289", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3e0f082f5a55a4bcb726df2ce8e5ce434f26eaaa6d55fd943510343d751fc289", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e0f082f5a55a4bcb726df2ce8e5ce434f26eaaa6d55fd943510343d751fc289", kill_on_drop: false }` [INFO] [stdout] 3e0f082f5a55a4bcb726df2ce8e5ce434f26eaaa6d55fd943510343d751fc289 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-118/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-118/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" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 700f05b14900cd973e3ee6827ef91a9b2fa3ea5e5d96c34646159c92c45f5b98 [INFO] running `Command { std: "docker" "start" "-a" "700f05b14900cd973e3ee6827ef91a9b2fa3ea5e5d96c34646159c92c45f5b98", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.18 [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 serde_json v1.0.55 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling itoa v0.4.6 [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 variables2 v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Variables/Variables 2) [INFO] [stderr] Compiling assert v0.1.0 (/opt/rustwide/workdir/Writing Automated Tests/Tests/Assert) [INFO] [stderr] Compiling iterator3 v0.1.0 (/opt/rustwide/workdir/Iterators and Closures/Standard Library Types/Iterator) [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 repetition_with_loops v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/If/Repetition with Loops) [INFO] [stderr] Compiling matching_result v0.1.0 (/opt/rustwide/workdir/Recoverable and Unrecoverable Errors/Error Handling/Matching Result) [INFO] [stderr] Compiling times_two_tests v0.1.0 (/opt/rustwide/workdir/Writing Automated Tests/Tests Test/Times Two Tests) [INFO] [stderr] Compiling iterators4 v0.1.0 (/opt/rustwide/workdir/Iterators and Closures/Standard Library Types/Factorial) [INFO] [stderr] Compiling variables4 v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Variables/Variables 4) [INFO] [stderr] Compiling variables1 v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Variables/Variables 1) [INFO] [stderr] Compiling calculate_price v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Variables and Functions Test/Calculate Price) [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 errorsn v0.1.0 (/opt/rustwide/workdir/Recoverable and Unrecoverable Errors/Error Handling/Multiple Errors) [INFO] [stderr] Compiling variables_and_mutability v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Variables/Variables and Mutability) [INFO] [stderr] Compiling references_and_borrowing v0.1.0 (/opt/rustwide/workdir/Understanding Ownership/Move Semantics/References and Borrowing) [INFO] [stderr] Compiling about v0.1.0 (/opt/rustwide/workdir/Introduction/Getting started/About) [INFO] [stderr] Compiling move_semantics_intro v0.1.0 (/opt/rustwide/workdir/Understanding Ownership/Move Semantics/Intro) [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 the_slice_type v0.1.0 (/opt/rustwide/workdir/Understanding Ownership/Move Semantics/The Slice Type) [INFO] [stderr] Compiling macros3 v0.1.0 (/opt/rustwide/workdir/Modules and Macros/Macros/Outside of Module) [INFO] [stderr] Compiling macro_test v0.1.0 (/opt/rustwide/workdir/Modules and Macros/Macros and Modules Test/Test Task) [INFO] [stderr] Compiling boolean v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Data Types/Boolean) [INFO] [stderr] Compiling installation v0.1.0 (/opt/rustwide/workdir/Introduction/Getting started/Installation) [INFO] [stderr] Compiling scalar_types v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Data Types/Scalar Types) [INFO] [stderr] Compiling error_handling_intro v0.1.0 (/opt/rustwide/workdir/Recoverable and Unrecoverable Errors/Error Handling/Intro) [INFO] [stderr] Compiling return_a_value v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Functions/Return a Value) [INFO] [stderr] Compiling if_intro v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/If/Intro) [INFO] [stderr] Compiling compound_types v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Data Types/Compound Types) [INFO] [stderr] Compiling result1 v0.1.0 (/opt/rustwide/workdir/Recoverable and Unrecoverable Errors/Error Handling/Result) [INFO] [stderr] Compiling borrow v0.1.0 (/opt/rustwide/workdir/Understanding Ownership/Move Semantics/Borrow) [INFO] [stderr] Compiling matching_result_2 v0.1.0 (/opt/rustwide/workdir/Recoverable and Unrecoverable Errors/Error Handling/Matching Result 2) [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 returning_a_string v0.1.0 (/opt/rustwide/workdir/Common Collections/Strings/Returning a String) [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 generic_data_types v0.1.0 (/opt/rustwide/workdir/Recoverable and Unrecoverable Errors/Error Handling/Generic Data Types) [INFO] [stderr] Compiling variables3 v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Variables/Variables 3) [INFO] [stderr] Compiling defining_a_function v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Functions/Defining a Function) [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 separating_modules_into_different_files v0.1.0 (/opt/rustwide/workdir/Modules and Macros/Modules/Separating Modules into Different Files) [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 macro_arms v0.1.0 (/opt/rustwide/workdir/Modules and Macros/Macros/Macro Arms) [INFO] [stderr] Compiling if_task v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/If/If Task) [INFO] [stderr] Compiling assert_eq v0.1.0 (/opt/rustwide/workdir/Writing Automated Tests/Tests/Assert_Eq) [INFO] [stderr] Compiling return_type v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Functions/Return Type) [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 strings_intro v0.1.0 (/opt/rustwide/workdir/Common Collections/Strings/Intro) [INFO] [stderr] Compiling passing_an_argument v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Functions/Passing an Argument) [INFO] [stderr] Compiling else_if v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/If/else if) [INFO] [stderr] Compiling charcaters v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Data Types/Characters) [INFO] [stderr] Compiling string_slice v0.1.0 (/opt/rustwide/workdir/Common Collections/Strings/String Slice) [INFO] [stderr] Compiling stdlib_intro v0.1.0 (/opt/rustwide/workdir/Iterators and Closures/Standard Library Types/Intro) [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 modules_intro v0.1.0 (/opt/rustwide/workdir/Modules and Macros/Modules/Intro) [INFO] [stderr] Compiling shadowing v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Variables/Shadowing) [INFO] [stderr] Compiling calling_a_macro v0.1.0 (/opt/rustwide/workdir/Modules and Macros/Macros/Calling a Macro) [INFO] [stderr] Compiling testing_task v0.1.0 (/opt/rustwide/workdir/Writing Automated Tests/Tests/Testing Task) [INFO] [stderr] Compiling shared_state_concurrency v0.1.0 (/opt/rustwide/workdir/Iterators and Closures/Standard Library Types/Shared-State Concurrency) [INFO] [stderr] Compiling adding_custom_failure_messages v0.1.0 (/opt/rustwide/workdir/Writing Automated Tests/Tests/Adding Custom Failure Messages) [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 statements_and_expressions v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Functions/Statements and Expressions) [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: 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: 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] 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] 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] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 6 - pub fn read_and_validate(b: &mut io::BufRead) -> Result> { [INFO] [stdout] 6 + pub fn read_and_validate(b: &mut dyn io::BufRead) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [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] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> Recoverable and Unrecoverable Errors/Error Handling/Matching Result 2/src/main.rs:9:26 [INFO] [stdout] | [INFO] [stdout] 9 | Err(e) => panic!(e), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 9 | Err(e) => panic!("{}", e), [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 9 | Err(e) => std::panic::panic_any(e), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [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: 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] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling threads v0.1.0 (/opt/rustwide/workdir/Fearless Concurrency/Threads/Threads Task) [INFO] [stderr] Compiling slices v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Data Types/Slices) [INFO] [stderr] Compiling public_modifier_2 v0.1.0 (/opt/rustwide/workdir/Modules and Macros/Modules/Public Modifier 2) [INFO] [stderr] Compiling tuple_index v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Data Types/Tuple Index) [INFO] [stderr] Compiling option v0.1.0 (/opt/rustwide/workdir/Recoverable and Unrecoverable Errors/Error Handling/Option) [INFO] [stderr] Compiling arc1 v0.1.0 (/opt/rustwide/workdir/Iterators and Closures/Standard Library Types/Arc) [INFO] [stderr] Compiling public_modifier v0.1.0 (/opt/rustwide/workdir/Modules and Macros/Modules/Public Modifier) [INFO] [stderr] Compiling mutable_argument v0.1.0 (/opt/rustwide/workdir/Understanding Ownership/Move Semantics/Mutable Argument) [INFO] [stderr] Compiling hello_world v0.1.0 (/opt/rustwide/workdir/Introduction/Getting started/Hello World) [INFO] [stderr] Compiling mutable v0.1.0 (/opt/rustwide/workdir/Understanding Ownership/Move Semantics/Mutable) [INFO] [stderr] Compiling strings_and_strs v0.1.0 (/opt/rustwide/workdir/Common Collections/String Test/Strings and strs) [INFO] [stderr] Compiling tuples v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Data Types/Tuples) [INFO] [stderr] Compiling without_arguments v0.1.0 (/opt/rustwide/workdir/Understanding Ownership/Move Semantics/Without Arguments) [INFO] [stdout] warning: constant is never used: `APPLE` [INFO] [stdout] --> Modules and Macros/Modules/Public Modifier 2/src/main.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub const APPLE: &'static str = "Apple"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CARROT` [INFO] [stdout] --> Modules and Macros/Modules/Public Modifier 2/src/main.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub const CARROT: &'static str = "Carrot"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 07s [INFO] running `Command { std: "docker" "inspect" "700f05b14900cd973e3ee6827ef91a9b2fa3ea5e5d96c34646159c92c45f5b98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "700f05b14900cd973e3ee6827ef91a9b2fa3ea5e5d96c34646159c92c45f5b98", kill_on_drop: false }` [INFO] [stdout] 700f05b14900cd973e3ee6827ef91a9b2fa3ea5e5d96c34646159c92c45f5b98 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-118/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-118/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" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ddc93e47feedfd86e74ac7c75931482775ecdf29964b8d2cb42dccac7bc71ba9 [INFO] running `Command { std: "docker" "start" "-a" "ddc93e47feedfd86e74ac7c75931482775ecdf29964b8d2cb42dccac7bc71ba9", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling variables4 v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Variables/Variables 4) [INFO] [stderr] Compiling variables1 v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Variables/Variables 1) [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 macros2 v0.1.0 (/opt/rustwide/workdir/Modules and Macros/Macros/Declaring a Macro) [INFO] [stderr] Compiling installation v0.1.0 (/opt/rustwide/workdir/Introduction/Getting started/Installation) [INFO] [stderr] Compiling the_slice_type v0.1.0 (/opt/rustwide/workdir/Understanding Ownership/Move Semantics/The Slice Type) [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] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [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] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 6 - pub fn read_and_validate(b: &mut io::BufRead) -> Result> { [INFO] [stdout] 6 + pub fn read_and_validate(b: &mut dyn io::BufRead) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [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] [stdout] warning: 2 warnings emitted [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] warning: 1 warning emitted [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] 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] warning: 3 warnings emitted [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: 1 warning emitted [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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling else_if v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/If/else if) [INFO] [stderr] Compiling macros_intro v0.1.0 (/opt/rustwide/workdir/Modules and Macros/Macros/Intro) [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 move_semantics_intro v0.1.0 (/opt/rustwide/workdir/Understanding Ownership/Move Semantics/Intro) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> Recoverable and Unrecoverable Errors/Error Handling/Matching Result 2/src/main.rs:9:26 [INFO] [stdout] | [INFO] [stdout] 9 | Err(e) => panic!(e), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 9 | Err(e) => panic!("{}", e), [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 9 | Err(e) => std::panic::panic_any(e), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling macro_arms v0.1.0 (/opt/rustwide/workdir/Modules and Macros/Macros/Macro Arms) [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling defining_a_function v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Functions/Defining a Function) [INFO] [stderr] Compiling if_intro v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/If/Intro) [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 returning_a_string v0.1.0 (/opt/rustwide/workdir/Common Collections/Strings/Returning a String) [INFO] [stderr] Compiling return_a_value v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Functions/Return a Value) [INFO] [stderr] Compiling generic_data_types v0.1.0 (/opt/rustwide/workdir/Recoverable and Unrecoverable Errors/Error Handling/Generic Data Types) [INFO] [stderr] Compiling borrow v0.1.0 (/opt/rustwide/workdir/Understanding Ownership/Move Semantics/Borrow) [INFO] [stderr] Compiling about v0.1.0 (/opt/rustwide/workdir/Introduction/Getting started/About) [INFO] [stderr] Compiling scalar_types v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Data Types/Scalar Types) [INFO] [stderr] Compiling variables2 v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Variables/Variables 2) [INFO] [stderr] Compiling error_handling_intro v0.1.0 (/opt/rustwide/workdir/Recoverable and Unrecoverable Errors/Error Handling/Intro) [INFO] [stderr] Compiling string_slice v0.1.0 (/opt/rustwide/workdir/Common Collections/Strings/String Slice) [INFO] [stderr] Compiling boolean v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Data Types/Boolean) [INFO] [stderr] Compiling tests_intro v0.1.0 (/opt/rustwide/workdir/Writing Automated Tests/Tests/Intro) [INFO] [stderr] Compiling return_type v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Functions/Return Type) [INFO] [stderr] Compiling variables_intro v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Variables/Intro) [INFO] [stderr] Compiling variables3 v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Variables/Variables 3) [INFO] [stderr] Compiling repetition_with_loops v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/If/Repetition with Loops) [INFO] [stderr] Compiling macros3 v0.1.0 (/opt/rustwide/workdir/Modules and Macros/Macros/Outside of Module) [INFO] [stderr] Compiling assert v0.1.0 (/opt/rustwide/workdir/Writing Automated Tests/Tests/Assert) [INFO] [stderr] Compiling returning_result v0.1.0 (/opt/rustwide/workdir/Recoverable and Unrecoverable Errors/Error Handling/Returning Result) [INFO] [stderr] Compiling testing_task v0.1.0 (/opt/rustwide/workdir/Writing Automated Tests/Tests/Testing Task) [INFO] [stderr] Compiling passing_an_argument v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Functions/Passing an Argument) [INFO] [stderr] Compiling modules_intro v0.1.0 (/opt/rustwide/workdir/Modules and Macros/Modules/Intro) [INFO] [stderr] Compiling charcaters v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Data Types/Characters) [INFO] [stderr] Compiling references_and_borrowing v0.1.0 (/opt/rustwide/workdir/Understanding Ownership/Move Semantics/References and Borrowing) [INFO] [stderr] Compiling shadowing v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Variables/Shadowing) [INFO] [stderr] Compiling calling_a_macro v0.1.0 (/opt/rustwide/workdir/Modules and Macros/Macros/Calling a Macro) [INFO] [stderr] Compiling matching_result_2 v0.1.0 (/opt/rustwide/workdir/Recoverable and Unrecoverable Errors/Error Handling/Matching Result 2) [INFO] [stderr] Compiling variables_and_mutability v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Variables/Variables and Mutability) [INFO] [stderr] Compiling arrays v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Data Types/Arrays) [INFO] [stderr] Compiling result1 v0.1.0 (/opt/rustwide/workdir/Recoverable and Unrecoverable Errors/Error Handling/Result) [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 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 iterators4 v0.1.0 (/opt/rustwide/workdir/Iterators and Closures/Standard Library Types/Factorial) [INFO] [stderr] Compiling iterator3 v0.1.0 (/opt/rustwide/workdir/Iterators and Closures/Standard Library Types/Iterator) [INFO] [stderr] Compiling if_task v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/If/If Task) [INFO] [stderr] Compiling shared_state_concurrency v0.1.0 (/opt/rustwide/workdir/Iterators and Closures/Standard Library Types/Shared-State Concurrency) [INFO] [stderr] Compiling assert_eq v0.1.0 (/opt/rustwide/workdir/Writing Automated Tests/Tests/Assert_Eq) [INFO] [stderr] Compiling matching_result v0.1.0 (/opt/rustwide/workdir/Recoverable and Unrecoverable Errors/Error Handling/Matching Result) [INFO] [stderr] Compiling compound_types v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Data Types/Compound Types) [INFO] [stderr] Compiling strings_intro v0.1.0 (/opt/rustwide/workdir/Common Collections/Strings/Intro) [INFO] [stderr] Compiling adding_custom_failure_messages v0.1.0 (/opt/rustwide/workdir/Writing Automated Tests/Tests/Adding Custom Failure Messages) [INFO] [stderr] Compiling calculate_price v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Variables and Functions Test/Calculate Price) [INFO] [stderr] Compiling threads_intro v0.1.0 (/opt/rustwide/workdir/Fearless Concurrency/Threads/Intro) [INFO] [stderr] Compiling stdlib_intro v0.1.0 (/opt/rustwide/workdir/Iterators and Closures/Standard Library Types/Intro) [INFO] [stderr] Compiling macro_test v0.1.0 (/opt/rustwide/workdir/Modules and Macros/Macros and Modules Test/Test 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] [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] [stderr] Compiling separating_modules_into_different_files v0.1.0 (/opt/rustwide/workdir/Modules and Macros/Modules/Separating Modules into Different Files) [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling functions_intro v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Functions/Intro) [INFO] [stderr] Compiling statements_and_expressions v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Functions/Statements and Expressions) [INFO] [stderr] Compiling errorsn v0.1.0 (/opt/rustwide/workdir/Recoverable and Unrecoverable Errors/Error Handling/Multiple Errors) [INFO] [stderr] Compiling times_two_tests v0.1.0 (/opt/rustwide/workdir/Writing Automated Tests/Tests Test/Times Two Tests) [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 without_arguments v0.1.0 (/opt/rustwide/workdir/Understanding Ownership/Move Semantics/Without Arguments) [INFO] [stderr] Compiling public_modifier_2 v0.1.0 (/opt/rustwide/workdir/Modules and Macros/Modules/Public Modifier 2) [INFO] [stderr] Compiling option v0.1.0 (/opt/rustwide/workdir/Recoverable and Unrecoverable Errors/Error Handling/Option) [INFO] [stderr] Compiling hello_world v0.1.0 (/opt/rustwide/workdir/Introduction/Getting started/Hello World) [INFO] [stderr] Compiling mutable v0.1.0 (/opt/rustwide/workdir/Understanding Ownership/Move Semantics/Mutable) [INFO] [stderr] Compiling public_modifier v0.1.0 (/opt/rustwide/workdir/Modules and Macros/Modules/Public Modifier) [INFO] [stderr] Compiling tuple_index v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Data Types/Tuple Index) [INFO] [stderr] Compiling arc1 v0.1.0 (/opt/rustwide/workdir/Iterators and Closures/Standard Library Types/Arc) [INFO] [stderr] Compiling tuples v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Data Types/Tuples) [INFO] [stderr] Compiling threads v0.1.0 (/opt/rustwide/workdir/Fearless Concurrency/Threads/Threads Task) [INFO] [stderr] Compiling slices v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Data Types/Slices) [INFO] [stdout] warning: constant is never used: `APPLE` [INFO] [stdout] --> Modules and Macros/Modules/Public Modifier 2/src/main.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub const APPLE: &'static str = "Apple"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CARROT` [INFO] [stdout] --> Modules and Macros/Modules/Public Modifier 2/src/main.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub const CARROT: &'static str = "Carrot"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling mutable_argument v0.1.0 (/opt/rustwide/workdir/Understanding Ownership/Move Semantics/Mutable Argument) [INFO] [stderr] Compiling strings_and_strs v0.1.0 (/opt/rustwide/workdir/Common Collections/String Test/Strings and strs) [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] [stderr] error: could not compile `matching_result` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustc --crate-name tests --edition=2018 'Recoverable and Unrecoverable Errors/Error Handling/Matching Result/tests/tests.rs' --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test -C metadata=02e86cc8cf314478 -C extra-filename=-02e86cc8cf314478 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern matching_result=/opt/rustwide/target/debug/deps/libmatching_result-a1b84bb813fa0479.rlib --cap-lints=warn` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] [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: 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] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 6 - pub fn read_and_validate(b: &mut io::BufRead) -> Result> { [INFO] [stdout] 6 + pub fn read_and_validate(b: &mut dyn io::BufRead) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `APPLE` [INFO] [stdout] --> Modules and Macros/Modules/Public Modifier 2/src/main.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub const APPLE: &'static str = "Apple"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CARROT` [INFO] [stdout] --> Modules and Macros/Modules/Public Modifier 2/src/main.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub const CARROT: &'static str = "Carrot"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread::Thread` [INFO] [stdout] --> Fearless Concurrency/Threads/Threads Task/tests/tests.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::thread::Thread; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PanicInfo` [INFO] [stdout] --> Introduction/Getting started/Hello World/tests/tests.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use std::panic::{PanicInfo}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> Common Programming Concepts/Data Types/Tuple Index/tests/tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> Introduction/Getting started/Hello World/tests/tests.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> Common Programming Concepts/Data Types/Tuples/tests/tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains unused formatting placeholders [INFO] [stdout] --> Common Programming Concepts/Data Types/Tuples/tests/tests.rs:21:60 [INFO] [stdout] | [INFO] [stdout] 21 | assert!(actual_as_string.contains(expected_is), "The \"{} is {} years old\" line is missing from the output "); [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in Rust 2021 [INFO] [stdout] help: add the missing arguments [INFO] [stdout] | [INFO] [stdout] 21 | assert!(actual_as_string.contains(expected_is), "The \"{} is {} years old\" line is missing from the output ", ...); [INFO] [stdout] | +++++ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 21 | assert!(actual_as_string.contains(expected_is), "{}", "The \"{} is {} years old\" line is missing from the output "); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> Recoverable and Unrecoverable Errors/Error Handling/Matching Result 2/src/main.rs:9:26 [INFO] [stdout] | [INFO] [stdout] 9 | Err(e) => panic!(e), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 9 | Err(e) => panic!("{}", e), [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 9 | Err(e) => std::panic::panic_any(e), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains unused formatting placeholders [INFO] [stdout] --> Common Programming Concepts/Data Types/Tuples/tests/tests.rs:22:61 [INFO] [stdout] | [INFO] [stdout] 22 | assert!(actual_as_string.contains(expected_old), "The \"{} is {} years old\" line is missing from the output "); [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in Rust 2021 [INFO] [stdout] help: add the missing arguments [INFO] [stdout] | [INFO] [stdout] 22 | assert!(actual_as_string.contains(expected_old), "The \"{} is {} years old\" line is missing from the output ", ...); [INFO] [stdout] | +++++ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 22 | assert!(actual_as_string.contains(expected_old), "{}", "The \"{} is {} years old\" line is missing from the output "); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains unused formatting placeholders [INFO] [stdout] --> Common Programming Concepts/Data Types/Tuples/tests/tests.rs:23:63 [INFO] [stdout] | [INFO] [stdout] 23 | assert!(actual_as_string.contains(expected_years), "The \"{} is {} years old\" line is missing from the output "); [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in Rust 2021 [INFO] [stdout] help: add the missing arguments [INFO] [stdout] | [INFO] [stdout] 23 | assert!(actual_as_string.contains(expected_years), "The \"{} is {} years old\" line is missing from the output ", ...); [INFO] [stdout] | +++++ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 23 | assert!(actual_as_string.contains(expected_years), "{}", "The \"{} is {} years old\" line is missing from the output "); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error` [INFO] [stdout] --> Recoverable and Unrecoverable Errors/Error Handling/Multiple Errors/tests/tests.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::error; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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: 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] [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: `thread` [INFO] [stdout] --> Iterators and Closures/Standard Library Types/Arc/tests/tests.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{thread}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread::Thread` [INFO] [stdout] --> Iterators and Closures/Standard Library Types/Arc/tests/tests.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::thread::Thread; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> Iterators and Closures/Standard Library Types/Arc/tests/tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufRead` [INFO] [stdout] --> Iterators and Closures/Standard Library Types/Arc/tests/tests.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::{BufReader, BufRead, Read}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> Iterators and Closures/Standard Library Types/Arc/tests/tests.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let mut actual = match actual_command { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> Iterators and Closures/Standard Library Types/Arc/tests/tests.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | actual_stdout.read_to_string(&mut actual_as_string); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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" "ddc93e47feedfd86e74ac7c75931482775ecdf29964b8d2cb42dccac7bc71ba9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ddc93e47feedfd86e74ac7c75931482775ecdf29964b8d2cb42dccac7bc71ba9", kill_on_drop: false }` [INFO] [stdout] ddc93e47feedfd86e74ac7c75931482775ecdf29964b8d2cb42dccac7bc71ba9