[INFO] cloning repository https://github.com/zann1999/RUST-task [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zann1999/RUST-task" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzann1999%2FRUST-task", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzann1999%2FRUST-task'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] be85055c2c5892a1b86cff3ffea1b09cfe9203c8 [INFO] checking zann1999/RUST-task against master#bd71213cf0a765705e7d72a099151bd4eb465ccb for pr-123864 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzann1999%2FRUST-task" "/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/zann1999/RUST-task on toolchain bd71213cf0a765705e7d72a099151bd4eb465ccb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd71213cf0a765705e7d72a099151bd4eb465ccb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/zann1999/RUST-task [INFO] finished tweaking git repo https://github.com/zann1999/RUST-task [INFO] tweaked toml for git repo https://github.com/zann1999/RUST-task written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/zann1999/RUST-task 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" "+bd71213cf0a765705e7d72a099151bd4eb465ccb" "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 zann1999/RUST-task against try#c0f799aeda763fc507814da0dc46c2dde7ca9133 for pr-123864 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzann1999%2FRUST-task" "/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/zann1999/RUST-task on toolchain c0f799aeda763fc507814da0dc46c2dde7ca9133 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c0f799aeda763fc507814da0dc46c2dde7ca9133" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/zann1999/RUST-task [INFO] finished tweaking git repo https://github.com/zann1999/RUST-task [INFO] tweaked toml for git repo https://github.com/zann1999/RUST-task written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/zann1999/RUST-task 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" "+c0f799aeda763fc507814da0dc46c2dde7ca9133" "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" "+c0f799aeda763fc507814da0dc46c2dde7ca9133" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dc0f3f418722f94ec58e4cbc87a3d8104b0dc41dc76cb04e2a75c97020a32946 [INFO] running `Command { std: "docker" "start" "-a" "dc0f3f418722f94ec58e4cbc87a3d8104b0dc41dc76cb04e2a75c97020a32946", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dc0f3f418722f94ec58e4cbc87a3d8104b0dc41dc76cb04e2a75c97020a32946", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc0f3f418722f94ec58e4cbc87a3d8104b0dc41dc76cb04e2a75c97020a32946", kill_on_drop: false }` [INFO] [stdout] dc0f3f418722f94ec58e4cbc87a3d8104b0dc41dc76cb04e2a75c97020a32946 [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" "+c0f799aeda763fc507814da0dc46c2dde7ca9133" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 574c61e9cd8010bbf4d9dd33f656ef18a7ed3e73daa9dbf7c2d69f9f12571e88 [INFO] running `Command { std: "docker" "start" "-a" "574c61e9cd8010bbf4d9dd33f656ef18a7ed3e73daa9dbf7c2d69f9f12571e88", kill_on_drop: false }` [INFO] [stderr] Checking basic-of-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `collections::btree_map::Values`, `ops::Index` [INFO] [stdout] --> src/functions.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::btree_map::Values, ops::Index}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `collections::btree_map::Values`, `ops::Index` [INFO] [stdout] --> src/functions.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::btree_map::Values, ops::Index}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bigger` is never used [INFO] [stdout] --> src/conditions.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | 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] --> src/conditions.rs:22:4 [INFO] [stdout] | [INFO] [stdout] 22 | 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] --> src/conditions.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | 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] --> src/conditions.rs:52:4 [INFO] [stdout] | [INFO] [stdout] 52 | fn is_leap_year(year: i32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `factorial` is never used [INFO] [stdout] --> src/conditions.rs:70:4 [INFO] [stdout] | [INFO] [stdout] 70 | fn factorial(n: u32) -> u32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_prime` is never used [INFO] [stdout] --> src/conditions.rs:91:4 [INFO] [stdout] | [INFO] [stdout] 91 | fn is_prime(n: u32) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `exercise2` is never used [INFO] [stdout] --> src/strings.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn exercise2() -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `exercise3` is never used [INFO] [stdout] --> src/strings.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn exercise3() -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reverse_string` is never used [INFO] [stdout] --> src/strings.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn reverse_string(input: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_palindrome` is never used [INFO] [stdout] --> src/strings.rs:38:4 [INFO] [stdout] | [INFO] [stdout] 38 | fn is_palindrome(word: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_char_occurrences` is never used [INFO] [stdout] --> src/strings.rs:56:4 [INFO] [stdout] | [INFO] [stdout] 56 | 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] --> 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] --> 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] --> src/functions.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn calculate_average(numbers: &[f64]) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sum_even_numbers` is never used [INFO] [stdout] --> src/functions.rs:51:4 [INFO] [stdout] | [INFO] [stdout] 51 | fn sum_even_numbers(numbers: &[i32]) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] running `Command { std: "docker" "inspect" "574c61e9cd8010bbf4d9dd33f656ef18a7ed3e73daa9dbf7c2d69f9f12571e88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "574c61e9cd8010bbf4d9dd33f656ef18a7ed3e73daa9dbf7c2d69f9f12571e88", kill_on_drop: false }` [INFO] [stdout] 574c61e9cd8010bbf4d9dd33f656ef18a7ed3e73daa9dbf7c2d69f9f12571e88