[INFO] cloning repository https://github.com/darylhjd/learning-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/darylhjd/learning-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdarylhjd%2Flearning-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdarylhjd%2Flearning-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8b539e1230978bf3e7259487667214072f9fb01a [INFO] checking darylhjd/learning-rust against master#83dcdb3a5dad0ed1e3e1fadc848d3f7727b41aa5 for pr-128425 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdarylhjd%2Flearning-rust" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/darylhjd/learning-rust on toolchain 83dcdb3a5dad0ed1e3e1fadc848d3f7727b41aa5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+83dcdb3a5dad0ed1e3e1fadc848d3f7727b41aa5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/darylhjd/learning-rust [INFO] finished tweaking git repo https://github.com/darylhjd/learning-rust [INFO] tweaked toml for git repo https://github.com/darylhjd/learning-rust written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/darylhjd/learning-rust 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" "+83dcdb3a5dad0ed1e3e1fadc848d3f7727b41aa5" "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 darylhjd/learning-rust against try#063c08dd8db6ff113bb809c130456f1781abe72c for pr-128425 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdarylhjd%2Flearning-rust" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/darylhjd/learning-rust on toolchain 063c08dd8db6ff113bb809c130456f1781abe72c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+063c08dd8db6ff113bb809c130456f1781abe72c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/darylhjd/learning-rust [INFO] finished tweaking git repo https://github.com/darylhjd/learning-rust [INFO] tweaked toml for git repo https://github.com/darylhjd/learning-rust written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/darylhjd/learning-rust 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" "+063c08dd8db6ff113bb809c130456f1781abe72c" "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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+063c08dd8db6ff113bb809c130456f1781abe72c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 057d9ef1a9c2e15cdf55a551b08c452fc49e6300683e4f737a3ca77bbd163d48 [INFO] running `Command { std: "docker" "start" "-a" "057d9ef1a9c2e15cdf55a551b08c452fc49e6300683e4f737a3ca77bbd163d48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "057d9ef1a9c2e15cdf55a551b08c452fc49e6300683e4f737a3ca77bbd163d48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "057d9ef1a9c2e15cdf55a551b08c452fc49e6300683e4f737a3ca77bbd163d48", kill_on_drop: false }` [INFO] [stdout] 057d9ef1a9c2e15cdf55a551b08c452fc49e6300683e4f737a3ca77bbd163d48 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+063c08dd8db6ff113bb809c130456f1781abe72c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5b65e34965930bce5fbffb66692667a5d1d3f8f8f2f9ac0d3d875285087ebdf1 [INFO] running `Command { std: "docker" "start" "-a" "5b65e34965930bce5fbffb66692667a5d1d3f8f8f2f9ac0d3d875285087ebdf1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking quick-xml v0.22.0 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking learning-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `dedup`, `filter`, and `sum` [INFO] [stdout] --> src/hw01/tests_provided.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use super::problem1::{dedup, filter, sum}; [INFO] [stdout] | ^^^^^ ^^^^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::problem2::mat_mult` [INFO] [stdout] --> src/hw01/tests_provided.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use super::problem2::mat_mult; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::problem3::sieve` [INFO] [stdout] --> src/hw01/tests_provided.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::problem3::sieve; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Peg` and `hanoi` [INFO] [stdout] --> src/hw01/tests_provided.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use super::problem4::{hanoi, Peg}; [INFO] [stdout] | ^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sum` is never used [INFO] [stdout] --> src/hw01/problem1.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn sum(slice: &[i32]) -> i32 { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dedup` is never used [INFO] [stdout] --> src/hw01/problem1.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn dedup(vs: &Vec) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `filter` is never used [INFO] [stdout] --> src/hw01/problem1.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn filter(vs: &Vec, pred: &dyn Fn(i32) -> bool) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Matrix` is never used [INFO] [stdout] --> src/hw01/problem2.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | pub type Matrix = Vec>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mat_mult` is never used [INFO] [stdout] --> src/hw01/problem2.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn mat_mult(mat1: &Matrix, mat2: &Matrix) -> Matrix { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sieve` is never used [INFO] [stdout] --> src/hw01/problem3.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn sieve(n: u32) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `A`, `B`, and `C` are never constructed [INFO] [stdout] --> src/hw01/problem4.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum Peg { [INFO] [stdout] | --- variants in this enum [INFO] [stdout] 8 | A, [INFO] [stdout] | ^ [INFO] [stdout] 9 | B, [INFO] [stdout] | ^ [INFO] [stdout] 10 | C, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Peg` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Move` is never used [INFO] [stdout] --> src/hw01/problem4.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | pub type Move = (Peg, Peg); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hanoi` is never used [INFO] [stdout] --> src/hw01/problem4.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn hanoi(num_discs: u32, src: Peg, aux: Peg, dst: Peg) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.61s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: quick-xml v0.22.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "5b65e34965930bce5fbffb66692667a5d1d3f8f8f2f9ac0d3d875285087ebdf1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b65e34965930bce5fbffb66692667a5d1d3f8f8f2f9ac0d3d875285087ebdf1", kill_on_drop: false }` [INFO] [stdout] 5b65e34965930bce5fbffb66692667a5d1d3f8f8f2f9ac0d3d875285087ebdf1