[INFO] cloning repository https://github.com/pingzing/voicepipe [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pingzing/voicepipe" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpingzing%2Fvoicepipe", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpingzing%2Fvoicepipe'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 650816127f26f69c92c0ef0ac5c4466c327c3ca4 [INFO] checking pingzing/voicepipe against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpingzing%2Fvoicepipe" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pingzing/voicepipe on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pingzing/voicepipe [INFO] finished tweaking git repo https://github.com/pingzing/voicepipe [INFO] tweaked toml for git repo https://github.com/pingzing/voicepipe written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/pingzing/voicepipe already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eef8f14b1c686924de10e3f53522e9c337e0e5631254aab94b871accca6b946c [INFO] running `Command { std: "docker" "start" "-a" "eef8f14b1c686924de10e3f53522e9c337e0e5631254aab94b871accca6b946c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eef8f14b1c686924de10e3f53522e9c337e0e5631254aab94b871accca6b946c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eef8f14b1c686924de10e3f53522e9c337e0e5631254aab94b871accca6b946c", kill_on_drop: false }` [INFO] [stdout] eef8f14b1c686924de10e3f53522e9c337e0e5631254aab94b871accca6b946c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b0b88e7a81cfe9c6adc7636fc4f1065751eea0c997e87f3761c336905a57b441 [INFO] running `Command { std: "docker" "start" "-a" "b0b88e7a81cfe9c6adc7636fc4f1065751eea0c997e87f3761c336905a57b441", kill_on_drop: false }` [INFO] [stderr] Checking bitflags v0.7.0 [INFO] [stderr] Compiling gdi32-sys v0.2.0 [INFO] [stderr] Compiling user32-sys v0.2.0 [INFO] [stderr] Checking voicepipe v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FindWindowA` in crate `user32` [INFO] [stdout] --> src/main.rs:160:33 [INFO] [stdout] | [INFO] [stdout] 160 | window_handle = user32::FindWindowA(std::ptr::null_mut(), window_name.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetDC` in crate `user32` [INFO] [stdout] --> src/main.rs:161:34 [INFO] [stdout] | [INFO] [stdout] 161 | context_handle = user32::GetDC(window_handle); [INFO] [stdout] | ^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HDC` in crate `winapi` [INFO] [stdout] --> src/main.rs:199:66 [INFO] [stdout] | [INFO] [stdout] 199 | fn read_one_message(previous_value: u32, context_handle: winapi::HDC) -> Option> { [INFO] [stdout] | ^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetPixel` in crate `gdi32` [INFO] [stdout] --> src/main.rs:202:30 [INFO] [stdout] | [INFO] [stdout] 202 | pixel_color = gdi32::GetPixel(context_handle, 200, 200); [INFO] [stdout] | ^^^^^^^^ not found in `gdi32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FindWindowA` in crate `user32` [INFO] [stdout] --> src/main.rs:160:33 [INFO] [stdout] | [INFO] [stdout] 160 | window_handle = user32::FindWindowA(std::ptr::null_mut(), window_name.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetDC` in crate `user32` [INFO] [stdout] --> src/main.rs:161:34 [INFO] [stdout] | [INFO] [stdout] 161 | context_handle = user32::GetDC(window_handle); [INFO] [stdout] | ^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HDC` in crate `winapi` [INFO] [stdout] --> src/main.rs:199:66 [INFO] [stdout] | [INFO] [stdout] 199 | fn read_one_message(previous_value: u32, context_handle: winapi::HDC) -> Option> { [INFO] [stdout] | ^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetPixel` in crate `gdi32` [INFO] [stdout] --> src/main.rs:202:30 [INFO] [stdout] | [INFO] [stdout] 202 | pixel_color = gdi32::GetPixel(context_handle, 200, 200); [INFO] [stdout] | ^^^^^^^^ not found in `gdi32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / bitflags! { [INFO] [stdout] 24 | | pub flags MessageFlags: u32 { [INFO] [stdout] 25 | | const IS_METADATA_FLAG = 0b10000000_00000000_00000000, [INFO] [stdout] 26 | | const MSG_TYPE_1 = 0b01000000_00000000_00000000, [INFO] [stdout] ... | [INFO] [stdout] 61 | | } [INFO] [stdout] 62 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / bitflags! { [INFO] [stdout] 24 | | pub flags MessageFlags: u32 { [INFO] [stdout] 25 | | const IS_METADATA_FLAG = 0b10000000_00000000_00000000, [INFO] [stdout] 26 | | const MSG_TYPE_1 = 0b01000000_00000000_00000000, [INFO] [stdout] ... | [INFO] [stdout] 61 | | } [INFO] [stdout] 62 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / bitflags! { [INFO] [stdout] 24 | | pub flags MessageFlags: u32 { [INFO] [stdout] 25 | | const IS_METADATA_FLAG = 0b10000000_00000000_00000000, [INFO] [stdout] 26 | | const MSG_TYPE_1 = 0b01000000_00000000_00000000, [INFO] [stdout] ... | [INFO] [stdout] 61 | | } [INFO] [stdout] 62 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / bitflags! { [INFO] [stdout] 24 | | pub flags MessageFlags: u32 { [INFO] [stdout] 25 | | const IS_METADATA_FLAG = 0b10000000_00000000_00000000, [INFO] [stdout] 26 | | const MSG_TYPE_1 = 0b01000000_00000000_00000000, [INFO] [stdout] ... | [INFO] [stdout] 61 | | } [INFO] [stdout] 62 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:199:85 [INFO] [stdout] | [INFO] [stdout] 199 | fn read_one_message(previous_value: u32, context_handle: winapi::HDC) -> Option> { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Message` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / bitflags! { [INFO] [stdout] 24 | | pub flags MessageFlags: u32 { [INFO] [stdout] 25 | | const IS_METADATA_FLAG = 0b10000000_00000000_00000000, [INFO] [stdout] 26 | | const MSG_TYPE_1 = 0b01000000_00000000_00000000, [INFO] [stdout] ... | [INFO] [stdout] 61 | | } [INFO] [stdout] 62 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / bitflags! { [INFO] [stdout] 24 | | pub flags MessageFlags: u32 { [INFO] [stdout] 25 | | const IS_METADATA_FLAG = 0b10000000_00000000_00000000, [INFO] [stdout] 26 | | const MSG_TYPE_1 = 0b01000000_00000000_00000000, [INFO] [stdout] ... | [INFO] [stdout] 61 | | } [INFO] [stdout] 62 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:199:85 [INFO] [stdout] | [INFO] [stdout] 199 | fn read_one_message(previous_value: u32, context_handle: winapi::HDC) -> Option> { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Message` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `voicepipe` due to 5 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 4 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "b0b88e7a81cfe9c6adc7636fc4f1065751eea0c997e87f3761c336905a57b441", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0b88e7a81cfe9c6adc7636fc4f1065751eea0c997e87f3761c336905a57b441", kill_on_drop: false }` [INFO] [stdout] b0b88e7a81cfe9c6adc7636fc4f1065751eea0c997e87f3761c336905a57b441