[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.55.0 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLearningByExample%2Frustlings" "/workspace/builds/worker-56/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-56/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LearningByExample/rustlings on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.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-56/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.55.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] [stderr] Downloaded serde v1.0.113 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-56/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-56/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3195f0bd17d8a6e33ba92ce3660510577b3cdb3704cf632a510c78fd26c3bbbc [INFO] running `Command { std: "docker" "start" "-a" "3195f0bd17d8a6e33ba92ce3660510577b3cdb3704cf632a510c78fd26c3bbbc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3195f0bd17d8a6e33ba92ce3660510577b3cdb3704cf632a510c78fd26c3bbbc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3195f0bd17d8a6e33ba92ce3660510577b3cdb3704cf632a510c78fd26c3bbbc", kill_on_drop: false }` [INFO] [stdout] 3195f0bd17d8a6e33ba92ce3660510577b3cdb3704cf632a510c78fd26c3bbbc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-56/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-56/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f3492f20f5f8b1dfc31350bb9648bad6091452e56889ad03accf8eb6281fb326 [INFO] running `Command { std: "docker" "start" "-a" "f3492f20f5f8b1dfc31350bb9648bad6091452e56889ad03accf8eb6281fb326", 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] 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 return_type v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Functions/Return Type) [INFO] [stderr] Compiling shadowing v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Variables/Shadowing) [INFO] [stderr] Compiling errorsn v0.1.0 (/opt/rustwide/workdir/Recoverable and Unrecoverable Errors/Error Handling/Multiple Errors) [INFO] [stderr] Compiling the_slice_type v0.1.0 (/opt/rustwide/workdir/Understanding Ownership/Move Semantics/The Slice Type) [INFO] [stderr] Compiling matching_result_2 v0.1.0 (/opt/rustwide/workdir/Recoverable and Unrecoverable Errors/Error Handling/Matching Result 2) [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 references_and_borrowing v0.1.0 (/opt/rustwide/workdir/Understanding Ownership/Move Semantics/References and Borrowing) [INFO] [stderr] Compiling variables_and_mutability v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Variables/Variables and Mutability) [INFO] [stderr] Compiling move_semantics_intro v0.1.0 (/opt/rustwide/workdir/Understanding Ownership/Move Semantics/Intro) [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 assert v0.1.0 (/opt/rustwide/workdir/Writing Automated Tests/Tests/Assert) [INFO] [stderr] Compiling repetition_with_loops v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/If/Repetition with Loops) [INFO] [stderr] Compiling variables3 v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Variables/Variables 3) [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 testing_task v0.1.0 (/opt/rustwide/workdir/Writing Automated Tests/Tests/Testing Task) [INFO] [stderr] Compiling modules_intro v0.1.0 (/opt/rustwide/workdir/Modules and Macros/Modules/Intro) [INFO] [stderr] Compiling defining_a_function v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Functions/Defining a Function) [INFO] [stderr] Compiling assert_eq v0.1.0 (/opt/rustwide/workdir/Writing Automated Tests/Tests/Assert_Eq) [INFO] [stderr] Compiling result1 v0.1.0 (/opt/rustwide/workdir/Recoverable and Unrecoverable Errors/Error Handling/Result) [INFO] [stderr] Compiling if_task v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/If/If Task) [INFO] [stderr] Compiling extensible_concurrency_with_the_sync_and_send_traits v0.1.0 (/opt/rustwide/workdir/Fearless Concurrency/Threads/Extensible Concurrency with the Sync and Send Traits) [INFO] [stderr] Compiling returning_a_string v0.1.0 (/opt/rustwide/workdir/Common Collections/Strings/Returning a String) [INFO] [stderr] Compiling iterator3 v0.1.0 (/opt/rustwide/workdir/Iterators and Closures/Standard Library Types/Iterator) [INFO] [stderr] Compiling string_slice v0.1.0 (/opt/rustwide/workdir/Common Collections/Strings/String Slice) [INFO] [stderr] Compiling scalar_types v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Data Types/Scalar Types) [INFO] [stderr] Compiling returning_result v0.1.0 (/opt/rustwide/workdir/Recoverable and Unrecoverable Errors/Error Handling/Returning 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 macro_arms v0.1.0 (/opt/rustwide/workdir/Modules and Macros/Macros/Macro Arms) [INFO] [stderr] Compiling installation v0.1.0 (/opt/rustwide/workdir/Introduction/Getting started/Installation) [INFO] [stderr] Compiling generic_data_types v0.1.0 (/opt/rustwide/workdir/Recoverable and Unrecoverable Errors/Error Handling/Generic Data Types) [INFO] [stderr] Compiling error_handling_intro v0.1.0 (/opt/rustwide/workdir/Recoverable and Unrecoverable Errors/Error Handling/Intro) [INFO] [stderr] Compiling about v0.1.0 (/opt/rustwide/workdir/Introduction/Getting started/About) [INFO] [stderr] Compiling threads_intro v0.1.0 (/opt/rustwide/workdir/Fearless Concurrency/Threads/Intro) [INFO] [stderr] Compiling calculate_price v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Variables and Functions Test/Calculate Price) [INFO] [stderr] Compiling passing_an_argument v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Functions/Passing an Argument) [INFO] [stderr] Compiling functions_intro v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Functions/Intro) [INFO] [stderr] Compiling charcaters v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Data Types/Characters) [INFO] [stderr] Compiling compound_types v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Data Types/Compound Types) [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 matching_result v0.1.0 (/opt/rustwide/workdir/Recoverable and Unrecoverable Errors/Error Handling/Matching Result) [INFO] [stderr] Compiling borrow v0.1.0 (/opt/rustwide/workdir/Understanding Ownership/Move Semantics/Borrow) [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 macros3 v0.1.0 (/opt/rustwide/workdir/Modules and Macros/Macros/Outside of Module) [INFO] [stderr] Compiling adding_custom_failure_messages v0.1.0 (/opt/rustwide/workdir/Writing Automated Tests/Tests/Adding Custom Failure Messages) [INFO] [stderr] Compiling stdlib_intro v0.1.0 (/opt/rustwide/workdir/Iterators and Closures/Standard Library Types/Intro) [INFO] [stderr] Compiling macros_intro v0.1.0 (/opt/rustwide/workdir/Modules and Macros/Macros/Intro) [INFO] [stderr] Compiling variables_intro v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Variables/Intro) [INFO] [stderr] Compiling iterators4 v0.1.0 (/opt/rustwide/workdir/Iterators and Closures/Standard Library Types/Factorial) [INFO] [stderr] Compiling if_intro v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/If/Intro) [INFO] [stderr] Compiling variables4 v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Variables/Variables 4) [INFO] [stderr] Compiling statements_and_expressions v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Functions/Statements and Expressions) [INFO] [stderr] Compiling variables2 v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Variables/Variables 2) [INFO] [stderr] Compiling strings_intro v0.1.0 (/opt/rustwide/workdir/Common Collections/Strings/Intro) [INFO] [stderr] Compiling else_if v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/If/else if) [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 calling_a_macro v0.1.0 (/opt/rustwide/workdir/Modules and Macros/Macros/Calling a Macro) [INFO] [stderr] Compiling return_a_value v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Functions/Return a Value) [INFO] [stderr] Compiling macros2 v0.1.0 (/opt/rustwide/workdir/Modules and Macros/Macros/Declaring a Macro) [INFO] [stderr] Compiling shared_state_concurrency v0.1.0 (/opt/rustwide/workdir/Iterators and Closures/Standard Library Types/Shared-State Concurrency) [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] = 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 issue #80165 [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] [stderr] Compiling arrays v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Data Types/Arrays) [INFO] [stderr] Compiling times_two_tests v0.1.0 (/opt/rustwide/workdir/Writing Automated Tests/Tests Test/Times Two Tests) [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: 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: 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: 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: 2 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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning 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: 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 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: 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 public_modifier v0.1.0 (/opt/rustwide/workdir/Modules and Macros/Modules/Public Modifier) [INFO] [stderr] Compiling threads v0.1.0 (/opt/rustwide/workdir/Fearless Concurrency/Threads/Threads Task) [INFO] [stderr] Compiling mutable_argument v0.1.0 (/opt/rustwide/workdir/Understanding Ownership/Move Semantics/Mutable Argument) [INFO] [stderr] Compiling slices v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Data Types/Slices) [INFO] [stderr] Compiling arc1 v0.1.0 (/opt/rustwide/workdir/Iterators and Closures/Standard Library Types/Arc) [INFO] [stderr] Compiling public_modifier_2 v0.1.0 (/opt/rustwide/workdir/Modules and Macros/Modules/Public Modifier 2) [INFO] [stderr] Compiling strings_and_strs v0.1.0 (/opt/rustwide/workdir/Common Collections/String Test/Strings and strs) [INFO] [stderr] Compiling hello_world v0.1.0 (/opt/rustwide/workdir/Introduction/Getting started/Hello World) [INFO] [stderr] Compiling without_arguments v0.1.0 (/opt/rustwide/workdir/Understanding Ownership/Move Semantics/Without Arguments) [INFO] [stderr] Compiling mutable v0.1.0 (/opt/rustwide/workdir/Understanding Ownership/Move Semantics/Mutable) [INFO] [stderr] Compiling tuples v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Data Types/Tuples) [INFO] [stderr] Compiling option v0.1.0 (/opt/rustwide/workdir/Recoverable and Unrecoverable Errors/Error Handling/Option) [INFO] [stderr] Compiling tuple_index v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Data Types/Tuple Index) [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 2m 04s [INFO] running `Command { std: "docker" "inspect" "f3492f20f5f8b1dfc31350bb9648bad6091452e56889ad03accf8eb6281fb326", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3492f20f5f8b1dfc31350bb9648bad6091452e56889ad03accf8eb6281fb326", kill_on_drop: false }` [INFO] [stdout] f3492f20f5f8b1dfc31350bb9648bad6091452e56889ad03accf8eb6281fb326 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-56/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-56/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 89bec6b9b0e4cbb9a1f808617980fdf2c0b7895c7942abf6aff4b425d44d8c58 [INFO] running `Command { std: "docker" "start" "-a" "89bec6b9b0e4cbb9a1f808617980fdf2c0b7895c7942abf6aff4b425d44d8c58", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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] = 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 issue #80165 [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: 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] [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] [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] [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] [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] Compiling returning_a_string v0.1.0 (/opt/rustwide/workdir/Common Collections/Strings/Returning a String) [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling macros2 v0.1.0 (/opt/rustwide/workdir/Modules and Macros/Macros/Declaring a Macro) [INFO] [stderr] Compiling shared_state_concurrency v0.1.0 (/opt/rustwide/workdir/Iterators and Closures/Standard Library Types/Shared-State Concurrency) [INFO] [stderr] Compiling strings_intro v0.1.0 (/opt/rustwide/workdir/Common Collections/Strings/Intro) [INFO] [stderr] Compiling variables1 v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Variables/Variables 1) [INFO] [stderr] Compiling compound_types v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Data Types/Compound Types) [INFO] [stderr] Compiling string_slice v0.1.0 (/opt/rustwide/workdir/Common Collections/Strings/String Slice) [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 assert v0.1.0 (/opt/rustwide/workdir/Writing Automated Tests/Tests/Assert) [INFO] [stderr] Compiling matching_result_2 v0.1.0 (/opt/rustwide/workdir/Recoverable and Unrecoverable Errors/Error Handling/Matching Result 2) [INFO] [stderr] Compiling if_intro v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/If/Intro) [INFO] [stderr] Compiling returning_result v0.1.0 (/opt/rustwide/workdir/Recoverable and Unrecoverable Errors/Error Handling/Returning Result) [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 result1 v0.1.0 (/opt/rustwide/workdir/Recoverable and Unrecoverable Errors/Error Handling/Result) [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling about v0.1.0 (/opt/rustwide/workdir/Introduction/Getting started/About) [INFO] [stderr] Compiling adding_custom_failure_messages v0.1.0 (/opt/rustwide/workdir/Writing Automated Tests/Tests/Adding Custom Failure Messages) [INFO] [stderr] Compiling return_a_value v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Functions/Return a Value) [INFO] [stderr] Compiling charcaters v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Data Types/Characters) [INFO] [stderr] Compiling iterators4 v0.1.0 (/opt/rustwide/workdir/Iterators and Closures/Standard Library Types/Factorial) [INFO] [stderr] Compiling stdlib_intro v0.1.0 (/opt/rustwide/workdir/Iterators and Closures/Standard Library Types/Intro) [INFO] [stderr] Compiling statements_and_expressions v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Functions/Statements and Expressions) [INFO] [stderr] Compiling references_and_borrowing v0.1.0 (/opt/rustwide/workdir/Understanding Ownership/Move Semantics/References and Borrowing) [INFO] [stderr] Compiling assert_eq v0.1.0 (/opt/rustwide/workdir/Writing Automated Tests/Tests/Assert_Eq) [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 modules_intro v0.1.0 (/opt/rustwide/workdir/Modules and Macros/Modules/Intro) [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 calling_a_macro v0.1.0 (/opt/rustwide/workdir/Modules and Macros/Macros/Calling a Macro) [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [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 else_if v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/If/else if) [INFO] [stderr] Compiling arrays v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Data Types/Arrays) [INFO] [stderr] Compiling passing_an_argument v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Functions/Passing an Argument) [INFO] [stderr] Compiling macro_arms v0.1.0 (/opt/rustwide/workdir/Modules and Macros/Macros/Macro Arms) [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 scalar_types v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Data Types/Scalar Types) [INFO] [stderr] Compiling generic_data_types v0.1.0 (/opt/rustwide/workdir/Recoverable and Unrecoverable Errors/Error Handling/Generic Data Types) [INFO] [stderr] Compiling variables2 v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Variables/Variables 2) [INFO] [stderr] Compiling installation v0.1.0 (/opt/rustwide/workdir/Introduction/Getting started/Installation) [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 borrow v0.1.0 (/opt/rustwide/workdir/Understanding Ownership/Move Semantics/Borrow) [INFO] [stderr] Compiling boolean v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Data Types/Boolean) [INFO] [stderr] Compiling matching_result v0.1.0 (/opt/rustwide/workdir/Recoverable and Unrecoverable Errors/Error Handling/Matching Result) [INFO] [stderr] Compiling iterator3 v0.1.0 (/opt/rustwide/workdir/Iterators and Closures/Standard Library Types/Iterator) [INFO] [stderr] Compiling calculate_price v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Variables and Functions Test/Calculate Price) [INFO] [stderr] Compiling return_type v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Functions/Return Type) [INFO] [stderr] Compiling macros3 v0.1.0 (/opt/rustwide/workdir/Modules and Macros/Macros/Outside of Module) [INFO] [stderr] Compiling the_slice_type v0.1.0 (/opt/rustwide/workdir/Understanding Ownership/Move Semantics/The Slice Type) [INFO] [stderr] Compiling move_semantics_intro v0.1.0 (/opt/rustwide/workdir/Understanding Ownership/Move Semantics/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 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 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 threads_intro v0.1.0 (/opt/rustwide/workdir/Fearless Concurrency/Threads/Intro) [INFO] [stderr] Compiling variables_intro v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Variables/Intro) [INFO] [stderr] Compiling functions_intro v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Functions/Intro) [INFO] [stderr] Compiling shadowing v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Variables/Shadowing) [INFO] [stderr] Compiling repetition_with_loops v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/If/Repetition with Loops) [INFO] [stderr] Compiling variables_and_mutability v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Variables/Variables and Mutability) [INFO] [stderr] Compiling macro_test v0.1.0 (/opt/rustwide/workdir/Modules and Macros/Macros and Modules Test/Test Task) [INFO] [stderr] Compiling tests_intro v0.1.0 (/opt/rustwide/workdir/Writing Automated Tests/Tests/Intro) [INFO] [stderr] Compiling macros_intro v0.1.0 (/opt/rustwide/workdir/Modules and Macros/Macros/Intro) [INFO] [stderr] Compiling errorsn v0.1.0 (/opt/rustwide/workdir/Recoverable and Unrecoverable Errors/Error Handling/Multiple Errors) [INFO] [stderr] Compiling if_task v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/If/If Task) [INFO] [stderr] Compiling variables4 v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Variables/Variables 4) [INFO] [stderr] Compiling times_two_tests v0.1.0 (/opt/rustwide/workdir/Writing Automated Tests/Tests Test/Times Two Tests) [INFO] [stderr] Compiling testing_task v0.1.0 (/opt/rustwide/workdir/Writing Automated Tests/Tests/Testing Task) [INFO] [stderr] Compiling error_handling_intro v0.1.0 (/opt/rustwide/workdir/Recoverable and Unrecoverable Errors/Error Handling/Intro) [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 mutable v0.1.0 (/opt/rustwide/workdir/Understanding Ownership/Move Semantics/Mutable) [INFO] [stderr] Compiling tuples v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Data Types/Tuples) [INFO] [stderr] Compiling option v0.1.0 (/opt/rustwide/workdir/Recoverable and Unrecoverable Errors/Error Handling/Option) [INFO] [stderr] Compiling strings_and_strs v0.1.0 (/opt/rustwide/workdir/Common Collections/String Test/Strings and strs) [INFO] [stderr] Compiling hello_world v0.1.0 (/opt/rustwide/workdir/Introduction/Getting started/Hello World) [INFO] [stderr] Compiling threads v0.1.0 (/opt/rustwide/workdir/Fearless Concurrency/Threads/Threads Task) [INFO] [stderr] Compiling public_modifier v0.1.0 (/opt/rustwide/workdir/Modules and Macros/Modules/Public Modifier) [INFO] [stderr] Compiling without_arguments v0.1.0 (/opt/rustwide/workdir/Understanding Ownership/Move Semantics/Without Arguments) [INFO] [stderr] Compiling arc1 v0.1.0 (/opt/rustwide/workdir/Iterators and Closures/Standard Library Types/Arc) [INFO] [stderr] Compiling mutable_argument v0.1.0 (/opt/rustwide/workdir/Understanding Ownership/Move Semantics/Mutable Argument) [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] [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 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: 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] | ^^^^^^^^^^^ help: use `dyn`: `dyn io::BufRead` [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 issue #80165 [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] [stderr] error: could not compile `errorsn`; 1 warning emitted [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/Multiple Errors/tests/tests.rs' --error-format=json --json=diagnostic-rendered-ansi --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test -C metadata=292c887413d77185 -C extra-filename=-292c887413d77185 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern errorsn=/opt/rustwide/target/debug/deps/liberrorsn-d4e52a452f3120c6.rlib --cap-lints=warn` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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: 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: 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: 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: `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] --> 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::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::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: variable does not need to be mutable [INFO] [stdout] --> Fearless Concurrency/Threads/Threads Task/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] --> Fearless Concurrency/Threads/Threads Task/tests/tests.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | actual_stdout.read_line(&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: 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: `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: 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] [stderr] {"message":"panic message contains unused formatting placeholders","code":{"code":"non_fmt_panics","explanation":null},"level":"warning","spans":[{"file_name":"Common Programming Concepts/Data Types/Tuples/tests/tests.rs","byte_start":692,"byte_end":694,"line_start":22,"line_end":22,"column_start":61,"column_end":63,"is_primary":true,"text":[{"text":" assert!(actual_as_string.contains(expected_old), \"The \\\"{} is {} years old\\\" line is missing from the output \");","highlight_start":61,"highlight_end":63}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"Common Programming Concepts/Data Types/Tuples/tests/tests.rs","byte_start":698,"byte_end":700,"line_start":22,"line_end":22,"column_start":67,"column_end":69,"is_primary":true,"text":[{"text":" assert!(actual_as_string.contains(expected_old), \"The \\\"{} is {} years old\\\" line is missing from the output \");","highlight_start":67,"highlight_end":69}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"this message is not used as a format string when given without arguments, but will be in Rust 2021","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"add the missing arguments","code":null,"level":"help","spans":[{"file_name":"Common Programming Concepts/Data Types/Tuples/tests/tests.rs","byte_start":746,"byte_end":746,"line_start":22,"line_end":22,"column_start":115,"column_end":115,"is_primary":true,"text":[{"text":" assert!(actual_as_string.contains(expected_old), \"The \\\"{} is {} years old\\\" line is missing from the output \");","highlight_start":115,"highlight_end":115}],"label":null,"suggested_replacement":", ...","suggestion_applicability":"HasPlaceholders","expansion":null}],"children":[],"rendered":null},{"message":"or add a \"{}\" format string to use the message literally","code":null,"level":"help","spans":[{"file_name":"Common Programming Concepts/Data Types/Tuples/tests/tests.rs","byte_start":685,"byte_end":685,"line_start":22,"line_end":22,"column_start":54,"column_end":54,"is_primary":true,"text":[{"text":" assert!(actual_as_string.contains(expected_old), \"The \\\"{} is {} years old\\\" line is missing from the output \");","highlight_start":54,"highlight_end":54}],"label":null,"suggested_replacement":"\"{}\", ","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[0m\u001b[1m\u001b[33mwarning\u001b[0m\u001b[0m\u001b[1m: panic message contains unused formatting placeholders\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m--> \u001b[0m\u001b[0mCommon Programming Concepts/Data Types/Tuples/tests/tests.rs:22:61\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\n\u001b[0m\u001b[1m\u001b[38;5;12m22\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m| \u001b[0m\u001b[0m assert!(actual_as_string.contains(expected_old), \"The \\\"{} is {} years old\\\" line is missing from the output \");\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m| \u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[33m^^\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[33m^^\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m= \u001b[0m\u001b[0m\u001b[1mnote\u001b[0m\u001b[0m: this message is not used as a format string when given without arguments, but will be in Rust 2021\u001b[0m\n\u001b[0m\u001b[1m\u001b[38;5;14mhelp\u001b[0m\u001b[0m: add the missing arguments\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\n\u001b[0m\u001b[1m\u001b[38;5;12m22\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m| \u001b[0m\u001b[0m assert!(actual_as_string.contains(expected_old), \"The \\\"{} is {} years old\\\" line is missing from the output \", ...);\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m| \u00 [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "89bec6b9b0e4cbb9a1f808617980fdf2c0b7895c7942abf6aff4b425d44d8c58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89bec6b9b0e4cbb9a1f808617980fdf2c0b7895c7942abf6aff4b425d44d8c58", kill_on_drop: false }` [INFO] [stdout] 89bec6b9b0e4cbb9a1f808617980fdf2c0b7895c7942abf6aff4b425d44d8c58