[INFO] cloning repository https://github.com/Darkin1123/RustTest
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Darkin1123/RustTest" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDarkin1123%2FRustTest", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDarkin1123%2FRustTest'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b33ce7e35d419f766283bdffed87a11123ded646
[INFO] checking Darkin1123/RustTest against master#04ff05c9c0cfbca33115c5f1b8bb20a66a54b799 for pr-147834
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDarkin1123%2FRustTest" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Darkin1123/RustTest
[INFO] removed 0 missing tests
[INFO] finished tweaking git repo https://github.com/Darkin1123/RustTest
[INFO] tweaked toml for git repo https://github.com/Darkin1123/RustTest written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Darkin1123/RustTest on toolchain 04ff05c9c0cfbca33115c5f1b8bb20a66a54b799
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+04ff05c9c0cfbca33115c5f1b8bb20a66a54b799" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Darkin1123/RustTest 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" "+04ff05c9c0cfbca33115c5f1b8bb20a66a54b799" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+04ff05c9c0cfbca33115c5f1b8bb20a66a54b799" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 430bb6c022a81d2de3b26789ad761eb10f3fc8e5eeaef785d57341f8e7f5b4bc
[INFO] running `Command { std: "docker" "start" "-a" "430bb6c022a81d2de3b26789ad761eb10f3fc8e5eeaef785d57341f8e7f5b4bc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "430bb6c022a81d2de3b26789ad761eb10f3fc8e5eeaef785d57341f8e7f5b4bc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "430bb6c022a81d2de3b26789ad761eb10f3fc8e5eeaef785d57341f8e7f5b4bc", kill_on_drop: false }`
[INFO] [stdout] 430bb6c022a81d2de3b26789ad761eb10f3fc8e5eeaef785d57341f8e7f5b4bc
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+04ff05c9c0cfbca33115c5f1b8bb20a66a54b799" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a844c5da218fbbdc01f6035cd31817ee217fb8986348682d49d36456808e08d5
[INFO] running `Command { std: "docker" "start" "-a" "a844c5da218fbbdc01f6035cd31817ee217fb8986348682d49d36456808e08d5", kill_on_drop: false }`
[INFO] [stderr]     Checking basic-of-rust v0.1.0 (/opt/rustwide/workdir/exercises/basic-of-rust)
[INFO] [stderr]     Checking Rust-Bootcamp-2023 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: expected one of `:`, `@`, or `|`, found `,`
[INFO] [stdout]  --> exercises/basic-of-rust/src/functions.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn sum(x, y: i32) {
[INFO] [stdout]   |         ^ expected one of `:`, `@`, or `|`
[INFO] [stdout]   |
[INFO] [stdout] help: if this is a parameter name, give it a type
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn sum(x: TypeName, y: i32) {
[INFO] [stdout]   |         ++++++++++
[INFO] [stdout] help: if this is a type, explicitly ignore the parameter name
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn sum(_: x, y: i32) {
[INFO] [stdout]   |        ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `:`, `@`, or `|`, found `,`
[INFO] [stdout]  --> exercises/basic-of-rust/src/functions.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn sum(x, y: i32) {
[INFO] [stdout]   |         ^ expected one of `:`, `@`, or `|`
[INFO] [stdout]   |
[INFO] [stdout] help: if this is a parameter name, give it a type
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn sum(x: TypeName, y: i32) {
[INFO] [stdout]   |         ++++++++++
[INFO] [stdout] help: if this is a type, explicitly ignore the parameter name
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn sum(_: x, y: i32) {
[INFO] [stdout]   |        ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> exercises/basic-of-rust/src/conditions.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub fn foo_if_fizz(fizzish: &str) -> &str {
[INFO] [stdout]    |                                      ---- expected `&str` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 26 |         1
[INFO] [stdout]    |         ^ expected `&str`, found integer
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0600]: cannot apply unary operator `-` to type `u32`
[INFO] [stdout]   --> exercises/basic-of-rust/src/conditions.rs:77:35
[INFO] [stdout]    |
[INFO] [stdout] 77 |         let result = check_number(-5);
[INFO] [stdout]    |                                   ^^ cannot apply unary operator `-`
[INFO] [stdout]    |
[INFO] [stdout]    = note: unsigned values cannot be negated
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> exercises/basic-of-rust/src/strings.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 |     s.push(" world");
[INFO] [stdout]    |       ---- ^^^^^^^^ expected `char`, found `&str`
[INFO] [stdout]    |       |
[INFO] [stdout]    |       arguments to this method are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> /rustc/04ff05c9c0cfbca33115c5f1b8bb20a66a54b799/library/alloc/src/string.rs:1404:12
[INFO] [stdout] help: you might have meant to use `push_str`
[INFO] [stdout]    |
[INFO] [stdout] 12 |     s.push_str(" world");
[INFO] [stdout]    |           ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> exercises/basic-of-rust/src/strings.rs:13:10
[INFO] [stdout]    |
[INFO] [stdout] 13 |     s += "!".to_string();
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^ expected `&str`, found `String`
[INFO] [stdout]    |
[INFO] [stdout] help: try removing the method call
[INFO] [stdout]    |
[INFO] [stdout] 13 -     s += "!".to_string();
[INFO] [stdout] 13 +     s += "!";
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> exercises/basic-of-rust/src/strings.rs:21:19
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let s3 = s1 + s2;
[INFO] [stdout]    |                   ^^ expected `&str`, found `String`
[INFO] [stdout]    |
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let s3 = s1 + &s2;
[INFO] [stdout]    |                   +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> exercises/basic-of-rust/src/functions.rs:42:23
[INFO] [stdout]    |
[INFO] [stdout] 42 |         assert_eq!(s, 3);
[INFO] [stdout]    |                       ^ expected `()`, found integer
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> exercises/basic-of-rust/src/conditions.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub fn foo_if_fizz(fizzish: &str) -> &str {
[INFO] [stdout]    |                                      ---- expected `&str` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 26 |         1
[INFO] [stdout]    |         ^ expected `&str`, found integer
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]  --> exercises/basic-of-rust/src/conditions.rs:6:15
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub fn bigger(a: i32, b: i32) -> i32 {
[INFO] [stdout]   |               ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> exercises/basic-of-rust/src/strings.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 |     s.push(" world");
[INFO] [stdout]    |       ---- ^^^^^^^^ expected `char`, found `&str`
[INFO] [stdout]    |       |
[INFO] [stdout]    |       arguments to this method are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> /rustc/04ff05c9c0cfbca33115c5f1b8bb20a66a54b799/library/alloc/src/string.rs:1404:12
[INFO] [stdout] help: you might have meant to use `push_str`
[INFO] [stdout]    |
[INFO] [stdout] 12 |     s.push_str(" world");
[INFO] [stdout]    |           ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]  --> exercises/basic-of-rust/src/conditions.rs:6:23
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub fn bigger(a: i32, b: i32) -> i32 {
[INFO] [stdout]   |                       ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `number`
[INFO] [stdout]   --> exercises/basic-of-rust/src/conditions.rs:14:17
[INFO] [stdout]    |
[INFO] [stdout] 14 | fn check_number(number: u32) -> &'static str {
[INFO] [stdout]    |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_number`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `year`
[INFO] [stdout]   --> exercises/basic-of-rust/src/conditions.rs:33:17
[INFO] [stdout]    |
[INFO] [stdout] 33 | fn is_leap_year(year: i32) -> bool {
[INFO] [stdout]    |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_year`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n`
[INFO] [stdout]   --> exercises/basic-of-rust/src/conditions.rs:40:14
[INFO] [stdout]    |
[INFO] [stdout] 40 | fn factorial(n: u32) -> u32 {
[INFO] [stdout]    |              ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n`
[INFO] [stdout]   --> exercises/basic-of-rust/src/conditions.rs:48:13
[INFO] [stdout]    |
[INFO] [stdout] 48 | fn is_prime(n: u32) -> bool {
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `color`
[INFO] [stdout]  --> exercises/basic-of-rust/src/strings.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn exercise1(color: &str) -> String {
[INFO] [stdout]   |              ^^^^^ help: if this is intentional, prefix it with an underscore: `_color`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `input`
[INFO] [stdout]   --> exercises/basic-of-rust/src/strings.rs:28:19
[INFO] [stdout]    |
[INFO] [stdout] 28 | fn reverse_string(input: &str) -> String {
[INFO] [stdout]    |                   ^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `word`
[INFO] [stdout]   --> exercises/basic-of-rust/src/strings.rs:35:18
[INFO] [stdout]    |
[INFO] [stdout] 35 | fn is_palindrome(word: &str) -> bool {
[INFO] [stdout]    |                  ^^^^ help: if this is intentional, prefix it with an underscore: `_word`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `string`
[INFO] [stdout]   --> exercises/basic-of-rust/src/strings.rs:41:27
[INFO] [stdout]    |
[INFO] [stdout] 41 | fn count_char_occurrences(string: &str, ch: char) -> usize {
[INFO] [stdout]    |                           ^^^^^^ help: if this is intentional, prefix it with an underscore: `_string`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ch`
[INFO] [stdout]   --> exercises/basic-of-rust/src/strings.rs:41:41
[INFO] [stdout]    |
[INFO] [stdout] 41 | fn count_char_occurrences(string: &str, ch: char) -> usize {
[INFO] [stdout]    |                                         ^^ help: if this is intentional, prefix it with an underscore: `_ch`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n`
[INFO] [stdout]   --> exercises/basic-of-rust/src/functions.rs:11:21
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub fn sum_one_to_n(n: u32) -> u32 {
[INFO] [stdout]    |                     ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `numbers`
[INFO] [stdout]   --> exercises/basic-of-rust/src/functions.rs:21:22
[INFO] [stdout]    |
[INFO] [stdout] 21 | fn calculate_average(numbers: &[f64]) -> f64 {
[INFO] [stdout]    |                      ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_numbers`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `numbers`
[INFO] [stdout]   --> exercises/basic-of-rust/src/functions.rs:27:21
[INFO] [stdout]    |
[INFO] [stdout] 27 | fn sum_even_numbers(numbers: &[i32]) -> i32 {
[INFO] [stdout]    |                     ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_numbers`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0600.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> exercises/basic-of-rust/src/strings.rs:13:10
[INFO] [stdout]    |
[INFO] [stdout] 13 |     s += "!".to_string();
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^ expected `&str`, found `String`
[INFO] [stdout]    |
[INFO] [stdout] help: try removing the method call
[INFO] [stdout]    |
[INFO] [stdout] 13 -     s += "!".to_string();
[INFO] [stdout] 13 +     s += "!";
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> exercises/basic-of-rust/src/strings.rs:21:19
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let s3 = s1 + s2;
[INFO] [stdout]    |                   ^^ expected `&str`, found `String`
[INFO] [stdout]    |
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let s3 = s1 + &s2;
[INFO] [stdout]    |                   +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `:`, `@`, or `|`, found `,`
[INFO] [stdout]  --> exercises/basic-of-rust/src/functions.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn sum(x, y: i32) {
[INFO] [stdout]   |         ^ expected one of `:`, `@`, or `|`
[INFO] [stdout]   |
[INFO] [stdout] help: if this is a parameter name, give it a type
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn sum(x: TypeName, y: i32) {
[INFO] [stdout]   |         ++++++++++
[INFO] [stdout] help: if this is a type, explicitly ignore the parameter name
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn sum(_: x, y: i32) {
[INFO] [stdout]   |        ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]  --> exercises/basic-of-rust/src/conditions.rs:6:15
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub fn bigger(a: i32, b: i32) -> i32 {
[INFO] [stdout]   |               ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]  --> exercises/basic-of-rust/src/conditions.rs:6:23
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub fn bigger(a: i32, b: i32) -> i32 {
[INFO] [stdout]   |                       ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `number`
[INFO] [stdout]   --> exercises/basic-of-rust/src/conditions.rs:14:17
[INFO] [stdout]    |
[INFO] [stdout] 14 | fn check_number(number: u32) -> &'static str {
[INFO] [stdout]    |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_number`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `year`
[INFO] [stdout]   --> exercises/basic-of-rust/src/conditions.rs:33:17
[INFO] [stdout]    |
[INFO] [stdout] 33 | fn is_leap_year(year: i32) -> bool {
[INFO] [stdout]    |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_year`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n`
[INFO] [stdout]   --> exercises/basic-of-rust/src/conditions.rs:40:14
[INFO] [stdout]    |
[INFO] [stdout] 40 | fn factorial(n: u32) -> u32 {
[INFO] [stdout]    |              ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n`
[INFO] [stdout]   --> exercises/basic-of-rust/src/conditions.rs:48:13
[INFO] [stdout]    |
[INFO] [stdout] 48 | fn is_prime(n: u32) -> bool {
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `color`
[INFO] [stdout]  --> exercises/basic-of-rust/src/strings.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn exercise1(color: &str) -> String {
[INFO] [stdout]   |              ^^^^^ help: if this is intentional, prefix it with an underscore: `_color`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `input`
[INFO] [stdout]   --> exercises/basic-of-rust/src/strings.rs:28:19
[INFO] [stdout]    |
[INFO] [stdout] 28 | fn reverse_string(input: &str) -> String {
[INFO] [stdout]    |                   ^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `word`
[INFO] [stdout]   --> exercises/basic-of-rust/src/strings.rs:35:18
[INFO] [stdout]    |
[INFO] [stdout] 35 | fn is_palindrome(word: &str) -> bool {
[INFO] [stdout]    |                  ^^^^ help: if this is intentional, prefix it with an underscore: `_word`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `string`
[INFO] [stdout]   --> exercises/basic-of-rust/src/strings.rs:41:27
[INFO] [stdout]    |
[INFO] [stdout] 41 | fn count_char_occurrences(string: &str, ch: char) -> usize {
[INFO] [stdout]    |                           ^^^^^^ help: if this is intentional, prefix it with an underscore: `_string`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ch`
[INFO] [stdout]   --> exercises/basic-of-rust/src/strings.rs:41:41
[INFO] [stdout]    |
[INFO] [stdout] 41 | fn count_char_occurrences(string: &str, ch: char) -> usize {
[INFO] [stdout]    |                                         ^^ help: if this is intentional, prefix it with an underscore: `_ch`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n`
[INFO] [stdout]   --> exercises/basic-of-rust/src/functions.rs:11:21
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub fn sum_one_to_n(n: u32) -> u32 {
[INFO] [stdout]    |                     ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `numbers`
[INFO] [stdout]   --> exercises/basic-of-rust/src/functions.rs:21:22
[INFO] [stdout]    |
[INFO] [stdout] 21 | fn calculate_average(numbers: &[f64]) -> f64 {
[INFO] [stdout]    |                      ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_numbers`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `numbers`
[INFO] [stdout]   --> exercises/basic-of-rust/src/functions.rs:27:21
[INFO] [stdout]    |
[INFO] [stdout] 27 | fn sum_even_numbers(numbers: &[i32]) -> i32 {
[INFO] [stdout]    |                     ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_numbers`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `basic-of-rust` (lib test) due to 7 previous errors; 14 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `basic-of-rust` (lib) due to 5 previous errors; 14 warnings emitted
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> exercises/basic-of-rust/src/strings.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 |     s.push(" world");
[INFO] [stdout]    |       ---- ^^^^^^^^ expected `char`, found `&str`
[INFO] [stdout]    |       |
[INFO] [stdout]    |       arguments to this method are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> /rustc/04ff05c9c0cfbca33115c5f1b8bb20a66a54b799/library/alloc/src/string.rs:1404:12
[INFO] [stdout] help: you might have meant to use `push_str`
[INFO] [stdout]    |
[INFO] [stdout] 12 |     s.push_str(" world");
[INFO] [stdout]    |           ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> exercises/basic-of-rust/src/strings.rs:13:10
[INFO] [stdout]    |
[INFO] [stdout] 13 |     s += "!".to_string();
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^ expected `&str`, found `String`
[INFO] [stdout]    |
[INFO] [stdout] help: try removing the method call
[INFO] [stdout]    |
[INFO] [stdout] 13 -     s += "!".to_string();
[INFO] [stdout] 13 +     s += "!";
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> exercises/basic-of-rust/src/strings.rs:21:19
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let s3 = s1 + s2;
[INFO] [stdout]    |                   ^^ expected `&str`, found `String`
[INFO] [stdout]    |
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let s3 = s1 + &s2;
[INFO] [stdout]    |                   +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `color`
[INFO] [stdout]  --> exercises/basic-of-rust/src/strings.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn exercise1(color: &str) -> String {
[INFO] [stdout]   |              ^^^^^ help: if this is intentional, prefix it with an underscore: `_color`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `input`
[INFO] [stdout]   --> exercises/basic-of-rust/src/strings.rs:28:19
[INFO] [stdout]    |
[INFO] [stdout] 28 | fn reverse_string(input: &str) -> String {
[INFO] [stdout]    |                   ^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `word`
[INFO] [stdout]   --> exercises/basic-of-rust/src/strings.rs:35:18
[INFO] [stdout]    |
[INFO] [stdout] 35 | fn is_palindrome(word: &str) -> bool {
[INFO] [stdout]    |                  ^^^^ help: if this is intentional, prefix it with an underscore: `_word`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `string`
[INFO] [stdout]   --> exercises/basic-of-rust/src/strings.rs:41:27
[INFO] [stdout]    |
[INFO] [stdout] 41 | fn count_char_occurrences(string: &str, ch: char) -> usize {
[INFO] [stdout]    |                           ^^^^^^ help: if this is intentional, prefix it with an underscore: `_string`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ch`
[INFO] [stdout]   --> exercises/basic-of-rust/src/strings.rs:41:41
[INFO] [stdout]    |
[INFO] [stdout] 41 | fn count_char_occurrences(string: &str, ch: char) -> usize {
[INFO] [stdout]    |                                         ^^ help: if this is intentional, prefix it with an underscore: `_ch`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> exercises/basic-of-rust/src/conditions.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub fn foo_if_fizz(fizzish: &str) -> &str {
[INFO] [stdout]    |                                      ---- expected `&str` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 26 |         1
[INFO] [stdout]    |         ^ expected `&str`, found integer
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> exercises/basic-of-rust/src/functions.rs:42:23
[INFO] [stdout]    |
[INFO] [stdout] 42 |         assert_eq!(s, 3);
[INFO] [stdout]    |                       ^ expected `()`, found integer
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `Rust-Bootcamp-2023` (test "strings") due to 3 previous errors; 5 warnings emitted
[INFO] [stdout] error[E0600]: cannot apply unary operator `-` to type `u32`
[INFO] [stdout]   --> exercises/basic-of-rust/src/conditions.rs:77:35
[INFO] [stdout]    |
[INFO] [stdout] 77 |         let result = check_number(-5);
[INFO] [stdout]    |                                   ^^ cannot apply unary operator `-`
[INFO] [stdout]    |
[INFO] [stdout]    = note: unsigned values cannot be negated
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n`
[INFO] [stdout]   --> exercises/basic-of-rust/src/functions.rs:11:21
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub fn sum_one_to_n(n: u32) -> u32 {
[INFO] [stdout]    |                     ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `numbers`
[INFO] [stdout]   --> exercises/basic-of-rust/src/functions.rs:21:22
[INFO] [stdout]    |
[INFO] [stdout] 21 | fn calculate_average(numbers: &[f64]) -> f64 {
[INFO] [stdout]    |                      ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_numbers`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `numbers`
[INFO] [stdout]   --> exercises/basic-of-rust/src/functions.rs:27:21
[INFO] [stdout]    |
[INFO] [stdout] 27 | fn sum_even_numbers(numbers: &[i32]) -> i32 {
[INFO] [stdout]    |                     ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_numbers`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]  --> exercises/basic-of-rust/src/conditions.rs:6:15
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub fn bigger(a: i32, b: i32) -> i32 {
[INFO] [stdout]   |               ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]  --> exercises/basic-of-rust/src/conditions.rs:6:23
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub fn bigger(a: i32, b: i32) -> i32 {
[INFO] [stdout]   |                       ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `number`
[INFO] [stdout]   --> exercises/basic-of-rust/src/conditions.rs:14:17
[INFO] [stdout]    |
[INFO] [stdout] 14 | fn check_number(number: u32) -> &'static str {
[INFO] [stdout]    |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_number`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `year`
[INFO] [stdout]   --> exercises/basic-of-rust/src/conditions.rs:33:17
[INFO] [stdout]    |
[INFO] [stdout] 33 | fn is_leap_year(year: i32) -> bool {
[INFO] [stdout]    |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_year`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n`
[INFO] [stdout]   --> exercises/basic-of-rust/src/conditions.rs:40:14
[INFO] [stdout]    |
[INFO] [stdout] 40 | fn factorial(n: u32) -> u32 {
[INFO] [stdout]    |              ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n`
[INFO] [stdout]   --> exercises/basic-of-rust/src/conditions.rs:48:13
[INFO] [stdout]    |
[INFO] [stdout] 48 | fn is_prime(n: u32) -> bool {
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `Rust-Bootcamp-2023` (test "functions") due to 2 previous errors; 3 warnings emitted
[INFO] [stdout] Some errors have detailed explanations: E0308, E0600.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `Rust-Bootcamp-2023` (test "conditions") due to 2 previous errors; 6 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "a844c5da218fbbdc01f6035cd31817ee217fb8986348682d49d36456808e08d5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a844c5da218fbbdc01f6035cd31817ee217fb8986348682d49d36456808e08d5", kill_on_drop: false }`
[INFO] [stdout] a844c5da218fbbdc01f6035cd31817ee217fb8986348682d49d36456808e08d5
