[INFO] updating cached repository https://github.com/pingzing/voicepipe [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 650816127f26f69c92c0ef0ac5c4466c327c3ca4 [INFO] testing pingzing/voicepipe against beta-2020-06-03 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpingzing%2Fvoicepipe" "/workspace/builds/worker-0/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pingzing/voicepipe on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "read-manifest" "--manifest-path" "Cargo.toml"` [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-0/source/Cargo.toml [INFO] crate git repo https://github.com/pingzing/voicepipe already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 2df9f68090902d1dbeafdb4e5ce8c5debe0ee888d98cd44dc883514f0c38485a [INFO] running `"docker" "start" "-a" "2df9f68090902d1dbeafdb4e5ce8c5debe0ee888d98cd44dc883514f0c38485a"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling user32-sys v0.2.0 [INFO] [stderr] Compiling gdi32-sys v0.2.0 [INFO] [stderr] Compiling voicepipe v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `FindWindowA` in crate `user32` [INFO] [stderr] --> src/main.rs:160:33 [INFO] [stderr] | [INFO] [stderr] 160 | window_handle = user32::FindWindowA(std::ptr::null_mut(), window_name.as_ptr()); [INFO] [stderr] | ^^^^^^^^^^^ not found in `user32` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetDC` in crate `user32` [INFO] [stderr] --> src/main.rs:161:34 [INFO] [stderr] | [INFO] [stderr] 161 | context_handle = user32::GetDC(window_handle); [INFO] [stderr] | ^^^^^ not found in `user32` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HDC` in crate `winapi` [INFO] [stderr] --> src/main.rs:199:66 [INFO] [stderr] | [INFO] [stderr] 199 | fn read_one_message(previous_value: u32, context_handle: winapi::HDC) -> Option> { [INFO] [stderr] | ^^^ not found in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetPixel` in crate `gdi32` [INFO] [stderr] --> src/main.rs:202:30 [INFO] [stderr] | [INFO] [stderr] 202 | pixel_color = gdi32::GetPixel(context_handle, 200, 200); [INFO] [stderr] | ^^^^^^^^ not found in `gdi32` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/main.rs:23:1 [INFO] [stderr] | [INFO] [stderr] 23 | / bitflags! { [INFO] [stderr] 24 | | pub flags MessageFlags: u32 { [INFO] [stderr] 25 | | const IS_METADATA_FLAG = 0b10000000_00000000_00000000, [INFO] [stderr] 26 | | const MSG_TYPE_1 = 0b01000000_00000000_00000000, [INFO] [stderr] ... | [INFO] [stderr] 61 | | } [INFO] [stderr] 62 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/main.rs:23:1 [INFO] [stderr] | [INFO] [stderr] 23 | / bitflags! { [INFO] [stderr] 24 | | pub flags MessageFlags: u32 { [INFO] [stderr] 25 | | const IS_METADATA_FLAG = 0b10000000_00000000_00000000, [INFO] [stderr] 26 | | const MSG_TYPE_1 = 0b01000000_00000000_00000000, [INFO] [stderr] ... | [INFO] [stderr] 61 | | } [INFO] [stderr] 62 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:199:85 [INFO] [stderr] | [INFO] [stderr] 199 | fn read_one_message(previous_value: u32, context_handle: winapi::HDC) -> Option> { [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn Message` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors; 3 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0425. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: could not compile `voicepipe`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "2df9f68090902d1dbeafdb4e5ce8c5debe0ee888d98cd44dc883514f0c38485a"` [INFO] running `"docker" "rm" "-f" "2df9f68090902d1dbeafdb4e5ce8c5debe0ee888d98cd44dc883514f0c38485a"` [INFO] [stdout] 2df9f68090902d1dbeafdb4e5ce8c5debe0ee888d98cd44dc883514f0c38485a