[INFO] cloning repository https://github.com/Vaider7/rust_algorithms [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Vaider7/rust_algorithms" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVaider7%2Frust_algorithms", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVaider7%2Frust_algorithms'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fd602bd74b75e92a17e3d71a88e96f99353ac078 [INFO] checking Vaider7/rust_algorithms against master#c3def263a44e07e09ae6d57abfc8650227fb4972 for pr-118833 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVaider7%2Frust_algorithms" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Vaider7/rust_algorithms on toolchain c3def263a44e07e09ae6d57abfc8650227fb4972 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c3def263a44e07e09ae6d57abfc8650227fb4972" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Vaider7/rust_algorithms [INFO] finished tweaking git repo https://github.com/Vaider7/rust_algorithms [INFO] tweaked toml for git repo https://github.com/Vaider7/rust_algorithms written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Vaider7/rust_algorithms 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" "+c3def263a44e07e09ae6d57abfc8650227fb4972" "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 Vaider7/rust_algorithms against try#29596578cb5035fa2b7ac7fbdfea23fab38836e7 for pr-118833 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVaider7%2Frust_algorithms" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Vaider7/rust_algorithms on toolchain 29596578cb5035fa2b7ac7fbdfea23fab38836e7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+29596578cb5035fa2b7ac7fbdfea23fab38836e7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Vaider7/rust_algorithms [INFO] finished tweaking git repo https://github.com/Vaider7/rust_algorithms [INFO] tweaked toml for git repo https://github.com/Vaider7/rust_algorithms written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Vaider7/rust_algorithms 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" "+29596578cb5035fa2b7ac7fbdfea23fab38836e7" "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 Vaider7/rust_algorithms against try#29596578cb5035fa2b7ac7fbdfea23fab38836e7 for pr-118833 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVaider7%2Frust_algorithms" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Vaider7/rust_algorithms on toolchain 29596578cb5035fa2b7ac7fbdfea23fab38836e7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+29596578cb5035fa2b7ac7fbdfea23fab38836e7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Vaider7/rust_algorithms [INFO] finished tweaking git repo https://github.com/Vaider7/rust_algorithms [INFO] tweaked toml for git repo https://github.com/Vaider7/rust_algorithms written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Vaider7/rust_algorithms 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" "+29596578cb5035fa2b7ac7fbdfea23fab38836e7" "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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+29596578cb5035fa2b7ac7fbdfea23fab38836e7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 29d33d0347195adea635a856fd8e4bc783a8d808913ddc3216f27832764ef01a [INFO] running `Command { std: "docker" "start" "-a" "29d33d0347195adea635a856fd8e4bc783a8d808913ddc3216f27832764ef01a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "29d33d0347195adea635a856fd8e4bc783a8d808913ddc3216f27832764ef01a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29d33d0347195adea635a856fd8e4bc783a8d808913ddc3216f27832764ef01a", kill_on_drop: false }` [INFO] [stdout] 29d33d0347195adea635a856fd8e4bc783a8d808913ddc3216f27832764ef01a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+29596578cb5035fa2b7ac7fbdfea23fab38836e7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 767afd4d09eb844cd5a062bd501221b1a8d4ea4d9b2f42068ba65d348534f64d [INFO] running `Command { std: "docker" "start" "-a" "767afd4d09eb844cd5a062bd501221b1a8d4ea4d9b2f42068ba65d348534f64d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.123 [INFO] [stderr] Checking getrandom v0.2.6 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking algorithms v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `linked_list` [INFO] [stdout] --> src/examples/linked_lists/unidirectional_linked_list.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | let linked_list = LinkedList::from([1, 2, 3]); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_linked_list` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gcd` is never used [INFO] [stdout] --> src/examples/numerical_algorithms/gcd.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn gcd(mut a: u32, mut b: u32) -> u32 { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `list_of_integers` is never used [INFO] [stdout] --> src/examples/numerical_algorithms/find_factors.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn list_of_integers(mut number: u32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_primes` is never used [INFO] [stdout] --> src/examples/numerical_algorithms/find_primes.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn find_primes(max_number: u32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_prime` is never used [INFO] [stdout] --> src/examples/numerical_algorithms/is_prime.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn is_prime(p: u32, max_tests: u32) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `use_rectangle_rule` is never used [INFO] [stdout] --> src/examples/numerical_algorithms/use_rectangle_rule.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn use_rectangle_rule(function: T, x_min: f32, x_max: f32, num_intervals: u32) -> f32 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `use_trapezoid_rule` is never used [INFO] [stdout] --> src/examples/numerical_algorithms/use_trapezoid_rule.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn use_trapezoid_rule(function: T, x_min: f32, x_max: f32, num_intervals: u32) -> f32 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `integrate_adaptive_midpoint` is never used [INFO] [stdout] --> src/examples/numerical_algorithms/integrate_adaptive_midpoint.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn integrate_adaptive_midpoint( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `slice_area` is never used [INFO] [stdout] --> src/examples/numerical_algorithms/integrate_adaptive_midpoint.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn slice_area(function: T, x1: f32, x2: f32, max_slice_error: f32) -> f32 [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_zero` is never used [INFO] [stdout] --> src/examples/numerical_algorithms/find_zero.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn find_zero(function: T, df_dx: J, initial_guess: f32, max_error: f32) -> f32 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `foo` is never used [INFO] [stdout] --> src/examples/linked_lists/unidirectional_linked_list.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn foo() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `linked_list` [INFO] [stdout] --> src/examples/linked_lists/unidirectional_linked_list.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | let linked_list = LinkedList::from([1, 2, 3]); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_linked_list` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `algorithms` [INFO] [stdout] --> src/main.rs:1:2 [INFO] [stdout] | [INFO] [stdout] 1 | [INFO] [stdout] | ^ consider adding a `main` function to `src/main.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stderr] error: could not compile `algorithms` (bin "algorithms") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "767afd4d09eb844cd5a062bd501221b1a8d4ea4d9b2f42068ba65d348534f64d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "767afd4d09eb844cd5a062bd501221b1a8d4ea4d9b2f42068ba65d348534f64d", kill_on_drop: false }` [INFO] [stdout] 767afd4d09eb844cd5a062bd501221b1a8d4ea4d9b2f42068ba65d348534f64d