[INFO] cloning repository https://github.com/xobs/swot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xobs/swot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxobs%2Fswot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxobs%2Fswot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2696ddf4d3a4a0a1ac45af28ba56a4b5068ac32d [INFO] testing xobs/swot against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxobs%2Fswot" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/xobs/swot on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/xobs/swot [INFO] finished tweaking git repo https://github.com/xobs/swot [INFO] tweaked toml for git repo https://github.com/xobs/swot written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/xobs/swot already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 666d37d9f2fb37d4b2472dfb8aa2e4b5a8d0a409a6794caaff439c2c0248521d [INFO] running `Command { std: "docker" "start" "-a" "666d37d9f2fb37d4b2472dfb8aa2e4b5a8d0a409a6794caaff439c2c0248521d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "666d37d9f2fb37d4b2472dfb8aa2e4b5a8d0a409a6794caaff439c2c0248521d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "666d37d9f2fb37d4b2472dfb8aa2e4b5a8d0a409a6794caaff439c2c0248521d", kill_on_drop: false }` [INFO] [stdout] 666d37d9f2fb37d4b2472dfb8aa2e4b5a8d0a409a6794caaff439c2c0248521d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 58b23aae4f4bb3ff0d104376b8a365d0785d16d4460c3c084ca799280933be37 [INFO] running `Command { std: "docker" "start" "-a" "58b23aae4f4bb3ff0d104376b8a365d0785d16d4460c3c084ca799280933be37", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling winapi v0.3.8 [INFO] [stderr] Compiling ftdi-vcp-sys v0.1.0 (/opt/rustwide/workdir/ftdi-vcp-sys) [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> ftdi-vcp-sys/src/lib.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | pub use winapi::shared::minwindef::{BOOL, DWORD, LPDWORD, LPLONG, LPVOID, PUCHAR, UCHAR}; [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] --> ftdi-vcp-sys/src/lib.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | pub use winapi::shared::ntdef::{LONG, PVOID, ULONG}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PVOID` in this scope [INFO] [stdout] --> ftdi-vcp-sys/src/lib.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | pub type FT_HANDLE = PVOID; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> ftdi-vcp-sys/src/lib.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | pub type FT_STATUS = ULONG; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> ftdi-vcp-sys/src/lib.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | Flags: ULONG, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> ftdi-vcp-sys/src/lib.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | Type: ULONG, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> ftdi-vcp-sys/src/lib.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | ID: ULONG, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> ftdi-vcp-sys/src/lib.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | LocId: 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] --> ftdi-vcp-sys/src/lib.rs:60:24 [INFO] [stdout] | [INFO] [stdout] 60 | pub const FT_PURGE_RX: DWORD = 1; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> ftdi-vcp-sys/src/lib.rs:61:24 [INFO] [stdout] | [INFO] [stdout] 61 | pub const FT_PURGE_TX: DWORD = 2; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> ftdi-vcp-sys/src/lib.rs:63:37 [INFO] [stdout] | [INFO] [stdout] 63 | pub const FT_OPEN_BY_SERIAL_NUMBER: DWORD = 1; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> ftdi-vcp-sys/src/lib.rs:64:35 [INFO] [stdout] | [INFO] [stdout] 64 | pub const FT_OPEN_BY_DESCRIPTION: DWORD = 2; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> ftdi-vcp-sys/src/lib.rs:65:32 [INFO] [stdout] | [INFO] [stdout] 65 | pub const FT_OPEN_BY_LOCATION: DWORD = 4; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> ftdi-vcp-sys/src/lib.rs:67:32 [INFO] [stdout] | [INFO] [stdout] 67 | pub const FT_LIST_NUMBER_ONLY: DWORD = 0x8000_0000; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> ftdi-vcp-sys/src/lib.rs:68:29 [INFO] [stdout] | [INFO] [stdout] 68 | pub const FT_LIST_BY_INDEX: DWORD = 0x4000_0000; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> ftdi-vcp-sys/src/lib.rs:69:24 [INFO] [stdout] | [INFO] [stdout] 69 | pub const FT_LIST_ALL: DWORD = 0x2000_0000; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> ftdi-vcp-sys/src/lib.rs:71:25 [INFO] [stdout] | [INFO] [stdout] 71 | pub const FT_LIST_MASK: DWORD = (FT_LIST_NUMBER_ONLY | FT_LIST_BY_INDEX | FT_LIST_ALL); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PVOID` in this scope [INFO] [stdout] --> ftdi-vcp-sys/src/lib.rs:77:34 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn FT_ListDevices(pArg1: PVOID, pArg2: PVOID, Flags: DWORD) -> FT_STATUS; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PVOID` in this scope [INFO] [stdout] --> ftdi-vcp-sys/src/lib.rs:77:48 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn FT_ListDevices(pArg1: PVOID, pArg2: PVOID, Flags: DWORD) -> FT_STATUS; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> ftdi-vcp-sys/src/lib.rs:77:62 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn FT_ListDevices(pArg1: PVOID, pArg2: PVOID, Flags: DWORD) -> FT_STATUS; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPDWORD` in this scope [INFO] [stdout] --> ftdi-vcp-sys/src/lib.rs:78:49 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn FT_CreateDeviceInfoList(lpdwNumDevs: LPDWORD) -> FT_STATUS; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPDWORD` in this scope [INFO] [stdout] --> ftdi-vcp-sys/src/lib.rs:81:22 [INFO] [stdout] | [INFO] [stdout] 81 | lpdwNumDevs: LPDWORD, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> ftdi-vcp-sys/src/lib.rs:84:18 [INFO] [stdout] | [INFO] [stdout] 84 | dwIndex: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPDWORD` in this scope [INFO] [stdout] --> ftdi-vcp-sys/src/lib.rs:85:20 [INFO] [stdout] | [INFO] [stdout] 85 | lpdwFlags: LPDWORD, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPDWORD` in this scope [INFO] [stdout] --> ftdi-vcp-sys/src/lib.rs:86:19 [INFO] [stdout] | [INFO] [stdout] 86 | lpdwType: LPDWORD, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPDWORD` in this scope [INFO] [stdout] --> ftdi-vcp-sys/src/lib.rs:87:17 [INFO] [stdout] | [INFO] [stdout] 87 | lpdwID: LPDWORD, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPDWORD` in this scope [INFO] [stdout] --> ftdi-vcp-sys/src/lib.rs:88:20 [INFO] [stdout] | [INFO] [stdout] 88 | lpdwLocId: LPDWORD, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stdout] --> ftdi-vcp-sys/src/lib.rs:89:25 [INFO] [stdout] | [INFO] [stdout] 89 | lpSerialNumber: LPVOID, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stdout] --> ftdi-vcp-sys/src/lib.rs:90:24 [INFO] [stdout] | [INFO] [stdout] 90 | lpDescription: LPVOID, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPLONG` in this scope [INFO] [stdout] --> ftdi-vcp-sys/src/lib.rs:93:72 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn FT_GetComPortNumber(ftHandle: FT_HANDLE, lpdwComPortNumber: LPLONG) -> FT_STATUS; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PVOID` in this scope [INFO] [stdout] --> ftdi-vcp-sys/src/lib.rs:95:29 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn FT_OpenEx(pArg1: PVOID, Flags: DWORD, pHandle: *mut FT_HANDLE) -> FT_STATUS; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> ftdi-vcp-sys/src/lib.rs:95:43 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn FT_OpenEx(pArg1: PVOID, Flags: DWORD, pHandle: *mut FT_HANDLE) -> FT_STATUS; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stdout] --> ftdi-vcp-sys/src/lib.rs:99:19 [INFO] [stdout] | [INFO] [stdout] 99 | lpBuffer: LPVOID, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> ftdi-vcp-sys/src/lib.rs:100:25 [INFO] [stdout] | [INFO] [stdout] 100 | dwBytesToWrite: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPDWORD` in this scope [INFO] [stdout] --> ftdi-vcp-sys/src/lib.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | lpBytesWritten: LPDWORD, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stdout] --> ftdi-vcp-sys/src/lib.rs:105:19 [INFO] [stdout] | [INFO] [stdout] 105 | lpBuffer: LPVOID, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> ftdi-vcp-sys/src/lib.rs:106:24 [INFO] [stdout] | [INFO] [stdout] 106 | dwBytesToRead: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPDWORD` in this scope [INFO] [stdout] --> ftdi-vcp-sys/src/lib.rs:107:26 [INFO] [stdout] | [INFO] [stdout] 107 | lpBytesReturned: LPDWORD, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UCHAR` in this scope [INFO] [stdout] --> ftdi-vcp-sys/src/lib.rs:109:55 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn FT_SetBitMode(ftHandle: FT_HANDLE, ucMask: UCHAR, ucEnable: UCHAR) -> FT_STATUS; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UCHAR` in this scope [INFO] [stdout] --> ftdi-vcp-sys/src/lib.rs:109:72 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn FT_SetBitMode(ftHandle: FT_HANDLE, ucMask: UCHAR, ucEnable: UCHAR) -> FT_STATUS; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PUCHAR` in this scope [INFO] [stdout] --> ftdi-vcp-sys/src/lib.rs:110:56 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn FT_GetBitMode(ftHandle: FT_HANDLE, pucMode: PUCHAR) -> FT_STATUS; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UCHAR` in this scope [INFO] [stdout] --> ftdi-vcp-sys/src/lib.rs:111:63 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn FT_SetLatencyTimer(ftHandle: FT_HANDLE, ucLatency: UCHAR) -> FT_STATUS; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PUCHAR` in this scope [INFO] [stdout] --> ftdi-vcp-sys/src/lib.rs:112:64 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn FT_GetLatencyTimer(ftHandle: FT_HANDLE, pucLatency: PUCHAR) -> FT_STATUS; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> ftdi-vcp-sys/src/lib.rs:114:50 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn FT_Purge(ftHandle: FT_HANDLE, dwMask: ULONG) -> FT_STATUS; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> ftdi-vcp-sys/src/lib.rs:115:58 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn FT_W32_PurgeComm(ftHandle: FT_HANDLE, dwMask: DWORD) -> BOOL; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> ftdi-vcp-sys/src/lib.rs:115:68 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn FT_W32_PurgeComm(ftHandle: FT_HANDLE, dwMask: DWORD) -> BOOL; [INFO] [stdout] | ^^^^ help: a builtin type with a similar name exists: `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> ftdi-vcp-sys/src/lib.rs:119:23 [INFO] [stdout] | [INFO] [stdout] 119 | let device_count: DWORD = 0; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPDWORD` in this scope [INFO] [stdout] --> ftdi-vcp-sys/src/lib.rs:120:80 [INFO] [stdout] | [INFO] [stdout] 120 | let result = unsafe { FT_CreateDeviceInfoList(&device_count as *const _ as LPDWORD) }; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPDWORD` in this scope [INFO] [stdout] --> ftdi-vcp-sys/src/lib.rs:145:82 [INFO] [stdout] | [INFO] [stdout] 145 | FT_GetDeviceInfoList(dev_info.as_mut_ptr(), &device_count as *const _ as LPDWORD) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> ftdi-vcp-sys/src/lib.rs:71:33 [INFO] [stdout] | [INFO] [stdout] 71 | pub const FT_LIST_MASK: DWORD = (FT_LIST_NUMBER_ONLY | FT_LIST_BY_INDEX | FT_LIST_ALL); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 71 - pub const FT_LIST_MASK: DWORD = (FT_LIST_NUMBER_ONLY | FT_LIST_BY_INDEX | FT_LIST_ALL); [INFO] [stdout] 71 + pub const FT_LIST_MASK: DWORD = FT_LIST_NUMBER_ONLY | FT_LIST_BY_INDEX | FT_LIST_ALL; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of calling convention not supported on this target [INFO] [stdout] --> ftdi-vcp-sys/src/lib.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | / extern "stdcall" { [INFO] [stdout] 77 | | pub fn FT_ListDevices(pArg1: PVOID, pArg2: PVOID, Flags: DWORD) -> FT_STATUS; [INFO] [stdout] 78 | | pub fn FT_CreateDeviceInfoList(lpdwNumDevs: LPDWORD) -> FT_STATUS; [INFO] [stdout] 79 | | pub fn FT_GetDeviceInfoList( [INFO] [stdout] ... | [INFO] [stdout] 115 | | pub fn FT_W32_PurgeComm(ftHandle: FT_HANDLE, dwMask: DWORD) -> BOOL; [INFO] [stdout] 116 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unsupported_calling_conventions)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #87678 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 49 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ftdi-vcp-sys` due to 50 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "58b23aae4f4bb3ff0d104376b8a365d0785d16d4460c3c084ca799280933be37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58b23aae4f4bb3ff0d104376b8a365d0785d16d4460c3c084ca799280933be37", kill_on_drop: false }` [INFO] [stdout] 58b23aae4f4bb3ff0d104376b8a365d0785d16d4460c3c084ca799280933be37