[INFO] cloning repository https://github.com/phudekar/intro-to-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/phudekar/intro-to-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphudekar%2Fintro-to-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphudekar%2Fintro-to-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e68ff2df772856781f809ec77f0c991175f51329 [INFO] checking phudekar/intro-to-rust against master#1ca8b71cff69b0c48e40ceb66d01b9f8d30b2492 for pr-118553-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphudekar%2Fintro-to-rust" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/phudekar/intro-to-rust on toolchain 1ca8b71cff69b0c48e40ceb66d01b9f8d30b2492 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1ca8b71cff69b0c48e40ceb66d01b9f8d30b2492" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/phudekar/intro-to-rust [INFO] finished tweaking git repo https://github.com/phudekar/intro-to-rust [INFO] tweaked toml for git repo https://github.com/phudekar/intro-to-rust written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/phudekar/intro-to-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" "+1ca8b71cff69b0c48e40ceb66d01b9f8d30b2492" "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 phudekar/intro-to-rust against try#a1ab9307c2d2e67595eb3bb22fd707ccd1f71e33 for pr-118553-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphudekar%2Fintro-to-rust" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/phudekar/intro-to-rust on toolchain a1ab9307c2d2e67595eb3bb22fd707ccd1f71e33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a1ab9307c2d2e67595eb3bb22fd707ccd1f71e33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/phudekar/intro-to-rust [INFO] finished tweaking git repo https://github.com/phudekar/intro-to-rust [INFO] tweaked toml for git repo https://github.com/phudekar/intro-to-rust written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/phudekar/intro-to-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" "+a1ab9307c2d2e67595eb3bb22fd707ccd1f71e33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking phudekar/intro-to-rust against try#a1ab9307c2d2e67595eb3bb22fd707ccd1f71e33 for pr-118553-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphudekar%2Fintro-to-rust" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/phudekar/intro-to-rust on toolchain a1ab9307c2d2e67595eb3bb22fd707ccd1f71e33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a1ab9307c2d2e67595eb3bb22fd707ccd1f71e33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/phudekar/intro-to-rust [INFO] finished tweaking git repo https://github.com/phudekar/intro-to-rust [INFO] tweaked toml for git repo https://github.com/phudekar/intro-to-rust written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/phudekar/intro-to-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" "+a1ab9307c2d2e67595eb3bb22fd707ccd1f71e33" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libc v0.2.74 [INFO] [stderr] Downloaded geoutils v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+a1ab9307c2d2e67595eb3bb22fd707ccd1f71e33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7b6a96d8fb97c211f31c335f5dcf352cf91f4a02f74dadece4129bd7432f802f [INFO] running `Command { std: "docker" "start" "-a" "7b6a96d8fb97c211f31c335f5dcf352cf91f4a02f74dadece4129bd7432f802f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7b6a96d8fb97c211f31c335f5dcf352cf91f4a02f74dadece4129bd7432f802f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b6a96d8fb97c211f31c335f5dcf352cf91f4a02f74dadece4129bd7432f802f", kill_on_drop: false }` [INFO] [stdout] 7b6a96d8fb97c211f31c335f5dcf352cf91f4a02f74dadece4129bd7432f802f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+a1ab9307c2d2e67595eb3bb22fd707ccd1f71e33" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b98384360d5af5e08db2537cd8045dc3f6d9b2fae1c18f9b867e99f7ac059d0d [INFO] running `Command { std: "docker" "start" "-a" "b98384360d5af5e08db2537cd8045dc3f6d9b2fae1c18f9b867e99f7ac059d0d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Checking geoutils v0.4.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking intro-to-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/unique_words.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/unique_words.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `age` is never read [INFO] [stdout] --> src/ownership.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | let mut age = 7; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/pattern_matching.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let a = 5; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `age` is never read [INFO] [stdout] --> src/ownership.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | let mut age = 7; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/pattern_matching.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let a = 5; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `from` and `to` are never read [INFO] [stdout] --> src/generics.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 27 | struct UPI { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 28 | from: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 29 | to: String, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `number` and `expiry` are never read [INFO] [stdout] --> src/generics.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 47 | struct CreditCard { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 48 | number: u64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 49 | expiry: (u8, u8), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `author` is never read [INFO] [stdout] --> src/library.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Book { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 47 | pub title: String, [INFO] [stdout] 48 | author: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Book` 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: function `length_with_borrow` is never used [INFO] [stdout] --> src/ownership.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn length_with_borrow(str: &String) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Circle`, `Square`, and `Triangle` are never constructed [INFO] [stdout] --> src/pattern_matching.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub enum Shape { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 35 | Circle(f64), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 36 | Square(f64), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 37 | Rectangle(f64, f64), [INFO] [stdout] 38 | Triangle(f64, f64, f64), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `route` is never read [INFO] [stdout] --> src/transport.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Bus { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 24 | route: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Blue` and `Gree` are never constructed [INFO] [stdout] --> src/transport.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub enum MetroLine { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 35 | Red, [INFO] [stdout] 36 | Blue, [INFO] [stdout] | ^^^^ [INFO] [stdout] 37 | Gree, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MetroLine` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/unique_words.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 54 | struct Worker { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 55 | pub id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `from` and `to` are never read [INFO] [stdout] --> src/generics.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 27 | struct UPI { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 28 | from: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 29 | to: String, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `number` and `expiry` are never read [INFO] [stdout] --> src/generics.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 47 | struct CreditCard { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 48 | number: u64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 49 | expiry: (u8, u8), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `author` is never read [INFO] [stdout] --> src/library.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Book { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 47 | pub title: String, [INFO] [stdout] 48 | author: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Book` 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: function `length_with_borrow` is never used [INFO] [stdout] --> src/ownership.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn length_with_borrow(str: &String) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `route` is never read [INFO] [stdout] --> src/transport.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Bus { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 24 | route: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Blue` and `Gree` are never constructed [INFO] [stdout] --> src/transport.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub enum MetroLine { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 35 | Red, [INFO] [stdout] 36 | Blue, [INFO] [stdout] | ^^^^ [INFO] [stdout] 37 | Gree, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MetroLine` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/unique_words.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 54 | struct Worker { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 55 | pub id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.01s [INFO] running `Command { std: "docker" "inspect" "b98384360d5af5e08db2537cd8045dc3f6d9b2fae1c18f9b867e99f7ac059d0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b98384360d5af5e08db2537cd8045dc3f6d9b2fae1c18f9b867e99f7ac059d0d", kill_on_drop: false }` [INFO] [stdout] b98384360d5af5e08db2537cd8045dc3f6d9b2fae1c18f9b867e99f7ac059d0d