[INFO] cloning repository https://github.com/nb150301/lesson-1-rust-basic [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nb150301/lesson-1-rust-basic" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnb150301%2Flesson-1-rust-basic", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnb150301%2Flesson-1-rust-basic'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2e36e7ca0c7fa91af0984b0fdeb9728e6ce29b8a [INFO] checking nb150301/lesson-1-rust-basic against master#e9271846294c4ee5bd7706df68180320c0b5ff20 for pr-119825 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnb150301%2Flesson-1-rust-basic" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nb150301/lesson-1-rust-basic on toolchain e9271846294c4ee5bd7706df68180320c0b5ff20 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e9271846294c4ee5bd7706df68180320c0b5ff20" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nb150301/lesson-1-rust-basic [INFO] removed 0 missing tests [INFO] finished tweaking git repo https://github.com/nb150301/lesson-1-rust-basic [INFO] tweaked toml for git repo https://github.com/nb150301/lesson-1-rust-basic written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/nb150301/lesson-1-rust-basic 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" "+e9271846294c4ee5bd7706df68180320c0b5ff20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking nb150301/lesson-1-rust-basic against try#925e66ec5d7d73da31ddd13e53f21e4674feb4ba for pr-119825 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnb150301%2Flesson-1-rust-basic" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nb150301/lesson-1-rust-basic on toolchain 925e66ec5d7d73da31ddd13e53f21e4674feb4ba [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+925e66ec5d7d73da31ddd13e53f21e4674feb4ba" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nb150301/lesson-1-rust-basic [INFO] removed 0 missing tests [INFO] finished tweaking git repo https://github.com/nb150301/lesson-1-rust-basic [INFO] tweaked toml for git repo https://github.com/nb150301/lesson-1-rust-basic written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/nb150301/lesson-1-rust-basic 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" "+925e66ec5d7d73da31ddd13e53f21e4674feb4ba" "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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+925e66ec5d7d73da31ddd13e53f21e4674feb4ba" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a99592e591d14d5a1b65202a9c1d574959563b3ac680a649e13bd7b61d6c52c9 [INFO] running `Command { std: "docker" "start" "-a" "a99592e591d14d5a1b65202a9c1d574959563b3ac680a649e13bd7b61d6c52c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a99592e591d14d5a1b65202a9c1d574959563b3ac680a649e13bd7b61d6c52c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a99592e591d14d5a1b65202a9c1d574959563b3ac680a649e13bd7b61d6c52c9", kill_on_drop: false }` [INFO] [stdout] a99592e591d14d5a1b65202a9c1d574959563b3ac680a649e13bd7b61d6c52c9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+925e66ec5d7d73da31ddd13e53f21e4674feb4ba" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e8a98b7b64b006ab1837d322fc0801602107e23bbf10231ecbc0e9a76f63e3ad [INFO] running `Command { std: "docker" "start" "-a" "e8a98b7b64b006ab1837d322fc0801602107e23bbf10231ecbc0e9a76f63e3ad", 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] warning: crate `Rust_Bootcamp_2023` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `rust_bootcamp_2023` [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `Rust_Bootcamp_2023` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `rust_bootcamp_2023` [INFO] [stdout] = note: `#[warn(non_snake_case)]` 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: 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)]` 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:45:4 [INFO] [stdout] | [INFO] [stdout] 45 | 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:56:4 [INFO] [stdout] | [INFO] [stdout] 56 | 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:71:4 [INFO] [stdout] | [INFO] [stdout] 71 | 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:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | 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:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | 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:40:4 [INFO] [stdout] | [INFO] [stdout] 40 | fn sum_even_numbers(numbers: &[i32]) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.06s [INFO] running `Command { std: "docker" "inspect" "e8a98b7b64b006ab1837d322fc0801602107e23bbf10231ecbc0e9a76f63e3ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8a98b7b64b006ab1837d322fc0801602107e23bbf10231ecbc0e9a76f63e3ad", kill_on_drop: false }` [INFO] [stdout] e8a98b7b64b006ab1837d322fc0801602107e23bbf10231ecbc0e9a76f63e3ad