[INFO] cloning repository https://github.com/anhtuanpc/rust_class_1 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/anhtuanpc/rust_class_1" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanhtuanpc%2Frust_class_1", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanhtuanpc%2Frust_class_1'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanhtuanpc%2Frust_class_1: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 1) [INFO] cloning repository https://github.com/anhtuanpc/rust_class_1 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/anhtuanpc/rust_class_1" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanhtuanpc%2Frust_class_1", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanhtuanpc%2Frust_class_1'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanhtuanpc%2Frust_class_1/refs/tags: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 2) [INFO] cloning repository https://github.com/anhtuanpc/rust_class_1 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/anhtuanpc/rust_class_1" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanhtuanpc%2Frust_class_1", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanhtuanpc%2Frust_class_1'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanhtuanpc%2Frust_class_1/refs: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 3) [INFO] cloning repository https://github.com/anhtuanpc/rust_class_1 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/anhtuanpc/rust_class_1" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanhtuanpc%2Frust_class_1", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanhtuanpc%2Frust_class_1'... [INFO] [stderr] error: copy-fd: write returned: No space left on device [INFO] [stderr] fatal: cannot copy '/usr/share/git-core/templates/hooks/update.sample' to '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanhtuanpc%2Frust_class_1/hooks/update.sample': No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 4) [INFO] cloning repository https://github.com/anhtuanpc/rust_class_1 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/anhtuanpc/rust_class_1" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanhtuanpc%2Frust_class_1", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanhtuanpc%2Frust_class_1'... [INFO] [stderr] error: copy-fd: write returned: No space left on device [INFO] [stderr] fatal: cannot copy '/usr/share/git-core/templates/hooks/sendemail-validate.sample' to '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanhtuanpc%2Frust_class_1/hooks/sendemail-validate.sample': No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 5) [INFO] cloning repository https://github.com/anhtuanpc/rust_class_1 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/anhtuanpc/rust_class_1" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanhtuanpc%2Frust_class_1", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanhtuanpc%2Frust_class_1'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanhtuanpc%2Frust_class_1: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 6) [INFO] cloning repository https://github.com/anhtuanpc/rust_class_1 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/anhtuanpc/rust_class_1" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanhtuanpc%2Frust_class_1", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanhtuanpc%2Frust_class_1'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanhtuanpc%2Frust_class_1: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 7) [INFO] cloning repository https://github.com/anhtuanpc/rust_class_1 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/anhtuanpc/rust_class_1" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanhtuanpc%2Frust_class_1", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanhtuanpc%2Frust_class_1'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanhtuanpc%2Frust_class_1: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 8) [INFO] cloning repository https://github.com/anhtuanpc/rust_class_1 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/anhtuanpc/rust_class_1" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanhtuanpc%2Frust_class_1", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanhtuanpc%2Frust_class_1'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanhtuanpc%2Frust_class_1: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 9) [INFO] cloning repository https://github.com/anhtuanpc/rust_class_1 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/anhtuanpc/rust_class_1" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanhtuanpc%2Frust_class_1", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanhtuanpc%2Frust_class_1'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanhtuanpc%2Frust_class_1: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 10) [INFO] cloning repository https://github.com/anhtuanpc/rust_class_1 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/anhtuanpc/rust_class_1" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanhtuanpc%2Frust_class_1", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanhtuanpc%2Frust_class_1'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanhtuanpc%2Frust_class_1: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 11) [INFO] cloning repository https://github.com/anhtuanpc/rust_class_1 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/anhtuanpc/rust_class_1" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanhtuanpc%2Frust_class_1", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanhtuanpc%2Frust_class_1'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanhtuanpc%2Frust_class_1: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 12) [INFO] cloning repository https://github.com/anhtuanpc/rust_class_1 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/anhtuanpc/rust_class_1" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanhtuanpc%2Frust_class_1", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanhtuanpc%2Frust_class_1'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanhtuanpc%2Frust_class_1: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 13) [INFO] cloning repository https://github.com/anhtuanpc/rust_class_1 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/anhtuanpc/rust_class_1" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanhtuanpc%2Frust_class_1", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanhtuanpc%2Frust_class_1'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ea8c15ea2e7e3a886a7452c18db7b974634e257b [INFO] checking anhtuanpc/rust_class_1 against master#040e2f8b9ff2d76fbe2146d6003e297ed4532088 for pr-143619 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanhtuanpc%2Frust_class_1" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/anhtuanpc/rust_class_1 [INFO] removed 0 missing tests [INFO] finished tweaking git repo https://github.com/anhtuanpc/rust_class_1 [INFO] tweaked toml for git repo https://github.com/anhtuanpc/rust_class_1 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/anhtuanpc/rust_class_1 on toolchain 040e2f8b9ff2d76fbe2146d6003e297ed4532088 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+040e2f8b9ff2d76fbe2146d6003e297ed4532088" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/anhtuanpc/rust_class_1 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" "+040e2f8b9ff2d76fbe2146d6003e297ed4532088" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e8955075918b6d00525c617f7c34ee2595c70db70b3cf844dc875e4d3604499b" "/opt/rustwide/cargo-home/bin/cargo" "+040e2f8b9ff2d76fbe2146d6003e297ed4532088" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e5bc5173e2bd6acb0a5026a833203186a3f5b57596f66f7ff63af869e7061d1b [INFO] running `Command { std: "docker" "start" "-a" "e5bc5173e2bd6acb0a5026a833203186a3f5b57596f66f7ff63af869e7061d1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e5bc5173e2bd6acb0a5026a833203186a3f5b57596f66f7ff63af869e7061d1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5bc5173e2bd6acb0a5026a833203186a3f5b57596f66f7ff63af869e7061d1b", kill_on_drop: false }` [INFO] [stdout] e5bc5173e2bd6acb0a5026a833203186a3f5b57596f66f7ff63af869e7061d1b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e8955075918b6d00525c617f7c34ee2595c70db70b3cf844dc875e4d3604499b" "/opt/rustwide/cargo-home/bin/cargo" "+040e2f8b9ff2d76fbe2146d6003e297ed4532088" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b8e2f74f8502a0d42732a56e8a4a27f144bde8771f622afe26fed7582a6670b0 [INFO] running `Command { std: "docker" "start" "-a" "b8e2f74f8502a0d42732a56e8a4a27f144bde8771f622afe26fed7582a6670b0", 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)]` 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:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | 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:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | 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:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | 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:57:4 [INFO] [stdout] | [INFO] [stdout] 57 | 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:69:4 [INFO] [stdout] | [INFO] [stdout] 69 | 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:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | 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:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | 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:37:4 [INFO] [stdout] | [INFO] [stdout] 37 | 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:57:4 [INFO] [stdout] | [INFO] [stdout] 57 | 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:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | 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:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn sum_even_numbers(numbers: &[i32]) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] running `Command { std: "docker" "inspect" "b8e2f74f8502a0d42732a56e8a4a27f144bde8771f622afe26fed7582a6670b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8e2f74f8502a0d42732a56e8a4a27f144bde8771f622afe26fed7582a6670b0", kill_on_drop: false }` [INFO] [stdout] b8e2f74f8502a0d42732a56e8a4a27f144bde8771f622afe26fed7582a6670b0