[INFO] cloning repository https://github.com/andrewhickman/rdp-users [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/andrewhickman/rdp-users" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandrewhickman%2Frdp-users", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandrewhickman%2Frdp-users'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a1bee758b9b86545ccb19db474a2bcaae2f9a568 [INFO] testing andrewhickman/rdp-users against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandrewhickman%2Frdp-users" "/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/andrewhickman/rdp-users on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/andrewhickman/rdp-users [INFO] finished tweaking git repo https://github.com/andrewhickman/rdp-users [INFO] tweaked toml for git repo https://github.com/andrewhickman/rdp-users written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/andrewhickman/rdp-users already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", 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] 6e0fda89aac8151416906d4dfb931b51ed4af198c8f5175c36a0a48e3a0b4cb1 [INFO] running `Command { std: "docker" "start" "-a" "6e0fda89aac8151416906d4dfb931b51ed4af198c8f5175c36a0a48e3a0b4cb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6e0fda89aac8151416906d4dfb931b51ed4af198c8f5175c36a0a48e3a0b4cb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e0fda89aac8151416906d4dfb931b51ed4af198c8f5175c36a0a48e3a0b4cb1", kill_on_drop: false }` [INFO] [stdout] 6e0fda89aac8151416906d4dfb931b51ed4af198c8f5175c36a0a48e3a0b4cb1 [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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d6888da91c6b48dd0effcee922bd2d16a0bd8eee5355ef08bbea79e6f61770aa [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" "d6888da91c6b48dd0effcee922bd2d16a0bd8eee5355ef08bbea79e6f61770aa", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.33 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling serde_json v1.0.56 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.3 [INFO] [stderr] Compiling proc-macro-error v1.0.3 [INFO] [stderr] Compiling clap v2.33.1 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling structopt-derive v0.4.8 [INFO] [stderr] Compiling structopt v0.3.15 [INFO] [stderr] Compiling rdp-users v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/sys.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::shared::minwindef::{BOOL, DWORD}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/sys.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::shared::ntdef::{HANDLE, LPWSTR, PVOID}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/win.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use std::os::windows::ffi::{OsStrExt, OsStringExt}; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/win.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::shared::minwindef::DWORD; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/win.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::shared::ntdef::{HANDLE, LPWSTR, PVOID}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPWSTR` in this scope [INFO] [stdout] --> src/sys.rs:7:40 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn WTSOpenServerW(pServerName: LPWSTR) -> HANDLE; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/sys.rs:7:51 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn WTSOpenServerW(pServerName: LPWSTR) -> HANDLE; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/sys.rs:8:36 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn WTSCloseServer(hServer: HANDLE); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/sys.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | hServer: HANDLE, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/sys.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | pLevel: *mut DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/sys.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | Filter: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/sys.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | pCount: *mut DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> src/sys.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | ) -> BOOL; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PVOID` in this scope [INFO] [stdout] --> src/sys.rs:16:35 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn WTSFreeMemory(pMemory: PVOID); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/sys.rs:35:20 [INFO] [stdout] | [INFO] [stdout] 35 | pub ExecEnvId: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/sys.rs:37:20 [INFO] [stdout] | [INFO] [stdout] 37 | pub SessionId: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPWSTR` in this scope [INFO] [stdout] --> src/sys.rs:38:23 [INFO] [stdout] | [INFO] [stdout] 38 | pub pSessionName: LPWSTR, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPWSTR` in this scope [INFO] [stdout] --> src/sys.rs:39:20 [INFO] [stdout] | [INFO] [stdout] 39 | pub pHostName: LPWSTR, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPWSTR` in this scope [INFO] [stdout] --> src/sys.rs:40:20 [INFO] [stdout] | [INFO] [stdout] 40 | pub pUserName: LPWSTR, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPWSTR` in this scope [INFO] [stdout] --> src/sys.rs:41:22 [INFO] [stdout] | [INFO] [stdout] 41 | pub pDomainName: LPWSTR, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPWSTR` in this scope [INFO] [stdout] --> src/sys.rs:42:20 [INFO] [stdout] | [INFO] [stdout] 42 | pub pFarmName: LPWSTR, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/win.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | handle: HANDLE, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/win.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | count: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/win.rs:47:40 [INFO] [stdout] | [INFO] [stdout] 34 | impl Server { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 47 | let mut count: MaybeUninit = MaybeUninit::uninit(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/win.rs:126:32 [INFO] [stdout] | [INFO] [stdout] 126 | fn new(ptr: *mut T, count: DWORD) -> Self { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PVOID` in this scope [INFO] [stdout] --> src/win.rs:138:44 [INFO] [stdout] | [INFO] [stdout] 138 | sys::WTSFreeMemory(self.ptr as PVOID); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPWSTR` in this scope [INFO] [stdout] --> src/win.rs:151:46 [INFO] [stdout] | [INFO] [stdout] 151 | unsafe fn decode_null_terminated_string(ptr: LPWSTR) -> Option { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&std::ffi::OsStr` in the current scope [INFO] [stdout] --> src/win.rs:36:39 [INFO] [stdout] | [INFO] [stdout] 36 | let mut name: Vec = name.encode_wide().chain(once(0)).collect(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&std::ffi::OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_wide` found for struct `std::ffi::OsString` in the current scope [INFO] [stdout] --> src/win.rs:159:24 [INFO] [stdout] | [INFO] [stdout] 159 | Some(OsString::from_wide(slice::from_raw_parts(ptr, len))) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `std::ffi::OsString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 29 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rdp-users`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "d6888da91c6b48dd0effcee922bd2d16a0bd8eee5355ef08bbea79e6f61770aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6888da91c6b48dd0effcee922bd2d16a0bd8eee5355ef08bbea79e6f61770aa", kill_on_drop: false }` [INFO] [stdout] d6888da91c6b48dd0effcee922bd2d16a0bd8eee5355ef08bbea79e6f61770aa