[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] testing ashfordneil/heimdall against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fashfordneil%2Fheimdall" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ashfordneil/heimdall on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-1/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: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ahash v0.4.4 [INFO] [stderr] Downloaded errno v0.2.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3219772b72a27543ec6c1d4326acede5e4efcca4c27baf3f67cb0861b5c2ae8c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "3219772b72a27543ec6c1d4326acede5e4efcca4c27baf3f67cb0861b5c2ae8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3219772b72a27543ec6c1d4326acede5e4efcca4c27baf3f67cb0861b5c2ae8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3219772b72a27543ec6c1d4326acede5e4efcca4c27baf3f67cb0861b5c2ae8c", kill_on_drop: false }` [INFO] [stdout] 3219772b72a27543ec6c1d4326acede5e4efcca4c27baf3f67cb0861b5c2ae8c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 772501db73c73eba6612d2ce744985cd9ec266078dd2b4895e590f39b7124fe0 [INFO] running `Command { std: "docker" "start" "-a" "772501db73c73eba6612d2ce744985cd9ec266078dd2b4895e590f39b7124fe0", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.39 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling hashbrown v0.8.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling errno v0.2.6 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling env_logger v0.7.1 [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 proc-macro-error v1.0.4 [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] = note: required because of the requirements on the impl of `Into` for `u32` [INFO] [stdout] note: required because of the requirements on the impl of `TryFrom` for `fs::FileType` [INFO] [stdout] --> src/fs.rs:27:6 [INFO] [stdout] | [INFO] [stdout] 27 | impl TryFrom for FileType { [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^ [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 following implementations were found: [INFO] [stdout] > [INFO] [stdout] = note: required because of the requirements on the impl of `FromResidual>` for `std::result::Result<(fs::FileType, u64), error::Error>` [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] = note: required because of the requirements on the impl of `Into` for `u32` [INFO] [stdout] note: required because of the requirements on the impl of `TryFrom` for `fs::FileType` [INFO] [stdout] --> src/fs.rs:27:6 [INFO] [stdout] | [INFO] [stdout] 27 | impl TryFrom for FileType { [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^ [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] = note: required because of the requirements on the impl of `Into` for `u32` [INFO] [stdout] note: required because of the requirements on the impl of `TryFrom` for `fs::FileType` [INFO] [stdout] --> src/fs.rs:27:6 [INFO] [stdout] | [INFO] [stdout] 27 | impl TryFrom for FileType { [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^ [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 following implementations were found: [INFO] [stdout] > [INFO] [stdout] = note: required because of the requirements on the impl of `FromResidual>` for `std::result::Result<(fs::FileType, u64), error::Error>` [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] = note: required because of the requirements on the impl of `Into` for `u32` [INFO] [stdout] note: required because of the requirements on the impl of `TryFrom` for `fs::FileType` [INFO] [stdout] --> src/fs.rs:27:6 [INFO] [stdout] | [INFO] [stdout] 27 | impl TryFrom for FileType { [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^ [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` due to 7 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "772501db73c73eba6612d2ce744985cd9ec266078dd2b4895e590f39b7124fe0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "772501db73c73eba6612d2ce744985cd9ec266078dd2b4895e590f39b7124fe0", kill_on_drop: false }` [INFO] [stdout] 772501db73c73eba6612d2ce744985cd9ec266078dd2b4895e590f39b7124fe0