[INFO] cloning repository https://github.com/quangphat18ti/Rust_Developer_Bootcamp_2023
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/quangphat18ti/Rust_Developer_Bootcamp_2023" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fquangphat18ti%2FRust_Developer_Bootcamp_2023", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fquangphat18ti%2FRust_Developer_Bootcamp_2023'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2ad829f6055d18a0c8b4fb80bef16be2a1b2321e
[INFO] checking quangphat18ti/Rust_Developer_Bootcamp_2023 against 36e0a7eac2392bdd51fab6e7ff1d8c0e42d33bf6 for pr-160581
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fquangphat18ti%2FRust_Developer_Bootcamp_2023" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/quangphat18ti/Rust_Developer_Bootcamp_2023
[INFO] removed 0 missing tests
[INFO] finished tweaking git repo https://github.com/quangphat18ti/Rust_Developer_Bootcamp_2023
[INFO] tweaked toml for git repo https://github.com/quangphat18ti/Rust_Developer_Bootcamp_2023 written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/quangphat18ti/Rust_Developer_Bootcamp_2023 on toolchain 36e0a7eac2392bdd51fab6e7ff1d8c0e42d33bf6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36e0a7eac2392bdd51fab6e7ff1d8c0e42d33bf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/quangphat18ti/Rust_Developer_Bootcamp_2023 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" "+36e0a7eac2392bdd51fab6e7ff1d8c0e42d33bf6" "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
[ERROR] error running command: no output for 300 seconds
[INFO] checking quangphat18ti/Rust_Developer_Bootcamp_2023 against 36e0a7eac2392bdd51fab6e7ff1d8c0e42d33bf6 for pr-160581
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fquangphat18ti%2FRust_Developer_Bootcamp_2023" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/quangphat18ti/Rust_Developer_Bootcamp_2023
[INFO] removed 0 missing tests
[INFO] finished tweaking git repo https://github.com/quangphat18ti/Rust_Developer_Bootcamp_2023
[INFO] tweaked toml for git repo https://github.com/quangphat18ti/Rust_Developer_Bootcamp_2023 written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/quangphat18ti/Rust_Developer_Bootcamp_2023 on toolchain 36e0a7eac2392bdd51fab6e7ff1d8c0e42d33bf6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36e0a7eac2392bdd51fab6e7ff1d8c0e42d33bf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/quangphat18ti/Rust_Developer_Bootcamp_2023 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" "+36e0a7eac2392bdd51fab6e7ff1d8c0e42d33bf6" "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-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 36ac4e5c6d93623d1d8ce75a6f64ff7ed11261a09083cd52cd0a3f803ffd6920
[INFO] running `Command { std: "docker" "start" "36ac4e5c6d93623d1d8ce75a6f64ff7ed11261a09083cd52cd0a3f803ffd6920", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "36ac4e5c6d93623d1d8ce75a6f64ff7ed11261a09083cd52cd0a3f803ffd6920", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "36ac4e5c6d93623d1d8ce75a6f64ff7ed11261a09083cd52cd0a3f803ffd6920" "/opt/rustwide/cargo-home/bin/cargo" "+36e0a7eac2392bdd51fab6e7ff1d8c0e42d33bf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "36ac4e5c6d93623d1d8ce75a6f64ff7ed11261a09083cd52cd0a3f803ffd6920", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "36ac4e5c6d93623d1d8ce75a6f64ff7ed11261a09083cd52cd0a3f803ffd6920" "/opt/rustwide/cargo-home/bin/cargo" "+36e0a7eac2392bdd51fab6e7ff1d8c0e42d33bf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", 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:19:4
[INFO] [stdout]    |
[INFO] [stdout] 19 | 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:35:8
[INFO] [stdout]    |
[INFO] [stdout] 35 | 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:49:4
[INFO] [stdout]    |
[INFO] [stdout] 49 | 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:67:4
[INFO] [stdout]    |
[INFO] [stdout] 67 | 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:85:4
[INFO] [stdout]    |
[INFO] [stdout] 85 | 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:36:4
[INFO] [stdout]    |
[INFO] [stdout] 36 | 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:45:4
[INFO] [stdout]    |
[INFO] [stdout] 45 | fn count_char_occurrences(string: &str, ch: char) -> usize {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]   --> exercises/basic-of-rust/src/strings.rs:49:4
[INFO] [stdout]    |
[INFO] [stdout] 49 | fn main() {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sum` is never used
[INFO] [stdout]  --> exercises/basic-of-rust/src/functions.rs:5:4
[INFO] [stdout]   |
[INFO] [stdout] 5 | 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:13:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | 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:30:4
[INFO] [stdout]    |
[INFO] [stdout] 30 | 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:41:4
[INFO] [stdout]    |
[INFO] [stdout] 41 | fn sum_even_numbers(numbers: &[i32]) -> i32 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]   --> exercises/basic-of-rust/src/strings.rs:49:4
[INFO] [stdout]    |
[INFO] [stdout] 49 | fn main() {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.09s
[INFO] running `Command { std: "docker" "inspect" "36ac4e5c6d93623d1d8ce75a6f64ff7ed11261a09083cd52cd0a3f803ffd6920", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "36ac4e5c6d93623d1d8ce75a6f64ff7ed11261a09083cd52cd0a3f803ffd6920", kill_on_drop: false }`
[INFO] [stdout] 36ac4e5c6d93623d1d8ce75a6f64ff7ed11261a09083cd52cd0a3f803ffd6920
