[INFO] cloning repository https://github.com/blackchain43/rust-bootcamp-exercise-1-solution [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/blackchain43/rust-bootcamp-exercise-1-solution" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fblackchain43%2Frust-bootcamp-exercise-1-solution", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fblackchain43%2Frust-bootcamp-exercise-1-solution'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] abf9d291cda166cb05f7117a1ea5bb80d421cc09 [INFO] checking blackchain43/rust-bootcamp-exercise-1-solution against try#d83b14207998f47b18a34e930157ac0d7c18b16e for pr-149137 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fblackchain43%2Frust-bootcamp-exercise-1-solution" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/blackchain43/rust-bootcamp-exercise-1-solution [INFO] removed 0 missing tests [INFO] finished tweaking git repo https://github.com/blackchain43/rust-bootcamp-exercise-1-solution [INFO] tweaked toml for git repo https://github.com/blackchain43/rust-bootcamp-exercise-1-solution written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/blackchain43/rust-bootcamp-exercise-1-solution on toolchain d83b14207998f47b18a34e930157ac0d7c18b16e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d83b14207998f47b18a34e930157ac0d7c18b16e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/blackchain43/rust-bootcamp-exercise-1-solution 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" "+d83b14207998f47b18a34e930157ac0d7c18b16e" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+d83b14207998f47b18a34e930157ac0d7c18b16e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8940705fafdbe368f638c265134e4579a26c813d7736565b06cb2d665dd4ccf5 [INFO] running `Command { std: "docker" "start" "-a" "8940705fafdbe368f638c265134e4579a26c813d7736565b06cb2d665dd4ccf5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8940705fafdbe368f638c265134e4579a26c813d7736565b06cb2d665dd4ccf5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8940705fafdbe368f638c265134e4579a26c813d7736565b06cb2d665dd4ccf5", kill_on_drop: false }` [INFO] [stdout] 8940705fafdbe368f638c265134e4579a26c813d7736565b06cb2d665dd4ccf5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+d83b14207998f47b18a34e930157ac0d7c18b16e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fe41442b40a0f6ab06319ec7ff533032392d3a3249bb19223d8d2b0167a0511e [INFO] running `Command { std: "docker" "start" "-a" "fe41442b40a0f6ab06319ec7ff533032392d3a3249bb19223d8d2b0167a0511e", kill_on_drop: false }` [INFO] [stderr] Checking Rust-Bootcamp-2023 v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking basic-of-rust v0.1.0 (/opt/rustwide/workdir/exercises/basic-of-rust) [INFO] [stdout] warning: function `bigger` is never used [INFO] [stdout] --> exercises/basic-of-rust/src/conditions.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn bigger(a: i32, b: i32) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_number` is never used [INFO] [stdout] --> exercises/basic-of-rust/src/conditions.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn check_number(number: i32) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `foo_if_fizz` is never used [INFO] [stdout] --> exercises/basic-of-rust/src/conditions.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn foo_if_fizz(fizzish: &str) -> &str { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_leap_year` is never used [INFO] [stdout] --> exercises/basic-of-rust/src/conditions.rs:46:4 [INFO] [stdout] | [INFO] [stdout] 46 | fn is_leap_year(year: i32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `factorial` is never used [INFO] [stdout] --> exercises/basic-of-rust/src/conditions.rs:61:4 [INFO] [stdout] | [INFO] [stdout] 61 | fn factorial(n: u32) -> u32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_prime` is never used [INFO] [stdout] --> exercises/basic-of-rust/src/conditions.rs:72:4 [INFO] [stdout] | [INFO] [stdout] 72 | fn is_prime(n: u32) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `exercise2` is never used [INFO] [stdout] --> exercises/basic-of-rust/src/strings.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn exercise2() -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `exercise3` is never used [INFO] [stdout] --> exercises/basic-of-rust/src/strings.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn exercise3() -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reverse_string` is never used [INFO] [stdout] --> exercises/basic-of-rust/src/strings.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn reverse_string(input: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_palindrome` is never used [INFO] [stdout] --> exercises/basic-of-rust/src/strings.rs:35:4 [INFO] [stdout] | [INFO] [stdout] 35 | fn is_palindrome(word: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_char_occurrences` is never used [INFO] [stdout] --> exercises/basic-of-rust/src/strings.rs:43:4 [INFO] [stdout] | [INFO] [stdout] 43 | fn count_char_occurrences(string: &str, ch: char) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sum` is never used [INFO] [stdout] --> exercises/basic-of-rust/src/functions.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn sum(x: i32, y: i32) -> i32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sum_one_to_n` is never used [INFO] [stdout] --> exercises/basic-of-rust/src/functions.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn sum_one_to_n(n: u32) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_average` is never used [INFO] [stdout] --> exercises/basic-of-rust/src/functions.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn calculate_average(numbers: &[f64]) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sum_even_numbers` is never used [INFO] [stdout] --> exercises/basic-of-rust/src/functions.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn sum_even_numbers(numbers: &[i32]) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] running `Command { std: "docker" "inspect" "fe41442b40a0f6ab06319ec7ff533032392d3a3249bb19223d8d2b0167a0511e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe41442b40a0f6ab06319ec7ff533032392d3a3249bb19223d8d2b0167a0511e", kill_on_drop: false }` [INFO] [stdout] fe41442b40a0f6ab06319ec7ff533032392d3a3249bb19223d8d2b0167a0511e