[INFO] cloning repository https://github.com/ThamizhiniyanCS/jetbrains-academy-learn-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ThamizhiniyanCS/jetbrains-academy-learn-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThamizhiniyanCS%2Fjetbrains-academy-learn-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThamizhiniyanCS%2Fjetbrains-academy-learn-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 65f7172d47a08d0f8ebe154b33af91cf4a132969 [INFO] checking ThamizhiniyanCS/jetbrains-academy-learn-rust against master#82310651b93a594a3fd69015e1562186a080d94c for pr-145770 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThamizhiniyanCS%2Fjetbrains-academy-learn-rust" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ThamizhiniyanCS/jetbrains-academy-learn-rust [INFO] finished tweaking git repo https://github.com/ThamizhiniyanCS/jetbrains-academy-learn-rust [INFO] tweaked toml for git repo https://github.com/ThamizhiniyanCS/jetbrains-academy-learn-rust written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ThamizhiniyanCS/jetbrains-academy-learn-rust on toolchain 82310651b93a594a3fd69015e1562186a080d94c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ThamizhiniyanCS/jetbrains-academy-learn-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded escargot v0.5.13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] daf1ed74d249d648fa2c63da9a5cc7b2da7d3b8dad9bd9995cc6a6da5f627024 [INFO] running `Command { std: "docker" "start" "-a" "daf1ed74d249d648fa2c63da9a5cc7b2da7d3b8dad9bd9995cc6a6da5f627024", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "daf1ed74d249d648fa2c63da9a5cc7b2da7d3b8dad9bd9995cc6a6da5f627024", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "daf1ed74d249d648fa2c63da9a5cc7b2da7d3b8dad9bd9995cc6a6da5f627024", kill_on_drop: false }` [INFO] [stdout] daf1ed74d249d648fa2c63da9a5cc7b2da7d3b8dad9bd9995cc6a6da5f627024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] becb8a4ac8111154e153f5ab28cdb28986d4619bb19af2ca2505f053c1c32112 [INFO] running `Command { std: "docker" "start" "-a" "becb8a4ac8111154e153f5ab28cdb28986d4619bb19af2ca2505f053c1c32112", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Compiling escargot v0.5.13 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking once_cell v1.21.1 [INFO] [stderr] Checking log v0.4.26 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling zerocopy v0.8.23 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking hello_macro v0.1.0 (/opt/rustwide/workdir/Macros/Procedural Macros/hello_macro) [INFO] [stderr] Checking advanced_errors_2 v0.1.0 (/opt/rustwide/workdir/Error Handling/Errors Primer/Advanced Errors 2) [INFO] [stderr] Checking modifying_a_hashmap v0.1.0 (/opt/rustwide/workdir/Common Collections/Hashmaps/More Fruits) [INFO] [stderr] Checking string_transformer v0.1.0 (/opt/rustwide/workdir/Common Collections/Strings/String Transformer) [INFO] [stderr] Checking loop_over_a_vector v0.1.0 (/opt/rustwide/workdir/Common Collections/Vectors/Loop Over a Vector) [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> Error Handling/Errors Primer/Advanced Errors 2/src/lib.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | _ => write!(f, "unhandled error!"), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> Error Handling/Errors Primer/Advanced Errors 2/src/lib.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 44 | NoCity => write!(f, "no city name"), [INFO] [stdout] | ------ matches some of the same values [INFO] [stdout] 45 | ParseFloat(e) => write!(f, "error parsing temperature: {}", e), [INFO] [stdout] | ------------- matches some of the same values [INFO] [stdout] 46 | Empty => write!(f, "empty input"), [INFO] [stdout] | ----- matches some of the same values [INFO] [stdout] 47 | BadLen => write!(f, "incorrect number of fields"), [INFO] [stdout] | ------ matches some of the same values [INFO] [stdout] 48 | ParseInt(e) => write!(f, "error parsing year: {}", e), [INFO] [stdout] 49 | _ => write!(f, "unhandled error!"), [INFO] [stdout] | ^ ...and 1 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `year` [INFO] [stdout] --> Error Handling/Errors Primer/Advanced Errors 2/src/lib.rs:69:20 [INFO] [stdout] | [INFO] [stdout] 69 | [city, year, temp] if city.is_empty() => return Err(ParseClimateError::NoCity), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_year` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `temp` [INFO] [stdout] --> Error Handling/Errors Primer/Advanced Errors 2/src/lib.rs:69:26 [INFO] [stdout] | [INFO] [stdout] 69 | [city, year, temp] if city.is_empty() => return Err(ParseClimateError::NoCity), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_temp` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking license_it v0.1.0 (/opt/rustwide/workdir/Generic Types, Traits, and Lifetime/Traits/License It) [INFO] [stderr] Checking lamp_with_switchers v0.1.0 (/opt/rustwide/workdir/Standard Library Types/Smart Pointers/Switch the Lamp) [INFO] [stderr] Checking from_into v0.1.0 (/opt/rustwide/workdir/Standard Library Types/Type Conversions/From Into) [INFO] [stderr] Checking count_progress v0.1.0 (/opt/rustwide/workdir/Standard Library Types/Iterators/Count Progress) [INFO] [stderr] Checking advanced_errors v0.1.0 (/opt/rustwide/workdir/Error Handling/Errors Primer/Advanced Errors) [INFO] [stderr] Checking build_team_scores_table v0.1.0 (/opt/rustwide/workdir/Common Collections/Hashmaps/Build Scores Table) [INFO] [stderr] Checking compare_licenses v0.1.0 (/opt/rustwide/workdir/Generic Types, Traits, and Lifetime/Traits/Compare Licenses) [INFO] [stderr] Checking trait_bound_syntax v0.1.0 (/opt/rustwide/workdir/Generic Types, Traits, and Lifetime/Traits/Trait Bound Syntax) [INFO] [stderr] Checking loop_over_vector_with_iterators v0.1.0 (/opt/rustwide/workdir/Standard Library Types/Iterators/Loop Over Vector With Iterators) [INFO] [stderr] Checking process_some_strings v0.1.0 (/opt/rustwide/workdir/Common Collections/Strings/Process Some Strings) [INFO] [stderr] Checking declaring_a_vector v0.1.0 (/opt/rustwide/workdir/Common Collections/Vectors/Create a Vector on Your Own) [INFO] [stderr] Checking add_conditions v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Conditions/Add Conditions) [INFO] [stderr] Checking try_from_into v0.1.0 (/opt/rustwide/workdir/Standard Library Types/Type Conversions/Try From Into) [INFO] [stderr] Checking declaring_a_hashmap v0.1.0 (/opt/rustwide/workdir/Common Collections/Hashmaps/Fruits Delivery) [INFO] [stderr] Checking combine_traits v0.1.0 (/opt/rustwide/workdir/Generic Types, Traits, and Lifetime/Traits/Combine Traits) [INFO] [stderr] Checking asref_and_asmut v0.1.0 (/opt/rustwide/workdir/Standard Library Types/Type Conversions/AsRef and AsMut) [INFO] [stderr] Checking fromstr v0.1.0 (/opt/rustwide/workdir/Standard Library Types/Type Conversions/FromStr) [INFO] [stderr] Checking errors6 v0.1.0 (/opt/rustwide/workdir/Error Handling/Errors Primer/Custom Errors) [INFO] [stderr] Checking vec_trait v0.1.0 (/opt/rustwide/workdir/Generic Types, Traits, and Lifetime/Traits/Vec Trait) [INFO] [stderr] Checking count_typed_cells v0.1.0 (/opt/rustwide/workdir/Common Collections/Vectors/Count Typed Cells) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> Generic Types, Traits, and Lifetime/Traits/Combine Traits/src/lib.rs:21:24 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn some_func(item: (impl SomeTrait + OtherTrait)) -> bool { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 21 - pub fn some_func(item: (impl SomeTrait + OtherTrait)) -> bool { [INFO] [stdout] 21 + pub fn some_func(item: impl SomeTrait + OtherTrait) -> bool { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking box_task v0.1.0 (/opt/rustwide/workdir/Standard Library Types/Smart Pointers/Box Task) [INFO] [stderr] Checking using_as v0.1.0 (/opt/rustwide/workdir/Standard Library Types/Type Conversions/Using As) [INFO] [stderr] Checking string_trait v0.1.0 (/opt/rustwide/workdir/Generic Types, Traits, and Lifetime/Traits/String Trait) [INFO] [stderr] Checking generics_in_structs v0.1.0 (/opt/rustwide/workdir/Generic Types, Traits, and Lifetime/Generic Data Types/Generics in Structs) [INFO] [stderr] Checking capitalize_first v0.1.0 (/opt/rustwide/workdir/Standard Library Types/Iterators/Capitalize first) [INFO] [stderr] Checking trim_a_string v0.1.0 (/opt/rustwide/workdir/Understanding Ownership/The Slice Type/Trim a String) [INFO] [stderr] Checking errors5 v0.1.0 (/opt/rustwide/workdir/Error Handling/Errors Primer/Multiple Errors) [INFO] [stderr] Checking home_alone v0.1.0 (/opt/rustwide/workdir/Modules/Modules/Home Alone at Day X) [INFO] [stderr] Checking use_cow v0.1.0 (/opt/rustwide/workdir/Standard Library Types/Smart Pointers/Use Cow) [INFO] [stderr] Checking workers_in_the_engine v0.1.0 (/opt/rustwide/workdir/Standard Library Types/Smart Pointers/Workers in the Engine) [INFO] [stderr] Checking optional_value v0.1.0 (/opt/rustwide/workdir/Common Collections/Options/Optional Value) [INFO] [stderr] Checking iterator3 v0.1.0 (/opt/rustwide/workdir/Standard Library Types/Iterators/Iterator) [INFO] [stderr] Checking times_two_tests v0.1.0 (/opt/rustwide/workdir/Writing Automated Tests/Running and Organizing Tests/Times Two Tests) [INFO] [stderr] Checking submodules v0.1.0 (/opt/rustwide/workdir/Writing Automated Tests/Running and Organizing Tests/Submodules in Integration Tests) [INFO] [stdout] warning: unused imports: `DivideByZero` and `NotDivisible` [INFO] [stdout] --> Standard Library Types/Iterators/Iterator/src/lib.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::DivisionError::{DivideByZero, NotDivisible}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking calculate_price v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Variables, Functions, and Conditions Test/Calculate Price) [INFO] [stderr] Checking iterators4 v0.1.0 (/opt/rustwide/workdir/Standard Library Types/Iterators/Factorial) [INFO] [stderr] Checking matching_result v0.1.0 (/opt/rustwide/workdir/Error Handling/Error Handling/Matching Result) [INFO] [stderr] Checking returning_result v0.1.0 (/opt/rustwide/workdir/Error Handling/Error Handling/Returning Result) [INFO] [stderr] Checking if_task v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Conditions/If Task) [INFO] [stderr] Checking use_option v0.1.0 (/opt/rustwide/workdir/Common Collections/Options/Use Option) [INFO] [stderr] Checking integration_tests v0.1.0 (/opt/rustwide/workdir/Writing Automated Tests/Running and Organizing Tests/Integration Tests) [INFO] [stderr] Checking result1 v0.1.0 (/opt/rustwide/workdir/Error Handling/Errors Primer/Positive Nonzero Integer) [INFO] [stderr] Checking quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking checking_results_with_the_assert_macro v0.1.0 (/opt/rustwide/workdir/Writing Automated Tests/How to Write Tests/Checking Results with the assert Macro) [INFO] [stderr] Checking example_structs v0.1.0 (/opt/rustwide/workdir/Structs, Methods, Enums, and Pattern Matching/Structs/Dealing with Rectangles) [INFO] [stderr] Checking mixing_generic_types v0.1.0 (/opt/rustwide/workdir/Generic Types, Traits, and Lifetime/Generic Data Types/Mixing Generic Types) [INFO] [stdout] warning: struct `Rectangle` is never constructed [INFO] [stdout] --> Writing Automated Tests/How to Write Tests/Checking Results with the assert Macro/src/lib.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | struct Rectangle { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `can_hold` is never used [INFO] [stdout] --> Writing Automated Tests/How to Write Tests/Checking Results with the assert Macro/src/lib.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 7 | impl Rectangle { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 8 | fn can_hold(&self, other: &Rectangle) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking borrowing_values_with_references v0.1.0 (/opt/rustwide/workdir/Understanding Ownership/References and Borrowing/Borrowing Values with References) [INFO] [stderr] Checking providing_new_names_with_the_as_keyword v0.1.0 (/opt/rustwide/workdir/Modules/Modules/Providing New Names with the as Keyword) [INFO] [stderr] Checking traits_as_parameters v0.1.0 (/opt/rustwide/workdir/Generic Types, Traits, and Lifetime/Traits/Traits as Parameters) [INFO] [stderr] Checking creating_instances_from_other_instances v0.1.0 (/opt/rustwide/workdir/Structs, Methods, Enums, and Pattern Matching/Structs/Creating Instances From Other Instances) [INFO] [stdout] warning: function `function1` is never used [INFO] [stdout] --> Modules/Modules/Providing New Names with the as Keyword/src/lib.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn function1() -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `function2` is never used [INFO] [stdout] --> Modules/Modules/Providing New Names with the as Keyword/src/lib.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn function2() -> IoResult<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking course_view v0.1.0 (/opt/rustwide/workdir/Introduction/Getting started/Course View) [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> Generic Types, Traits, and Lifetime/Traits/Traits as Parameters/src/main.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn notify2(item: &T) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `email`, `sign_in_count`, and `active` are never read [INFO] [stdout] --> Structs, Methods, Enums, and Pattern Matching/Structs/Creating Instances From Other Instances/src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 1 | struct User { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 2 | username: String, [INFO] [stdout] 3 | email: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 4 | sign_in_count: u64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 5 | active: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item1` [INFO] [stdout] --> Generic Types, Traits, and Lifetime/Traits/Traits as Parameters/src/main.rs:15:28 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn notify3(item1: &T, item2: &T) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_item1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item2` [INFO] [stdout] --> Generic Types, Traits, and Lifetime/Traits/Traits as Parameters/src/main.rs:15:39 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn notify3(item1: &T, item2: &T) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_item2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> Generic Types, Traits, and Lifetime/Traits/Traits as Parameters/src/main.rs:18:16 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn notify4(item: &(impl Summary + Display)) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> Generic Types, Traits, and Lifetime/Traits/Traits as Parameters/src/main.rs:20:38 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn notify5(item: &T) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> Generic Types, Traits, and Lifetime/Traits/Traits as Parameters/src/main.rs:23:56 [INFO] [stdout] | [INFO] [stdout] 23 | fn some_function(t: &T, u: &U) -> i32 { 0 } [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> Generic Types, Traits, and Lifetime/Traits/Traits as Parameters/src/main.rs:23:63 [INFO] [stdout] | [INFO] [stdout] 23 | fn some_function(t: &T, u: &U) -> i32 { 0 } [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> Generic Types, Traits, and Lifetime/Traits/Traits as Parameters/src/main.rs:24:25 [INFO] [stdout] | [INFO] [stdout] 24 | fn some_function2(t: &T, u: &U) -> i32 [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> Generic Types, Traits, and Lifetime/Traits/Traits as Parameters/src/main.rs:24:32 [INFO] [stdout] | [INFO] [stdout] 24 | fn some_function2(t: &T, u: &U) -> i32 [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `some_function` is never used [INFO] [stdout] --> Generic Types, Traits, and Lifetime/Traits/Traits as Parameters/src/main.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn some_function(t: &T, u: &U) -> i32 { 0 } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `some_function2` is never used [INFO] [stdout] --> Generic Types, Traits, and Lifetime/Traits/Traits as Parameters/src/main.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn some_function2(t: &T, u: &U) -> i32 [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking creating_a_new_string v0.1.0 (/opt/rustwide/workdir/Common Collections/Strings/Creating a New String) [INFO] [stderr] Checking patterns_that_bind_to_values v0.1.0 (/opt/rustwide/workdir/Structs, Methods, Enums, and Pattern Matching/Pattern Matching/Patterns that Bind to Values) [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> Common Collections/Strings/Creating a New String/src/main.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | let s = data.to_string(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> Common Collections/Strings/Creating a New String/src/main.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let s = "initial contents".to_string(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hello` [INFO] [stdout] --> Common Collections/Strings/Creating a New String/src/main.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let hello = String::from("السلام عليكم"); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hello` [INFO] [stdout] --> Common Collections/Strings/Creating a New String/src/main.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let hello = String::from("Dobrý den"); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hello` [INFO] [stdout] --> Common Collections/Strings/Creating a New String/src/main.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let hello = String::from("Hello"); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hello` [INFO] [stdout] --> Common Collections/Strings/Creating a New String/src/main.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let hello = String::from("שָׁלוֹם"); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hello` [INFO] [stdout] --> Common Collections/Strings/Creating a New String/src/main.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let hello = String::from("नमस्ते"); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hello` [INFO] [stdout] --> Common Collections/Strings/Creating a New String/src/main.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let hello = String::from("こんにちは"); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hello` [INFO] [stdout] --> Common Collections/Strings/Creating a New String/src/main.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | let hello = String::from("안녕하세요"); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hello` [INFO] [stdout] --> Common Collections/Strings/Creating a New String/src/main.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let hello = String::from("你好"); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hello` [INFO] [stdout] --> Common Collections/Strings/Creating a New String/src/main.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let hello = String::from("Olá"); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hello` [INFO] [stdout] --> Common Collections/Strings/Creating a New String/src/main.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let hello = String::from("Здравствуйте"); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hello` [INFO] [stdout] --> Common Collections/Strings/Creating a New String/src/main.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let hello = String::from("Hola"); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking hello_macro_derive v0.1.0 (/opt/rustwide/workdir/Macros/Procedural Macros/hello_macro_derive) [INFO] [stderr] Checking duplicated_code_fragments v0.1.0 (/opt/rustwide/workdir/Generic Types, Traits, and Lifetime/Intro/Duplicated Code Fragments) [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> Structs, Methods, Enums, and Pattern Matching/Pattern Matching/Patterns that Bind to Values/src/main.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | let value = value_in_cents(Coin::Quarter(UsState::Alabama)); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Alaska` is never constructed [INFO] [stdout] --> Structs, Methods, Enums, and Pattern Matching/Pattern Matching/Patterns that Bind to Values/src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 2 | enum UsState { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] 3 | Alabama, [INFO] [stdout] 4 | Alaska, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UsState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Penny`, `Nickel`, and `Dime` are never constructed [INFO] [stdout] --> Structs, Methods, Enums, and Pattern Matching/Pattern Matching/Patterns that Bind to Values/src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | enum Coin { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 9 | Penny, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | Nickel, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | Dime, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking functions_intro v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Functions/Intro) [INFO] [stderr] Checking intro_tests v0.1.0 (/opt/rustwide/workdir/Writing Automated Tests/How to Write Tests/Intro) [INFO] [stderr] Checking if_let v0.1.0 (/opt/rustwide/workdir/Structs, Methods, Enums, and Pattern Matching/Pattern Matching/If Let) [INFO] [stderr] Checking methods_that_produce_other_iterators v0.1.0 (/opt/rustwide/workdir/Standard Library Types/Iterators/Methods that Produce Other Iterators) [INFO] [stderr] Checking functions_with_return_values_ v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Functions/Functions with Return Values) [INFO] [stderr] Checking macros3 v0.1.0 (/opt/rustwide/workdir/Macros/Declarative Macros/Outside of Module) [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking channels_and_ownership_transference v0.1.0 (/opt/rustwide/workdir/Fearless Concurrency/Using Message Passing to Transfer Data Between Threads/Channels and Ownership Transference) [INFO] [stderr] Checking propagating_errors_in_main v0.1.0 (/opt/rustwide/workdir/Error Handling/Error Handling/Propagating Errors Limitations) [INFO] [stdout] warning: variable `count` is assigned to, but never used [INFO] [stdout] --> Structs, Methods, Enums, and Pattern Matching/Pattern Matching/If Let/src/main.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | let mut count = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_count` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `count` is never read [INFO] [stdout] --> Structs, Methods, Enums, and Pattern Matching/Pattern Matching/If Let/src/main.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | count += 1; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Alabama` and `Alaska` are never constructed [INFO] [stdout] --> Structs, Methods, Enums, and Pattern Matching/Pattern Matching/If Let/src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | enum UsState { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 3 | Alabama, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 4 | Alaska, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UsState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Penny`, `Nickel`, and `Quarter` are never constructed [INFO] [stdout] --> Structs, Methods, Enums, and Pattern Matching/Pattern Matching/If Let/src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | enum Coin { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 9 | Penny, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | Nickel, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | Dime, [INFO] [stdout] 12 | Quarter(UsState), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking rectangles v0.1.0 (/opt/rustwide/workdir/Standard Library Types/Closures/Example sort_by_key) [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> Error Handling/Error Handling/Propagating Errors Limitations/src/main.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let f = File::open("hello.txt")?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking sending_multiple_values_and_seeing_the_receiver_waiting v0.1.0 (/opt/rustwide/workdir/Fearless Concurrency/Using Message Passing to Transfer Data Between Threads/Sending Multiple Values and Seeing the Receiver Waiting) [INFO] [stderr] Checking boolean v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Basic Data Types/Boolean Test) [INFO] [stdout] error[E0382]: borrow of moved value: `val` [INFO] [stdout] --> Fearless Concurrency/Using Message Passing to Transfer Data Between Threads/Channels and Ownership Transference/src/main.rs:12:31 [INFO] [stdout] | [INFO] [stdout] 8 | let val = String::from("hi"); [INFO] [stdout] | --- move occurs because `val` has type `String`, which does not implement the `Copy` trait [INFO] [stdout] 9 | tx.send(val).unwrap(); [INFO] [stdout] | --- value moved here [INFO] [stdout] ... [INFO] [stdout] 12 | println!("val is {}", val); [INFO] [stdout] | ^^^ value borrowed here after move [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0382`. [INFO] [stdout] [INFO] [stderr] error: could not compile `channels_and_ownership_transference` (bin "channels_and_ownership_transference") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `sort_operations` [INFO] [stdout] --> Standard Library Types/Closures/Example sort_by_key/src/main.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let mut sort_operations: Vec = vec![]; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sort_operations` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> Standard Library Types/Closures/Example sort_by_key/src/main.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let value = String::from("by key called"); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> Standard Library Types/Closures/Example sort_by_key/src/main.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | let mut sort_operations: Vec = vec![]; [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: field `height` is never read [INFO] [stdout] --> Standard Library Types/Closures/Example sort_by_key/src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 2 | struct Rectangle { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 3 | width: u32, [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] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "becb8a4ac8111154e153f5ab28cdb28986d4619bb19af2ca2505f053c1c32112", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "becb8a4ac8111154e153f5ab28cdb28986d4619bb19af2ca2505f053c1c32112", kill_on_drop: false }` [INFO] [stdout] becb8a4ac8111154e153f5ab28cdb28986d4619bb19af2ca2505f053c1c32112