[INFO] cloning repository https://github.com/trngdothuy/rust-exercises [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/trngdothuy/rust-exercises" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrngdothuy%2Frust-exercises", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrngdothuy%2Frust-exercises'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 89f6787ea4d3fb073d50af81e3a00e794f70b2a2 [INFO] checking trngdothuy/rust-exercises against try#ed606620234c6b50f2414162c4bbabd5f4a925f3 for pr-147995 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrngdothuy%2Frust-exercises" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/trngdothuy/rust-exercises [INFO] finished tweaking git repo https://github.com/trngdothuy/rust-exercises [INFO] tweaked toml for git repo https://github.com/trngdothuy/rust-exercises written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/trngdothuy/rust-exercises on toolchain ed606620234c6b50f2414162c4bbabd5f4a925f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed606620234c6b50f2414162c4bbabd5f4a925f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/trngdothuy/rust-exercises 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" "+ed606620234c6b50f2414162c4bbabd5f4a925f3" "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 trngdothuy/rust-exercises against try#ed606620234c6b50f2414162c4bbabd5f4a925f3 for pr-147995 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrngdothuy%2Frust-exercises" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/trngdothuy/rust-exercises [INFO] finished tweaking git repo https://github.com/trngdothuy/rust-exercises [INFO] tweaked toml for git repo https://github.com/trngdothuy/rust-exercises written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/trngdothuy/rust-exercises on toolchain ed606620234c6b50f2414162c4bbabd5f4a925f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed606620234c6b50f2414162c4bbabd5f4a925f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/trngdothuy/rust-exercises 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" "+ed606620234c6b50f2414162c4bbabd5f4a925f3" "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 thiserror-impl v1.0.34 [INFO] [stderr] Downloaded once_cell v1.14.0 [INFO] [stderr] Downloaded thiserror v1.0.34 [INFO] [stderr] Downloaded iana-time-zone v0.1.47 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ed606620234c6b50f2414162c4bbabd5f4a925f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ca2e94bc0b7d65143ae6d6b97212b659735a2a735b27982f7f35590d0cab24a5 [INFO] running `Command { std: "docker" "start" "-a" "ca2e94bc0b7d65143ae6d6b97212b659735a2a735b27982f7f35590d0cab24a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ca2e94bc0b7d65143ae6d6b97212b659735a2a735b27982f7f35590d0cab24a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca2e94bc0b7d65143ae6d6b97212b659735a2a735b27982f7f35590d0cab24a5", kill_on_drop: false }` [INFO] [stdout] ca2e94bc0b7d65143ae6d6b97212b659735a2a735b27982f7f35590d0cab24a5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ed606620234c6b50f2414162c4bbabd5f4a925f3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c543c4d7ad6e092f8e0b83380a11474927568c2c9efea48a96479132fde6a125 [INFO] running `Command { std: "docker" "start" "-a" "c543c4d7ad6e092f8e0b83380a11474927568c2c9efea48a96479132fde6a125", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking num-traits v0.2.15 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking iana-time-zone v0.1.47 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking chrono v0.4.22 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling thiserror-impl v1.0.34 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Checking thiserror v1.0.34 [INFO] [stderr] Checking structopt v0.3.26 [INFO] [stderr] Checking activities v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variants `White` and `Black` are never constructed [INFO] [stdout] --> src/bin/a7.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | enum Color { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 9 | Red, [INFO] [stdout] 10 | White, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 11 | Black, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/bin/a24.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let data = vec![1, 2, 3, 4, 5] [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | .collect(); [INFO] [stdout] | ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: FromIterator` [INFO] [stdout] note: required by a bound in `collect` [INFO] [stdout] --> /rustc/ed606620234c6b50f2414162c4bbabd5f4a925f3/library/core/src/iter/traits/iterator.rs:2015:5 [INFO] [stdout] help: consider giving `data` an explicit type [INFO] [stdout] | [INFO] [stdout] 12 | let data: Vec<_> = vec![1, 2, 3, 4, 5] [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `White` and `Black` are never constructed [INFO] [stdout] --> src/bin/a7.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | enum Color { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 9 | Red, [INFO] [stdout] 10 | White, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 11 | Black, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Red` and `White` are never constructed [INFO] [stdout] --> src/bin/a12.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 26 | enum Color { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 27 | Red, [INFO] [stdout] | ^^^ [INFO] [stdout] 28 | Black, [INFO] [stdout] 29 | White, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stdout] warning: fields `user_id` and `name` are never read [INFO] [stdout] --> src/bin/a21.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | struct User { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 13 | user_id: i32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 14 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `User` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `activities` (bin "a24" test) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "c543c4d7ad6e092f8e0b83380a11474927568c2c9efea48a96479132fde6a125", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c543c4d7ad6e092f8e0b83380a11474927568c2c9efea48a96479132fde6a125", kill_on_drop: false }` [INFO] [stdout] c543c4d7ad6e092f8e0b83380a11474927568c2c9efea48a96479132fde6a125