[INFO] cloning repository https://github.com/ashfordneil/heimdall [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ashfordneil/heimdall" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fashfordneil%2Fheimdall", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fashfordneil%2Fheimdall'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8de65b6ff1e719d1c731222b4e87189368e2cbda [INFO] building ashfordneil/heimdall against master#9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19 for pr-117684 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fashfordneil%2Fheimdall" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ashfordneil/heimdall on toolchain 9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ashfordneil/heimdall [INFO] finished tweaking git repo https://github.com/ashfordneil/heimdall [INFO] tweaked toml for git repo https://github.com/ashfordneil/heimdall written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ashfordneil/heimdall 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" "+9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19" "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 ashfordneil/heimdall against try#53e03135c36e913ff664ce8329041b7e3c2fd358 for pr-117684 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fashfordneil%2Fheimdall" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ashfordneil/heimdall on toolchain 53e03135c36e913ff664ce8329041b7e3c2fd358 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+53e03135c36e913ff664ce8329041b7e3c2fd358" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ashfordneil/heimdall [INFO] finished tweaking git repo https://github.com/ashfordneil/heimdall [INFO] tweaked toml for git repo https://github.com/ashfordneil/heimdall written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ashfordneil/heimdall 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" "+53e03135c36e913ff664ce8329041b7e3c2fd358" "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 proc-macro2 v1.0.20 [INFO] [stderr] Downloaded structopt v0.3.17 [INFO] [stderr] Downloaded structopt-derive v0.4.10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:0c7e0e8312ad82a1bed3696438480b7da990d348377d3754e1cd95b06a8a36c7" "/opt/rustwide/cargo-home/bin/cargo" "+53e03135c36e913ff664ce8329041b7e3c2fd358" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b796295d6e5777130d14fa0cf9b4ebf6b171ed51cf51be16a42d02f0842df600 [INFO] running `Command { std: "docker" "start" "-a" "b796295d6e5777130d14fa0cf9b4ebf6b171ed51cf51be16a42d02f0842df600", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b796295d6e5777130d14fa0cf9b4ebf6b171ed51cf51be16a42d02f0842df600", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b796295d6e5777130d14fa0cf9b4ebf6b171ed51cf51be16a42d02f0842df600", kill_on_drop: false }` [INFO] [stdout] b796295d6e5777130d14fa0cf9b4ebf6b171ed51cf51be16a42d02f0842df600 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:0c7e0e8312ad82a1bed3696438480b7da990d348377d3754e1cd95b06a8a36c7" "/opt/rustwide/cargo-home/bin/cargo" "+53e03135c36e913ff664ce8329041b7e3c2fd358" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2f2610ecf3813c020adb5926089015328e4b32139bfc25b0ee2442732cf4c7d2 [INFO] running `Command { std: "docker" "start" "-a" "2f2610ecf3813c020adb5926089015328e4b32139bfc25b0ee2442732cf4c7d2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.76 [INFO] [stderr] Compiling proc-macro2 v1.0.20 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling syn v1.0.39 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling ahash v0.3.8 [INFO] [stderr] Compiling either v1.6.0 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling hashbrown v0.8.2 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling errno v0.2.6 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling const-random-macro v0.1.8 [INFO] [stderr] Compiling const-random v0.1.8 [INFO] [stderr] Compiling ahash v0.4.4 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling structopt-derive v0.4.10 [INFO] [stderr] Compiling thiserror v1.0.20 [INFO] [stderr] Compiling structopt v0.3.17 [INFO] [stderr] Compiling heimdall v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `iter` [INFO] [stdout] --> src/glob.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{ffi::OsStr, iter}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `either::Either` [INFO] [stdout] --> src/glob.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use either::Either; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/tree.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/tree.rs:171:16 [INFO] [stdout] | [INFO] [stdout] 171 | if (path.as_bytes() == b".gitignore" && file_type == FileType::Regular) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 171 - if (path.as_bytes() == b".gitignore" && file_type == FileType::Regular) { [INFO] [stdout] 171 + if path.as_bytes() == b".gitignore" && file_type == FileType::Regular { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `fs::FileType: From` is not satisfied [INFO] [stdout] --> src/fs.rs:115:25 [INFO] [stdout] | [INFO] [stdout] 115 | let file_type = FileType::try_from(buf.st_mode)?; [INFO] [stdout] | ^^^^^^^^ the trait `From` is not implemented for `fs::FileType` [INFO] [stdout] | [INFO] [stdout] = help: the trait `TryFrom` is implemented for `fs::FileType` [INFO] [stdout] = help: for that trait implementation, expected `u16`, found `u32` [INFO] [stdout] = note: required for `u32` to implement `Into` [INFO] [stdout] = note: required for `fs::FileType` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `error::Error` [INFO] [stdout] --> src/fs.rs:115:56 [INFO] [stdout] | [INFO] [stdout] 115 | let file_type = FileType::try_from(buf.st_mode)?; [INFO] [stdout] | ^ the trait `From` is not implemented for `error::Error` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the trait `From` is implemented for `error::Error` [INFO] [stdout] = help: for that trait implementation, expected `std::io::Error`, found `Infallible` [INFO] [stdout] = note: required for `std::result::Result<(fs::FileType, u64), error::Error>` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `fs::FileType: From` is not satisfied [INFO] [stdout] --> src/fs.rs:115:25 [INFO] [stdout] | [INFO] [stdout] 115 | let file_type = FileType::try_from(buf.st_mode)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `From` is not implemented for `fs::FileType` [INFO] [stdout] | [INFO] [stdout] = help: the trait `TryFrom` is implemented for `fs::FileType` [INFO] [stdout] = help: for that trait implementation, expected `u16`, found `u32` [INFO] [stdout] = note: required for `u32` to implement `Into` [INFO] [stdout] = note: required for `fs::FileType` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `fs::FileType: From` is not satisfied [INFO] [stdout] --> src/fs.rs:133:25 [INFO] [stdout] | [INFO] [stdout] 133 | let file_type = FileType::try_from(buf.st_mode)?; [INFO] [stdout] | ^^^^^^^^ the trait `From` is not implemented for `fs::FileType` [INFO] [stdout] | [INFO] [stdout] = help: the trait `TryFrom` is implemented for `fs::FileType` [INFO] [stdout] = help: for that trait implementation, expected `u16`, found `u32` [INFO] [stdout] = note: required for `u32` to implement `Into` [INFO] [stdout] = note: required for `fs::FileType` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `error::Error` [INFO] [stdout] --> src/fs.rs:133:56 [INFO] [stdout] | [INFO] [stdout] 133 | let file_type = FileType::try_from(buf.st_mode)?; [INFO] [stdout] | ^ the trait `From` is not implemented for `error::Error` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the trait `From` is implemented for `error::Error` [INFO] [stdout] = help: for that trait implementation, expected `std::io::Error`, found `Infallible` [INFO] [stdout] = note: required for `std::result::Result<(fs::FileType, u64), error::Error>` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `fs::FileType: From` is not satisfied [INFO] [stdout] --> src/fs.rs:133:25 [INFO] [stdout] | [INFO] [stdout] 133 | let file_type = FileType::try_from(buf.st_mode)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `From` is not implemented for `fs::FileType` [INFO] [stdout] | [INFO] [stdout] = help: the trait `TryFrom` is implemented for `fs::FileType` [INFO] [stdout] = help: for that trait implementation, expected `u16`, found `u32` [INFO] [stdout] = note: required for `u32` to implement `Into` [INFO] [stdout] = note: required for `fs::FileType` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `heimdall` (lib) due to 7 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2f2610ecf3813c020adb5926089015328e4b32139bfc25b0ee2442732cf4c7d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f2610ecf3813c020adb5926089015328e4b32139bfc25b0ee2442732cf4c7d2", kill_on_drop: false }` [INFO] [stdout] 2f2610ecf3813c020adb5926089015328e4b32139bfc25b0ee2442732cf4c7d2