[INFO] cloning repository https://github.com/chanble/scrap-async [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/chanble/scrap-async" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchanble%2Fscrap-async", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchanble%2Fscrap-async'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 08411535258f5d2660a6f180b21dee96fd62d3df [INFO] checking chanble/scrap-async against try#70daa2c0d8eed7066b07966f3c0b0b8622bff4e4 for pr-151539 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchanble%2Fscrap-async" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/chanble/scrap-async [INFO] finished tweaking git repo https://github.com/chanble/scrap-async [INFO] tweaked toml for git repo https://github.com/chanble/scrap-async written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/chanble/scrap-async on toolchain 70daa2c0d8eed7066b07966f3c0b0b8622bff4e4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+70daa2c0d8eed7066b07966f3c0b0b8622bff4e4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/chanble/scrap-async 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" "+70daa2c0d8eed7066b07966f3c0b0b8622bff4e4" "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 chanble/scrap-async against try#70daa2c0d8eed7066b07966f3c0b0b8622bff4e4 for pr-151539 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchanble%2Fscrap-async" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/chanble/scrap-async [INFO] finished tweaking git repo https://github.com/chanble/scrap-async [INFO] tweaked toml for git repo https://github.com/chanble/scrap-async written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/chanble/scrap-async on toolchain 70daa2c0d8eed7066b07966f3c0b0b8622bff4e4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+70daa2c0d8eed7066b07966f3c0b0b8622bff4e4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/chanble/scrap-async 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" "+70daa2c0d8eed7066b07966f3c0b0b8622bff4e4" "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 repng v0.2.2 [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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+70daa2c0d8eed7066b07966f3c0b0b8622bff4e4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a967f8ecc2a9da31b16e1d683ce028324b8d2fd2ef2ef7555fe7ae329fd18fb9 [INFO] running `Command { std: "docker" "start" "-a" "a967f8ecc2a9da31b16e1d683ce028324b8d2fd2ef2ef7555fe7ae329fd18fb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a967f8ecc2a9da31b16e1d683ce028324b8d2fd2ef2ef7555fe7ae329fd18fb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a967f8ecc2a9da31b16e1d683ce028324b8d2fd2ef2ef7555fe7ae329fd18fb9", kill_on_drop: false }` [INFO] [stdout] a967f8ecc2a9da31b16e1d683ce028324b8d2fd2ef2ef7555fe7ae329fd18fb9 [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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+70daa2c0d8eed7066b07966f3c0b0b8622bff4e4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c87e003b24323f92d91953c0dd4853574a2d4a9c0da776b78da576121cc567a8 [INFO] running `Command { std: "docker" "start" "-a" "c87e003b24323f92d91953c0dd4853574a2d4a9c0da776b78da576121cc567a8", kill_on_drop: false }` [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling scrap-async v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking block v0.1.6 [INFO] [stderr] Checking flate2 v1.0.20 [INFO] [stdout] error[E0432]: unresolved import `x11` [INFO] [stdout] --> src/common/x11.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use x11; [INFO] [stdout] | ^^^ no external crate `x11` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these modules instead [INFO] [stdout] | [INFO] [stdout] 1 | use crate::common::x11; [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] 1 | use crate::x11; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `quartz` [INFO] [stdout] --> src/lib.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | #[cfg(quartz)] extern crate block; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(quartz)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(quartz)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `quartz` [INFO] [stdout] --> src/lib.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(quartz)] mod quartz; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(quartz)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(quartz)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `x11` [INFO] [stdout] --> src/lib.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[cfg(x11)] mod x11; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(x11)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(x11)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `dxgi` [INFO] [stdout] --> src/lib.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(dxgi)] extern crate winapi; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dxgi)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dxgi)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `dxgi` [INFO] [stdout] --> src/lib.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(dxgi)] mod dxgi; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dxgi)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dxgi)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/x11/ffi.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::capturer::*` [INFO] [stdout] --> src/x11/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use self::capturer::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `quartz` [INFO] [stdout] --> src/common/mod.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | if #[cfg(quartz)] { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(quartz)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(quartz)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `x11` [INFO] [stdout] --> src/common/mod.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | } else if #[cfg(x11)] { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(x11)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(x11)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `dxgi` [INFO] [stdout] --> src/common/mod.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | } else if #[cfg(dxgi)] { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dxgi)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dxgi)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/common/x11.rs:45:31 [INFO] [stdout] | [INFO] [stdout] 45 | if best.as_ref().map(|x| x.is_default()) == Some(false) { [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 45 | if best.as_ref().map(|x: /* Type */| x.is_default()) == Some(false) { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/common/x11.rs:46:35 [INFO] [stdout] | [INFO] [stdout] 46 | best = displays.find(|x| x.is_default()).or(best); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 46 | best = displays.find(|x: /* Type */| x.is_default()).or(best); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `scrap-async` (lib) due to 3 previous errors; 10 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "c87e003b24323f92d91953c0dd4853574a2d4a9c0da776b78da576121cc567a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c87e003b24323f92d91953c0dd4853574a2d4a9c0da776b78da576121cc567a8", kill_on_drop: false }` [INFO] [stdout] c87e003b24323f92d91953c0dd4853574a2d4a9c0da776b78da576121cc567a8