[INFO] cloning repository https://github.com/KannanPalani57/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/KannanPalani57/learning-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKannanPalani57%2Flearning-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKannanPalani57%2Flearning-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] aff9dd9ddd4e2cfa08babe4c6c8132a8966a0c58 [INFO] building KannanPalani57/learning-rust against master#70591dc15db32941fe3595fdbf98e58d6975f95e for pr-127731 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKannanPalani57%2Flearning-rust" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/KannanPalani57/learning-rust on toolchain 70591dc15db32941fe3595fdbf98e58d6975f95e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+70591dc15db32941fe3595fdbf98e58d6975f95e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/KannanPalani57/learning-rust [INFO] finished tweaking git repo https://github.com/KannanPalani57/learning-rust [INFO] tweaked toml for git repo https://github.com/KannanPalani57/learning-rust written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/KannanPalani57/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" "+70591dc15db32941fe3595fdbf98e58d6975f95e" "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] building KannanPalani57/learning-rust against try#7587ff3622fbec0abf6ac551eab5226f22f5d958 for pr-127731 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKannanPalani57%2Flearning-rust" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/KannanPalani57/learning-rust on toolchain 7587ff3622fbec0abf6ac551eab5226f22f5d958 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7587ff3622fbec0abf6ac551eab5226f22f5d958" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/KannanPalani57/learning-rust [INFO] finished tweaking git repo https://github.com/KannanPalani57/learning-rust [INFO] tweaked toml for git repo https://github.com/KannanPalani57/learning-rust written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/KannanPalani57/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" "+7587ff3622fbec0abf6ac551eab5226f22f5d958" "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] building KannanPalani57/learning-rust against try#7587ff3622fbec0abf6ac551eab5226f22f5d958 for pr-127731 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKannanPalani57%2Flearning-rust" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/KannanPalani57/learning-rust on toolchain 7587ff3622fbec0abf6ac551eab5226f22f5d958 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7587ff3622fbec0abf6ac551eab5226f22f5d958" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/KannanPalani57/learning-rust [INFO] finished tweaking git repo https://github.com/KannanPalani57/learning-rust [INFO] tweaked toml for git repo https://github.com/KannanPalani57/learning-rust written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/KannanPalani57/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" "+7587ff3622fbec0abf6ac551eab5226f22f5d958" "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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+7587ff3622fbec0abf6ac551eab5226f22f5d958" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 12d5ec7beaf193ad452c824de649fe27c7d1e4ef7d71ba46268fd2b77174a64f [INFO] running `Command { std: "docker" "start" "-a" "12d5ec7beaf193ad452c824de649fe27c7d1e4ef7d71ba46268fd2b77174a64f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "12d5ec7beaf193ad452c824de649fe27c7d1e4ef7d71ba46268fd2b77174a64f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12d5ec7beaf193ad452c824de649fe27c7d1e4ef7d71ba46268fd2b77174a64f", kill_on_drop: false }` [INFO] [stdout] 12d5ec7beaf193ad452c824de649fe27c7d1e4ef7d71ba46268fd2b77174a64f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+7587ff3622fbec0abf6ac551eab5226f22f5d958" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f6beedd58336b0b50fbedb01398aa88277e0957e77508bfdb2bccb1456b57c68 [INFO] running `Command { std: "docker" "start" "-a" "f6beedd58336b0b50fbedb01398aa88277e0957e77508bfdb2bccb1456b57c68", kill_on_drop: false }` [INFO] [stderr] Compiling learning-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/learning_traits.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/write_tests.rs:13:46 [INFO] [stdout] | [INFO] [stdout] 13 | fn can_hold(&self, other: &Rectangle) -> bool { [INFO] [stdout] | -------- ^^^^ expected `bool`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/learning_closures.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | let mut num_red = self.red_shirt_count(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/learning_closures.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | let mut num_blue = self.blue_shirt_count(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/learning_closures.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | let mut list = vec![1,2,3]; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `learning-rust` (lib) due to 2 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f6beedd58336b0b50fbedb01398aa88277e0957e77508bfdb2bccb1456b57c68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6beedd58336b0b50fbedb01398aa88277e0957e77508bfdb2bccb1456b57c68", kill_on_drop: false }` [INFO] [stdout] f6beedd58336b0b50fbedb01398aa88277e0957e77508bfdb2bccb1456b57c68