[INFO] cloning repository zpeters/lockscreen [INFO] running `"git" "clone" "--bare" "git://github.com/zpeters/lockscreen.git" "work/cache/sources/gh/zpeters/lockscreen"` [INFO] [stderr] Cloning into bare repository 'work/cache/sources/gh/zpeters/lockscreen'... [INFO] running `"git" "clone" "work/cache/sources/gh/zpeters/lockscreen" "work/ex/pr-62133/sources/master#5f9c0448dde167128d668da4555879f64e56af1d/gh/zpeters/lockscreen"` [INFO] [stderr] Cloning into 'work/ex/pr-62133/sources/master#5f9c0448dde167128d668da4555879f64e56af1d/gh/zpeters/lockscreen'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/zpeters/lockscreen" "work/ex/pr-62133/sources/try#8ec8125bea94852768b56958f05da47666c21ab0/gh/zpeters/lockscreen"` [INFO] [stderr] Cloning into 'work/ex/pr-62133/sources/try#8ec8125bea94852768b56958f05da47666c21ab0/gh/zpeters/lockscreen'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 281cf01517e98e954b8935f1ed9198875c64e4ea [INFO] sha for GitHub repo zpeters/lockscreen: 281cf01517e98e954b8935f1ed9198875c64e4ea [INFO] validating manifest of zpeters/lockscreen on toolchain master#5f9c0448dde167128d668da4555879f64e56af1d [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+5f9c0448dde167128d668da4555879f64e56af1d-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of zpeters/lockscreen on toolchain try#8ec8125bea94852768b56958f05da47666c21ab0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+8ec8125bea94852768b56958f05da47666c21ab0-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing zpeters/lockscreen [INFO] finished frobbing zpeters/lockscreen [INFO] frobbed toml for zpeters/lockscreen written to work/ex/pr-62133/sources/master#5f9c0448dde167128d668da4555879f64e56af1d/gh/zpeters/lockscreen/Cargo.toml [INFO] started frobbing zpeters/lockscreen [INFO] finished frobbing zpeters/lockscreen [INFO] frobbed toml for zpeters/lockscreen written to work/ex/pr-62133/sources/try#8ec8125bea94852768b56958f05da47666c21ab0/gh/zpeters/lockscreen/Cargo.toml [INFO] crate zpeters/lockscreen already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+5f9c0448dde167128d668da4555879f64e56af1d-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+8ec8125bea94852768b56958f05da47666c21ab0-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking zpeters/lockscreen against master#5f9c0448dde167128d668da4555879f64e56af1d for pr-62133 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-62133/worker-1/master#5f9c0448dde167128d668da4555879f64e56af1d:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-62133/sources/master#5f9c0448dde167128d668da4555879f64e56af1d/gh/zpeters/lockscreen:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+5f9c0448dde167128d668da4555879f64e56af1d-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 2c01fe2f29273fe6a99a939ba70c77cdd9d99a6e204b7b98a2c38c30fcc7e13b [INFO] running `"docker" "start" "-a" "2c01fe2f29273fe6a99a939ba70c77cdd9d99a6e204b7b98a2c38c30fcc7e13b"` [INFO] [stderr] Compiling winapi v0.3.7 [INFO] [stderr] Checking lockscreen v0.1.0 (/opt/crater/workdir) [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/main.rs:2:13 [INFO] [stderr] | [INFO] [stderr] 2 | use winapi::shared::windef::{HWND}; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/main.rs:3:13 [INFO] [stderr] | [INFO] [stderr] 3 | use winapi::um::winuser::{SendMessageW}; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/main.rs:2:13 [INFO] [stderr] | [INFO] [stderr] 2 | use winapi::shared::windef::{HWND}; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/main.rs:3:13 [INFO] [stderr] | [INFO] [stderr] 3 | use winapi::um::winuser::{SendMessageW}; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/main.rs:6:25 [INFO] [stderr] | [INFO] [stderr] 6 | let hwnd_broadcast: HWND = 0xffff as HWND; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/main.rs:6:42 [INFO] [stderr] | [INFO] [stderr] 6 | let hwnd_broadcast: HWND = 0xffff as HWND; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SendMessageW` in this scope [INFO] [stderr] --> src/main.rs:12:9 [INFO] [stderr] | [INFO] [stderr] 12 | SendMessageW(hwnd_broadcast, wm_syscommand, sc_monitorpower, power_off); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: unused import: `HWND` [INFO] [stderr] --> src/main.rs:2:30 [INFO] [stderr] | [INFO] [stderr] 2 | use winapi::shared::windef::{HWND}; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `SendMessageW` [INFO] [stderr] --> src/main.rs:3:27 [INFO] [stderr] | [INFO] [stderr] 3 | use winapi::um::winuser::{SendMessageW}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 5 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: Could not compile `lockscreen`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/main.rs:6:25 [INFO] [stderr] | [INFO] [stderr] 6 | let hwnd_broadcast: HWND = 0xffff as HWND; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/main.rs:6:42 [INFO] [stderr] | [INFO] [stderr] 6 | let hwnd_broadcast: HWND = 0xffff as HWND; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SendMessageW` in this scope [INFO] [stderr] --> src/main.rs:12:9 [INFO] [stderr] | [INFO] [stderr] 12 | SendMessageW(hwnd_broadcast, wm_syscommand, sc_monitorpower, power_off); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: unused import: `HWND` [INFO] [stderr] --> src/main.rs:2:30 [INFO] [stderr] | [INFO] [stderr] 2 | use winapi::shared::windef::{HWND}; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `SendMessageW` [INFO] [stderr] --> src/main.rs:3:27 [INFO] [stderr] | [INFO] [stderr] 3 | use winapi::um::winuser::{SendMessageW}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 5 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: Could not compile `lockscreen`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "2c01fe2f29273fe6a99a939ba70c77cdd9d99a6e204b7b98a2c38c30fcc7e13b"` [INFO] running `"docker" "rm" "-f" "2c01fe2f29273fe6a99a939ba70c77cdd9d99a6e204b7b98a2c38c30fcc7e13b"` [INFO] [stdout] 2c01fe2f29273fe6a99a939ba70c77cdd9d99a6e204b7b98a2c38c30fcc7e13b